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-05-2009, 02:44 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Yes but if you try creating several instances of the same zone of the same version for one person it's going to cause problems.

For example:
You create an instance version 0 and give it to person A
You create an instance version 1 and give it to person A
You create an instance version 2 and give it to person A
You create an instance version 3 and give it to person A

And they will easily be able to switch between them but if instead you try:

You create an instance version 0 and give it to person A
You create an instance version 1 and give it to person A
You create an instance version 1 and give it to person A
You create an instance version 1 and give it to person A

It will cause problems as the server wont be able to tell which id you really want to be in because the quest::GetInstanceID(name, version) only returns one value.
Reply With Quote
  #2  
Old 07-13-2009, 12:12 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

what if you wanted to do something involving qglobals? So like if you were going to do an instance for the first time it would send u to one version, then if you beat that one, it would send u to the second one. Would I need to make a bunch of different versions using GeorgeS's tool and would it let multiple people in if they both had the same qglobal value? Or would it make them wait until the first person finished it?
Reply With Quote
  #3  
Old 07-13-2009, 05:53 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Disregard. Misread question.
Reply With Quote
  #4  
Old 07-13-2009, 10:59 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

anyone know why this
Code:
quest::CreateInstance("arena", 1, 360);
  my $instid = quest::getinstanceID("arena",1);
  quest::assigntoinstance($instid);
  quest::movepcinstance(77, $instid, -3, 3.6, -2.1);
doesn't have any effect? I know it's not the stuff around that because I replaced this part of the quest with quest::zone(poknowledge); and it worked fine. I guess I just wrote this part wrong
Reply With Quote
  #5  
Old 07-13-2009, 11:09 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Code:
    quest::CreateInstance("arena", 1, 360);
    my $instid = quest::GetInstanceID("arena",1);
    quest::AssignToInstance($instid);
    quest::MovePCInstance(77, $instid, -3, 3.6, -2.1);
quest:: commands are case sensitive.
Reply With Quote
  #6  
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
  #7  
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
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 07:54 AM.


 

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