www.ClassicTW.com
http://www.classictw.com/

Mom Bot
http://www.classictw.com/viewtopic.php?f=15&t=35289
Page 1 of 1

Author:  zipp [ Sun Aug 05, 2018 11:19 pm ]
Post subject:  Mom Bot

Is anyone else having problems with relog in version 1045? When my bot is supposed to relog, it tries 2-3 times then I get an error message. If it does relog, I get a bunch of ### before my name. Therefore I do not relog at all, until I do it manually.

It's beginning to irritate the hell out of me. Anyone have a fix for that? I would greatly appreciate any suggestions.

Thanks

Zip

Author:  Helix [ Mon Aug 06, 2018 12:58 am ]
Post subject:  Re: Mom Bot

dont use 45, use 44

Author:  Micro [ Mon Aug 06, 2018 6:07 am ]
Post subject:  Re: Mom Bot

This is actually what I call the "Dirty disconnect bug". It isn't a Mombot bug, although you can fix it by sending backspaces at the logon prompt. It is caused by any script/bot that sends silent keepalives (Including ZedBot). It can also happen if you login script sends # to see the who's online menu.

It has been fixed in the latest version of TWX Proxy:

Subject: TWX Proxy 2.06.01a - Alpha Release

This version flushes the buffer on reconnect and blocks non-alphanumeric characters at the logon prompt (Including #). By eliminating this bug at the source, you will get rock solid reconnects even with Mombot 1045.

Author:  Comet [ Mon Aug 06, 2018 6:37 am ]
Post subject:  Re: Mom Bot

Helix wrote:
dont use 45, use 44


Have a link for the 44 vs 45?

Author:  Micro [ Mon Aug 06, 2018 7:10 am ]
Post subject:  Re: Mom Bot

44 has the bug, unless you have Xanos's private version.

Author:  zipp [ Mon Aug 06, 2018 1:25 pm ]
Post subject:  Re: Mom Bot

Micro:

Do you have to set up more than one game? Or can you set up just one at a time? Can you edit your settings to include games after the initial set up?

One answer 20 questions.

As always - Thanks for your help!

Zip

Author:  Micro [ Mon Aug 06, 2018 3:21 pm ]
Post subject:  Re: Mom Bot

It requires that you create one game at startup, just like the older version.

You can add and delete additional games at any time. You can add games in the old version any time you want, but the delete button doesn't work. I fixed that in the new version.

Author:  Helix [ Tue Aug 07, 2018 3:43 am ]
Post subject:  Re: Mom Bot

I am getting an unknown script error in the new version"

Loading and compiling script: C:\TW2002\TWXProxy\scripts\Bubble_Builderv094\gets
xxports.ts

Command [TL=00:00:00]:[12875] (?=Help)? : Unknown script run-time error 'GETSXXP
ORTS.TS': , line 8

Script terminated: C:\TW2002\TWXProxy\scripts\Bubble_Builderv094\getsxxports.ts

Code:
#create sxx.txt list to be used for upgrading sxx ports in a bubble
readtoarray "___" & GAMENAME &  "__321.txt" $PTR
delete "___" & GAMENAME &  "__sxx.txt"
setVar $i 1
setVar $c 0
while ($i <= $PTR)
   setVar $P $PTR[$i]
   if (PORT.EXISTS[$P])
      if (((PORT.CLASS[$P] = 3) OR (PORT.CLASS[$P] = 4) OR (PORT.CLASS[$P] = 5) OR (PORT.CLASS[$P] = 7)) AND (PORT.NAME[$P] <> "DEEP SPACE NiN"))
         write "___" & GAMENAME &  "__sxx.txt" $P
         add $c 1
      end
   end
   add $i 1
end
echo "**"
echo "**Sxx Ports - " & $c


Something to do with if (PORT.EXISTS[$P])

Author:  Micro [ Tue Aug 07, 2018 5:20 am ]
Post subject:  Re: Mom Bot

Helix wrote:
I am getting an unknown script error in the new version"

...

The most likely cause is that there is an invalid sector number in your text file.

This update should ignore the invalid sector number, and continue processing the rest of the file.

Attachments:
TWXP20601b.zip [489.4 KiB]
Downloaded 585 times

Author:  Helix [ Tue Aug 07, 2018 5:24 am ]
Post subject:  Re: Mom Bot

I will give it a try tonight

H

Author:  Helix [ Wed Aug 08, 2018 10:07 am ]
Post subject:  Re: Mom Bot

Helix wrote:
I will give it a try tonight

H

Worked like a charm!

Author:  Shadow [ Fri Aug 17, 2018 10:13 pm ]
Post subject:  Re: Mom Bot

Micro wrote:
44 has the bug, unless you have Xanos's private version.


44 has many other bugs, too. Not all of them fixed in 45, but some were.

If the source code to 45 was public, perhaps we could fix them. Unfortunately it has never been released, from what I can tell. The source code to 44 is out there.

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