www.ClassicTW.com
https://mail.black-squirrel.com/

Another 2.07 Scripting bug
https://mail.black-squirrel.com/viewtopic.php?f=44&t=31957
Page 1 of 1

Author:  Master Blaster [ Sat Jul 30, 2011 1:46 pm ]
Post subject:  Another 2.07 Scripting bug

Purely random. Running swath's resource mover script moving colos between 2 planets in different sectors. I'll get the message script interrupted followed immediately by the connection being closed.

Code:
Land on which planet <Q to abort> ? 25
Landing sequence engaged...
Planet command (?=help) [D] S
<Load/Unload Colonists>

Display planet? No
(L)eave or (T)ake Colonists? [L] L
Which production group are you changing?

(1)Ore, (2)Org or (3)Equipment Production? 1
How many groups of Colonists do you want to leave ([250] on board) ? 250
The Colonists disembark to begin their new life.
Planet command (?=help) [D] Q


Command [TL=00:00:00]:[3038] (?=Help)? : 1933
<Move>

Engage the Autopilot? (Y/N/Single step/Express) [Y] E

<Auto Pilot Engaging>

Auto Warping to sector 13800

Sector  : 13800 in uncharted space.
Ports   : Deathus BuyBuyBuyBuy, Class 8 (BBB)
           (Under Construction - 4 days left)
Planets : (M) Deathus Vacationus
          (O) Deathus Fightermakerus
          (L) Deathus Mtnresortus
          (M) Deathus Dustbowlus
          (U) Deathus Gasfactureus
Fighters: 10 (yours) [Defensive]
Warps to Sector(s) :  1933 - 3038

Auto Warping to sector 1933


[Resource Mover] <<< Script interrupted >>>



<<< Connection closed >>>



Author:  John Pritchett [ Sat Jul 30, 2011 2:08 pm ]
Post subject:  Re: Another 2.07 Scripting bug

Does the script close the connection or is it just reporting that the connection was closed in some other way?

Are you getting any reports of errors in the game error log? It's possible that there's a crash happening and it's disrupting the script and reporting the closed connection. But if that's the case, I'd expect to see a crash report in the log.

Author:  Master Blaster [ Wed Aug 03, 2011 10:06 pm ]
Post subject:  Re: Another 2.07 Scripting bug

At first, I thought it was timing out after the script failed, then IO watched the script fail and immediately close the connection. I will check the logs and get back to you

Author:  Master Blaster [ Wed Aug 03, 2011 10:15 pm ]
Post subject:  Re: Another 2.07 Scripting bug

Nope, did not throw an error at all. No record outside of me logging off. I scrolled the screen back when it happened in swath and could not find any other reason for the script failure or the disconnect. The script just failed followed by an immediate disconnect.

I also checked to make sure I didn't get dumped for extern but that wasn't the case either.

I am going to try and recreate it. I am running locally (on my own network) so ping is 0. Maybe that has something to do with it?

Author:  John Pritchett [ Wed Aug 03, 2011 11:45 pm ]
Post subject:  Re: Another 2.07 Scripting bug

I intend for the game to function properly with ping 0. I do need to check my work on the move pacing because it seems to be running too fast at minimum delay.

If you can reproduce this, then maybe you could help me get the test set up here so I can isolate the cause and fix it.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/