Original Source
- Original title: Unusual Crash (Demo Included)
- Original author: Rinobi
- Original date: August 18, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/unusual-crash-demo-included.66983/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
I'm stumped... I decided to recreate an old event-based slot machine I worked on a couple of years ago as a one-week project. The challenge is to recreate the functionally without the aid of scripts; scripts are low priority and can only be used for aesthetic or user-friendly purposes. So I finish designing and implementing the foundation of the system, which seems to work as intended until you 'spin the reels' about 20 or so times. At this point the game crashes: { "lightbox_close": "Close",
Archived First Post
I decided to recreate an old event-based slot machine I worked on a couple of years ago as a one-week project. The challenge is to recreate the functionally without the aid of scripts; scripts are low priority and can only be used for aesthetic or user-friendly purposes. So I finish designing and implementing the foundation of the system, which seems to work as intended until you 'spin the reels' about 20 or so times. At this point the game crashes:
Protected download
I did find out where it's happening, but I don't know what exactly is causing it...
Protected download
Protected download
I've included a download to the non-encrypted file since complete screenshots of all of the events involved would be unreasonable. The project has two scripts installed, one of which is a backtrace that I added after I found this issue (seen working in console screenshot above). The other is a tiny bit of code I wrote to display gold as dollars.
I don't need to mention this to any programmers who may be reading, but I'll bring it up anyway.
I'm guessing Game_Interpreter:119 is probably referring to command_119
#--------------------------------------------------------------------------
# * Label
#--------------------------------------------------------------------------
def command_118
end
#--------------------------------------------------------------------------
# * Jump to Label
#--------------------------------------------------------------------------
def command_119
label_name = @params[0]
@list.size.times do |i|
if @list.code == 118 && @list.parameters[0] == label_name
@index = i
return
end
end
end
Or line 119
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
@fiber.resume if @fiber
end
I'm not sure which it is honestly...
To recreate this crash, simply play for about 20 to 22 rounds. It should crash as soon as you bid any amount of credits.
I'd really appropriate any feedback as to what the problem might be. Thanks for reading.
How To Play
Protected download
From there, activate the switch just above the player. You'll get a display like so:
Protected download
You need to play about 20 rounds of the game, so go ahead and insert all or most of the money into the machine.
Credits will increase and money will decrease each time you select an option.
Protected download
Press Esc when you're done adding money to get to the main menu.
Protected download
From there, select 'Play Slots' which will take you to bidding menu.
Protected download
Select any of the betting options and the game will begin.
Protected download
After you've made your bet and won or lost credits you will return the betting menu.
Protected download
Continue to this about 20 times to get the crash. Press Esc to return the main menu.
From the main menu, press Esc again to exit the game. Selecting 'Cashout' from the
main menu will convert credits back into money and return it to the player.
Protected download
Protected download
Download
View attachment ESlots_Remaster.exe
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
To recreate this crash, simply play for about 20 to 22 rounds. It should crash as soon as you bid any amount of credits. I'd really appropriate any feedback as to what the problem might be. Thanks for reading. How To Play Spoiler
Referenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...