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.



Look out and there's no atmosphere
No sign of life, it's only us here
We float along, no direction
No gravity, no recollection


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.
[10:42 pm]
pallfy -- use bgh
[10:40 pm]
pallfy -- Wow thanks
[10:18 pm]
Suicidal Insanity -- On game start you could detect who is at which start location, store that in switches / dcs, and use that to permanently force alliances. Lots of combinations though
[09:43 pm]
MTiger156 -- That 2v2v2v2 mapping problem does sound like an interesting challenge. Its worth putting some experimentation into. I could make an example map for combining locked alliances (based on lobby forces) + random start location. Though an EUD solution would be the most efficient, I will avoid that for the sake of simplicity.
[08:53 pm]
NudeRaider -- *compromises
[08:52 pm]
NudeRaider -- pallfy
pallfy shouted: thanks, but that sounds complicated
well, that's the gist of sc mapping. Either accept the limits sc sets for you and work within those parameters, or get creative and find complicated solutions to achieve what you want. The latter can be most satisfying. Sometimes comprised are inevitable though. Also see my respnse in the thread.
[08:13 pm]
pallfy -- thanks, but that sounds complicated
[08:13 pm]
pallfy -- hey raider
[2019-3-21. : 7:18 am]
NudeRaider -- FaRTy1billion
FaRTy1billion shouted: also ya, I showed her my chair wasn't scary and now whenever I'm not in the chair she is
hard to believe that they are predators with almost no enemies in the wild
[2019-3-21. : 7:17 am]
NudeRaider -- Suicidal Insanity obviously francis
Please log in to shout.


Members Online: Roy