View Single Post
  #2  
Old 01-14-2007, 09:43 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Since this is the official bug thread, I'll respost some findings.

In erudnext, Camin.pl, this quest global works as expected on 941:

quest::setglobal("wizepic",1,0,"D30");

The quest did stop working after this, however I found out the reason it stopped was because the Camin NPCs qglobal value in npc_types was set to 0, not 1. Once I changed that, the global was deleted as expected.

Ang, what 's the "F" in your params? What value is that? My understanding is, that last field is the duration the global will last before it expires. In my example, D30 I believe means "store this quest_global for 30 days". Does "F" mean it never should expire?

Do me 2 favors if you have time and desire.
1) Run the Wizard Epic quest - go to Camin in the Vasy Deep Inn in Erudin. You'll have to read up on the first few quest steps between Solomen, Camin, and Dargon. During the first handin to Camin, you should set the global. During the second, it removes it (or should).

2) Do these tests on fresh PEQ database and quest scripts - not yours. Not implying yours are bad, but it removes any speculation that your database or quests might be at fault.
Reply With Quote