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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-07-2010, 10:26 AM
sithouse
Fire Beetle
 
Join Date: Apr 2006
Posts: 3
Default qglobals didn't work normally

I compiled the Bot version by myself.

(Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped)

I download the source code by SVN, the version is Rev1586
And I use the Rev1549 database.

PHP Code:
sub EVENT_DEATH{
    
  
quest::spawn2(189026,0,0,$x,$y,$z,$h);
  
quest::emote("'s corpse stops moving");
  
  if (!
defined $qglobals{rufu}){
      
quest::delglobal("rufu");
      
quest::setglobal("rufu",1,3,"F");
  }else {
      
my $killtime $qglobals{rufu} + 1;
      
quest::delglobal("rufu");
      
quest::setglobal("rufu",$killtime,3,"F");
  }
      

When I set the setglobal option variables "0".
It can work normally.
But when it set to 1 or 2 or 3 or .....
The $qglobals was not work.

I am sure the MOB's qglobal=1 in npc_types.
I don't know how to fix it.
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 02:03 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