Jun. 23, 2018

Hello der,  Guest
Trader Name:
Password:
 | Home | Forum List | Active Threads | Search:
Page: of 1   
General Trade Wars > Fighter/Shield Price Formula?  
<< Thread >>
Subscribed:  
Boone

Joined: Feb 2008

posted: 03/23/2008 at 07:07 PM Post #1

I know the fighter + shield price ads to 350 and that shields range from 110 to 190 and fighters range from 160 to 240.  I also know the calculation has to do wioth the date but can someone tell me the formula?

Thanks,
Boone
Maniac

Joined: Apr 2005

posted: 03/27/2008 at 02:04 AM Post #2

IIRC fig/shield prices are based on a curve you would have to get with Elder Profit on the exact settings but it is a sin curve.... some days it might be worth buying figs because tomorrow they will be more expensive and on the reverse side it might make more sense waiting because they will be cheaper tomorrow.

I hope I have given you enough information for you to make an intelligent choice about your question.  I'm just starting to help others with the information I have gathered.  I also want to say that the more information you have and can process will make you a much better player, IMHO more so than getting blown up several times/game , the secret to this game is <CARRIER
DISCONNECTED>

There is no one single secret to this game.... you have to persevere and not give up.  Ask questions when you get podded most of the time people will tell where you went wrong and possibly tell you where you might improve upon either your skill or your scripts.  There are ambassadors out there that are willing to share what works and what doesn't. You just have to have the willingness to listen and adopt their suggestions.

LoneStar


Joined: Jul 2006

posted: 03/27/2008 at 04:05 AM Post #3

Whoa. Someone get Maniac his Meds.

The answer to the question can be found on the 'Cabal Secret Hideout' pages mirrored on Sings NavHaz site: http://tw-cabal.navhaz.com/tips.html


"27) The cost of figs and shields changes daily. It's a set pattern, where the cost of shields will rise and figs will get cheaper, until a certain point, then they will reverse, and so on.  This pattern is tied to the day of the year, and NOT tied to supply and demand.  Cherokee has the formula on his site, here.  My general suggestion is to buy mostly figs, unless the price of shields is really cheap, because figs are more flexible.  But always buy the minimum shields needed for your planets to prevent photons, and always keep your ships full. (Except in the case of tip #12)"


N.B. The reference to Cherokee's site is broken. Is is on the wayback machine archive. Also, I seem to remember that the cycle of fig/shield costs resets every 15 or 30 days.


The Joker's Always Smiling in Every Hand That's De
Boone

Joined: Feb 2008

posted: 03/27/2008 at 08:46 PM Post #4

Thank you both!
Narica


Joined: Apr 2005

posted: 04/29/2008 at 10:45 PM Post #5

Actually, it's a 44 day cycle..
Each operating with the same formula, only reversed.
Here is the formula I use to calculate shield and fighter prices (I've broken it down a little, hopefully you can follow).
x = days from base day (day where both values are at the midpoint of the sine wave, so every 44 days.) i.e. 3/10/08
A = sin(3.145(x/44))
B = A * 40
Fighter Price = B + 200
Shield Price = (-B) + 150

Narica
Boone

Joined: Feb 2008

posted: 04/30/2008 at 09:45 PM Post #6

Narcia,
Thanks for the information... do you know a quick and easy way to calculate x?
pacman

Joined: Feb 2006

posted: 05/01/2008 at 06:49 AM Post #7

Ep has a script that does that...ask him for it
Narica


Joined: Apr 2005

posted: 05/01/2008 at 10:43 AM Post #8

One way you can do it is have your script first calculate the closest mid-point and just use that as your base day. 03/10/08 was the last base day, just add 44 days to get your next base day, in this case it would be 04/23/08, so x would be 8 if you used today as the calculation (05/01/08). The mid-points are something that can be put into a simple array, if the value is greater than the date you are looking at, use the previous value in the array and do you calculations from that to get the difference in dates. EP might have a better way, but it's also a matter of his willingness to give up such information.
ElderProphet
TWX Development Team

Joined: Mar 2005

posted: 05/02/2008 at 05:02 AM Post #9

Great thread.

I have no problem sharing, except that my formula isn't perfect.  As far as I know, no one has (yet) determined the precise algorithm used for fig/shield pricing, and so they all have a certain level of divergence.  For example, Narica says it's a 44 day cycle, which is close, but not exact.  The truth is that it isn't a repeating cycle, but based on an unknown starting date (which is important) and an unknown sine coefficient and angle.  We can calculate a close approximation, and I'll look over my notes to find mine, and you can use the sine function I posted on this site to help... but long term calculations will still be imprecise.

I'll try to explain better when I have time to review my research.

+EP+

Haggle Blog-> http://jroller.com/page/ElderProphet
Narica


Joined: Apr 2005

posted: 05/02/2008 at 04:43 PM Post #10

Yes, your input would be greatly appreciated. But yes, the error percent will increase the farther you attempt to predict the prices, that's just what I was able to get based on my research. It's those known unknowns that get me a bit more than the unknown unknowns... (heheheh)
Narica


Joined: Apr 2005

posted: 10/23/2008 at 06:12 PM Post #11

EP - any progress... or did you forget about his little ity bity thread?
ElderProphet
TWX Development Team

Joined: Mar 2005

posted: 12/18/2008 at 04:12 PM Post #12

Yes, I did forget about the thread, but not the problem.

http://www.classictw.com/viewtopic.php?p=182692#p182692

This age-old mystery has been put to rest.  I'll follow-up with the scripts in a few days.

+EP+

Haggle Blog-> http://jroller.com/page/ElderProphet
General Trade Wars >  Fighter/Shield Price Formula?
<< Thread >>
Subscribed:  
 | Home | Forum List | Active Threads | Search:
Page: of 1   

"why hello der matey! have a sit and buy me an ale, eh?" -- The Grimy Old Trader

The Grimy Trader is best viewed at 1024x768 resolution -- this page was generated in: 0.359 seconds.