The Dink Network

Reply to Re: Dink HD 1.7.4 Beta Report - Initiation

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:
 
 
September 19th 2017, 12:58 AM
seth.gif
Seth
Peasant He/Him Japan
 
Thanks - using your save I figured it out.

torch.c has:

&myy = rand(1,5);

Because that's incorrect (should be random, not rand) &myy is left with a random (ha, ironic) number, depending on what's in the memory there.

If this var was -1 or more than 50, it would crash when using sp_frame(&fire, &myy) as later it tries to access that frame.

I've fixed it so sp_frame will set to 1 if an invalid # is sent to it, it also logs a clear error.

Also, I fixed other places so even if frame was set to 28738273 it will assert in debug mode but not crash in release.

(this tweak will be in 2.75)