 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Sat Dec 13, 2008 4:24 pm
Why would a trigger work for one session and not another? |
| Code: |
<trigger name="Sanc Countdown" priority="570" regex="true" id="57">
<pattern>^Timer now at 41 secs</pattern>
<value>#IF (@sanc>0)
{
sanc=@sanc-1
}</value>
</trigger>
|
Just to clarify my setup. All of my Dark and Shattered Lands sessions have two packages. The session package and a "General DSL" package. This trigger is in the "General DSL" package to be accessed by all the sessions. The variable sanc is in each session so that it is different for each one since each sessions represents a different character.
On the sessions "Yasan", "Asandria", "Fhaeeus", "Sulnumil" and "Caemlin" it works just fine. On the session "Tauredae" it does not. Obviously there is something 'different' on Tauredae than the others, but I cannot locate it for the life of me. There are no double variables or anything like that. |
|
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Sat Dec 13, 2008 4:30 pm |
Well, I solved the problem myself, but I'm still confused. I deleted sanc_def which was an old outdated variable that none of my other sessions had. But sanc_def is not sanc and I have no clue why it would default the value to sanc_def instead of sanc
Edit: Now it's not working on Tauredae again *sigh* There's no sanc_def variable. |
|
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Sun Dec 14, 2008 4:27 pm |
What information do you need to help me solve this madness?
|
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Dec 15, 2008 2:50 pm |
What is the value of @sanc on Tauredae?
|
|
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Mon Dec 15, 2008 10:44 pm |
It sets itself to 7 per this trigger:
| Code: |
<trigger name="Sanc_Set" priority="1900" id="190">
<pattern>^You are surrounded by a white aura.$</pattern>
<value>affect</value>
</trigger>
|
You are affected by the following spells:
Spell: sanctuary : modifies none by 0 for 6 cycles, (3 hours)
Spell: sneak : modifies none by 0 for 35 cycles, (17 1/2 hours)
Spell: detect invis : modifies none by 0 for 18 cycles, (9 hours)
Spell: detect hidden : modifies none by 0 for 17 cycles, (8 1/2 hours)
And next quest is either stuck at 10, 0, or 1 |
|
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Dec 16, 2008 2:15 pm |
If it is working differently on Tauredae, then something is going on with Tauredae. Have you actually checked the value of @sanc on Tauredae, or are you just assuming it gets set right? Do you accidentally have another @sanc variable on Tauredae's session?
|
|
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Wed Dec 17, 2008 6:32 pm |
| Rahab wrote: |
| If it is working differently on Tauredae, then something is going on with Tauredae. Have you actually checked the value of @sanc on Tauredae, or are you just assuming it gets set right? Do you accidentally have another @sanc variable on Tauredae's session? |
Yes and no. These are things I mentioned earlier. Since they're common problems that cause such situations. When I deleted @sanc_def I thought I fixed it, but the problem started showing up again for no explicable reason. There is no other @sanc variable, however. And yes, I've checked the value of @sanc to see if it matches up, but I always have it shown on my status bar, which is where the problem comes in. On all of my other characters, the variable on the status bar updates on every tick. It doesn't for Tauredae, I thought it might be an issue with the status bar but checked the variable and sure enough, it was still 7. |
|
|
|
 |
|
|
|