Page 1 of 1

No errors, but game won't even start

Posted: Wed Oct 05, 2016 11:02 pm
by Crow
I've recently been working on adding GoonLight (https://github.com/PJB3005/GoonLight-Heist) to my /tg/ based fork.
After removing all the files from the old system, adding in the lighting files from GoonLight-Heist, and replacing old vars and procs with their GoonLight equivalents for a total of 0 errors and warnings, the game won't even start.
I run it from Dream Daemon on trusted as usual and after a certain point it just freezes up and doesn't resume like it normally would. I've waited on it for 15 minutes and nothing happened.
I then made a test map with only a couple lights just to see if it might have been lag from so many lights, but that did nothing. It still freezes up before any initialization messages even appear, no runtime errors or anything.

I really have no idea what might be causing this. I'm fairly new to coding in DM and I'd greatly appreciate if someone could tell me if there's anything in particular I should look for that might be causing this headache. :brain: :revolver:

Re: No errors, but game won't even start

Posted: Wed Oct 05, 2016 11:10 pm
by The Ultimate Chimera
Probably code incompatibilities. Correct me if I am wrong.

Re: No errors, but game won't even start

Posted: Wed Oct 05, 2016 11:21 pm
by Crow
The Ultimate Chimera wrote:Probably code incompatibilities. Correct me if I am wrong.
Sure, but what would be incompatible? GoonLight-Heist was sorta designed to be "plug-and-play", there aren't really any requirements other than what's there, and I'm pretty sure I replaced everything related to the old system with their equivalents from the new system.

Re: No errors, but game won't even start

Posted: Thu Oct 06, 2016 2:31 am
by The Ultimate Chimera
Gooncode with tg code.

Re: No errors, but game won't even start

Posted: Thu Oct 06, 2016 11:22 pm
by MisterPerson
Normally I would assume an infinite loop, but byond is supposed to flip those to the background and keep going or at least crash. So maybe it's just legit that slow? I'd keep a close eye on anything done in the lighting SS, that's for sure.

You'll either need to look at what you're doing more carefully to make sure there's nothing wrong, upload and link your code so we can inspect it, or start completely over. I've actually got an old /tg/ based version of goonlighting you can start from/compare your version to/whatever here.

Re: No errors, but game won't even start

Posted: Sat Oct 08, 2016 11:51 am
by Crow
MisterPerson wrote:Normally I would assume an infinite loop, but byond is supposed to flip those to the background and keep going or at least crash. So maybe it's just legit that slow? I'd keep a close eye on anything done in the lighting SS, that's for sure.

You'll either need to look at what you're doing more carefully to make sure there's nothing wrong, upload and link your code so we can inspect it, or start completely over. I've actually got an old /tg/ based version of goonlighting you can start from/compare your version to/whatever here.
I'm currently away from home until Monday or so, but I'll figure something out when I'm back. I completely removed the subsystem and just added the new files into a new folder in /code until I get it working so maybe there's some issues there. I wouldn't think it would be so slow because it uses a process very similar to the current system to minimize lag. I might just post/PM the GitHub page when I'm back. Thank you.