Quote:
Originally Posted by Arex
Code:
void command_zone(Client *c, const Seperator *sep)
{
uint16 zoneid = 0;
if (sep->arg[1][0] == 0)
{
c->Message(0, "Command Usage: #zone nombre_zona");
return;
} else {
zoneid = database.GetZoneID(sep->arg[1]);
if((zoneid != 22) && (zoneid != 35) && (zoneid != 12) && (zoneid != 54) && (zoneid != 38) && (zoneid != 94) && (zoneid != 86) && (zoneid != 116) && (zoneid != 120) && (zoneid != 152) && (zoneid != 175) && (zoneid != 167))
{
c->Message(0, "You only can zone to basic locations: East commonlands (ecommons),South Ro (sro), West Karana (qey2hh1), Gfaydark (gfaydark), Toxxulia Forest (tox), The Emerald Jungle (emeraldjungle), Dreadlands (dreadlands), Eastern Wastelands (eastwastes), Western Wastes (westwastes), Nexus (nexus), Scarlet Desert (scarlet), Grimling Forest (grimling)");
return;
} else {
c->GoToSafeCoords(zoneid);
}
}
}
This command is working sure, i did any changes, and i am sure that it is working NOW, because i use it on my server...
|
Ok thanks for your answer - I had figured it out too , i was mis-placing the scripts . I finally compiled, but then lost the hard disk I thought was good :(
I'm trying to get a dedicated EQ Linux server running, I'll try again, when I finish re install the box on another hardisk.