cannot add new race

Javanese

New member
Messages
46
Points
0
i add new race on mob_race2_db.txt

// test class7,2600,2601,2602,2603,2604,2605 
but the console says

[Warning]: mob_readdb_race2: Unknown race2 7.[Error]: sv_readdb: Could not process contents of line 19 of "db/pre-re/mob_race2_db.txt". 
any idea why?

thank you~

 
Open map.h and find:

enum { RC2_NONE = 0, ... RC2_MAX}

And add your race2 name before RC2_MAX. And recompile after that.

Also, you should add it to db/const.txt for easier use
default_biggrin.png


 
Back
Top