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.
[06:51 am]
Pr0nogo -- if the person joins my server they'll be able to get all the modding info they need, since very few people mod in SEN's server afaik
[06:44 am]
Pr0nogo -- no real idea though, i haven't explored that yet
[06:44 am]
Pr0nogo -- can't be done on scr probably
[06:44 am]
Pr0nogo -- they can but you need to set them up in a specific way
[06:44 am]
jjf28 -- like not necessarily turrets/cannons, but whether any building (CC/barracks/forge) could be given a weapon
[06:42 am]
Pr0nogo -- what does 'random buildings' mean
[06:42 am]
jjf28 -- o someone was curious if you could give random buildings weapons somehow
[06:41 am]
Pr0nogo -- what did you need
[06:40 am]
jjf28 -- kay
Please log in to shout.


Members Online: Doodan, Roy, MTiger156, psyhotechnica, jjf28