The Dink Network

Reply to Re: Full script here:

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 22nd 2004, 03:29 AM
wizardg.gif
Paul
Peasant He/Him United States
 
There are some very serious problems with supposedly "local" variables getting mixed up. This gave me hell working on Triangle Mover. It's a little late for decyphering scripts or remembering exactly what the bugs were (after midnight here) but I think there's always some way around it. Wne locals don't work right, you can use global variables for math (as long no waits need to happen during the calculation) and attributes like sp_gold and sp_strength for storing things.

The other trouble spot I see is that scripts calling their own functions can't (reliably?) access their own locals. You may be able to use goto instead. (Yes you can goto between functions, even outside them if you want.)