View Single Post
  #4  
Old 09-12-2008, 05:40 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

First, in order for you to earn credits, you first have to be flagged by the quest NPC for earning credits. The actual kills themselves don't flag you for that, because I didn't want it to do more work for every kill and I also didn't want to risk any possible reset of credits.

So, you need to use one of the other quests I posted here first.

Also, for this to work on a global level, you have to edit the option in the globals to 5 instead of 1. So, note the following and see where I marked it in RED:
Code:
quest::setglobal("exp_credits", $qglobals{exp_credits}+1, 1, "F");
If you want this global to be seen by all NPCs in all Zones, you need to change every flag to use option 5 like this:
Code:
quest::setglobal("exp_credits", $qglobals{exp_credits}+1, 5, "F");
That should resolve both of your issues. Lemme know if you have any more questions.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote