The Dink Network

Reply to Re: variable limit and debug info

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:
 
 
April 30th, 09:15 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
thanks for that code,

I called it before each row of rock generation, with killing the script if the sprite limit reach over 290 and all I got was 1 row of rocks out of, but at least the game didn't freeze/lock up because it couldn't create more sprites.

Given that may be the case, I might have to create just the large sprite that has all the rocks in place and use that to wipe out everyone. Or I could push my luck and just create a row of rocks sprite and then stack those 5 high, which is still less than 7 individual rock sprites per row I'm now down to.

As for the other stuff about the game reporting to the log file variable limit exceeded but the var_used() not matching... weird, but that's DinkC for me...

EDIT

Hey thanks for those two scripts, they were funky. I reassigned the first to B key as S is used in PQ for the 6 stats display (strength, defense, magic, agility, honour, luck).

Man it killed the screen update performance even using herb boots to run Dink is moving through molasses - very funny . The limits are getting high on about 1/3 of the screens during the run which is interesting.

I will record this, as well as the run without B key press to compare, but I've going to have to remove the checks the first bit of code did so I can crash the game again with the scripts running.

Will do all of this tomorrow and let you know.