View unanswered posts | View active topics It is currently Thu Apr 25, 2024 2:08 pm



Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
 Momboat Stats 
Author Message
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Momboat Stats
I'm getting the following error when I press [TAB][~][>]:

Script run-time error in 'MOM_BOT3_1042.TS': 'True' is not a number, line 10042

Script terminated: C:\TW2002\TWXP3000\Scripts\@MomBot.cts

Anyone know how to fix this?

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Sun May 12, 2013 12:46 am
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Momboat Stats
Micro wrote:
I'm getting the following error when I press [TAB][~][>]:

Script run-time error in 'MOM_BOT3_1042.TS': 'True' is not a number, line 10042

Script terminated: C:\TW2002\TWXP3000\Scripts\@MomBot.cts

Anyone know how to fix this?

What exactly is it?

Lines 10041 - 10049
if ($PHOTONS_ENABLED)
if ($MULTIPLE_PHOTONS)
setVar $qss[21] "Yes"
else
setVar $qss[21] "No"
end
else
setVar $qss[21] "Disabled"
end

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Sun May 12, 2013 2:49 am
Profile WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Momboat Stats
Check your qss(21) variable to see if it is yes or no....my guess is it is 0. Probably just missing a variable input.

Either way need more info...twgs 1.03 or 2.20?

Probably removing mom files and restarting will fix the problem unless it happens in every game.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Sun May 12, 2013 7:07 am
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: Momboat Stats
It is v1.03, but I think it has happened with v2.20 before.

In data\game.cfg I changed:
$MULTIPLE_PHOTONS=True

To:
$MULTIPLE_PHOTONS=1

...and now it works.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Sun May 12, 2013 8:00 am
Profile ICQ YIM WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Momboat Stats
Was this a new game or one you have been playing for a while? I am curious if this is the known issue with MOM not grabbing the game stats at the beginning of the game. If this is a new game there are 2 options:
1. Once in the game kill mom and restart and it will log out of the game grab game stats and relog.
2. Run gamestats from mom command prompt and it will force the logout and relog to correct the issue.

There are a number of issues that you will see if it never grabs the game settings. It is typically not an issue in 1.03 but happens quite regularly in 2.20. Lot's of people never see it since they tend to close the connection and restart TWX/Mom daily so the issue fixes itself the next time they log in to the game.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Sun May 12, 2013 3:30 pm
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: Momboat Stats
It's a new game. Mombot failed to get stats on the first run (seems to always do that to me), so I killed it and restarted. Mombot exited and collected stats, came back in and got the ship catalog, etc...

Then I killed mombot, deleted the files, restarted and it collected game stats again. It still didn't work. Then I changed the TWX cfg file manually from "True" to "1" and it worked.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Sun May 12, 2013 3:59 pm
Profile ICQ YIM WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Momboat Stats
What server and port please? I am curious if there is another script changing it. I will just log in to test some settings.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Sun May 12, 2013 5:04 pm
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Momboat Stats
T0yman wrote:
What server and port please? I am curious if there is another script changing it. I will just log in to test some settings.


www.thesprawl.ca:2002

10k sectors 2.5k turns

Game X - PokerRun

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Sun May 12, 2013 5:51 pm
Profile WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Momboat Stats
I logged in the game, restarted mombot and it saved the variable:

"$MULTIPLE_PHOTONS" = "True"

Then I executed the Tab ~ > with no issues, I checked in the .cfg file and it had the word True instead of "1".

The gamestats script I referenced earlier apparently DOES NOT work on 1.03. I guess I either wrote or modified it during the 2+ version and never changed it to grab regardless of version.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Sun May 12, 2013 8:05 pm
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Momboat Stats
T0yman wrote:
I logged in the game, restarted mombot and it saved the variable:

"$MULTIPLE_PHOTONS" = "True"

Then I executed the Tab ~ > with no issues, I checked in the .cfg file and it had the word True instead of "1".

The gamestats script I referenced earlier apparently DOES NOT work on 1.03. I guess I either wrote or modified it during the 2+ version and never changed it to grab regardless of version.

LS's server is v1.03

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Sun May 12, 2013 10:37 pm
Profile WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Momboat Stats
Helix wrote:
T0yman wrote:
I logged in the game, restarted mombot and it saved the variable:

"$MULTIPLE_PHOTONS" = "True"

Then I executed the Tab ~ > with no issues, I checked in the .cfg file and it had the word True instead of "1".

The gamestats script I referenced earlier apparently DOES NOT work on 1.03. I guess I either wrote or modified it during the 2+ version and never changed it to grab regardless of version.

LS's server is v1.03

Correct, mombot grabs the data correctly on both 1.03 and 2+. The addon script named gamestats only works for ver 2+. I never went back and rewrote it to work with both since at the time it looked like 1.03 would have been a faint memory. Since I don't play anymore and if I did it would not be on 1.03 I had no interest in fixing. I was just clarifying that mombot works for me as advertised, the addon still has a problem for 1.03 only.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Mon May 13, 2013 5:27 pm
Profile ICQ YIM WWW
Ensign
User avatar

Joined: Mon Dec 26, 2011 8:41 am
Posts: 206
Unread post Re: Momboat Stats
Helix wrote:
Micro wrote:
I'm getting the following error when I press [TAB][~][>]:

Script run-time error in 'MOM_BOT3_1042.TS': 'True' is not a number, line 10042

Script terminated: C:\TW2002\TWXP3000\Scripts\@MomBot.cts

Anyone know how to fix this?

What exactly is it?

Lines 10041 - 10049
if ($PHOTONS_ENABLED)
if ($MULTIPLE_PHOTONS)
setVar $qss[21] "Yes"
else
setVar $qss[21] "No"
end
else
setVar $qss[21] "Disabled"
end


Micro, is this still an issue? I ran into something very similar yesterday with a different script... out of curiosity what version of twx were you using?

Also, where'd you guys get the .ts? Latest mombot ts I have is 1036. If someone can post a link I'd appreciate it.


Mon Sep 30, 2013 11:31 am
Profile ICQ
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: Momboat Stats
Astrochimp wrote:
Helix wrote:
Micro wrote:
I'm getting the following error when I press [TAB][~][>]:

Script run-time error in 'MOM_BOT3_1042.TS': 'True' is not a number, line 10042

Script terminated: C:\TW2002\TWXP3000\Scripts\@MomBot.cts

Anyone know how to fix this?

What exactly is it?

Lines 10041 - 10049
if ($PHOTONS_ENABLED)
if ($MULTIPLE_PHOTONS)
setVar $qss[21] "Yes"
else
setVar $qss[21] "No"
end
else
setVar $qss[21] "Disabled"
end


Micro, is this still an issue? I ran into something very similar yesterday with a different script... out of curiosity what version of twx were you using?

Also, where'd you guys get the .ts? Latest mombot ts I have is 1036. If someone can post a link I'd appreciate it.


3.1045

viewtopic.php?f=15&t=32905

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Mon Sep 30, 2013 10:33 pm
Profile ICQ WWW
Ensign
User avatar

Joined: Mon Dec 26, 2011 8:41 am
Posts: 206
Unread post Re: Momboat Stats


Thanks, but it looks like tbh is not releasing the source for that version yet (unless I'm not seeing something).

What I'm looking for is the latest release that includes source code. In one of Micro's posts it looks like he has access to 'MOM_BOT3_1042.TS', which is more recent than what I have. Could be he received it privately, or it might be posted somewhere...


Tue Oct 01, 2013 10:14 am
Profile ICQ
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: Momboat Stats
Astrochimp wrote:
Micro, is this still an issue? I ran into something very similar yesterday with a different script... out of curiosity what version of twx were you using?

Also, where'd you guys get the .ts? Latest mombot ts I have is 1036. If someone can post a link I'd appreciate it.

I don't have internet right now, but the last time I played it was still an issue. The source I had was from Helix's started kit. I tried several versions of TWX, and mombot on several different servers, and it always saved "$MULTIPLE_PHOTONS" = "1" instead of "$MULTIPLE_PHOTONS" = "True" in the twx config file. If I changed this manually, it worked fine.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Fri Oct 04, 2013 10:44 am
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.