How to lock a ZONE to a certain zone?
I would like to start ZONE up with only a particular zone loaded, and it never changes (IE ecommons, rivervale, very common zones).
how does one go about that? (and 2nd question for those who got this far, where's the list of what npcspecialattk?) |
Is that even possible? If its not that should be posted as a feature request.:p
|
I think Malevolent did that some time ago but I dont know if its in the emu actually
|
wrong post hehe
|
I was working on this, but gave up, with a few problems on my server I'm tempted to start again, in essense it SHOULD be possible.
NPCSPECIALATTACK see the changelog in the 3.3 src zip |
in zone.cpp
ln 318 change if (numclients == 0) { to if (1=0) { furthermore... when in the batch file change . to the zone you want. for example . begcomes nro |
yea, the batch file is probably all you need for what you want.
zone??.exe [zone shortname] yourip port 127.0.0.1 so an example zone9x.exe freportw 52.34.234.3 7995 127.0.0.1 |
Tried that, didn't seem to work.. it still chnaged zones as it felt like it. ;(
|
even with the code modification? shouldn't have...
|
Try setting PersistentZoneState in the variables table to 1
Or recompile zone with yoda's code but you should be able to set it to stay running the same zone without recompiling it.... as I recall Trumpcard had a post some time back where he talked about it. |
mm
persistant didn't do it either..
Ideally, you could set up, say, 2-3 zones fixed on certain zones, already popped (since one reason people get kicked a lot on zoning is the delay of zone startup time) which would help a LOT. There are several issues like this that I'd love to see a fix for. Is 3.3.2 coming any time soon, if so I'll wait for that and the min/max dmg fix all at once. :) |
hmm.. Quite wierd.... I may have to look further... compile thing shuld have fixed.
|
Just tried with and without recompile, neither one loaded the zone on that specific zone server on startup nor when I zoned in from a different zone. I'd like to know, specifically because I would like to run a different compile version for one specific zone where peeps can set all their skills, since the recompiled zone.exe that fixes the #setskill and #setallskill commands crashes in about half the zones. :( I'm hoping the devteam doesn't get hindered by the same problem I'm having.
Lon |
UPDATE: I found a way to do what we're trying to do. You do need to recompile zone.exe with line 318 of zone.cpp always false, this is so the zone never unloads when the last person leaves the zone. The way to load it is, close one of your normal zone.exe windows (optional), then run zoneperm.exe (that's what I called the new zone.exe) with all parameters the same as the old zone.exe. Check your world.exe window to get the ID of the zoneperm.exe (mine was #6 the time I ran it). Get into the game as serverop, then issue #bootupzone ID shortzonename, such as #bootupzone 6 oggok (oggok is one of the zones I found to not crash with the new compile for #setallskill to work). Now zoneperm.exe is permanently serving oggok zone. The only other I tried that worked was grobb, but I did not try too many, and with #zone command available to everyone that should not matter if you only are using this the way I am.
Lon |
ah i had it always returning true!
|
All times are GMT -4. The time now is 10:11 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.