Author Topic: YoSniper's Fangame Contest 2015 *RESULTS*  (Read 47265 times)

YoSniper

  • Awexome
  • Global Moderator
  • Spike Dodger
  • Posts: 142
  • People regard me as a programming overlord.
  • OS:
  • Linux Linux
  • Browser:
  • Chrome 42.0.2311.111 Chrome 42.0.2311.111
    • View Profile
    • My YouTube
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *READY SET GO!*
« Reply #75 on: May 11, 2015, 07:03:38 PM »
BUT... the random-rare-crash-on-death bug still exists, and I still don't know what causes it so I'm kinda scared. :BibleThump:
So is that an instantaneous hard crash (like Windows 8?) Or is it a stall out (like an infinite loop?)

For the former, there is a whole thread dedicated to avoiding Win8-related crashes. For the latter, you'll have to comb through your code. See if you can consistently repeat the issue, and then you may be able to solve it.
I don't traverse the forums as much anymore. Follow me on Twitter if you want to keep tabs on me!

Twitter: @YoSniperGames
Twitch: yosniper

Streams happen whenever I feel like it.

TheGamerGuy500

  • Cherry Eater
  • Posts: 62
  • I'm a gamer and a guy, video-game-music junkie...
  • OS:
  • Mac OS X 10.9.5 Mac OS X 10.9.5
  • Browser:
  • Chrome 42.0.2311.135 Chrome 42.0.2311.135
    • View Profile
    • TheGamerGuy500 HQ
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *READY SET GO!*
« Reply #76 on: May 13, 2015, 03:38:33 PM »
It is literally random and can happen on any OS, even XP, it doesn't seem to be caused by the code, because there's no way GM code can cause the game to freeze and stop responding forever. Nothing calls game_pause. It seems to happen more after a long time of playing, when the crash can occur, usually by a death or even entering a room. It might be because for some reason the game process memory decays and eventually it can't make do with its memory limit decreasing maybe. It's rare, and doesn't happen often, but if one single crash is a disqualification then I might not have a chance. It sucks to not know something.
I'd need someone who knows GM and windows memory issues that can figure out the single byte that just so happens to corrupt an EXE or something.
Pro tip: you gotta run and jump at the same time!
Notice: She doesn't stop spinning.

:KappaHD:

klazen108

  • Administrator
  • The Kid
  • Posts: 286
  • your a kid now your a squid now
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Chrome 42.0.2311.135 Chrome 42.0.2311.135
    • View Profile
    • Delicious-Fruit
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *READY SET GO!*
« Reply #77 on: May 13, 2015, 03:57:00 PM »
there's no way GM code can cause the game to freeze and stop responding forever.

Code: [Select]
while 1 {}
:Kappa:

...on a slightly more helpful note, crashes that happen after a random time period are usually traced back to memory leaks. They can cause unexpected things to happen; for instance, create events stop firing but everything else runs normally (true story). This almost always has to do with improper use of the following: particle systems, lists (or any other ds_ structure), sprite creation/destruction, surfaces, external loading of resources. This is by no means an exhaustive list, but they are the most common causes. If you use anything like those anywhere in your code, I would try commenting them out and trying to run your game again, even if you're sure that there's no way that whatever is happening is related. If it turns out that they are a cause, you can track down the culprit and then try to apply a better solution than simply commenting it out.

YoSniper

  • Awexome
  • Global Moderator
  • Spike Dodger
  • Posts: 142
  • People regard me as a programming overlord.
  • OS:
  • Linux Linux
  • Browser:
  • Chrome 42.0.2311.111 Chrome 42.0.2311.111
    • View Profile
    • My YouTube
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *READY SET GO!*
« Reply #78 on: May 13, 2015, 04:07:39 PM »
It's rare, and doesn't happen often, but if one single crash is a disqualification then I might not have a chance. It sucks to not know something.
I will be sure to elaborate on this rule. I don't think any games will be outright disqualified for a single rule violation this time around (like last year,) but if crashes do happen, it will most certainly affect your score in the long run.

Basically, if a judge decides that a game is "disqialified" then they just won't vote for it.

I'm trying not to scare anyone off.

But do look into your code. A while loop that tirns out to be infinite is most likely the cause of your issue. I know it would be a lot of work, but a debugging technique you might want to try is something like this for while loops:

Code: [Select]
var loopcount, MAXLOOPS;
MAXLOOPS = 100;
loopcount =0;
while (conditions) and loopcount < MAXLOOP {
    //your code like normal
    loopcount += 1;
}
if loopcount == MAXLOOP {
    show_message ("infinite loop encountered");
}
I don't traverse the forums as much anymore. Follow me on Twitter if you want to keep tabs on me!

Twitter: @YoSniperGames
Twitch: yosniper

Streams happen whenever I feel like it.

TheGamerGuy500

  • Cherry Eater
  • Posts: 62
  • I'm a gamer and a guy, video-game-music junkie...
  • OS:
  • Mac OS X 10.9.5 Mac OS X 10.9.5
  • Browser:
  • Chrome 42.0.2311.152 Chrome 42.0.2311.152
    • View Profile
    • TheGamerGuy500 HQ
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *READY SET GO!*
« Reply #79 on: May 17, 2015, 11:17:00 AM »
It's rare, and doesn't happen often, but if one single crash is a disqualification then I might not have a chance. It sucks to not know something.
I will be sure to elaborate on this rule. I don't think any games will be outright disqualified for a single rule violation this time around (like last year,) but if crashes do happen, it will most certainly affect your score in the long run.

Basically, if a judge decides that a game is "disqialified" then they just won't vote for it.

I'm trying not to scare anyone off.

But do look into your code. A while loop that tirns out to be infinite is most likely the cause of your issue. I know it would be a lot of work, but a debugging technique you might want to try is something like this for while loops:

Code: [Select]
var loopcount, MAXLOOPS;
MAXLOOPS = 100;
loopcount =0;
while (conditions) and loopcount < MAXLOOP {
    //your code like normal
    loopcount += 1;
}
if loopcount == MAXLOOP {
    show_message ("infinite loop encountered");
}

Here's the thing. I don't use 'while' anywhere unless it's part of the engine.
About how it could be tailored to some of Klazen's mentioned problems: I do use a particle system but the crash still happened in I Wanna Be Gaming (my first game) before I had GM pro which would ALLOW for particles.
I was thinking sprite creation might cause it since death blood is a sprite.
BUT on even rarer occasion just switching a room can cause it.
It could be because I run GameMaker through Windows Emulation on a mac since I'm stuck with this Macintosh.
Can't let having a Shart-Garbo Mac stop me from making a game, right? :atkCry:

Anyway, I still think I need someone who knows how Windows memory works, because the crash can even happen on my windows emulation.
The emulation software hasn't failed me very much in terms of file creation. Hell, it can even run the game at full speed 50FPS, at least for a while. Literally everything works almost exactly how GM would work on another computer.
I'd suggest getting WhatIsHang or some other Hang-debugger and finding out the issue.
This emulation software doesn't run everything but GM is one of the things that CAN operate flawlessly under it.
The question still sits, if I don't use any code with 'while' in it what could cause an infinite loop at random?
Pro tip: you gotta run and jump at the same time!
Notice: She doesn't stop spinning.

:KappaHD:

YoSniper

  • Awexome
  • Global Moderator
  • Spike Dodger
  • Posts: 142
  • People regard me as a programming overlord.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 43.0.2357.81 Chrome 43.0.2357.81
    • View Profile
    • My YouTube
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #80 on: May 27, 2015, 08:49:25 PM »
Please start submitting your games now! See video in OP.

Even if you submit a game early on, you can replace it with a later version if you want to at a later time. Only the latest submissions from each participant will be considered, so YOU HAVE NOTHING TO LOSE BY SECURING YOUR SPOT EARLY!
« Last Edit: May 27, 2015, 09:36:46 PM by YoSniper »
I don't traverse the forums as much anymore. Follow me on Twitter if you want to keep tabs on me!

Twitter: @YoSniperGames
Twitch: yosniper

Streams happen whenever I feel like it.

YoSniper

  • Awexome
  • Global Moderator
  • Spike Dodger
  • Posts: 142
  • People regard me as a programming overlord.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 43.0.2357.81 Chrome 43.0.2357.81
    • View Profile
    • My YouTube
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #81 on: June 11, 2015, 04:55:18 PM »
Attention all participants and prospective participants!!!

I have received at least two README files now that state that their respective games have "a lot of gimmicks."

Please elaborate on two specific gimmicks that you use in the game and that are not listed in rule #6, even if they are extremely obvious in the game.

My goal is to remove as much ambiguity as possible, so it is plain as day that every game submitted qualifies.
I don't traverse the forums as much anymore. Follow me on Twitter if you want to keep tabs on me!

Twitter: @YoSniperGames
Twitch: yosniper

Streams happen whenever I feel like it.

Hectorpaddy

  • Spike Dodger
  • Posts: 135
  • Do you even Hexa Corner?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 43.0.2357.81 Chrome 43.0.2357.81
    • View Profile
  • Playstyle: Gamepad
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #82 on: June 12, 2015, 04:32:12 PM »
I will have to drop out
I'm sorry, I just have a lot of school stuff going on right and and stuff.
Hector, the dropping knowledge.

TheGamerGuy500

  • Cherry Eater
  • Posts: 62
  • I'm a gamer and a guy, video-game-music junkie...
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 43.0.2357.124 Chrome 43.0.2357.124
    • View Profile
    • TheGamerGuy500 HQ
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #83 on: June 20, 2015, 03:19:06 PM »
Eh, my "version 6" is actually just the build number of how far it was in development by the time I entered it into this contest (I had a build 5, 4, 3, 2 and 1 before entering it)
« Last Edit: June 20, 2015, 03:21:54 PM by TheGamerGuy500 »
Pro tip: you gotta run and jump at the same time!
Notice: She doesn't stop spinning.

:KappaHD:

YoSniper

  • Awexome
  • Global Moderator
  • Spike Dodger
  • Posts: 142
  • People regard me as a programming overlord.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 43.0.2357.124 Chrome 43.0.2357.124
    • View Profile
    • My YouTube
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #84 on: June 20, 2015, 07:04:01 PM »
So far, I have received 6 entries, so there will at least be money involved! WOOT!

Judges, this past week I sent out a request for e-mail addresses that I could use to add you to the wiki. As of right now, only Kilgour and myself are registered on the wiki. PLEASE SEND ME AN E-MAIL ADDRESS SOON SO I CAN ADD YOU!
I don't traverse the forums as much anymore. Follow me on Twitter if you want to keep tabs on me!

Twitter: @YoSniperGames
Twitch: yosniper

Streams happen whenever I feel like it.

YoSniper

  • Awexome
  • Global Moderator
  • Spike Dodger
  • Posts: 142
  • People regard me as a programming overlord.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 43.0.2357.130 Chrome 43.0.2357.130
    • View Profile
    • My YouTube
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #85 on: June 23, 2015, 05:40:02 PM »
So, question for the community.

I received an entry today, and the first time I ran it, it ran fine. However, every subsequent time I've attempted to run the game, I get an error message saying "Unexpected error occurred while trying to run the game."

This game was made in Game Maker Lite, so I wonder if that has anything to do with it?

I searched for hidden files and folders, I've tried recopying the game from the original ZIP file, and I've even tried restarting my computer. Nothing has worked. I really want to give this person a chance, so any ideas would be appreciated.
I don't traverse the forums as much anymore. Follow me on Twitter if you want to keep tabs on me!

Twitter: @YoSniperGames
Twitch: yosniper

Streams happen whenever I feel like it.

MatthewRPG

  • Guest
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #86 on: June 23, 2015, 06:44:51 PM »
YoSniper, this is honestly really hard for me to say.
I've been developing this game for the past three months and I can safely say that it was one of the most painful processes I've ever had in my life. I've restarted this game, once out of a broken laptop, and many... many times out of my own merit. This game has lost the charm and fun-ness it once had. I'm not having fun anymore. But, please, please do not think I was lazy or not brave during this. I tried my damned hardest and I failed, with family issues and overall friends worrying about me because of how disconnected from everyone this has made me, I've stuck through and worked on this game. Had I not been a dumbass and broke my laptop, I probably would've finished it, and maybe even had a chance at winning. But, incase you didn't know, I am dropping out of this contest.
Maybe next year, Snipes.  :atkCry:

WetWookie

  • Cherry Eater
  • Posts: 90
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Firefox 38.0 Firefox 38.0
    • View Profile
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #87 on: June 23, 2015, 07:47:39 PM »
yosniper, the best I can suggest is to try it on another pc. If it does the same exact thing then we know it's most likely changing or adding a file somewhere wierd (like appdata) and failing when it tries to do so a second time and the file already exists\contains bad data.

YoSniper

  • Awexome
  • Global Moderator
  • Spike Dodger
  • Posts: 142
  • People regard me as a programming overlord.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 43.0.2357.130 Chrome 43.0.2357.130
    • View Profile
    • My YouTube
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #88 on: June 23, 2015, 07:59:26 PM »
yosniper, the best I can suggest is to try it on another pc. If it does the same exact thing then we know it's most likely changing or adding a file somewhere wierd (like appdata) and failing when it tries to do so a second time and the file already exists\contains bad data.
If I had another PC to test that theory, I'd do so, but as it stands, I simply cannot run the game anymore. I'll post about it on my wiki for judges and see if any of them can figure this out, but other than that, I'm tapping out.
I don't traverse the forums as much anymore. Follow me on Twitter if you want to keep tabs on me!

Twitter: @YoSniperGames
Twitch: yosniper

Streams happen whenever I feel like it.

Raganoxer

  • Wannabe
  • Posts: 29
  • i make level and level accessories
  • OS:
  • Windows 8.1/Server 2013 Windows 8.1/Server 2013
  • Browser:
  • Chrome 43.0.2357.124 Chrome 43.0.2357.124
    • View Profile
  • Playstyle: Keyboard
Re: YoSniper's Fangame Contest 2015 *NOW ACCEPTING*
« Reply #89 on: June 24, 2015, 08:32:14 AM »
sent a message, still in the contest ready to judge. do you still need the email?
~i make your fangames on LBP with hugs and kisses, don't worry they're good quality to LBP standards!