Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Bugs

Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-09-2003, 02:09 AM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default #zone [invalid zone]

I think it was actually built as a feature, but I got a lot of tells on my server from people that didn't enjoy it: When you #zone with an invalid zone name, you'd either get "Zone not ready to receive visitors", or you'd get moved to the safe point for the current zone.

Here's the fix, if you'd like this feature:

client.cpp, ~line 1100-ish
Code:
void Client::MovePC(const char* zonename, ...
...
if (zonename == 0) {
        	gmg->zoneID = zone->GetZoneID();
}
else {
        	gmg->zoneID = database.GetZoneID(zonename);
	if (gmg->zoneID == 0) {
		Message(0, "Invalid zone name");
		delete outapp;
		return;
	}
	strcpy(zonesummon_name, zonename);
...
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:29 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