View unanswered posts | View active topics It is currently Thu Mar 28, 2024 3:20 am



Reply to topic  [ 13 posts ] 
 Tis The Season for Giving 
Author Message
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1396
Location: Canada
Unread post Tis The Season for Giving
So. The holidays are here, and I thought I'd be the first to give a little something in the way of a simple script that might be useful.


PLAN9.ts - for making 1 Billion in less than 1,000 Turns.


The detail are in the TS file. I just finished running it on 180 Ports and made about 1.6Billion, so seems to run smoothly --albeit a few hours, heh.


Happy Holidays.


Attachments:
File comment: LoneStar's PLAN9
LS_PLAN9.zip [30.95 KiB]
Downloaded 755 times

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)
Wed Dec 21, 2016 3:09 pm
Profile ICQ YIM
Commander

Joined: Thu Oct 17, 2002 2:00 am
Posts: 1158
Unread post Re: Tis The Season for Giving
Thank you


Wed Dec 21, 2016 9:51 pm
Profile
Lieutenant J.G.

Joined: Mon Dec 01, 2014 5:39 pm
Posts: 440
Unread post Re: Tis The Season for Giving
Thanks LS

Now we should have a BattleStar or Startrek Tournament :)


Fri Dec 23, 2016 12:24 am
Profile
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1131
Location: Augusta, GA
Unread post Re: Tis The Season for Giving
Heh, there's a subroutine called ":DO_PLANET_POOP", nice.

Looks good, thanks for sharing.
+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Fri Dec 23, 2016 12:40 am
Profile WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1396
Location: Canada
Unread post Re: Tis The Season for Giving
You're all Welcome



E.P. …I always try to use unique Labels; duplicates can make debugging a real nightmare. Lol.

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)


Fri Dec 23, 2016 10:14 pm
Profile ICQ YIM
Chief Warrant Officer
User avatar

Joined: Sat Feb 27, 2016 1:01 am
Posts: 193
Location: Molon Labe
Unread post Re: Tis The Season for Giving
Cool beans. Gracias, cannot wait to try it out.

_________________
The object of life is not to be on the side of the majority, but to escape finding one’s self in the ranks of the insane.” — Marcus Aurelius

TWX Proxy Reference Online


Sat Dec 24, 2016 11:01 am
Profile ICQ
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: Tis The Season for Giving
Thanks LS!

_________________

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


Fri Dec 30, 2016 12:00 pm
Profile ICQ WWW
1st Sergeant

Joined: Mon Aug 01, 2011 12:11 pm
Posts: 31
Unread post Re: Tis The Season for Giving
I am guessing you need to use this with MoMbot?


Loading and compiling script: C:\Trade Wars\TWXProxy204\scripts\LS_Script_Pack\LS_PLAN9.004.ts

Command [TL=00:00:00]:[6573] (?=Help)? :

[LSPLAN9] Bot's Name is '0'?? Really? Come-on-man!..

Script terminated: C:\Trade Wars\TWXProxy204\scripts\LS_Script_Pack\LS_PLAN9.004.ts


Sun Jan 08, 2017 10:43 am
Profile
Lieutenant J.G.

Joined: Mon Dec 01, 2014 5:39 pm
Posts: 440
Unread post Re: Tis The Season for Giving
Spectre wrote:
I am guessing you need to use this with MoMbot?


Loading and compiling script: C:\Trade Wars\TWXProxy204\scripts\LS_Script_Pack\LS_PLAN9.004.ts

Command [TL=00:00:00]:[6573] (?=Help)? :

[LSPLAN9] Bot's Name is '0'?? Really? Come-on-man!..

Script terminated: C:\Trade Wars\TWXProxy204\scripts\LS_Script_Pack\LS_PLAN9.004.ts


Yep - That would be correct.

Mombot is a bit of a learning curve initially... but you don't HAVE to use all the features etc.

There is a thread at the top of this forum that Helix has which has a download with a heap of scripts/mombot etc.

Has some good features which makes life a lot easier and makes you more competitive.

Cheers,

Hammer


Sun Jan 08, 2017 10:09 pm
Profile
Staff Sergeant

Joined: Mon May 30, 2016 11:32 pm
Posts: 13
Unread post Re: Tis The Season for Giving
Wish I knew how to run this thing, but being brand new to Swath and TWX Proxy I didn't have a prayer of understanding how to set it up and run it. I have a mobile planet with plenty of funds, but as far as anything else related to this.. yeah no idea.


Wed Jun 07, 2017 7:19 am
Profile
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1396
Location: Canada
Unread post Re: Tis The Season for Giving
The Menu you should see:
LoneStars PLAN NiNE!
Version 1.0
Planets/Sector: 0

<P> Port Minimum : 1000
<A> Odd/Even/All : All (134 found)
<C> Perform CIM : No
<S> Self Furb : Yes
<1> Buy Fighters : No
<2> Shields : No
<D> Deploy Mines : No
<U> Upgrade Good Ports : No
<K> TURBO MODE : No
<W> Write MCIC's To File: No
<R> Return To Start Sect: No
<V> Clear Overloads : No
<T> Turn Limit : Unimited
<M> Planet Strip Bot? :


The script relies on Mombot for a few things. If, when you load the menu, you see: Planets/Sector: 0 ...indicates that a variable in the game CFG file is missing (created during MOMBot initial run). Determine what the max number of planets are in your game (via V screen), and add the following line anywhere in the game CFG file (found in the TWX\DATA folder):

$MAX_PLANETS_PER_SECTOR=N

...where N equals the max number of planets the game allows.

$MAX_PLANETS_PER_SECTOR=4

Aside from all that:

Make sure your SWATH lightbulb is Off (helper mode disabled), as well as update your CIM, Fighter, Limp, Armid, and WARP data beforing running the script. open LS_PLAN9.004.ts in a Text Editor, the comments at the top might help as well.

Can't think of anything else to suggest without seeing a scrren cap of what happens when you run the script.

Good Luck

P.S. The Ports.ts script in the ZIP file is not used by PLAN9; it's more of an accessory, you can delete it if you'd like.

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)


Fri Jun 09, 2017 8:28 am
Profile ICQ YIM
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1396
Location: Canada
Unread post Re: Tis The Season for Giving
After helping out Arminus to get this script working I found some 'bugs' which I've felt obliged to correct --I don't like releasing faulty stuff.

LS_PLAN9 Version 1.1
Fixes:
FIXED - Some versions of MOMBot appear to have different 'status report/update' message formats in STATUS command.
FIXED - Added Logic to obtain $MAX_PLANETS_PER_SECTOR value if not in CFG
CORRECTED - Msg "must be FED SAFE" ,... should say "must be commished", cause the script don't care if you get Dock Killed :)


Attachments:
File comment: LS_PLAN9.005.ts
LS_PLAN9.zip [31.14 KiB]
Downloaded 681 times

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.
-= There are 10 types of people in the world: Those that understand Binary and those who do not
-= If Oil is made from Dinosaurs, and Plastic is made from Oil... are plastic Dinosaurs made from real Dinosaurs?
-= I like to keep my friends and my enemies rich, and wait to see which is which - Tony Stark (R.I.P.)
Fri Jun 09, 2017 11:29 pm
Profile ICQ YIM
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Tis The Season for Giving
I don't remember exactly when but JP changed that info and mombot was modified...... the version I was maintaining would work for all versions of TWGS. I can't speak for other versions since I left there have been a lot of people tinkering so it's possible someone wasn't worried about it working on an older version, of the people have an old copy of mom.

_________________
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 Jun 25, 2017 2:11 pm
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ] 

Who is online

Users browsing this forum: No registered users and 13 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.