EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Making SafeZones in PvP? Setting certain zones only you..... (https://www.eqemulator.org/forums/showthread.php?t=13518)

NarutoLegacy 04-30-2004 03:21 PM

Making SafeZones in PvP? Setting certain zones only you.....
 
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.

k3n 05-04-2004 06:48 AM

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.

Code:

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.


All times are GMT -4. The time now is 06:24 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.