View unanswered posts | View active topics It is currently Sun Apr 26, 2026 1:29 pm



Reply to topic  [ 13 posts ] 
 Using formulas in programs 
Author Message
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
I am writing a TW Gizmo database that will take a formula and figure things out. I am prototyping it in Access 2000. I already got the formulas for stealing and robbing coded.

No product is planned yet to sell, just something I am developing. Someone gave me a formula and I want to keep it secret between me and that person. I might release some code using public formulas, but keep the secret formulas between myself and the creator of it.

I am trying to figure out how to calculate a megarob. As I understand it, the port has 11% more than it says it does in MBBS mode. Also only 3.5M to 6.5M can be robbed. Please let me know if I got any facts wrong.

There used to be a program that could calculate fig and shield prices, anyone know the formula on that?

I've gotten the rob and steal formulas from tw-cabal already. Any other public formulas I should be made aware of?

Thanks.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Fri Nov 28, 2003 11:23 pm
Profile ICQ YIM WWW
Chief Warrant Officer
User avatar

Joined: Sun Mar 30, 2003 3:00 am
Posts: 186
Location: USA
Unread post 
"secret formulas"
heh


Sat Nov 29, 2003 12:12 am
Profile
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
It is a scientific approach to Tradewars. Figuring things out using formulas. Someone gave me their profitable ship formula and I plugged it into an Access database using a table of ship edit stats to figure out the most profitable ships in an edit. A real time saver. Before that I just took max holds over tpw, but that is not the most accurate way to figure things out.

Besides a 1 tpw ship with no twarp, may take more turns getting to the ports than a 3 tpw twarp ship if figs at laid out at the ports. Just twarp there and start trading. Plus the 1 tpw ship will hit someone else's grid figs and could be captured if someone is running an attack script to twarp in when someone hits a sector fig.

I am sure that many corps have figured out the best ships to use this way using a formula of their own.

It is easier to let a program figure this out for us, than get a calculator and do it ourselves.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Sat Nov 29, 2003 5:41 pm
Profile ICQ YIM WWW
Commander

Joined: Thu Feb 20, 2003 3:00 am
Posts: 1529
Location: USA
Unread post 
creditsonport = creditsshown % .9

% is division, drop the remainder.


Sat Nov 29, 2003 5:58 pm
Profile ICQ
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
Thanks, any other formulas I should know about?

Like how fig and shield prices are based on each day?

How combat odds are calculated to capture a ship?

How to figure out the best price a port will sell? I'd really like to figure out how to get 5 exp each time. :)

How colonist regen will populate Terra each day. So I can figure out the best times to colonize in a busy and competitive game.

How to figure out what are the best ports to trade at? Each port has some sort of value that determines how much they will buy or sell for each cargo hold. How do I determine that value?

Thanks.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Sun Nov 30, 2003 7:54 pm
Profile ICQ YIM WWW
Sergeant Major

Joined: Mon Sep 15, 2003 2:00 am
Posts: 69
Location: USA
Unread post 
I have to agree with Typh00n.

lol


Sun Nov 30, 2003 8:22 pm
Profile ICQ YIM
Warrant Officer

Joined: Thu Sep 25, 2003 2:00 am
Posts: 80
Location: USA
Unread post 
Heh Orion you can tell people who gave ya the ship forumula, hehehe, I'm kinda proud of it. I had been the first person to figure out the ports way back when, too, what're they're calling the MCIC now, and wrote telemate scripts that always got the absolute possible maximum amount of money from self-built ports because they were all the same. Although the amounts they paid varied by day of week, the script took that into consideration too. We averaged nearly 5k more per 250 holds of equip than any other script out there, and trust me, it made a HUGE difference. If I recall correctly, we got around 45,700 per load, but's been awhile, i remember the first offer was 48,200-something odd on the best day of the week, anyway formulas and such are very important, especially in low-turn games where every single tiny % can actually matter.

We need to hook up for that colonizing formula that Doctor Who and Didaskalos taught me, I finally understand it all now, and being able to quantify that into a static formula and just plug in the variables would be a great help in the future. =) How many runs to do per ore buy, etc. based on location and holds; it would need to calulate all the reasonable ships to find the best one, etc.

I'm still looking forward to playing a game with you soon, Orion_Blastar. =)

galaxi

_________________
Any sufficiently advanced tradewars strategy is indistinguishable from cheating.
--self quote, 1995


Sun Nov 30, 2003 11:20 pm
Profile
Commander

Joined: Thu Feb 20, 2003 3:00 am
Posts: 1529
Location: USA
Unread post 
Orion - most if not all of those formulas are available if you just take a little time to search for them. If you can't find them, do some testing and figure it out.


Mon Dec 01, 2003 12:18 am
Profile ICQ
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
I have searched for them, tons of Tradewars pages out there, some with good info and some with outdated info. TW-Cabal seems to be the best, but doesn't have all the formulas I need. Did you know that some TW pages still talk about TW2002 1.X games? Heh... almost as funny as some dial-up BBSes that still run TW2002 1.X and never bothered to upgrade. :)

I am prototyping the TWGizmo in MS Access, when I get my confidence back I'll try and port it to Visual BASIC 6.0 and make a stand alone program that is easy to use. Haven't decided to charge for it, ask for donations, or make it open source yet. Thing is many players either don't know these formulas, or don't know how to use a calculator to figure them out. The TWGizmo will figure it out for them. I got one game that we are training someone to play red in a MBBS game, and this person doesn't understand how to calc the credits to megarob. A TWGizmo would help, or using a megarob script would also help.

If anyone knows formulas for Tradewars listed on a web page, please post them here. Google turns up mostly TW pages that I cannot use. The search continues.

Galaxi, we have to get those formulas figured out, and I have to get this database to you sometime. I'll let you know via ICQ when I get some free-time. College work has been running me ragged and I haven't had much time for TW.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Mon Dec 01, 2003 3:49 pm
Profile ICQ YIM WWW
Commander

Joined: Thu Feb 20, 2003 3:00 am
Posts: 1529
Location: USA
Unread post 
Search these forums. I normally am pretty open to any questions about this game, but you're asking for forums that are available to stick into something that you're thinking about charging people to use.


Mon Dec 01, 2003 7:54 pm
Profile ICQ
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
Well I am being honest about it, I might charge for the program. Then again I might not. If I charge for it I can afford that TWGS registration with TW2002 and TWGold codes. If I don't I am just another hungry programmer giving people a free product and getting nothing in return for it.

I'll search for the formulas. Time is one thing I do not have a lot of and I must manage it wisely.

On a side note, Earth has already contacted me to convert the formulas I have to C/C++ code for inclusion into the ATTAC Calc program. I wouldn't give him Galaxi's formula, but maybe the rob, steal, and megarob formulas. I assume I would not get anything for it, save credit for writing the C/C++ formulas.

I can share then C/C++ formulas to anyone who writes a TW Helper if it helps to improve the game for some people. That is if I ever get around to writing them. :)

If I were to charge for the TWGizmo, I wouldn't charge as much as the Telnet TWHelpers. I was thinking of more like $5USD. I've seen a lot of newbies who couldn't afford to register scripts or TWHelpers for $25 or $30 each and maybe this would help them figure out how to play red or other parts of Tradewars. It would not take any money away from EIS. but rather would help get more of an interest in the game for newbies. It would not have Telnet features, but might be able to import TWX or CIM files if I get it more advanced. Then I could do sector searches and paired ports, evil ports, megarob port pairs, etc. All data will be in an Access database for faster searches. The more newbies that get into the game this way, the more need for TWGS servers to support them, which in turn means more money for EIS. So shutting out developers from formulas just because they want to charge for a program doesn't make sense to me in the long run. That is just my view of it.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Tue Dec 02, 2003 5:58 am
Profile ICQ YIM WWW
Ensign

Joined: Fri Sep 19, 2003 2:00 am
Posts: 247
Location: Canada
Unread post 
You have any problems with Access (Coding in VBA) just let me know. I can help

_________________
No Quarter - Is what we offer our enemies


Tue Dec 02, 2003 6:52 pm
Profile ICQ
Lieutenant Commander

Joined: Thu Jul 31, 2003 2:00 am
Posts: 837
Location: USA
Unread post 
Thanks for the offer, I am quite good but a bit rusty. I haven't programmed in VB or Access VBA for almost a year and lost my confidence. I am trying to build it back up.

So far I have the following functions coded in VB functions:

Amount of credits to rob, amount of holds to steal, how much to megarob, holds to furb a ship with to get holds back, alignment change for losing figs on enemy figs, exp gain for losing figs on enemy figs, figs needed to capture an alien.

If I get my coding skills back, I can learn REXX or TWX later and script for them. First I must learn the formulas used in TW before writing scripts. TWGizmo will be an offline helper without telnet access, but can be used as a calculator in the game to figure things out before taking an action. Once I verify that the functions work in VB/VBA code I will re-write them in C/C++ code to be shared with other TW Helper programs like ATTAC, SWATH, etc.

I hope that it gets more interest in the game, I may even make a web page about TW formulas to help other people write programs or spreadsheets to figure things out. If it helps get more people interested in the game, it will definately help the TW community and EIS and related companies that make TW Helpers. Despite what people may think, this is a good thing not a bad thing.

_________________
I'm getting too old for this sort of thing.

I am from http://district268.xormad.com/ District 268


Tue Dec 02, 2003 10:00 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 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 wSTSoftware.