Script causing crashes

Forum Archive - from http://theuniversal.net
Locked
wes773
Posts: 378
Joined: Sat May 19, 2007 12:50 am

Script causing crashes

Post by wes773 »

Software:Unregistered Server
Version Number:0544
________________________________________________________________________
Location
The Universal World Client
________________________________________________________________________
Description:
I made a script that is supposed to be a working pizza delivery mission. I tested it out one night and it works fine, but the next morning all it did was cause my world client to crash due to "illegal Operation." I'm guessing that since my code is repetitious(prettymuch the same code for each delivery building), maybe windows sees it as a threat somehow. To be more specific, it crashes:

1. When I have the pizza's script file in the script folder.

2. When I add the script to the folder while the server is up and use *reloadscript.

When I take out the script file or replace it with another script, it works fine. If you need a copy of my script file, send me an email at wes773105333@gmail.com and I'll send you a copy of it.
.
I sent a copy of the script to Morby to try on his server to see if it acts the same way on his. If it works on his, then something is wrong with my client and I'll let you know here.
________________________________________________________________________
Steps to Replicate:
Get a copy of my script file and add it to your world client, then use *reloadscript and watch it fail.
wes773
Posts: 378
Joined: Sat May 19, 2007 12:50 am

Post by wes773 »

I fixed the script. Apparently the game allowed it to run the first time with a misplaced opening bracket, but it became an issue with running anytime after that. I'm not sure why something like that would happen, but I guess that misplaced brackets will do that. Staff please remove this topic, thanks.
Locked