Unknown2005-12-19 01:53:04
I use Ethelon's free system and until now I've not really had a problem I couldn't fix. Now, though, I am getting this message when I try to check my potionlist
Where '29474' is one of my vial numbers. It gives that error for each vial, and also disconnects me from the server. I've never had this problem before and my coding knowledge extends as far as wildcards and such .
CODE
Error number: -2146827286
Event: Â Â Â Â Execution of line 4 column 17
Description: Â Syntax error
Line in error:
elseif (29474 = ) then
Called by: Â Â Immediate execution
Event: Â Â Â Â Execution of line 4 column 17
Description: Â Syntax error
Line in error:
elseif (29474 = ) then
Called by: Â Â Immediate execution
Where '29474' is one of my vial numbers. It gives that error for each vial, and also disconnects me from the server. I've never had this problem before and my coding knowledge extends as far as wildcards and such .
Strakc2005-12-19 05:53:04
how does it equal nothing really?
Unknown2005-12-19 06:06:55
Buggered if I know, I've never touched it.
Strakc2005-12-19 10:31:29
some me whats related to it, the lines and coding around it?
Unknown2005-12-19 14:51:54
CODE
Sub vialcheck (a, b, c)
if getvariable ("linimentcheck") = "0" then
world.note "Need Liniment"
end if
if getvariable ("firecheck") = "0" then
world.note "Need Fire"
end if
if getvariable ("frostcheck") = "0" then
world.note "Need Frost"
end if
if getvariable ("antidotecheck") = "0" then
world.note "Need Antidote"
end if
if getvariable ("mendingcheck") = "0" then
world.note "Need Mending"
end if
if getvariable ("cholericcheck") = "0" then
world.note "Need Choleric"
end if
if getvariable ("sanguinecheck") = "0" then
world.note "Need Sanguine"
end if
if getvariable ("phlegmaticcheck") = "0" then
world.note "Need Phlegmatic"
end if
if getvariable ("melancholiccheck") = "0" then
world.note "Need Melancholic"
end if
if getvariable ("regenerationcheck") = "0" then
world.note "Need Regeneration"
end if
if getvariable ("lovecheck") = "0" then
world.note "Need Love"
end if
if getvariable ("healthcheck1") = "0" then
world.note "Need Health"
end if
if getvariable ("manacheck1") = "0" then
world.note "Need Mana"
end if
if getvariable ("bromidecheck1") = "0" then
world.note "Need Bromide"
end if
if getvariable ("quicksilvercheck") = "0" then
world.note "Need Quicksilver"
end if
if getvariable ("allhealecheck") = "0" then
world.note "Need Allheale"
end if
end sub
if getvariable ("linimentcheck") = "0" then
world.note "Need Liniment"
end if
if getvariable ("firecheck") = "0" then
world.note "Need Fire"
end if
if getvariable ("frostcheck") = "0" then
world.note "Need Frost"
end if
if getvariable ("antidotecheck") = "0" then
world.note "Need Antidote"
end if
if getvariable ("mendingcheck") = "0" then
world.note "Need Mending"
end if
if getvariable ("cholericcheck") = "0" then
world.note "Need Choleric"
end if
if getvariable ("sanguinecheck") = "0" then
world.note "Need Sanguine"
end if
if getvariable ("phlegmaticcheck") = "0" then
world.note "Need Phlegmatic"
end if
if getvariable ("melancholiccheck") = "0" then
world.note "Need Melancholic"
end if
if getvariable ("regenerationcheck") = "0" then
world.note "Need Regeneration"
end if
if getvariable ("lovecheck") = "0" then
world.note "Need Love"
end if
if getvariable ("healthcheck1") = "0" then
world.note "Need Health"
end if
if getvariable ("manacheck1") = "0" then
world.note "Need Mana"
end if
if getvariable ("bromidecheck1") = "0" then
world.note "Need Bromide"
end if
if getvariable ("quicksilvercheck") = "0" then
world.note "Need Quicksilver"
end if
if getvariable ("allhealecheck") = "0" then
world.note "Need Allheale"
end if
end sub
That what you wanted?
Strakc2005-12-19 21:01:14
elseif (29474 = ) then
I want to see what is making this... is there a trigger for this, and alias?
I want to see what is making this... is there a trigger for this, and alias?
Unknown2005-12-20 00:08:29
When I hit 'PL' it sends this to the script:
Not sure what else I'm looking for, I can't find the 'elseif' thing.
It will then send back the potionlist table, with lines in blue after it with 'Need Mana' "Need Fire', etc.
CODE
send "potionlist"
world.setvariable "linimentcheck", "0"
world.setvariable "firecheck", "0"
world.setvariable "frostcheck", "0"
world.setvariable "antidotecheck", "0"
world.setvariable "mendingcheck", "0"
world.setvariable "cholericcheck", "0"
world.setvariable "sanguinecheck", "0"
world.setvariable "phlegmaticcheck", "0"
world.setvariable "melancholiccheck", "0"
world.setvariable "regenerationcheck", "0"
world.setvariable "lovecheck", "0"
world.setvariable "healthcheck1", "0"
world.setvariable "manacheck1", "0"
world.setvariable "bromidecheck1", "0"
world.setvariable "quicksilvercheck", "0"
world.setvariable "allhealecheck", "0"
world.setvariable "linimentcheck", "0"
world.setvariable "firecheck", "0"
world.setvariable "frostcheck", "0"
world.setvariable "antidotecheck", "0"
world.setvariable "mendingcheck", "0"
world.setvariable "cholericcheck", "0"
world.setvariable "sanguinecheck", "0"
world.setvariable "phlegmaticcheck", "0"
world.setvariable "melancholiccheck", "0"
world.setvariable "regenerationcheck", "0"
world.setvariable "lovecheck", "0"
world.setvariable "healthcheck1", "0"
world.setvariable "manacheck1", "0"
world.setvariable "bromidecheck1", "0"
world.setvariable "quicksilvercheck", "0"
world.setvariable "allhealecheck", "0"
Not sure what else I'm looking for, I can't find the 'elseif' thing.
It will then send back the potionlist table, with lines in blue after it with 'Need Mana' "Need Fire', etc.
Unknown2005-12-20 07:29:03
This looks like an inline script from one of the triggers or aliases. Errors like that most often result from code that does:
if GetVariable("vial") = %1 then
 do something...
end if
Tracing should show you what is being called just before that error comes up. It's not the "PL" alias but something that fires as a result of executing it, and most likely it's a trigger (though might be an alias).
CODE
if GetVariable("vial") = %1 then
 do something...
end if
Tracing should show you what is being called just before that error comes up. It's not the "PL" alias but something that fires as a result of executing it, and most likely it's a trigger (though might be an alias).
Unknown2005-12-31 00:25:59
Ok figured it out, the code was looking at the empties and having no potion to match them to and then spazzing out.