Log in

View Full Version : How do you add zones to #peqzone?


gnode
02-18-2009, 05:07 PM
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:

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
I'm going to have to add a column to zone one day.

Seems like that would be best.