Thread: WAC Limits?
View Single Post
  #17  
Old 07-18-2024, 10:49 PM
Oscarmike247 is offline Oscarmike247
Oscarmike247's Avatar
Registered User

Join Date: Feb 2018
Posts: 259

I'm not sure what exactly is going on here, I just know that this happens...

So I did some optimizing and restructuring of my WAC scripts and was able to knock my total scripts down from 314 to 282 without losing any features or events in the map. which is cool. But I did this because it seemed that my new crashing issue was related to the number of scripts. Again, if I removed any script, it would work. then if I even added a script with no conditions or actions (If then endif) it would crash.

So, after reducing everything down, I figured I could go ahead and start adding more scripts for another part of the map. I added 4 new scripts, loaded the map and it crashed again on load.

So I deleted the new scripts until I was one script away from triggering a crash. then I added an if statement with no conditions or actions (if then endif).

If I add this script at the end of my WAC, the map runs fine, but if I place it anywhere ABOVE the last script in the WAC or even at the very start, it causes a crash.

So I added my new scripts to the bottom of the WAC instead of in the middle, and boom, it runs fine.

It's starting to sound similar to Baldo's issue. but like him, I might be able to fix it by moving scripts around, but I'm frustrated not knowing what the hell is going on to cause the crash. Also disappointed that I wont be able to keep my scripts organized since I have to add new ones to the bottom.
Reply With Quote