Staredit Network > Forums > Modding Discussion > Topic: Iscript Debugger / Crash Prevention plugin
Iscript Debugger / Crash Prevention plugin
Jun 9 2018, 3:36 am
By: O)FaRTy1billion[MM]  

Jun 9 2018, 3:36 am O)FaRTy1billion[MM] Post #1

👻 👾 👽 💪

At the request of Voy, here is a plugin to prevent & report the most common reason for a crash in a mod. This plugin will detect calls to invalid iscript calls and invalid GRP frames. It will display these errors in-game and also log them.

Code
Listening for errors...
Invalid frame 50 in animation "Init" on Image ID 278
Invalid frame 50 in animation "Init" on Image ID 278
Call to undefined animation "AlmostBuilt" on Image ID 278


This plugin is compatible with iscript extender, and should be compatibile with most other plugins (including GPTP).

It currently supports versions 1.14.0, 1.15.x, and 1.16.x. I can add other versions if requested (these all just had identical assembly in the required functions between versions so it was easy :P).

Let me know if you encounter any errors or have any comments or suggestions.

Download!



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jun 9 2018, 3:57 am Voyager7456 Post #2

Responsible for my own happiness? I can't even be responsible for my own breakfast

Thanks for this, Farty! This makes debugging mods so much easier, especially mods like Orid Ibanna that were made a long time ago and have crashes that aren't always easily to isolate.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:07 pm]
NudeRaider -- Pr0nogo
Pr0nogo shouted: what are those strange letters in front of u?
they're part of the alphabet, just like the u. But don't worry, no shame in not knowing. Even in developed countries we have programs dedicated to teach reading and writing because even here it happens.
[02:31 pm]
TF- -- Anitoch
[02:00 pm]
Dem0n -- where discord at lmao
[01:58 pm]
Pr0nogo -- what are those strange letters in front of u?
[01:26 pm]
lil-Inferno -- tru
[06:26 am]
KrayZee -- SEN isn't what it used to be.
[06:19 am]
KrayZee -- The apple has fallen far from the tree.
[06:17 am]
KrayZee -- FaRTy1billion
FaRTy1billion shouted: Wing Zero cry
Cry very far away
[06:09 am]
Pr0nogo -- U
[05:42 am]
O)FaRTy1billion[MM] -- Wing Zero
Wing Zero shouted: What am I supposed to do on this site now?
cry
Please log in to shout.


Members Online: Roy, BeatMeistro, Unsweetened