Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
doll
Newbie


Joined: 01 Oct 2003
Posts: 4
Location: Hong Kong

PostPosted: Wed Feb 25, 2004 6:31 am   

Error parsing command - Invalid pointer operation
 
I am looking for help about the trigger problem.

Trigger Pattern (With ID Get_bonus):
^{|> }Message Board~[%d Message*~]
Trigger Value:
#T- Get_bonus;
#UNTRIGGER {300}
#SAVE
#LOAD "CharTest"
crack

But each time execute this trigger, there will show a message box with:
Error parsing command
Invalid pointer operation
(and a list of program code)

If skip the error message, it will show again later.

I would like to know the cause of this problem and the solving method. Thank you very much.
Reply with quote
doll
Newbie


Joined: 01 Oct 2003
Posts: 4
Location: Hong Kong

PostPosted: Wed Feb 25, 2004 6:32 am   
 
I am using Windows XP and Zmud 7.01
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Feb 25, 2004 7:32 am   
 
What are you trying to do with the:

#UNTRIGGER {300}

line? #UNTRIGGER is supposed to delete a trigger with a specific pattern or ID value. "300" is not a valid ID value, so unless you have a trigger with {300} as the pattern, this isn't going to do anything.

However, the actual cause of the problem with this trigger is the #LOAD command I think. You are trying to load a trigger while it is still running. This is sort of like pulling the rug out from under everything. #LOAD completely reloads the settings file. It's probably a a really bad idea to do this in a trigger. What are you actually trying to accomplish with this trigger? I'm sure there is a better way to do it other than reloading the settings.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net