View Full Version : Making SafeZones in PvP? Setting certain zones only you.....
NarutoLegacy
04-30-2004, 03:21 PM
Making SafeZones in PvP? Setting certain zones only you can #zone into?
Help. :oops:
animepimp
05-01-2004, 03:51 AM
You would probably have to rewrite some of the source code that allows PVP to have it check what zone you are in first. Or make most zones into PVP zones like arena is and not setting the PVP flag on the characters, but that probably requires custom zone files to be made.
NarutoLegacy
05-03-2004, 11:02 AM
I was looking for a way maybe just as easy as setting it pvp, which is only going into variables and making a new table called ServerType and value it 1.
Naruto for the zone thing here ya go i managed to get this to work a quite a while ago and i am unaware if this would work on the current release.
in client.cpp
All you have to find is this line and edit it.
else if (strcasecmp(sep->arg[2], "cshome") == 0 || strcasecmp(sep->arg[2], "load") == 0 || strcasecmp(sep->arg[2], "load2") == 0) {
You should then add to the else if line to be
else if (strcasecmp(sep->arg[2], "cshome") == 0 || strcasecmp(sep->arg[2], "bazaar") != 0 ) {
change bazaar to what you want :)
I however only tested this out once, a while ago and i dont know what other consqences this might have.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.