EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   How do you add zones to #peqzone? (https://www.eqemulator.org/forums/showthread.php?t=27511)

gnode 02-18-2009 05:07 PM

How do you add zones to #peqzone?
 
With a recent overdue update I made to my server, peqzone no longer grants access to templeveeshan. I have looked through the db and searched here but can't see how to toggle which zones can be used with peqzone (or other peqzone variables like frequency of use).

How do I add templeveeshan to #peqzone?

Derision 02-18-2009 05:18 PM

The list of zones that #peqzone cannot be used for is controlled in the source:

command.cpp, line 1507 in Revision 342:
Code:

if(zoneid == 0 || zoneid == 26 || zoneid == 39 || zoneid == 187 || zoneid == 188 ||
  zoneid == 71 || zoneid == 162 || zoneid == 76 || zoneid == 186 || zoneid == 105 ||
  zoneid == 124 || zoneid == 89 || zoneid == 128 || zoneid == 189 || zoneid == 108 ||
  zoneid == 158 || zoneid  == 200 ||  zoneid == 201 || zoneid > 228 || (zoneid > 203 && zoneid < 224)) {
                      c->Message(13, "You cannot use this command to enter that zone!");
                      return;

zoneid 124 being templeveeshan. Unless you can compile the source code, you can't change which zones aren't allowed.

cavedude 02-18-2009 06:09 PM

I'm going to have to add a column to zone one day.

gnode 02-20-2009 12:02 AM

Quote:

Originally Posted by cavedude (Post 164786)
I'm going to have to add a column to zone one day.

Seems like that would be best.


All times are GMT -4. The time now is 01:23 AM.

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