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

Wierd deal
https://mail.black-squirrel.com/viewtopic.php?f=15&t=31804
Page 1 of 1

Author:  Farley [ Mon Jul 04, 2011 11:47 pm ]
Post subject:  Wierd deal

Wsst stalling on enemy figs. single def figs. I kill the fig and holo, and away it goes.

Any ideas?

Author:  Farley [ Tue Jul 05, 2011 12:13 am ]
Post subject:  Re: Wierd deal

Side note, its furbing holds, but not figs and shields.

Author:  John Pritchett [ Tue Jul 05, 2011 2:09 am ]
Post subject:  Re: Wierd deal

Does it appear that this became a problem recently? Has it worked at all with the new version?

Can I see output where the script is failing?

Author:  LoneStar [ Tue Jul 05, 2011 3:21 am ]
Post subject:  Re: Wierd deal

Next time it hangs on a fig, press: $ST ....see what trigger it's waiting on. Also, look back at display, is the script attacking at all?

If it's the mombot wsst, try issuing the Reset command.

Author:  Farley [ Tue Jul 05, 2011 6:19 pm ]
Post subject:  Re: Wierd deal

LoneStar wrote:
Next time it hangs on a fig, press: $ST ....see what trigger it's waiting on. Also, look back at display, is the script attacking at all?

If it's the mombot wsst, try issuing the Reset command.


Only happened on 1 server/game, and I am dead there. I will try to get back in after turn and get you the info.

Author:  Singularity [ Tue Jul 05, 2011 6:35 pm ]
Post subject:  Re: Wierd deal

Probably just the aborted Success! message. Has that been changed in the newest ver of TW, or will we need to get an update out?

Author:  John Pritchett [ Wed Jul 06, 2011 3:02 am ]
Post subject:  Re: Wierd deal

That's supposed to be fixed. I verified that there was an extra newline where the output paused before "SUCCESS!", but it's gone now. There should be no difference in output there. But it could be a related bug. I just need to see the location of the problem so I can study the output.

Author:  Singularity [ Wed Jul 06, 2011 12:09 pm ]
Post subject:  Re: Wierd deal

The problem wasn't the newline, it was that if I put 2 spaces after the steal, the "Success!" message doesn't show up. It wasn't fixed last I saw, but it's not really a big deal. A small tweak, just remove those spaces, and you're good to go.

Author:  John Pritchett [ Wed Jul 06, 2011 12:39 pm ]
Post subject:  Re: Wierd deal

Well, I think it was potentially both. But both should be fixed.

That's a somewhat unique situation where you have a line partially completed, then a pause, then the line completes. That delay was a hard delay before, meaning the game wouldn't process events during it. Now that the delay has background processing occurring during it, the SPACE to break the display normally applies to it, just like you're between prompts. I disabled the SPACE during this delay. But if there are any similar situations in the game, I'll need to address them as well.

Author:  Singularity [ Wed Jul 06, 2011 1:43 pm ]
Post subject:  Re: Wierd deal

All I do is trigger on "Success!" anyway, usually without requiring a line feed.

Really, it's not a big deal tho. Spaces were added to slightly speed up the process by aborting one line of text. If you remove those spaces, it adds back a line of text, but otherwise fixes the problem. This is just one of those cases where little scripter tweaks break when space handling changes, but they're very easy to fix.

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