New class numbers! (IMPORTANT)
The class numbers for gms,merchants, and bankers have changed in the recent patch. You will need to update your npc_types table once you start running the new code.
You will need to update your tables to the following chart: #define WARRIORGM 20 #define CLERICGM 21 #define PALADINGM 22 #define RANGERGM 23 #define SHADOWKNIGHTGM 24 #define DRUIDGM 25 #define MONKGM 26 #define BARDGM 27 #define ROGUEGM 28 #define SHAMANGM 29 #define NECROMANCERGM 30 #define WIZARDGM 31 #define MAGICIANGM 32 #define ENCHANTERGM 33 #define BEASTLORDGM 34 #define BANKER 40 #define MERCHANT 41 |
Why would they do something like this?
|
Who knows?
|
rumor is there will be a new class in the next expansion, that's probably why
|
ok. ok, i get it, this is important, now where do i put these values? which sql file are they located in?
|
The values go into the source code.
|
thank you very much, which part of the code?
|
Actually, the values are likely already in the source code (i haven't checked yet). The databases are going to need to be updated as well since they reference the old list of classes.
regards, krich |
ok, this didnt fix the whole every merchant turns out to be a mage GM.
and the login server keeps crashing :/ also, for some reason zone lines dont appear to be working. |
Cause in the database the merchant class is no longer 32, it happens to be mage GM now. You'll need to type in a few mysql queries to fix all this.
As for new class. About time, they've been making retarded races for the past 982127. Let's hope it's not another beastlord. *cough* *mumble* :roll: |
Code:
#define WARRIORGM 17 |
oh, and the above is the origional code that still results in magician gms.. and they appear to be set up correctly, but then i noticed something, the mgician is 29, and all the vendors are 29, so i set the merchant definition to 29 and magician to 32... hope it works.
|
there is nothing wrong with the code, you dont need to do anything to the code. I posted the new class numbers so db makers can update their databases, thought that was clear....
|
yea, but i can be a twad sometimes.. lol
no worries, thanks for all the hard work, and you are welcome to get my icq off me or something as i am running a pretty powerful server, and trying to get it up and running to test out new stuff... i really wanna get back into the community and get it going again... but i just get a little discouraged when i see tons of flameage against the ignorant on the boards... |
......
ok :shock:
|
All times are GMT -4. The time now is 07:06 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.