| 
Wizzle 
Joined: 31st Aug 2010Posts: 64
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agothe command is $give username 1/2/3/4if i left it the way it was this would be $hire username 1/2/3/4
 if there is a command called $hi this one would be used.... instead of hire :)
 
 |  
		| 
lewis999  
Joined: 27th Aug 2010Posts: 368
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks ago
xIFearlessIxx posted: (3rd Sep 2010 08:16 pm)
 
 Wait, what exactly does this do? Lol.
 Just gives adminship and doesn't save.. I should fix it.
 
If "victim->Save();" doesn't save then what dose it do :p |  
		| 
Wizzle 
Joined: 31st Aug 2010Posts: 64
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agowhat it actually does is :give a user admin levels
 checks admin lvl from config file *edit
 give them stats if you like
 checks database
 checks client
 saves victim
 adds an effect (in this case Quake)
 servermsg
 
 some like that
 
 
 
 
 |  
		| 
		|  Re: EOserv rev 189 Compiled 
15 years, 10 weeks ago
lewis999 posted: (3rd Sep 2010 08:30 pm)
 
 
xIFearlessIxx posted: (3rd Sep 2010 08:16 pm)
 
 Wait, what exactly does this do? Lol.
 Just gives adminship and doesn't save.. I should fix it.
 If "victim->Save();" doesn't save then what dose it do :p
 
All victim->Save(); does is save the character.. as if he typed #save, You need to set it in the void save $give
 |  
		| 
Wizzle 
Joined: 31st Aug 2010Posts: 64
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agovictim->StatSkill();victim->CalculateStats();
 already in?
 |  
		| 
		|  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agoThe stats are pointless, and could be removed. But use that command, and close the server. If it works when you log back on the one who was $give should still have there adminship, even a Relog.
 |  
		| 
lewis999  
Joined: 27th Aug 2010Posts: 368
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agoI just tried to compile and got this error: Talk.cpp|560|error: lvalue required as left operand of assignment| 
 Dose anyone know what this means? note: line 560 is the line that I put the first line of your code on 
 
 Edit: you could add Victim->Refresh(); I don't know if it will work but it's worth a shot. |  
		| 
		|  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agoIll do it soon, Im trying to cool, down, Just look at how things are saved (world.cpp) I think or character.cpp
 |  
		| 
Wizzle 
Joined: 31st Aug 2010Posts: 64
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agoposted the full in reply earlier...
 |  
		| 
		|  Re: EOserv rev 189 Compiled 
15 years, 10 weeks ago[WRN] Syntax error loading quest 1: Invalid brace: No starting brace  is what i get running v6 lol and crash so i disabled quest for now also when u have pet walk in a door it blacks the map and u cant do anything with out getting rid of it then go back out door if u can find it lol 
 |  
		| 
DanScott  
Joined: 19th Aug 2010Posts: 1212
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agoYeah so i was using your revision and basically as the warrior class i get 6 attack per stat and i havent changed anything in formula.ini ? xD? ---
If money doesn't grow on trees, then why do banks have branches? |  
		| 
Wizzle 
Joined: 31st Aug 2010Posts: 64
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agothats correct.... class1 is x1 class2 x2 etc....
 |  
		| 
		|  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agolooks like pet system  crashes server now too gave pet away and crash it went think its time to start over from 189 and add quests/pets only for now there the biggest bugs 
 |  
		| 
DanScott  
Joined: 19th Aug 2010Posts: 1212
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agohow do you change the class damage system o.O ? It's not in formulas.ini ---
If money doesn't grow on trees, then why do banks have branches? |  
		| 
Wizzle 
Joined: 31st Aug 2010Posts: 64
 
  Re: EOserv rev 189 Compiled 
15 years, 10 weeks agoits hardcoded in character.cpp
 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |