Unable to invoke script subroutine "" when saving world

Posted by Feantur on Thu 23 Dec 2004 08:26 AM — 4 posts, 17,888 views.

#0
"Unable to invoke script subroutine "" when saving world"

Got this message when saving my world details. Any ideas where I could look to solve the problem? Or is this something that's not in the user scripts?
Poland #1
Maybe you have an alias/trigger that is sending to script and the script name is "" - at least that's the case that I got this error msg.
USA #2
It wouldnt be 'send to script', since that uses the script file in the send box.

What did you recently change?

Oh. Perhaps its triggering on world.save?
Yeah. Looks like its yelling at you because you don't have anything for your save script?
I guess. Game > Config > Scripts.
Then the save callback. Did you recently have one and then deleted it? Or have you recently put it in?

Looks like a bug, although I can't reproduce it.
Amended on Thu 23 Dec 2004 06:38 PM by Flannel
Australia Forum Administrator #3
Yes, it's a bug. Thanks for reporting that. When I add new things like that I usually copy something similar (like the "world open" stuff) however I missed one place that zeroes out the despatch ID if the subroutine isn't used.

This will be fixed in version 3.61.

You could fix it for now by putting in a dummy "on world save" subroutine in your script file, and make it do nothing.