Page 1 of 2 12 LastLast
Showing results 1 to 20 of 31

Thread: Formulas

  1. #1

    Default Formulas

    Can some one post a link to the formulas, in particular the building formulas?

  2. #2
    pyker42's Avatar
    Join Date
    2008,June 19th
    Location
    In a Little District, in a Neighborhood.
    Posts
    13,863

    Default

    building formulas? For what?
    Spoiler:

    [4:55:14 PM] kentster82: try to be like pyker he is spam master

  3. #3
    zenron the great's Avatar
    Join Date
    2008,February 19th
    Location
    Bin
    Posts
    3,281

    Default

    This question doesn't make much sense. I can't answer it without you giving more detail.

  4. #4

    Default

    I think he meant he wants to know the what are the requirements to make other buildings which are not constructed in the start of the game. Such as stable, workshop or acedamy.

  5. #5

    Default


    Church Cost Structure:
    Level 1: 16.000 wood - 20.000 clay - 5.000 iron - 5.000 population
    Level 2: 20.160 wood - 25.600 clay - 6.300 iron - 2.750 population(additional)
    Level 3: 25.402 wood - 32.768 clay - 7.938 iron - 4.263 population(additional)


    Church Build Time Factor:
    Level 1 = 5:40:00
    Level 2 = 6:48:00
    Level 3 = 8:09:36

    The actual build time is calculated by the following formula:
    ([build time factor] * 1.05^(-[level of the village headquarters])) / [world speed]


    I found this, and I'm looking for something similar for every building. War formulas would also be nice

  6. #6

    Default

    Well mail PP about it he might know, or ask chesseasouras, he knows alot about these kind of things
    Or you can look at it yourself and try figure out the formulae youself.

  7. #7

    Default

    There really isn't much use for it in most all cases. There are really only a very few specific instances in which that type of information is really useful. If you think you're in such a situation then you'll need to explain it as there is almost always an easier way.

  8. #8

    Default

    I wouldn't suppose that being a beginner and wanting to get a good understanding of everything explanation enough?

  9. #9

    Co-community manager
    allyboo's Avatar
    Join Date
    2007,August 5th
    Location
    Hamburg, Germany
    Posts
    2,154

    Default

    Quote Originally Posted by Emerick-sama View Post
    [/COLOR][/FONT]I found this, and I'm looking for something similar for every building. War formulas would also be nice
    TW stats has a lot of info about the math stuff. Might want to check there
    zomgtw.net - farmfinder, player/tribe achievements & other stuff
    InnoGames

  10. #10

    Default

    You can use the interface php to get info about units and buildings for each server. If you wanted the info for world 34:

    building info: "http://en34.tribalwars.net/interface.php?func=get_building_info"
    unit info: "http://en34.tribalwars.net/interface.php?func=get_unit_info"

    You can also find it on the twstats website, like allyboo said.
    buildings: "http://www.twstats.com/en34/index.php?page=buildings"
    Code:
    timber cost of a building = [wood]*[wood_factor]^([level of the building] - 1)
    clay cost of a building = [stone]*[stone_factor]^([level of the building] - 1)
    iron cost of a building = [iron]*[iron_factor]^([level of the building] - 1)
    amount of villagers a building uses = [pop]*[pop_factor]^(level of the building] - 1)
    duration of creation = [build_time]*[build_time_factor]^(level of the building] - 1)
    In the help page, if you look at the total points, you will see a pattern. Each successive level is worth about 1.2 times the points of the previous level. Knowing this, you can calculate how many points a building is worth.
    Code:
    points of a building = [points of the building at level 1]*1.2^([level of the building] - 1), rounded to the nearest integer
    The amount of population a farm supports follows a similar pattern. This one took a little more effort to figure out. Each successive level supports about 1.172103 times the population of the previous level (I'm not sure what the exact value the game uses is, but it's pretty darn close)
    Code:
    population the farm supports = 240*1.172103^([level of the farm] - 1), rounded to the nearest integer
    similar thing for the warehouse
    Code:
    Capacity = 1000*1.2294934^([level of the warehouse] - 1), rounded to the nearest integer
    and the timber camp, clay pit, and iron mine (except at level 0, they make 5 resources an hour):
    Code:
    production per hour = [30]*1.163118^([level of the building] - 1)
    and the hiding place:
    Code:
    hidden resources = 150*(4/3)^([level of the hiding place] - 1)
    and the wall:
    Code:
    factor for defending troops = 1.037^[level of the wall]
    If the market is less than level 10, the number of merchants is equal to the market level.
    If the market is level 10 or higher:
    Code:
    number of merchants = (market level - 10)^2 + 10

    The time it takes for something to be built depends on the level of the building it's made in. All times are in seconds.

    Buildings are constructed and expanded in the village headquarters. Multiply the duration of creation by the time factor of your village headquarters to get the actual amount of time it takes to make a building. The exact time factor is equal to 1.05^(-[level of the village headquarters])
    Code:
    actual build time = [duration of creation]*1.05^(-[level of the village headquarters])
    Units are built in the barracks, stables, workshop, and academy. Multiply the build_time by the time factor of the building the unit's made in to get the actual amount of time it takes to make that unit. The exact time factor is equal to 2/3*1.06^(-[level of the building]).
    Code:
    actual build time of a unit = 2/3*[build_time]*1.06^(-[level of the building the unit is created in])
    spear - made in barracks
    sword - made in barracks
    axe - made in barracks
    archer - made in barracks
    scout - made in stable
    lcav - made in stable
    m.archer - made in stable
    hcav - made in stable
    ram - made in workshop
    catapult - made in workshop
    nobleman - made in academy

    Research is done in the smithy. Multiply the duration of a research by the time factor of the smithy. The exact time factor is equal to 1.1^(-[level of the smithy]).

    On a ten tech world, each successive research level takes 1.75 times the duration of the previous level. On a 3 tech world, each successive research level takes 3 times the duration of the previous level.

    As far as I can tell, these are the research times for level 1 techs, without the smithy time modifier:
    spear - 3960 seconds
    sword - 5940 seconds
    axe - 6930 seconds
    archer - 7950 seconds
    scout - 3960 seconds
    lcav - 8910 seconds
    m.archer - 9900 seconds
    hcav - 9900 seconds
    ram - 7910 seconds
    catapult - 9900 seconds

    The game speed is a setting that changes the durations (you can see what its set at in the other information section of help). Multiply all research times by 1/[game speed].

    well, there you go. All the basic information about the buildings.

    Quote Originally Posted by servy View Post
    There really isn't much use for it in most all cases. There are really only a very few specific instances in which that type of information is really useful.
    You are wrong.
    Is it necessary? No.
    Is it useful? Yes. This is a logistics game; Whether you've got 1 village or 4000 villages.
    Last edited by cheesasaurus : 2009,October 21st at 23:09 Reason: thanks to muldie325 for the merchants formula
    [08:53:05] cheesasaurus: on a side note I have 76% of the hc in the world
    [08:53:16] Nauzhror: cool nauzh, thanks for sharing

  11. #11

    Default

    lol didnt i tell you to ask cheesasaurus
    You confused enough now???

  12. #12

    Default

    no one has 4000 villages
    Quote Originally Posted by greenmonsta
    well thought out? your username looks like you threw your cat at your keyboard

  13. #13

    Default

    Quote Originally Posted by d5t6y7 View Post
    no one has 4000 villages
    Your skills of perception are amazing.

    Fight for better standards

  14. #14

    Default

    Quote Originally Posted by cheesasaurus View Post
    You are wrong.
    Is it necessary? No.
    Is it useful? Yes. This is a logistics game; Whether you've got 1 village or 4000 villages.
    I disagree, especially for someone who's a beginner. Relying on formulas too much can often be a crutch early on. You attempt to perfect what you're doing by the numbers without using things like intuition experimentation, interactions with other players, etc. A new player will, for example, work on optimizing those factors which can be optimized through those formulas, such as building up a village in the shortest period of time or something along those lines without recognizing more important aspects like what buildings/units/strategies are most effective in practice. Yes, as I have said before there are uses for them, but by an large you really don't need them at all and when you do it's generally in the context of already having a fair bit of experience in TW.

  15. #15

    Default

    ok, you say you disagree, but how so?

    From what I read, we said the same thing (knowing the formulas is useful, but not necessary)

    Quote Originally Posted by servy View Post
    what buildings/units/strategies are most effective in practice.
    erm, that's kind of the goal to find, by using this data
    [08:53:05] cheesasaurus: on a side note I have 76% of the hc in the world
    [08:53:16] Nauzhror: cool nauzh, thanks for sharing

  16. #16
    Stotty2009's Avatar
    Join Date
    2009,August 5th
    Location
    England
    Posts
    963

    Default

    Quote Originally Posted by cheesasaurus View Post
    Units are built in the barracks, stables, workshop, and academy. Multiply the build_time by the time factor of the building the unit's made in to get the actual amount of time it takes to make that unit. The exact time factor is equal to 2/3*1.06^(-[level of the building]).
    Code:
    actual build time of a unit = 2/3*[build_time]*1.06^(-[level of the building the unit is created in])
    I don't understand where the "Build_Time" comes from. Anyone care to explain...
    If its from this, http://en37.tribalwars.net/interface...=get_unit_info and I look at spears (e.g.) that would be <build_time> 1020 </build_time> Therefore according to the formula it would be; 2/3*1020*1.06^(-25) (25 means the level of the building the spear is being built in)
    All Approved Scripts

    Co-Duke of W37 Winners. 1ns4n3

  17. #17
    pyker42's Avatar
    Join Date
    2008,June 19th
    Location
    In a Little District, in a Neighborhood.
    Posts
    13,863

    Default

    Quote Originally Posted by Stotty2009 View Post
    I don't understand where the "Build_Time" comes from. Anyone care to explain...
    If its from this, http://en37.tribalwars.net/interface...=get_unit_info and I look at spears (e.g.) that would be <build_time> 1020 </build_time> Therefore according to the formula it would be; 2/3*1020*1.06^(-25) (25 means the level of the building the spear is being built in)
    Build time = base build time.
    Spoiler:

    [4:55:14 PM] kentster82: try to be like pyker he is spam master

  18. #18
    Stotty2009's Avatar
    Join Date
    2009,August 5th
    Location
    England
    Posts
    963

    Default

    I have another question about formulas

    I am trying to work out the speed a unit travels.
    Now, according to this site, http://www.twmentor.com/?tool=attack-v2, the speed of the world and unit speed affects the duration a unit takes to travel.
    e.g. World Speed 1, Unit Speed 2. Duration of Ram takes ( 0:15:00)
    World Speed 2, Unit Speed 2. Duration of Ram takes ( 0:07:30)

    Anyone know a formulas I could use for speed times? I will assume it will have something to do something will this; http://en34.tribalwars.net/interface...=get_unit_info, but its not like I want to have all the speeds times for all worlds... e.g. <speed>18.0000000005 </speed>
    All Approved Scripts

    Co-Duke of W37 Winners. 1ns4n3

  19. #19
    pyker42's Avatar
    Join Date
    2008,June 19th
    Location
    In a Little District, in a Neighborhood.
    Posts
    13,863

    Default

    Quote Originally Posted by Stotty2009 View Post
    I have another question about formulas

    I am trying to work out the speed a unit travels.
    Now, according to this site, http://www.twmentor.com/?tool=attack-v2, the speed of the world and unit speed affects the duration a unit takes to travel.
    e.g. World Speed 1, Unit Speed 2. Duration of Ram takes ( 0:15:00)
    World Speed 2, Unit Speed 2. Duration of Ram takes ( 0:07:30)

    Anyone know a formulas I could use for speed times? I will assume it will have something to do something will this; http://en34.tribalwars.net/interface...=get_unit_info, but its not like I want to have all the speeds times for all worlds... e.g. <speed>18.0000000005 </speed>
    The formula is (base unit speed)(server speed)(unit speed) = real travel speed
    Spoiler:

    [4:55:14 PM] kentster82: try to be like pyker he is spam master

  20. #20
    Stotty2009's Avatar
    Join Date
    2009,August 5th
    Location
    England
    Posts
    963

    Default

    Think you could do an example for W10.
    Base Unit Speed would be 11.999999999 (for spear)
    then server speed is 2
    Unit speed is 0.75

    Correct?
    If so, this gives me 27
    For some reason, I doubt I have worked it out correctly.
    All Approved Scripts

    Co-Duke of W37 Winners. 1ns4n3

Page 1 of 2 12 LastLast

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •