The joy of a never ending loop

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
nirkedar
Cave Troll
Posts: 52
Joined: Tue Sep 21, 2010 3:13 pm

The joy of a never ending loop

Post by nirkedar »

By mistake, I placed a call to a macro that constantly asks me to enter a value for a variable. Unfortunately, that macro is called in the onCampaignLoad macro. As such I keep on getting this pop-up message box asking for a value, and no matter what I type or not type, the pop-up doesn't go away. Is there anyway to stop the execution of this code or somehow bypass (temporarily) the onCampaign load macro?

User avatar
aliasmask
RPTools Team
Posts: 9029
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: The joy of a never ending loop

Post by aliasmask »

Maybe change your min mem to 1024 so it causes a stack error. It's possible to edit the xml directly if you know where to look. In theory, the loop will end after 1000 iterations.

User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

Re: The joy of a never ending loop

Post by Full Bleed »

nirkedar wrote:By mistake, I placed a call to a macro that constantly asks me to enter a value for a variable. Unfortunately, that macro is called in the onCampaignLoad macro. As such I keep on getting this pop-up message box asking for a value, and no matter what I type or not type, the pop-up doesn't go away. Is there anyway to stop the execution of this code or somehow bypass (temporarily) the onCampaign load macro?
Try holding down the ESC key until it "gives up".
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: The joy of a never ending loop

Post by wolph42 »

Full Bleed wrote: until it "gives up".
that would be after a 1000 loops

Lol I must say, this reminds me of an IT 'specialist' (programmer) who had the nifty idea to (waaay back in time btw) set his user account to auto login, only to realise that he thus could no longer enter his admin account.
We've rofloao.

Granted this is different and more innocuous, but still funny.

Post Reply

Return to “MapTool”