Blockland Forums > General Discussion

MrNobody - Fix Long Range Music Bricks Please!

Pages: << < (3/5) > >>

K9 Kid:


--- Quote from: Mr.Noßody on December 17, 2012, 03:20:24 PM ---All I edited from Chrono's Short Range bricks was the audio range, so I dont have much say on what causes this issue. Ill try to replicate the problem and report back.

Edit: Just successfully recreated the issue. The problem is on both Long and Short range music bricks. Apparently when the brick is evented to set music to none it tries to call "-1" which doesn't exist. Your game will only crash if setting the music to NONE was the last thing you did before saving.

Waiting on Chrono. My efforts on fixing it came back fruitless.

--- End quote ---
Tyvm
Even by events, i assume?
What if you loaded a build with a music brick that was playing music, deleted it, and saved? would it crash?

Evar678:


--- Quote from: K9 Kid on December 17, 2012, 04:45:43 PM ---Tyvm
Even by events, i assume?

--- End quote ---
Learn to read before you post:

--- Quote from: Mr.Noßody on December 17, 2012, 03:20:24 PM ---Edit: Just successfully recreated the issue. The problem is on both Long and Short range music bricks. Apparently when the brick is evented to set music to none it tries to call "-1" which doesn't exist. Your game will only crash if setting the music to NONE was the last thing you did before saving.

--- End quote ---


--- Quote from: Mr.Noßody on December 17, 2012, 03:20:24 PM --- Apparently when the brick is evented to set music to none
--- End quote ---

--- Quote from: Mr.Noßody on December 17, 2012, 03:20:24 PM ---evented
--- End quote ---


Chrono:

I find it odd how this happens only when it's evented.

Anyways, if it's not done today it'll be done tomorrow.

Altiris:

Thanks everyone, I will be able to host my dodgeba server if this gets fixed!

Mr.Noßody:


--- Quote from: K9 Kid on December 17, 2012, 04:45:43 PM ---Tyvm
Even by events, i assume?
What if you loaded a build with a music brick that was playing music, deleted it, and saved? would it crash?

--- End quote ---

You will only crash if you try to save bricks right after setting the music brick to "NONE" through events. Just having them is safe.

Pages: << < (3/5) > >>

Go to full version