
Re: Issues with TWXProxy 2.06 commands
So, I have been thinking about getting back into playing Tradewars, particularly scripting. I used to write some fairly decent scripts. For example, I was the builder in one of our games and I wrote this pretty handy script that did all kinds of pretty cool (I thought) 'bubble management' tasks:
1. It would progress through the bubble one sector at a time, going down 'the lanes' from door to each dead~end, to minimize fuel usage.
2. It could be set to move from sector to sector by twarp, pwarp, or bring a planet with (to put 'havested' 'assets' on once the planets got 'maxed~out') moving from sector to sector.
3. It moved colo's around the different categories to maximize productivity, harvested figs (choice to either transfer to a cargo transport planet as I called them, or putting them up into the sector), etc.
4. It used previously entered choices of port types to destroy current ports and build new ones in a sector if necessary
5. It traded off product on the planets on the port, haggling, and I believe I incorporated +EP+'s haggle script to get best price, worst price or whatever you chose, etc
6. In each sector it would look for however many planets were already in the sector from empty to full. If the sector needed new planets (and you had chosen build new planets if necessary when you started the script), it would calculate how many, and build new ones until the sector was full. It incorporated the method (in either standard or gold games methods) for getting a good planet or whatever type of planet you wanted using the methods I learned from Navhaz or somewhere else, using the minimal amount of gen torps.
7. yada yada yada, I could go on
I am not posting that to brag or impress anyone. Just to let you know that I do know a
LITTLE bit about scripting. The old way apparently. I am
NOT a computer programmer, totally self taught! Self taught the hard way, a lot of blood sweat tears and years, boy howdy!!! Boy howdy especially on the months/years thing! And I am comfortable enough about my manliness to admit that there might have been a few (hundred) tears, here and there at times while writing a script
I downloaded 1_SST.ts and opened it in a text editor, and what I saw totally blew my mind. It looks like a lot of HTML code and CSS code and stuff like that in the script. When I downloaded it, I was at this page
https://github.com/TW2002/twxp/wiki/Pack-1-and-Pack-2-Reference, and I right clicked on the text for 1_SST.ts
https://github.com/TW2002/twxp/wiki/1_SST.ts and clicked OK or whatever to download.
So like I said, then I opened it up and it looked like a lot of HTML code & CSS code, and/or maybe code in some programming language. So, my question is this. Are the TWX Proxy scripts now written in some programming language, like Pascal or something, and I am going to have to learn a whole new programming language before I can write scripts again? Or, does it use the same basic TWXProxy coding syntax and and such that past versions used? Did I not get the actual script with it's TWXProxy code when I right clicked on 1_SST.ts in that list on that page, but some kind of HTML & CSS code document by mistake? Or am I correct and the scripting language has been totally changed and you either have to be a programmer now or teach yourself that new language before you can write a new script or modify an old one?
I appreciate any help and input anyone can give me on this, as it is discouraging to think of having to learn a whole new scripting/programming language just to get back into writing scripts. Thanks all
P.S. The code on the file I got when I right clicked 1_SST.ts seemed to have a lot of links to github or some 'outside' URLs, which I don't like. For one, I like to code locally in my own local server, when I am writing scripts. And second, no offense intended, but I don't like the idea of a script with a lot of 'outside links' in it.