Starting Languages
I know I can set a players language skill with #setlanguage, but where are these default values stored at? I have dug through the database and unless I am overlooking it, I cannot find it. I could always do it through a Perl script when a person logs on, but that may be major overkill. I am wanting Thieves Cant set at 100 for all new rogues.
|
Client.cpp (Client::SetRacialLanguages):
Code:
void Client::SetRacialLanguages( PlayerProfile_Struct *pp ) |
I saw that, but that looks like races. Are the classes in the same struct?
|
And if so, we need something like.....
Code:
case ROGUE: |
I guess you could do a switch on pp->class_, as that switch is pp->race and would never pull that case ROGUE correctly.
Maybe something like this?: Code:
void Client::SetRacialLanguages( PlayerProfile_Struct *pp ) |
I just wanted to let you guys know. I am going to fix it for us just in the global script.
|
Okay, that works, too. :D
|
All times are GMT -4. The time now is 02:58 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.