EOSERV Forum > EOSERV > lewis999's EOserv rev 189
Topic is locked.
Page: << 1 2 ... 10 11 12 13 14 ... 28 29 >>
lewis999's EOserv rev 189
Author Message
Post #48173 Re: EOserv rev 189 Compiled

the command is $give username 1/2/3/4
if 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 :)

14 years, 35 weeks ago
Post #48174 Re: EOserv rev 189 Compiled
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
14 years, 35 weeks ago
Post #48175 Re: EOserv rev 189 Compiled

what 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



14 years, 35 weeks ago
Post #48176 Re: EOserv rev 189 Compiled
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
14 years, 35 weeks ago
Post #48177 Re: EOserv rev 189 Compiled

victim->StatSkill();
victim->CalculateStats();

already in?

14 years, 35 weeks ago
Post #48178 Re: EOserv rev 189 Compiled

The 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.

14 years, 35 weeks ago
Post #48180 Re: EOserv rev 189 Compiled

I 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.

14 years, 35 weeks ago
Post #48190 Re: EOserv rev 189 Compiled

Ill do it soon, Im trying to cool, down, Just look at how things are saved (world.cpp) I think or character.cpp

14 years, 35 weeks ago
Post #48193 Re: EOserv rev 189 Compiled

posted the full in reply earlier...

14 years, 35 weeks ago
Post #48195 Re: EOserv rev 189 Compiled

[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


14 years, 35 weeks ago
Post #48199 Re: EOserv rev 189 Compiled

Yeah 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?
14 years, 35 weeks ago
Post #48200 Re: EOserv rev 189 Compiled

thats correct.... class1 is x1 class2 x2 etc....

14 years, 35 weeks ago
Post #48201 Re: EOserv rev 189 Compiled

looks 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


14 years, 35 weeks ago
Post #48202 Re: EOserv rev 189 Compiled

how 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?
14 years, 35 weeks ago
Post #48203 Re: EOserv rev 189 Compiled

its hardcoded in character.cpp

14 years, 35 weeks ago
Page: << 1 2 ... 10 11 12 13 14 ... 28 29 >>
Topic is locked.
EOSERV Forum > EOSERV > lewis999's EOserv rev 189