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! Server is broken, download attached file instead.

Attachments:
isdbg_2018-06-08.7z
Hits: 4 Size: 12.83kb

Post has been edited 1 time(s), last time on Apr 23 2023, 10:55 pm by FaRTy1billion.



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]


Apr 23 2023, 10:56 pm O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

Attached the file directly to first post since my server is still broken.



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!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:47 pm]
NimoStar -- If its any consolation, the human brain would still mop the floor with this bot if it wasn't limited by the mechanical interface
[05:34 pm]
NimoStar -- Well. The bot didn't come up with any new strategy. It just has superhuman micro. Hard to beat that. I reckon even the simplest dedicated chess engines are unbeatable for humans now.
[02:13 pm]
Oh_Man -- all g
[10:54 am]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider did u watch the entire video? it's not one game. it's currently dominating the ladder at number 1 position. do ur research first!
Oops, caught me there, no I haven't. :( I was imagining how the game went. Sorry for that. Watching it now. brb
[10:52 am]
NudeRaider -- NimoStar
NimoStar shouted: They were not "Unprepared" that was their fifth loss in a row against the bot. The other replays are also available
that doesn't mean he was prepared. When humans come around with new strategies it often takes weeks until the pros figure out how to shut it down. Oh_Man that's certainly a way more convincing argument for micro being "too good to beat".
[09:43 am]
DiearAnother -- wirefram
[08:35 am]
NimoStar -- Well, pros showed that long ago... half of zerg pros just ling muta rush
[08:35 am]
NimoStar -- " its shown is that you can trade 1000's of apm to make up for lack of strategy"
[03:25 am]
Oh_Man -- https://youtu.be/R_6bsf9REkY anyone ever tried playing SC ghost?
Please log in to shout.


Members Online: Zakerozi, l)ark_ssj9kevin, O)FaRTy1billion[MM]