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 09-30-2007, 04:34 AM
SoTRichard
Sarnak
 
Join Date: Aug 2004
Posts: 67
Default NPC saving information

I've seen on other servers where you can give npcs coins and they will remember how many coins you have given them as "credit" (not a banker). So i was wondering how i might get an npc to store other information, like a player's current level. I want to create an npc where a player can hail it and say "level" and it records their current level. Then should a glitch occur and they lose a bunch of levels just from 1 death, they can return to the npc and say "back" and it will look up their previous level and give it back to them via quest::level
__________________
Truth=What is, is.
Reply With Quote
  #2  
Old 10-01-2007, 03:07 AM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Use quest_globals for that.
Reply With Quote
  #3  
Old 01-21-2008, 11:39 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

will value saved in quest global survive server reset/loging out?
Reply With Quote
  #4  
Old 01-21-2008, 11:43 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

It's in the database, so yes. Store in the quest_globals table with all the pertinent information.
Reply With Quote
  #5  
Old 01-21-2008, 11:52 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

ah good thank you =)
Reply With Quote
Reply


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:35 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