The Dink Network

Reply to Re: List of weird stuff still present in 1.08 scripts

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:
 
 
June 23rd 2024, 01:41 AM
custom_robj.png
Robj
Jester He/Him Australia
You feed the madness, and it feeds on you. 
The original bomb script has a bug in it that can produce some weirdness:
A bomb bug

Basically, if you place a bomb down and change screens before it explodes, if the new screen has the a sprite on it with the same active sprite number as the bomb on the previous screen, that sprite will glitch out and explode like the bomb should have.

This happens because dam-bom.c is spawned from item-bom.c so it survives a screen change. The fix is script_attach(0) at the start of dam-bom so it doesn't survive a screen change.

This bug is probably in almost every dmod, if authors didn't bother to fix it.

EDIT: @Yeoldetoast, I sent you a DM, asking an engine related question.