Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Civ2-Strategy-Archive > Carvan Delivery Payoff formula
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
Post  Old Post 10-09-2001 06:21 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Carvan Delivery Payoff formula Support Apolyton, buy GURPS/ Alpha Centauri

I've just published a paper on a topic near and dear to the hearts of many of the posters in this forum. It is, I believe, an improved formula. Feedback is welcome.

Caravan Delivery Payoffs

La Fayette is offline La Fayette
King
albi, france
Oct 2000
time: 06:15
  Old Post 10-09-2001 06:53
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
nice work william! Got spare money?

... and the paper is also goodlooking.
I suppose you have run a few tests (since this 48.5 makes me think of a programmer with an empty bottle of cognac besides him).
Nothing contrary to my knowledge in your formula.
IMO worth direct entrance into the GL (if you and the SGs agree, of course)

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:15
  Old Post 10-09-2001 14:01 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

Outstanding!

Certainly seems to capture everything except ...

Science bonus - is the same as gold except when 'capped' by the imminent completion of a discovery - there was about 18 months ago a commonly held view that the cap was 2/3 of the required number of beakers - but I never saw this confirmed. Certainly there is a capping mechanism of some sort in action - does it ever effect the gold reward?

As a programmer myself I suspect the rounding mechanism proposed here - why should it be completely different from that apparently used in the combat calculations - but then why not?

Whatever my reservations - I still think this is a splendid piece of work....

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
Post  Old Post 10-09-2001 19:22 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton

La Fayette

I would prefer that the algorithm prove itself a bit before it is entered in the Great Library. In test scenarios the formula was dead on 80% of the time and within 1.2% otherwise. However, testing in a controlled environment is not the same as testing in a real game. Thus, there may be flaws that have not yet come to light.


SG

You are an astute observer. In fact, there is a rounding error in the algorithm. As a former programmer, I must admit that the rounding in the formula is contrived and unlikely. However, attempts to refine it resulted only in compromising the algorithm's balance.

Capping of gold (science was not check separately) was not seen in test scenarios. Deliveries paying 1000 to 1450 gold with only 8 to 15 techs discovered were frequent. Seeing no cap on gold in evidence, further research into the topic seemed unprofitable.

There may be a connection between beakers and the payoff. In testing, strange results were produced when a civ had fewer than five techs. Beyond that though, no other connection was discernable.

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:15
  Old Post 10-09-2001 20:36 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Two comments Support Apolyton buy from Amazon

First, you ought to change the zero multipliers to something other than x0. That makes the total 0, n'est-ce pas?

Second, there was recently a thread here in which someone (I forget who ) posted a graphic depicting exactly which road connections counted toward making the bonus work. That would be a good addition to your paper.

Excellent summary! This is one worth saving to the hard drive, to be sure.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
  Old Post 10-09-2001 21:46 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Re: Two comments Remove this text

quote:
Originally posted by Marquis de Sodaq
First, you ought to change the zero multipliers to something other than x0. That makes the total 0, n'est-ce pas?


There are no zero multipliers in the formula.


quote:
Second, there was recently a thread here in which someone (I forget who ) posted a graphic depicting exactly which road connections counted toward making the bonus work. That would be a good addition to your paper.


Excelent suggestion!

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:15
  Old Post 10-09-2001 22:05 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Re: Re: Two comments Support Apolyton buy from Amazon

quote:
From the linked document:
X⅔ if Railroad has been discovered

Now that I copy/paste from the document, it appears that the railroad and flight bonuses, second bullet, is not a zero, but some character I cannot read. What is in each of these slots?

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:15
  Old Post 10-09-2001 22:11 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Full PM-box? Change here!

I've found the thread containing the graphic and discussion in question:

Interesting effects of roads on trade, started by Ceasar the Great

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:15
  Old Post 11-09-2001 14:44 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Lose 30 kilos (of popups)

Marquis - the character is a "two thirds" symbol 2/3 for both the Railroad & Flight modifiers - and there are several places where the multiplier is given as x1 followed by a symbol which you may or may not be able to read which is in fact a 'half' 1/2 - hope this clarifies the situation ...

fittstim is offline fittstim
Warlord
Stockholm, Sweden
Jul 2001
time: 06:15
Arrow  Old Post 11-09-2001 18:53
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

I think the post is good. Three suggestions though:

1) Fix the problem with the symbols. They sure look like 0's to me so I was confused about the multipliers for flight and railroad.

2) There are two "multipliers" listed as "halving factors" and one listed as "modifier". I'm not sure of the difference between a modifier and a multiplier. And the halving factors might be changed to decimals and restated as "multipliers.

3) A single, long drawn out formula with each of the "multipliers" listed out would be nice - so as to avoid the confusion I listed above.

Otherwise, you have my congratulations!

Marquis de Sodaq is offline Marquis de Sodaq
King
... no, a Marquis.
Jul 2000
time: 23:15
  Old Post 11-09-2001 20:23 Visit Marquis de Sodaq's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Enter the AD-FREE zone

Thanks, SG. The halves do show up, apparently my font does not care about thirds...

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
  Old Post 12-09-2001 09:16 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Civilization 2

quote:
Originally posted by fittstim
I think the post is good. Three suggestions though:

1) Fix the problem with the symbols. They sure look like 0's to me so I was confused about the multipliers for flight and railroad.

2) There are two "multipliers" listed as "halving factors" and one listed as "modifier". I'm not sure of the difference between a modifier and a multiplier. And the halving factors might be changed to decimals and restated as "multipliers.


Both fixed.

quote:
3) A single, long drawn out formula with each of the "multipliers" listed out would be nice - so as to avoid the confusion I listed above.


Please draft an example of what you have in mind so that I can understand your suggestion better.

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:15
  Old Post 12-09-2001 14:00 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Full PM-box? Change here!

William, you still state at the top of the paper that the formula gives both the gold & science bonus - until the science capping is fathomed this is not true ...

Term has just started here (I give my first lecture in a couple of hours) so I probably will not have any time for testing, but if I find some time I shall run some independent tests for you ...

DaveV is offline DaveV
King
USA - EDT (GMT-5)
Jan 1970
time: 00:15
  Old Post 14-09-2001 19:18
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Civilization 2

Nice work. Please take the following as constructive criticism.

1) I think the document should include an explanation of how distance is calculated, since that's been a topic of some discussion on the board. I calculated distance as 1 per square, 1.5 per diagonal, so in my attached files the distances to Carthage are Utica 3.5, Malaca 4, Panormus 4.

2) Some differences in trade route bonuses (see attached files). For 650 BC file, if I maximize arrows, Carthage has 24 arrows and Malaca 8. Bonus from your formula is 19; actual payoff is 16. If I move workers to generate 17 and 5 arrows, formula bonus is 13; actual is 10.

For the 600 BC file, if I maximize arrows, Carthage has 34, Panormus 7, and Utica 9. Calcuated payoff Utica->Carthage (with road bonus): 28; actual is 30. Calculated payoff Panormus->Carthage (with demand bonus): 48; actual is 40.

*** Spoiler alert! The attached files are from the "laugh at a Scouse Git" game! ***

Attachment: dvtrade.zip
This has been downloaded 2 time(s).

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
  Old Post 14-09-2001 19:53 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by DaveV
Nice work. Please take the following as constructive criticism.


The whole reason I posted this thread was to garner the wisdom and experience of this forum. Input is more than welcome.

quote:
1) I think the document should include an explanation of how distance is calculated, since that's been a topic of some discussion on the board. I calculated distance as 1 per square, 1.5 per diagonal, so in my attached files the distances to Carthage are Utica 3.5, Malaca 4, Panormus 4.


Yes. I'll add this, just as soon as I understand it.


quote:
2) Some differences in trade route bonuses ...


This is really good news! I had no idea how where in the formula the flaw(s) were, but now I have a clue - my distance calculations may not have been accurate. Thanks Dave.

DaveV is offline DaveV
King
USA - EDT (GMT-5)
Jan 1970
time: 00:15
  Old Post 14-09-2001 21:29
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

William,

See the Diplomats and Spies thread for a complete explanation of how to calculate distance (4.31ff).

La Fayette is offline La Fayette
King
albi, france
Oct 2000
time: 06:15
  Old Post 14-09-2001 21:31
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
distance calculation Support Apolyton

There is a very clear explanation of distance calculation in civ2 given by SlowThinker in the thread 'Info: diplomats and spies'
(tested it myself many times: always OK)

La Fayette is offline La Fayette
King
albi, france
Oct 2000
time: 06:15
  Old Post 14-09-2001 21:37
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
hello Dave Full PM-box? Change here!

It seems that your connection is slightly faster than mine
(BTW I did notice that Alexandria was in civil disorder, but SG1 explained that I probably forgot to press Ctrl+N, so I played it as it was = nice gift to the Romans and other second class civs)

Xin Yu is offline Xin Yu
King
Emeryville, CA, USA
Jan 1970
time: 21:15
  Old Post 17-09-2001 03:04 Visit Xin Yu's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Tired of ads?

Should "flight" be "advanced flight"?

Building airports on both cities will cancel the effect of discovering "advanced flight"; also, connecting two cities with railroad will cancel the effect of discovering "railroad". Strangely the prerequisite for building airports is "radio", not "advanced flight".

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
  Old Post 17-09-2001 21:11 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by Xin Yu
Should "flight" be "advanced flight"?


Nope. Flight is the one.

quote:
Building airports on both cities will cancel the effect of discovering "advanced flight"; also, connecting two cities with railroad will cancel the effect of discovering "railroad". Strangely the prerequisite for building airports is "radio", not "advanced flight".


The Airport bonus has no connection to the Flight, Advanced Flight, or Radio techs. If two cities with airports get the bonus whether or not that civilization knows how to fly. Funny, eh?

Similarly, the railroad trade bonus is not diminished by a civilization's inability to build box-cars.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
  Old Post 25-09-2001 05:09 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Help yourself to an AD-FREE life

distance = (length of longer side of rectangle) + 0.5 * (length of shorter side of rectangle)

This is the distance formula, right?

Last edited by William Keenan on 25-09-2001 at 05:16

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:15
  Old Post 25-09-2001 11:13 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Enter the AD-FREE zone

Yes WK - that is correct - and the same as that given by Smash above - travel diagonally at 1.5 a square until you are orthogonal and then run home at 1 per square - I shall try an ASCII diagram ...
O . . . . . .
. x . . . . .
. . x . . . .
. . . x z z O


Distance = 3 'x' @ 1.5 each + 3 'z' @ 1 each = 7.5
or
Distance = 6 + 0.5(3) = 7.5

or at least this is how I understand it - I would be happy to be corrected if I am in error ...

La Fayette is offline La Fayette
King
albi, france
Oct 2000
time: 06:15
  Old Post 26-09-2001 00:20
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Tired of ads?

quote:
Originally posted by Scouse Gits
- I shall try an ASCII diagram ...
O . . . . . .
. x . . . . .
. . x . . . .
. . . x z z O


Distance = 3 'x' @ 1.5 each + 3 'z' @ 1 each = 7.5
or
Distance = 6 + 0.5(3) = 7.5

or at least this is how I understand it - I would be happy to be corrected if I am in error ...

No need to correct you AFAIK.
This is also how I understand it, and I have tested it many times.

debeest is offline debeest
Prince

May 2000
time: 21:15
  Old Post 26-09-2001 05:15
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Support Apolyton buy from Amazon

Am I wrong in thinking that under "Foreign Delivery" you've accidentally placed the text from the beginning of "Commodity Demand" instead of the text you meant to put there?

debeest is offline debeest
Prince

May 2000
time: 21:15
  Old Post 26-09-2001 06:50
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Browse Apolyton AD-FREE

I just tried delivering three caravans, and in each case the actual payoff was almost exactly 90% of that predicted by your formula. I'm pretty sure that I did the calculations and measurements and so on correctly, but I'd be happy to send you a save if you want to check it out yourself (and if I can remember how). The fact that the results are wrong is disappointing, but the consistency is encouraging because it might mean that only one factor needs tweaking.

Oops. I just realized that I saved AFTER delivering. Still, there are numerous camels lurking in my capital, and I'd bet that a test with remaining ones would give similar results.

debeest is offline debeest
Prince

May 2000
time: 21:15
  Old Post 26-09-2001 07:22
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Support Apolyton buy from Amazon

Tried it myself with a bunch more caravans. Mostly they came in at about 10% less than predicted by your formula, some closer, one exactly right. Of course, this is all from one game situation, post-navigation, pre-flight, etc. Clearly the formula isn't entirely right, and sadly it's probably not just one factor that's off, but it's far closer than anything I've previously seen. For a long time I've been looking for a way to predict payoff in order to figure out whether it's worth delivering caravans at all. This will help a lot. Thanks!

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:15
  Old Post 26-09-2001 15:49 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
Originally posted by debeest
Am I wrong in thinking that under "Foreign Delivery" you've accidentally placed the text from the beginning of "Commodity Demand" instead of the text you meant to put there?


You are exactly right, debeest. It's fixed now. Thanks.

quote:
Originally posted by debeest
Tried it myself with a bunch more caravans. Mostly they came in at about 10% less than predicted by your formula, some closer, one exactly right. Of course, this is all from one game situation, post-navigation, pre-flight, etc. Clearly the formula isn't entirely right ....


When I did the derived the formula I incorrectly counted diagonals as 1 instead of 1.5. This, of course, caused a big problem with the formula. I'm currently working on a revised formula.

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:15
  Old Post 30-09-2001 03:39 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Full PM-box? Change here!

quote:
Originally posted by DaveV
William,

See the Diplomats and Spies thread for a complete explanation of how to calculate distance (4.31ff).

DaveV, your link link goes to the old Apolyton forum. This is the link to the updated Info: diplomats and spies thread.

markusf is offline markusf
King

Oct 1999
time: 05:15
  Old Post 05-10-2001 07:25
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

In trying to brush away the rust, I have been combing civ2 sites for basic info and have come across the nitty-gritties of trade routes which might bear reproducing here (as I have not seen this tabling in the threads I have come across here). Source is the Scrolls of Wisdom website which acknowledged the original post by Robert Lancaster to alt.games.civ2
"The amount of trade and the bonus payment you get for establishing a trade route between two cities with a caravan or a freight depends on quite a few factors. The formulas below contain all the details.
Trade = ( trade of home city + trade of destination city + 4 ) / 8
Note that it does not directly depend on city size or distance. The following (cumulative) modifiers apply:
Both cities are yours -50%
Freight instead of caravan +50%
Cities connected by road +50%
Cities connected by rail +50%
Cities on different continents +100%
Airports in both cities +50%
Superhighways in home city +50%
The one time bonus payment is calculated as follows:
Payment = ( ( distance + 10 ) x ( trade of both cities ) ) / 24
It increases if the destination city demands one of these goods (double these figures if the city is not yours):
Silver, Cloth, Wine +50%
Silk, Spice, Gems, Gold +100%
Oil +150%
Uranium +200%
The final bonus payment figure is then doubled during the first 200 game turns or until both Navigation and Invention are discovered. It is reduced by one third after the discovery of Railroad, and by another third after the discovery of Flight. "

La Fayette is offline La Fayette
King
albi, france
Oct 2000
time: 06:15
  Old Post 05-10-2001 11:18
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by markusf
have come across the nitty-gritties of trade routes which might bear reproducing here (as I have not seen this tabling in the threads I have come across here). Source is the Scrolls of Wisdom website which acknowledged the original post by Robert Lancaster to alt.games.civ2

It is very kind of you to provide this, markusf.
But this is already in the GL (look at 'scrolls').
The problem is that many of us think that R. Lancaster's results need to be improved, and that's what William is trying to do.

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:15.
Apolyton Time is 00:15.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0660 seconds (91.03% PHP - 8.97% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net