Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-04-2012, 04:38 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default Incorrect Spawns in Instance

I have a quest where I am using different versions of the arena. It let's you fight in different tiers of the arena, and each tier has its own version. Now, the quest seems to be working properly, as in, I can do #instance list Pelican and it will tell me that I am in the correct instance; however, the monsters that spawn are wrong.

There is a general monster called "The_Audience" with 9 versions of itself so nine different IDs. Each ID is set to spawn in each version. Like 1257 spawns in V1, 1258 spawns in V2, etc.. I have confirmed that they're correct in the database in spawns2 also.

What is happening though, is I will do a fight in version 1 of the zone and it will work fine. When I leave the arena, it is supposed to destroy the instance with
Code:
sub EVENT_ZONE{
 quest::DestroyInstance($qglobals{"InstID"});
 quest::delglobal("InstID");
}
and the global being set at
Code:
elsif(defined($qglobals{gladiator})){
   if ($qglobals{levelonekills} >=0){
     my $i_id = quest::CreateInstance("arena", 1, 600);
     quest::AssignToInstance($i_id);
     quest::MovePCInstance(77, $i_id, -41, 131, -0.5);
     quest::setglobal("InstID", $i_id, 5, "F");
     $Group->DisbandGroup();
   }
When I do #instance list Pelican, it says I am not assigned to any instances. If I go into a different version the arena though, the Audience monster from version one is still there. Instead of 1258 being spawned, 1257 will still be there as will any monsters that were in version one when I left. If I do the instance list command though, it says I am in the correct version, it's just spawning the previous version's NPCS.
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 06:37 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