If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2762 Game breaks after a script exceeds a certain size
Author:
Untitled
UntitledDate created:
Type: bug
Visibility: Everybody
Assigned to:
State: new 

> What steps will reproduce the problem?
I'm not sure if this is a game-specific problem. I am editing Crazy Zombie 9 scripts
through P-code (editing actionscript always breaks the game). This worked fine up to a
certain point, now I ran into an issue where the game breaks from innocuous edits. From
troubleshooting it seems related to length, where adding symbols in one place breaks the
game, and removing them in an unrelated place can fix it. I believe both adding and
removing length can break it, and it is not tied to a specific script - adding symbols in
one and removing in another can keep it working.
I have attached a zip with the game files that still work but are close to the limit. All
edits to scripts are done in game.swf. Editing scripts/__Packages/include.char/Shimo
should push it past the limit very fast, e.g. adding frames to this looping animation:
Push "stand", "fps", 3, "loop", true, "frame", 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5,
4, 3, 2, 4, 3, 2, 4, 3, 2, 4, 3, 2, 4, 3, 2, 4, 3, 2, 4, 3, 2, 33
extending to ~54 frames should be enough.
> What is the expected output? What do you see instead?
I expect the game to function normally.
Instead, the game loads into the main menu (where you can select one/two player mode
etc.). However, the menu does not react to mouse hovering over options, and no options can
be selected. You are stuck in the main menu.
I'm not sure if flash produces any output/error/debug logs, I have not found any.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
26.3.0. Using Linux Bazzite, installed through Bazaar.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Crazy zombie 9.zip (30,803 KiB)