View unanswered posts | View active topics It is currently Sun Oct 22, 2017 5:32 pm



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

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1200
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 109 times

_________________
----------------------------
-= 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?
Wed Dec 21, 2016 3:09 pm
Profile ICQ YIM WWW
Commander

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


Wed Dec 21, 2016 9:51 pm
Profile
Chief Warrant Officer

Joined: Mon Dec 01, 2014 5:39 pm
Posts: 147
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: 1102
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: 1200
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.

_________________
----------------------------
-= 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?


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

Joined: Sat Feb 27, 2016 1:01 am
Posts: 146
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


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

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

_________________
Image
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team


Classic Style Games Here:
telnet://Cruncherstw.no-ip.biz:2002

flash client: http://Cruncherstw.no-ip.biz:2004/PlayTW.html
Web page from 1990's: http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
E-mail: Cruncherstw@gmail.com
http://www.facebook.com/CrunchersTW


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

Joined: Mon Aug 01, 2011 12:11 pm
Posts: 23
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
Chief Warrant Officer

Joined: Mon Dec 01, 2014 5:39 pm
Posts: 147
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: 10
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: 1200
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.

_________________
----------------------------
-= 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?


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

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1200
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 36 times

_________________
----------------------------
-= 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?
Fri Jun 09, 2017 11:29 pm
Profile ICQ YIM WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2054
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
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 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.