MetalShard, inc.
Pocket PC and Windows Games and Software

Pocket War (Game) Forum

This is a message in the Pocket War (Game) forum. If you would like to reply to this subject then fill in your reply in the box at the bottom of the page and click the Reply button. To get back to the main page for this forum click the Topics button.

Subject - Script Error
Pages: [1] Messages 1 - 4 of 4
Posted By: Anonymous (2003-05-10 13:36:47)

During purples turn I get an error box
SCRIPT: Param 1 in call to getStat is the wrong type

locks the game
here is the save game just before the error
and the mtrace imeditally after the error ocours
Posted By: Anonymous (2003-05-10 13:37:24)

Here are the files

Ken Pierce
Posted By: Anonymous (2003-05-10 14:03:49)

Thanks Ken I'll take a look at that when I get back into town.
Posted By: Tully (2003-05-12 19:59:05)

Hey Ken I have a fix for this it will be in the 0.982 patch. It was actually two bugs, setTempWaypoint was reporting that it was getStat in error messages and the aitransport script was not checking for a null waypoint before calling that method.

I have also added something else to aid us script writers, all error messages now have a script file name and a line number. (Why didn't I do that long ago, he says while kicking himself over and over.)

I'll let you know when 0.982 is ready to go.
Pages: [1] Messages 1 - 4 of 4


Attach File (zip and pwg files only)

you must be logged in to post
Copyright 2003-2010 MetalShard, inc. Games for Windows and Pocket PCs pocket war forums, automation software freegames