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 06-25-2008, 09:57 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default Setglobal Question:

Very quick question, which I believe should have an easy answer if it's possible.

Code:
sub EVENT_DEATH {
quest::setglobal(aten,1,3,"H108");
}
If I instead wanted that variable above to last forever, I would change "H108" to "F". That's easy. What if I wanted to have it write a timestamp to the database for when the event actually occurred? I guess the first question is, is there a perl value that accomplishes that? Substitute $timestamp or an equivalent? And the second is, since I wouldn't want to put that in the expiration field, is the value field big enough to hold it?

Just looking for an idea on how this might be done. Appreciate any suggestions.
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 11:03 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