Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2009, 11:43 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

that worked but now I have another problem. It just sends me to the normal arena instead of version 1 of it
Reply With Quote
  #2  
Old 07-13-2009, 11:53 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Also, it appears that it isn't assigning the instance to the player. It is creating it successfully, but that's pretty much it
Reply With Quote
  #3  
Old 07-14-2009, 12:27 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

ok I got it working. I just changed it to
Code:
  my $i_id = quest::CreateInstance("arena", 1, 360);
  quest::AssignToInstance($i_id);
  quest::MovePCInstance(77, $i_id, -41, 131, -0.5);
I guess that works better than what I was doing. But now for some reason, no matter what time i put, it defaults to like 2 minutes 19 seconds.
Reply With Quote
  #4  
Old 07-14-2009, 05:16 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Does anyone know how I could do something to destroy an instance when the player leaves it? I know there is quest::destroyinstance(), but how would I get it to destroy the instance the player is leaving?
Reply With Quote
  #5  
Old 07-14-2009, 05:44 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Are you only allowing 1 char in the zone per instance? If so, you could probably put that in the player.pl for the zone under an EVENT_ZONE.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 07-14-2009, 09:33 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Yeah I assumed it would be player.pl, but how would I get it to destroy that instance? Like would I have to do something like
Code:
my $instid = quest::GetInstanceID("arena",1);
quest::DestroyInstance($instid);
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:08 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