Is there a way to safely exit StarCraft 2 from within a trigger? I'm trying to make a screensaver map that exits out completely once the mouse is moved, or the keyboard pressed.
Ok two things, how can you start SC2 directly into a map without login? And does a game crash show up with a windows error report, or something else like a "the game crashed" when its restarted?
also, one way to game crash is infinity loops. And yea, you get a crash report (not the windows one, an sc2 specific one)
Infinity loops i can think of:
Ability that issues order to cast that ability
Augment ability that casts itself
Persistent with the periodic effect that creates itself, very large number of periods and period time of 0
Same as above with behaviors and infinite max stack
A carrier that instead of interceptors launches carriers (Yo dawg, i heard yo like carriers so i put a carrier in yo carrier so that yo can attack while yo attack)
Also, for some strange reason persistent effects with the flag "Persist until destroyed" crash my game.
For opening the map directly, Bone123 got it right
A carrier that instead of interceptors launches carriers (Yo dawg, i heard yo like carriers so i put a carrier in yo carrier so that yo can attack while yo attack)
I love that idea o O This Is FUN! :P But I'm not sure if I want to try... xD
Wait a minute: if my map is put on as a screensaver by Windows (as is my intention), shouldn't it be automatically closed once the mouse is moved, thus I don't need exit code or triggers?
is it possible to say windows to use the starcraft exe as a screensaver?
nevertheless it guess the 'screensaver' programs have the exit implemented and not windows
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a way to safely exit StarCraft 2 from within a trigger? I'm trying to make a screensaver map that exits out completely once the mouse is moved, or the keyboard pressed.
No. I dont think Galaxy scripting would offer such a feature either.
@Drakken255: Go
I can give you some good triggers that very unsafely exit Starcraft 2.
haha something like dont click the chicken. if chicken selected CRASH sc2 would be hilarious
Memory overload is the only thing that comes to my mind;p.
Small map with "spawn marine each 0.1 seconds" and you'll get a fast explosion.
Damn, I remember those "Real survival" maps of W3, where the goal was to avoid your pc crashing. Hilarious stuff xDDD.
@EternalWraith:
I used to be able to consistently crash the game using certain actor events that were incompatible with something or stuff but they may have fixed it.
@Vexal: Go
Ok two things, how can you start SC2 directly into a map without login? And does a game crash show up with a windows error report, or something else like a "the game crashed" when its restarted?
drag and drop a map onto the sc2 exe should start it
aka command line: starcraft2.exe mapname.sc2map
also, one way to game crash is infinity loops. And yea, you get a crash report (not the windows one, an sc2 specific one)
Infinity loops i can think of:
Ability that issues order to cast that ability
Augment ability that casts itself
Persistent with the periodic effect that creates itself, very large number of periods and period time of 0
Same as above with behaviors and infinite max stack
A carrier that instead of interceptors launches carriers (Yo dawg, i heard yo like carriers so i put a carrier in yo carrier so that yo can attack while yo attack)
Also, for some strange reason persistent effects with the flag "Persist until destroyed" crash my game.
For opening the map directly, Bone123 got it right
had some infinite loops yesterday, the only thing I got was a small red error message "took too long" and the trigger stopped
My infinity loops are data, and not triggers. Crash guaranteed.
I love that idea o O This Is FUN! :P But I'm not sure if I want to try... xD
Working on projects:
@TheAlmaity: Go
Wait a minute: if my map is put on as a screensaver by Windows (as is my intention), shouldn't it be automatically closed once the mouse is moved, thus I don't need exit code or triggers?
is it possible to say windows to use the starcraft exe as a screensaver? nevertheless it guess the 'screensaver' programs have the exit implemented and not windows