Forum > Serverside Modding
[QUESTION] Make races/classes unavailable
(1/3) > >>
Смердокрыл:
Hey! I want to make Orcs, Undead, Draenei and Worgen unavailable for players to create. I tried setting their expansion requirement in ChrRaces.dbc to 4, but when I try to create a new char I get this: [attachment=0:ng9f8be5]WoWScrnShot_110815_133744.jpg[/attachment:ng9f8be5]
Amaroth:
There should be mask for setting race IDs which are to be blocked in worldserver config file.
Another, a little hacky but still working way is to modify world.playercreateinfo DB table. Set coordinates for new characters of race/class combinations to some dungeon. Players won't be able to create such characters, they will get "Error creating character."
Смердокрыл:
--- Quote from: "Amaroth" ---There should be mask for setting race IDs which are to be blocked in worldserver config file.
Another, a little hacky but still working way is to modify world.playercreateinfo DB table. Set coordinates for new characters of race/class combinations to some dungeon. Players won't be able to create such characters, they will get "Error creating character." --- End quote ---
I prefer the not-hacky way, but thanks for the info) I found the needed parameters in worldserver.conf. Do I still need to change stuff in ChrRaces.dbc?
Scytheria23:
I'd suggest looking for a guide to CREATING new race/class combos (there are loads of these around). All you want to do is the reverse, so these will point you to the files you need to modify.
Amaroth:
--- Quote from: "Scytheria23" ---I'd suggest looking for a guide to CREATING new race/class combos (there are loads of these around). All you want to do is the reverse, so these will point you to the files you need to modify. --- End quote --- In fact a very good advice. I like it :).
Navigation
[0] Message Index
[#] Next page
|