Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 06-08-2006, 09:47 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:32 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3