EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Bugs (https://www.eqemulator.org/forums/forumdisplay.php?f=622)
-   -   #zunderworld (https://www.eqemulator.org/forums/showthread.php?t=15081)

Facet42 07-30-2004 01:09 AM

#zunderworld
 
The zunderworld command is not working correctly in the current version of 0.5.7-DR6 code, updating the function as below appears to fix it...

Code:

void command_zunderworld(Client *c, const Seperator *sep)
{
        if(sep->arg[1][0]==0)
        {
                c->Message(0, "Usage: #zunderworld <zcoord>");
        }
        else
        {
                zone->newzone_data.underworld = atof(sep->arg[1]);
                c->Message(0, "New ZUnderWorld value set");
                APPLAYER* outapp = new APPLAYER(OP_NewZone, sizeof(NewZone_Struct));
                memcpy(outapp->pBuffer, &zone->newzone_data, outapp->size);
                entity_list.QueueClients(c, outapp);
                safe_delete(outapp);
        }
}



All times are GMT -4. The time now is 02:49 AM.

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