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

World Port Upgrade
http://classictw.com/viewtopic.php?f=15&t=35613
Page 1 of 1

Author:  thespacegoatscoat [ Fri Oct 25, 2019 9:29 pm ]
Post subject:  World Port Upgrade

Hello! I was wondering if there was such a script as a world port updater? In my mind what this script does is navigate like a world trade script, but instead of trading it would just upgrade the ports.

Bonus points if it could be told to avoid upgrading BBB SSS. I'm currently doing it by hand - and it gets a little tedious.

Author:  Micro [ Thu Nov 28, 2019 7:23 pm ]
Post subject:  Re: World Port Upgrade

Yes, these scripts are out there (i.e. ksell). It is also important that they only upgrade ports with good MCICs. I do not know of any public scripts that do this.

Author:  Cruncher [ Fri Nov 29, 2019 8:21 am ]
Post subject:  Re: World Port Upgrade

Micro wrote:
Yes, these scripts are out there (i.e. ksell). It is also important that they only upgrade ports with good MCICs. I do not know of any public scripts that do this.


ksell does not upgrade ports. That is a world trade script that sells product and buys fuel. Amongst other things.

FYI the "k" is for "Killbillie" this is a script I asked Xan to write for me for builders games.

Author:  Micro [ Fri Nov 29, 2019 7:31 pm ]
Post subject:  Re: World Port Upgrade

What upgrades ports then?

Author:  Cruncher [ Fri Nov 29, 2019 10:26 pm ]
Post subject:  Re: World Port Upgrade

Micro wrote:
What upgrades ports then?


Mombot, I don't know if anyone has built this into a world ptrade script.
Personally, I prefer to check the MCIC first, then only upgrade the high profit ports.

{cru} MAX - Upgrades a Port in sector to its maximum

max/maxport [f/o/e] {noexp}

{noexp} - Performs upgrade without increasing
Experience.

Author:  Shadow [ Tue Dec 10, 2019 8:38 pm ]
Post subject:  Re: World Port Upgrade

Micro wrote:
What upgrades ports then?


There are private scripts, as you note. I may or may not have written such a script. As have many others, I am sure.

Author:  Helix [ Mon Dec 30, 2019 11:30 pm ]
Post subject:  Re: World Port Upgrade

Cruncher wrote:
Micro wrote:
What upgrades ports then?


Mombot, I don't know if anyone has built this into a world ptrade script.
Personally, I prefer to check the MCIC first, then only upgrade the high profit ports.

{cru} MAX - Upgrades a Port in sector to its maximum

max/maxport [f/o/e] {noexp}

{noexp} - Performs upgrade without increasing
Experience.


Its easy to write a script that uses these commands and just feed it a list of ports.

Author:  Micro [ Tue Dec 31, 2019 1:27 am ]
Post subject:  Re: World Port Upgrade

Helix wrote:
Its easy to write a script that uses these commands and just feed it a list of ports.
There is also Zed's planet driver, but I never learned how to use it, and I think there is additional customizable automation in Zed-bot.

Max seems to be broken in the new mombot, it won't run for me or one other corp-mate anyway.

Code:
# Read a text file into an array
readToArray figlist.txt $figArray

# A variable $figArray also exists, and is equal to the element count
echo "*Figged Sectors read:" $figArray
setVar $i 1
while ($i <= $figArray)
   send "'mb1 T " & $figArray[$i] & "*'mb1 max e*"
   waitfor "port upgrade complete"
   add $i 1
end

This is just to give you an idea how to script Helix's idea, and comes straight from the TWX Scripting Manual. Mombot has to be running as you are sending bot commands to yourself. I did not actually test the macro though and I am not sure what phrase you have to wait on, this is just to give you an idea what is evolved.

Author:  Cruncher [ Wed Jan 01, 2020 11:49 am ]
Post subject:  Re: World Port Upgrade

Helix wrote:

Its easy to write a script that uses these commands and just feed it a list of ports.


Yes, but it's not testing the MCIC, you would have to pull the list of ports from another dbase.

Author:  Micro [ Wed Jan 01, 2020 12:20 pm ]
Post subject:  Re: World Port Upgrade

Cruncher wrote:
Helix wrote:

Its easy to write a script that uses these commands and just feed it a list of ports.


Yes, but it's not testing the MCIC, you would have to pull the list of ports from another dbase.

You would create the list that you feed to the script from swath or a TWX script that checked the MCICs.

Author:  Helix [ Sat Jan 04, 2020 9:02 pm ]
Post subject:  Re: World Port Upgrade

Cruncher wrote:
Helix wrote:

Its easy to write a script that uses these commands and just feed it a list of ports.


Yes, but it's not testing the MCIC, you would have to pull the list of ports from another dbase.

The list of port's MCIC would already be known from the port trades at the beginning of the game, This doesnt work with unknown sectors/ports. Cruncher we did this the last time we played with Xan

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