PDA

View Full Version : (CODE) Race/Class modif


KhaN
04-11-2004, 03:50 AM
ATM, im trying to modify the source code to add new class/race combo. Ok, lets admit it, im not a very good coder as i only know basic/pascal.

After browsing all the files related to world.exe, i find in client.cpp the tables which refer to character creation, i start modify them. I compile and i run world.exe. When im under the char creation screen i see the modif i have make are not taken in count (Example : Point Bonus i setup is not respected, 20 or 25 or 30, but i have modify them so all class get 25).
I would have prefer a world.exe crash to that, it look like i have compiled world.exe with pre-modified client.cpp ...

I just need to know if i need to modif another file (well, it look like i NEED to modif another file), pb is its the third time i browse all cpp file and i cant find which one ...

NarutoLegacy
04-11-2004, 04:19 AM
The characters are probally saved on our computers man, I think what your trying to to is impossable v_v

Derision
04-11-2004, 04:24 AM
KhaN, I believe the stat points are all determined in the client, so you can't change them. The code in the server just validates that what it gets from the client is what it expects AFAIK (perhaps to avoid people cheating with Macroquest or something like that).

KhaN
04-11-2004, 04:51 AM
:me start to cry like a baby

Thanks for info :(

eq_addict_08
04-11-2004, 09:50 AM
You could just modify the code, as you have done, then hold GM events or something on the server every now and again. The rewards of such events could be a change to the class/race combo of the person's choice.