From NEAT Portal Wiki
Jump to: navigation, search
(Medal Farming)
(New Account Goal Set)
 
(24 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
</p>
 
</p>
 
'''Script by: voidship'''
 
'''Script by: voidship'''
 
+
<div style="height:150px; width:auto; overflow-y: scroll; padding-bottom:10px; border:1px solid black; background-color: #EEEEEE;">
<pre>
 
 
// Version 2011-09-06
 
// Version 2011-09-06
 +
<br>
 
1: config npc:0
 
1: config npc:0
 +
<br>
 
2: label start
 
2: label start
 +
<br>
 
3: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 
3: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 +
<br>
 
4: sleep 3
 
4: sleep 3
 +
<br>
 
5: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 
5: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 +
<br>
 
6: sleep 3
 
6: sleep 3
 +
<br>
 
7: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 
7: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 +
<br>
 
8: sleep 3
 
8: sleep 3
 +
<br>
 
9: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 
9: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
 +
<br>
 
10: ifgosub ( m_city.AnyIdleHero(any) = true ) attack
 
10: ifgosub ( m_city.AnyIdleHero(any) = true ) attack
 +
<br>
 
11: loop start
 
11: loop start
 
+
<br>
 +
<br>
 
12: label abandon
 
12: label abandon
 +
<br>
 
13: abandon xxx,yyy
 
13: abandon xxx,yyy
 +
<br>
 
14: gosubreturn
 
14: gosubreturn
 
+
<br>
 +
<br>
 
15: label attack
 
15: label attack
 +
<br>
 
16: attack xxx,yyy any a:13000,w:1,p:1,sw:1,c:1,cata:1
 
16: attack xxx,yyy any a:13000,w:1,p:1,sw:1,c:1,cata:1
 +
<br>
 
17: gosubreturn
 
17: gosubreturn
</pre>
+
</div>
  
==Market Money Maker III==
+
==Market Money Maker IV==
 
'''Great script for trading in the market. Please read the notes inside the script and if you have any questions please refer to the [http://forum.duelingelectrons.com/viewtopic.php?f=21&t=6761&start=45#p28427 forum.]'''
 
'''Great script for trading in the market. Please read the notes inside the script and if you have any questions please refer to the [http://forum.duelingelectrons.com/viewtopic.php?f=21&t=6761&start=45#p28427 forum.]'''
</p>
+
<p>
 
'''Script by: schwak'''
 
'''Script by: schwak'''
  
<pre>
+
<div style="height:150px; width:auto; overflow-y: scroll; padding-bottom:10px; border:1px solid black; background-color: #EEEEEE;">
 
//  IF YOU RUN OUT OF GOLD YOUR HEROES WILL LEAVE!!!
 
//  IF YOU RUN OUT OF GOLD YOUR HEROES WILL LEAVE!!!
 +
<br>
 
//  Thanks go to sgaggerj for the idea of turning the buy and sell
 
//  Thanks go to sgaggerj for the idea of turning the buy and sell
 +
<br>
 
//  quantities into variables!!  Great idea!
 
//  quantities into variables!!  Great idea!
 +
<br>
 +
<br>set buy_food_price 2.5
 +
<br>set buy_wood_price 24.5
 +
<br>set buy_stone_price .5
 +
<br>set buy_iron_price 19
 +
<br>//^^^^^^^^^^^^^^^^^
 +
<br>
 +
<br>set sell_food_price 4.2
 +
<br>set sell_wood_price 33
 +
<br>set sell_stone_price .9
 +
<br>set sell_iron_price 25
 +
<br>//^^^^^^^^^^^^^^^^^
 +
<br>
 +
<br>//  You must have enough gold on hand to make your initail purchases
 +
<br>//  before running the program.  Also, you must have enough left over
 +
<br>//  to make more purchases if you buy anything.
 +
<br>
 +
<br>//  The following variiable must be MORE than your
 +
<br>//  most expensive purchase. (i.e. 6m wood @ 25 =150m)
 +
<br>
 +
<br>set gold_limit 150000000
 +
<br>//^^^^^^^^^^^^^^^^^
 +
<br>//  This is where sgaggerj deserves kudos:
 +
<br>
 +
<br>//  Enter the quantity of each commodity the you
 +
<br>//  want to buy or sell with each transaction.
 +
<br>//  The following 8 variables MUST BE UNIQUE
 +
<br>//  if any 2 are the same you will not be happy
 +
<br>
 +
<br>set buy_food_qty 8000000
 +
<br>set buy_wood_qty 5000000
 +
<br>set buy_stone_qty 9999999
 +
<br>set buy_iron_qty 5000001
 +
<br>
 +
<br>set sell_food_qty 9000000
 +
<br>set sell_wood_qty 2500000
 +
<br>set sell_stone_qty 9999998
 +
<br>set sell_iron_qty 2500001
 +
<br>//^^^^^^^^^^^^^^^^^
  
set buy_food_price 2.5
+
<br>set food_max 5000111000
set buy_wood_price 24.5
+
<br>set wood_max 2000111000
set buy_stone_price .5
+
<br>set stone_max 10000111000
set buy_iron_price 19
+
<br>set iron_max 2000111000
//^^^^^^^^^^^^^^^^^
+
<br>
 
+
<br>//^^^^^^^^^^^^^^^^^
set sell_food_price 4.2
+
<br>
set sell_wood_price 33
+
<br>set food_min 400111000
set sell_stone_price .9
+
<br>set wood_min 5111000
set sell_iron_price 25
+
<br>set stone_min 20111000
//^^^^^^^^^^^^^^^^^
+
<br>set iron_min 5111000
 
+
<br>//^^^^^^^^^^^^^^^^^
//  You must have enough gold on hand to make your initail purchases
+
<br>
//  before running the program.  Also, you must have enough left over
+
<br>1: gosub setup
//  to make more purchases if you buy anything.
+
<br>
 
+
<br>2: label wait
//  The following variiable must be MORE than your
+
<br>3: print x checking
//  most expensive purchase. (i.e. 6m wood @ 25 =150m)
+
<br>4: ifgoto ( m_city.cityManager.resource.gold < %gold_limit% ) end
 
+
<br>5: Ifgosub ( m_city.cityManager.tradesArray.length < 8 ) find1
set gold_limit 150000000
+
<br>6: print x waiting
//^^^^^^^^^^^^^^^^^
+
<br>7: sleep rnd:30
//  This is where sgaggerj deserves kudos:
+
<br>8: loop wait
 
+
<br>
//  Enter the quantity of each commodity the you
+
<br>9: label find1
//  want to buy or sell with each transaction.
+
<br>10: print x checking if we bought food
//  The following 8 variables MUST BE UNIQUE
+
<br>11: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_food_qty% ) find2
//  if any 2 are the same you will not be happy
+
<br>12: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_food_qty% ) find2
 
+
<br>13: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_food_qty% ) find2
set buy_food_qty 8000000
+
<br>14: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_food_qty% ) find2
set buy_wood_qty 5000000
+
<br>15: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_food_qty% ) find2
set buy_stone_qty 9999999
+
<br>16: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_food_qty% ) find2
set buy_iron_qty 5000001
+
<br>17: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_food_qty% ) find2
 
+
<br>18: ifgoto ( m_city.cityManager.resource.food.amount < %food_max% ) ok_buy_food
set sell_food_qty 9000000
+
<br>19: print x limit reached so no longer buying food
set sell_wood_qty 2500000
+
<br>20: buy food %buy_food_qty% .01
set sell_stone_qty 9999998
+
<br>21: gosubreturn
set sell_iron_qty 2500001
+
<br>
//^^^^^^^^^^^^^^^^^
+
<br>22: label ok_buy_food
 
+
<br>23: buy food %buy_food_qty% %buy_food_price%
set food_max 5000111000
+
<br>24: gosubreturn
set wood_max 2000111000
+
<br>
set stone_max 10000111000
+
<br>25: label find2
set iron_max 2000111000
+
<br>26: print x checking if we bought wood
 
+
<br>27: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_wood_qty% ) find3
//^^^^^^^^^^^^^^^^^
+
<br>28: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_wood_qty% ) find3
 
+
<br>29: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_wood_qty% ) find3
set food_min 400111000
+
<br>30: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_wood_qty% ) find3
set wood_min 5111000
+
<br>31: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_wood_qty% ) find3
set stone_min 20111000
+
<br>32: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_wood_qty% ) find3
set iron_min 5111000
+
<br>33: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_wood_qty% ) find3
//^^^^^^^^^^^^^^^^^
+
<br>34: ifgoto ( m_city.cityManager.resource.wood.amount < %wood_max% ) ok_buy_wood
 
+
<br>35: print x limit reached so no longer buying wood
1: gosub setup
+
<br>36: buy wood %buy_wood_qty% .01
 
+
<br>37: gosubreturn
2: label wait
+
<br>
3: print x checking
+
<br>38: label ok_buy_wood
4: ifgoto ( m_city.cityManager.resource.gold < %gold_limit% ) end
+
<br>39: buy lumber %buy_wood_qty% %buy_wood_price%
5: Ifgosub ( m_city.cityManager.tradesArray.length < 8 ) find1
+
<br>40: gosubreturn
6: print x waiting
+
<br>
7: sleep rnd:30
+
<br>41: label find3
8: loop wait
+
<br>42: print x checking if we bought iron
 
+
<br>43: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_iron_qty% ) find4
9: label find1
+
<br>44: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_iron_qty% ) find4
10: print x checking if we bought food
+
<br>45: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_iron_qty% ) find4
11: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_food_qty% ) find2
+
<br>46: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_iron_qty% ) find4
12: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_food_qty% ) find2
+
<br>47: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_iron_qty% ) find4
13: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_food_qty% ) find2
+
<br>48: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_iron_qty% ) find4
14: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_food_qty% ) find2
+
<br>49: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_iron_qty% ) find4
15: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_food_qty% ) find2
+
<br>50: ifgoto ( m_city.cityManager.resource.iron.amount < %iron_max% ) ok_buy_iron
16: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_food_qty% ) find2
+
<br>51: print x limit reached so no longer buying iron
17: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_food_qty% ) find2
+
<br>52: buy iron %buy_iron_qty% .01
18: ifgoto ( m_city.cityManager.resource.food.amount < %food_max% ) ok_buy_food
+
<br>53: gosubreturn
19: print x limit reached so no longer buying food
+
<br>
20: buy food %buy_food_qty% .01
+
<br>54: label ok_buy_iron
21: gosubreturn
+
<br>55: buy iron %buy_iron_qty% %buy_iron_price%
 
+
<br>56: gosubreturn
22: label ok_buy_food
+
<br>
23: buy food %buy_food_qty% %buy_food_price%
+
<br> 57: label find4
24: gosubreturn
+
<br> 58: print x checking if we bought stone
 
+
<br> 59: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_stone_qty% ) find5
25: label find2
+
<br> 60: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_stone_qty% ) find5
26: print x checking if we bought wood
+
<br> 61: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_stone_qty% ) find5
27: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_wood_qty% ) find3
+
<br> 62: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_stone_qty% ) find5
28: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_wood_qty% ) find3
+
<br> 63: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_stone_qty% ) find5
29: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_wood_qty% ) find3
+
<br> 64: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_stone_qty% ) find5
30: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_wood_qty% ) find3
+
<br> 65: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_stone_qty% ) find5
31: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_wood_qty% ) find3
+
<br> 66: ifgoto ( m_city.cityManager.resource.stone.amount < %stone_max% ) ok_buy_stone
32: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_wood_qty% ) find3
+
<br> 67: print x limit reached so no longer buying stone
33: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_wood_qty% ) find3
+
<br> 68: buy stone %buy_stone_qty% .01
34: ifgoto ( m_city.cityManager.resource.wood.amount < %wood_max% ) ok_buy_wood
+
<br> 69: gosubreturn
35: print x limit reached so no longer buying wood
+
<br>
36: buy wood %buy_wood_qty% .01
+
<br> 70: label ok_buy_stone
37: gosubreturn
+
<br> 71: buy stone %buy_stone_qty% %buy_stone_price%
 
+
<br> 72: gosubreturn
38: label ok_buy_wood
+
<br>
39: buy lumber %buy_wood_qty% %buy_wood_price%
+
<br> 73: label find5
40: gosubreturn
+
<br> 74: print x seeing if we sold food
 
+
<br> 75: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_food_qty% ) find6
41: label find3
+
<br> 76: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_food_qty% ) find6
42: print x checking if we bought iron
+
<br> 77: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_food_qty% ) find6
43: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_iron_qty% ) find4
+
<br> 78: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_food_qty% ) find6
44: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_iron_qty% ) find4
+
<br> 79: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_food_qty% ) find6
45: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_iron_qty% ) find4
+
<br> 80: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_food_qty% ) find6
46: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_iron_qty% ) find4
+
<br> 81: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_food_qty% ) find6
47: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_iron_qty% ) find4
+
<br> 82: ifgoto ( m_city.cityManager.resource.food.amount > %food_min% ) ok_sell_food
48: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_iron_qty% ) find4
+
<br> 83: print x limit reached so not selling any more food
49: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_iron_qty% ) find4
+
<br> 84: sell food %sell_food_qty% 99
50: ifgoto ( m_city.cityManager.resource.iron.amount < %iron_max% ) ok_buy_iron
+
<br> 85: gosubreturn
51: print x limit reached so no longer buying iron
+
<br>
52: buy iron %buy_iron_qty% .01
+
<br> 86: label ok_sell_food
53: gosubreturn
+
<br> 87: sell food %sell_food_qty% %sell_food_price%
 
+
<br> 88: gosubreturn
54: label ok_buy_iron
+
<br>
55: buy iron %buy_iron_qty% %buy_iron_price%
+
<br> 89: label find6
56: gosubreturn
+
<br> 90: print x seeing if we sold wood
 
+
<br> 91: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_wood_qty% ) find7
57: label find4
+
<br> 92: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_wood_qty% ) find7
58: print x checking if we bought stone
+
<br> 93: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_wood_qty% ) find7
59: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_stone_qty% ) find5
+
<br> 94: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_wood_qty% ) find7
60: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_stone_qty% ) find5
+
<br> 95: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_wood_qty% ) find7
61: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_stone_qty% ) find5
+
<br> 96: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_wood_qty% ) find7
62: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_stone_qty% ) find5
+
<br> 97: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_wood_qty% ) find7
63: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_stone_qty% ) find5
+
<br> 98: ifgoto ( m_city.cityManager.resource.wood.amount > %wood_min% ) ok_sell_wood
64: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_stone_qty% ) find5
+
<br> 99: print x limit reached so not selling any more wood
65: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_stone_qty% ) find5
+
<br> 100: sell lumber %sell_wood_qty% 99
66: ifgoto ( m_city.cityManager.resource.stone.amount < %stone_max% ) ok_buy_stone
+
<br> 101: gosubreturn
67: print x limit reached so no longer buying stone
+
<br>
68: buy stone %buy_stone_qty% .01
+
<br> 102: label ok_sell_wood
69: gosubreturn
+
<br> 103: sell lumber %sell_wood_qty% %sell_wood_price%
 
+
<br> 104: gosubreturn
70: label ok_buy_stone
+
<br>
71: buy stone %buy_stone_qty% %buy_stone_price%
+
<br> 105: label find7
72: gosubreturn
+
<br> 106: print x seeing if we sold iron
 
+
<br> 107: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_iron_qty% ) find8
73: label find5
+
<br> 108: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_iron_qty% ) find8
74: print x seeing if we sold food
+
<br> 109: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_iron_qty% ) find8
75: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_food_qty% ) find6
+
<br> 110: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_iron_qty% ) find8
76: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_food_qty% ) find6
+
<br> 111: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_iron_qty% ) find8
77: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_food_qty% ) find6
+
<br> 112: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_iron_qty% ) find8
78: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_food_qty% ) find6
+
<br> 113: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_iron_qty% ) find8
79: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_food_qty% ) find6
+
<br> 114: ifgoto ( m_city.cityManager.resource.iron.amount > %iron_min% ) ok_sell_iron
80: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_food_qty% ) find6
+
<br> 115: print x limit reached so not selling any more iron
81: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_food_qty% ) find6
+
<br> 116: sell iron %sell_iron_qty% 99
82: ifgoto ( m_city.cityManager.resource.food.amount > %food_min% ) ok_sell_food
+
<br> 117: gosubreturn
83: print x limit reached so not selling any more food
+
<br>
84: sell food %sell_food_qty% 99
+
<br> 118: label ok_sell_iron
85: gosubreturn
+
<br> 119: sell iron %sell_iron_qty% %sell_iron_price%
 
+
<br> 120: gosubreturn
86: label ok_sell_food
+
<br>
87: sell food %sell_food_qty% %sell_food_price%
+
<br> 121: label find8
88: gosubreturn
+
<br> 122: print x musta sold stone
 
+
<br> 123: ifgoto ( m_city.cityManager.resource.stone.amount > %stone_min% ) ok_sell_stone
89: label find6
+
<br> 124: print x limit reached so not selling any more stone
90: print x seeing if we sold wood
+
<br> 125: sell stone %sell_stone_qty% 99
91: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_wood_qty% ) find7
+
<br> 126: gosubreturn
92: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_wood_qty% ) find7
+
<br>
93: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_wood_qty% ) find7
+
<br> 127: label ok_sell_stone
94: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_wood_qty% ) find7
+
<br> 128: sell stone %sell_stone_qty% %sell_stone_price%
95: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_wood_qty% ) find7
+
<br> 129: gosubreturn
96: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_wood_qty% ) find7
+
<br>
97: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_wood_qty% ) find7
+
<br> 130: label setup
98: ifgoto ( m_city.cityManager.resource.wood.amount > %wood_min% ) ok_sell_wood
+
<br> 131: config trade:0
99: print x limit reached so not selling any more wood
+
<br> 132: canceltrade
100: sell lumber %sell_wood_qty% 99
+
<br> 133: print x initializing
101: gosubreturn
+
<br> 134: ifgoto ( %buy_food_qty% == %buy_wood_qty% ) error
 
+
<br> 135: ifgoto ( %buy_food_qty% == %buy_iron_qty% ) error
102: label ok_sell_wood
+
<br> 136: ifgoto ( %buy_food_qty% == %buy_stone_qty% ) error
103: sell lumber %sell_wood_qty% %sell_wood_price%
+
<br> 137: ifgoto ( %buy_food_qty% == %sell_food_qty% ) error
104: gosubreturn
+
<br> 138: ifgoto ( %buy_food_qty% == %sell_wood_qty% ) error
 
+
<br> 139: ifgoto ( %buy_food_qty% == %sell_iron_qty% ) error
105: label find7
+
<br> 140: ifgoto ( %buy_food_qty% == %sell_stone_qty% ) error
106: print x seeing if we sold iron
+
<br> 141: ifgoto ( %buy_wood_qty% == %buy_iron_qty% ) error
107: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_iron_qty% ) find8
+
<br> 142: ifgoto ( %buy_wood_qty% == %buy_stone_qty% ) error
108: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_iron_qty% ) find8
+
<br> 143: ifgoto ( %buy_wood_qty% == %sell_food_qty% ) error
109: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_iron_qty% ) find8
+
<br> 144: ifgoto ( %buy_wood_qty% == %sell_wood_qty% ) error
110: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_iron_qty% ) find8
+
<br> 145: ifgoto ( %buy_wood_qty% == %sell_iron_qty% ) error
111: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_iron_qty% ) find8
+
<br> 146: ifgoto ( %buy_wood_qty% == %sell_stone_qty% ) error
112: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_iron_qty% ) find8
+
<br> 147: ifgoto ( %buy_iron_qty% == %buy_stone_qty% ) error
113: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_iron_qty% ) find8
+
<br> 148: ifgoto ( %buy_iron_qty% == %sell_food_qty% ) error
114: ifgoto ( m_city.cityManager.resource.iron.amount > %iron_min% ) ok_sell_iron
+
<br> 149: ifgoto ( %buy_iron_qty% == %sell_wood_qty% ) error
115: print x limit reached so not selling any more iron
+
<br> 150: ifgoto ( %buy_iron_qty% == %sell_iron_qty% ) error
116: sell iron %sell_iron_qty% 99
+
<br> 151: ifgoto ( %buy_iron_qty% == %sell_stone_qty% ) error
117: gosubreturn
+
<br> 152: ifgoto ( %buy_stone_qty% == %sell_food_qty% ) error
 
+
<br> 153: ifgoto ( %buy_stone_qty% == %sell_wood_qty% ) error
118: label ok_sell_iron
+
<br> 154: ifgoto ( %buy_stone_qty% == %sell_iron_qty% ) error
119: sell iron %sell_iron_qty% %sell_iron_price%
+
<br> 155: ifgoto ( %buy_stone_qty% == %sell_stone_qty% ) error
120: gosubreturn
+
<br> 156: ifgoto ( %sell_food_qty% == %sell_wood_qty% ) error
 
+
<br> 157: ifgoto ( %sell_food_qty% == %sell_iron_qty% ) error
121: label find8
+
<br> 158: ifgoto ( %sell_food_qty% == %sell_stone_qty% ) error
122: print x musta sold stone
+
<br> 159: ifgoto ( %sell_wood_qty% == %sell_iron_qty% ) error
123: ifgoto ( m_city.cityManager.resource.stone.amount > %stone_min% ) ok_sell_stone
+
<br> 160: ifgoto ( %sell_wood_qty% == %sell_stone_qty% ) error
124: print x limit reached so not selling any more stone
+
<br> 161: ifgoto ( %sell_iron_qty% == %sell_stone_qty% ) error
125: sell stone %sell_stone_qty% 99
+
<br>
126: gosubreturn
+
<br> 162: buy food %buy_food_qty% %buy_food_price%
 
+
<br> 163: buy lumber %buy_wood_qty% %buy_wood_price%
127: label ok_sell_stone
+
<br> 164: buy iron %buy_iron_qty% %buy_iron_price%
128: sell stone %sell_stone_qty% %sell_stone_price%
+
<br> 165: buy stone %buy_stone_qty% %buy_stone_price%
129: gosubreturn
+
<br> 166: sell food %sell_food_qty% %sell_food_price%
 
+
<br> 167: sell lumber %sell_wood_qty% %sell_wood_price%
130: label setup
+
<br> 168: sell iron %sell_iron_qty% %sell_iron_price%
131: config trade:0
+
<br> 169: sell stone %sell_stone_qty% %sell_stone_price%
132: canceltrade
+
<br> 170: Gosubreturn
133: print x initializing
+
<br> 171: label error
134: ifgoto ( %buy_food_qty% == %buy_wood_qty% ) error
+
<br> 172: print x error
135: ifgoto ( %buy_food_qty% == %buy_iron_qty% ) error
+
<br> 173: print x all buy and sell qty values must be different
136: ifgoto ( %buy_food_qty% == %buy_stone_qty% ) error
+
<br> 174: print x please try again
137: ifgoto ( %buy_food_qty% == %sell_food_qty% ) error
+
<br> 175: goto exit
138: ifgoto ( %buy_food_qty% == %sell_wood_qty% ) error
+
<br> 176: label end
139: ifgoto ( %buy_food_qty% == %sell_iron_qty% ) error
+
<br> 177: ifgoto ( m_city.cityManager.resource.food.amount < %food_min% ) done
140: ifgoto ( %buy_food_qty% == %sell_stone_qty% ) error
+
<br> 178: print x WARNING we are going to sell food
141: ifgoto ( %buy_wood_qty% == %buy_iron_qty% ) error
+
<br> 179: print x Warning 30 sec
142: ifgoto ( %buy_wood_qty% == %buy_stone_qty% ) error
+
<br> 180: sleep 10
143: ifgoto ( %buy_wood_qty% == %sell_food_qty% ) error
+
<br> 181: print x 20 seconds
144: ifgoto ( %buy_wood_qty% == %sell_wood_qty% ) error
+
<br> 182: print x Warning
145: ifgoto ( %buy_wood_qty% == %sell_iron_qty% ) error
+
<br> 183: print x Warning selling 10m food @5
146: ifgoto ( %buy_wood_qty% == %sell_stone_qty% ) error
+
<br> 184: print x 12 seconds
147: ifgoto ( %buy_iron_qty% == %buy_stone_qty% ) error
+
<br> 185: print x Warning
148: ifgoto ( %buy_iron_qty% == %sell_food_qty% ) error
+
<br> 186: print x Warning
149: ifgoto ( %buy_iron_qty% == %sell_wood_qty% ) error
+
<br> 187: print x 8 seconds
150: ifgoto ( %buy_iron_qty% == %sell_iron_qty% ) error
+
<br> 188: print x Warning
151: ifgoto ( %buy_iron_qty% == %sell_stone_qty% ) error
+
<br> 189: print x too late
152: ifgoto ( %buy_stone_qty% == %sell_food_qty% ) error
+
<br>
153: ifgoto ( %buy_stone_qty% == %sell_wood_qty% ) error
+
<br> 190: sell food 9999999 2.5
154: ifgoto ( %buy_stone_qty% == %sell_iron_qty% ) error
+
<br> 191: loop 3
155: ifgoto ( %buy_stone_qty% == %sell_stone_qty% ) error
+
<br> 192: goto finished
156: ifgoto ( %sell_food_qty% == %sell_wood_qty% ) error
+
<br>
157: ifgoto ( %sell_food_qty% == %sell_iron_qty% ) error
+
<br> 193: label done
158: ifgoto ( %sell_food_qty% == %sell_stone_qty% ) error
+
<br> 194: print x not enough food to sell to raise cash
159: ifgoto ( %sell_wood_qty% == %sell_iron_qty% ) error
+
<br> 195: print x i hope your limit was not too low
160: ifgoto ( %sell_wood_qty% == %sell_stone_qty% ) error
+
<br> 196: print x or your heroes may be running away
161: ifgoto ( %sell_iron_qty% == %sell_stone_qty% ) error
+
<br> 197: goto exit
 
+
<br>
162: buy food %buy_food_qty% %buy_food_price%
+
<br> 198: label finished
163: buy lumber %buy_wood_qty% %buy_wood_price%
+
<br> 199: print x Thats it we ran out cash twice
164: buy iron %buy_iron_qty% %buy_iron_price%
+
<br> 200: print x the good news is we did sell food before
165: buy stone %buy_stone_qty% %buy_stone_price%
+
<br> 201: print x exiting, so the heroes are safe
166: sell food %sell_food_qty% %sell_food_price%
+
<br>
167: sell lumber %sell_wood_qty% %sell_wood_price%
+
<br> 202: label exit
168: sell iron %sell_iron_qty% %sell_iron_price%
+
<br> 203: print x thank you come again
169: sell stone %sell_stone_qty% %sell_stone_price%
+
<br> 204: print x don't forget to thank the author
170: Gosubreturn
 
171: label error
 
172: print x error
 
173: print x all buy and sell qty values must be different
 
174: print x please try again
 
175: goto exit
 
176: label end
 
177: ifgoto ( m_city.cityManager.resource.food.amount < %food_min% ) done
 
178: print x WARNING we are going to sell food
 
179: print x Warning 30 sec
 
180: sleep 10
 
181: print x 20 seconds
 
182: print x Warning
 
183: print x Warning selling 10m food @5
 
184: print x 12 seconds
 
185: print x Warning
 
186: print x Warning
 
187: print x 8 seconds
 
188: print x Warning
 
189: print x too late
 
  
190: sell food 9999999 2.5
+
</div>
191: loop 3
 
192: goto finished
 
  
193: label done
+
==Power Level Hero==
194: print x not enough food to sell to raise cash
+
'''Great script to level your hero quicker that also builds troops with said hero. If you need help with this script please ask in the [http://forum.duelingelectrons.com/viewtopic.php?f=21&t=6761&hilit=power+lvl+hero#p29525 forum.]'''
195: print x i hope your limit was not too low
+
<br>
196: print x or your heroes may be running away
+
<br>
197: goto exit
+
'''Script by: Candy'''
 +
<div style="height:150px; width:auto; overflow-y: scroll; padding-bottom:10px; border:1px solid black; background-color: #EEEEEE;">
 +
// Troop Builder & Hero Trainer
 +
<br> 1: label MAINLOOP
 +
<br> 2: waithero HERONAME
 +
<br> 3: gosub checkPopulation
 +
<br> 4: gosub checkTrain
 +
<br> 5: gosub checkNextCity
 +
<br>
 +
<br> 6: label checkPopulation
 +
<br> 7: ifgosub ( m_city.cityManager.resource.curPopulation > 40000 ) buildTroop
 +
<br> 8: gosubreturn
 +
<br>
 +
<br> 9: label buildTroop
 +
<br> 10: ifgosub ( m_city.cityManager.troop.archer < 450000 ) buildArchers
 +
<br> 11: ifgosub ( m_city.cityManager.troop.scouter < 450000 ) buildScouts
 +
<br> 12: production 100 100 100 100
 +
<br> 13: gosubreturn
 +
<br>
 +
<br> 14: label buildArchers
 +
<br> 15: production 0 0 0 0
 +
<br> 16: sleep rnd:3:5
 +
<br> 17: train a:10000 HERONAME
 +
<br> 18: sleep rnd:3:5
 +
<br> 19: train a:10000 HERONAME
 +
<br> 20: production 100 100 100 100
 +
<br> 21: gosubreturn
 +
<br>
 +
<br> 22: label buildScouts
 +
<br> 23: production 0 0 0 0
 +
<br> 24: sleep rnd:3:5
 +
<br> 25: train s:10000 HERONAME
 +
<br> 26: sleep rnd:3:5
 +
<br> 27: train s:10000 HERONAME
 +
<br> 28: production 100 100 100 100
 +
<br> 29: gosubreturn
 +
<br>
 +
<br> 30: label checkTrain
 +
<br> 31: ifgosub ( m_city.cityManager.troop.archer > 350000 ) heroTrain
 +
<br> 32: gosubreturn
 +
<br>
 +
<br> 33: label heroTrain //change the npc 10 coords to be the ones listed 3 miles from your city when you run the last line of this script
 +
<br> 34: attack xxx,xxx HERONAME s:5000,a:95000
 +
<br> 35: waithero HERONAME
 +
<br> 36: sleep rnd:7:9
 +
<br> 37: attack xxx,xxx HERONAME s:5000,a:95000
 +
<br> 38: waithero HERONAME
 +
<br> 39: sleep rnd:7:9
 +
<br> 40: attack xxx,xxx HERONAME s:5000,a:95000
 +
<br> 41: waithero HERONAME
 +
<br> 42: sleep rnd:7:9
 +
<br> 43: attack xxx,xxx HERONAME s:5000,a:95000
 +
<br> 44: waithero HERONAME
 +
<br> 45: sleep rnd:7:9
 +
<br> 46: attack xxx,xxx HERONAME s:5000,a:95000
 +
<br> 47: waithero HERONAME
 +
<br> 48: sleep rnd:3:5
 +
<br> 49: attack xxx,xxx HERONAME s:5000,a:95000
 +
<br> 50: gosubreturn
 +
<br>
 +
<br> 51: label checkNextCity
 +
<br> 52: reinforce xxx,xxx HERONAME s:1 // change the coords to be the next city you send your hero
 +
<br> 53: loop
 +
<br> //findfield npc 10 3 HERONAME s:5000,a:95000 //run this line first, so that it finds for you the npc 10 coords within 3 miles of your city and
 +
<br> copy paste it into the section heroTrain
  
198: label finished
+
</div>
199: print x Thats it we ran out cash twice
 
200: print x the good news is we did sell food before
 
201: print x exiting, so the heroes are safe
 
  
202: label exit
+
==New Account Goal Set==
203: print x thank you come again
+
<b>This is a great set of ''goals'' to get an account up in running. This includes 3 days worth & should get you a nice jump on a new server. If you have any questions regarding these goals please ask in the [http://forum.duelingelectrons.com/viewtopic.php?f=7&t=4781&hilit=new+account forum.]
204: print x don't forget to thank the author
+
<br>Goal by: willy o2
</pre>
+
<br></b>
 +
<div style="height:150px; width:auto; overflow-y: scroll; padding-bottom:10px; border:1px solid black; background-color: #EEEEEE;">
 +
<br> //+++++++++++++++++++++++++++++++++++++
 +
<br> //++++++++start_date-27/03/2011++++++++
 +
<br> //++++++++++server_time-07:20++++++++++
 +
<br> //++++++++++local_time-23:20++++++++++
 +
<br> //+++++++++++++++++++++++++++++++++++++
 +
<br> //os: windows server 2008
 +
<br> //browser: internet explorer 9
 +
<br> //+++++++++++++server-146+++++++++++++
 +
<br> //build yaeb version 03-25-2011.1002
 +
<br> //compiled  march 25, 2011 from commit 1002
 +
<br> //using "Poorly-written Flash-based Browser Game that begins with E and ends in Y" version 091103_11
 +
<br> //====================================
 +
<br> //build yaeb version 03-29-2011.1057
 +
<br> //compiled  march 29, 2011 from commit 1057
 +
<br> //using "Poorly-written Flash-based Browser Game that begins with E and ends in Y" version 091103_11
 +
<br> //====================================
 +
<br> //sorry this version for now is only available in the l33t section a donation of $25 dollars gets you into the l33t section - note this is just a prerelease which will be available in the normal release section once the developers are happy it is working well
 +
<br> //======test goal set: new account======
 +
<br>
 +
<br> //approx 5 mins stopped insufficent resources had to log in to client to collect quest awards
 +
<br>
 +
<br> //approx 20 mins market built, inn and feasting hall built - activate config comfort and config trade and config hero
 +
<br>
 +
<br> //approx 32 mins useitem newbies_package (script) - activate auto use items - barrack built - forge built
 +
<br>
 +
<br> //approx 42 mins mark slow down while waiting for resources to upgrade farm lvl 5 - may have activated trading to soon
 +
<br>
 +
<br> //approx 54 mins have logged in and completed the administration and hero recruiting quests also spent 5 coins on resources
 +
<br>
 +
<br> //approx 57 mins workers and warriors being trained
 +
<br>
 +
<br> //approx 59 mins pop: 666, idle: 316, loyalty: 80, grievance: 0, tax rate: 20, prestige: 853, wo:4, w:3, - forge upgrade to lvl 2 - gold: 24.57k, food: 5.83k, lumber: 6.49k, stone 1k, iron: 4.01k
 +
<br>
 +
<br> //approx 1 hr 13 mins town hall upgrade to lvl 2 skipping construction of wall, stable, beacon and warehouse
 +
<br>
 +
<br> //approx 1 hr 45 mins log into client to collect promotion - academy built - research begins
 +
<br>
 +
<br> //approx 2 hr 00 mins pop: 1080, idle: 689, loyalty: 80, grievance: 0, tax rate: 20, prestige: 1412, wo:32, w:26, - gold: 44.06k, food: 7.95k, lumber: 14.17k, stone 8.57k, iron: 6.92k
 +
<br>
 +
<br> //approx 3 hr 00 mins pop: 1202, idle: 572, loyalty: 80, grievance: 0, tax rate: 20, prestige: 1763 wo:64, w:32, - gold: 10.98k, food: 295, lumber: 1.73k, stone 1.02k, iron: 355
 +
<br>
 +
<br> //approx 4 hr 29 mins pop: 2917, idle: 2212, loyalty: 80, grievance: 0, tax rate: 20, prestige: 2226 wo:64, w:51, - gold: 9.35k, food: 1.58k, lumber: 2.24k, stone 402 iron: 447
 +
<br>
 +
<br> //joned alliance recieved 1m of each resource
 +
<br>
 +
<br> //approx 12 hr 40 mins pop: 3562, idle: 2032 loyalty: 98, grievance: 0, tax rate: 20, prestige: 7550, wo:256, w:239, p:158, - gold: 25.06m, food: 1.42m, lumber: 83.55k, stone 1.47m, iron: 105.7k - ag:3, lu:3, mas:3, mi:3, ms:2, mt:3
 +
<br>
 +
<br> //personal system maintenance
 +
<br> // sever time: 19:53 - local time: 11:54
 +
<br> //login after system maintenance
 +
<br> //server time:20:21 - local time: 12:21
 +
<br>
 +
<br> //hold up with research - have to build level 3 forge before attempt to research ms:3, login with client and speed up forge build with beginner guidelines - recieve promotion knight, have altered goals so fo:3 is built after the lvl 3 resource fields upgrades
 +
<br>
 +
<br> //approx 13 hr 23 min - use item package_for_lords
 +
<br>
 +
<br> //day:1 hour:1 minute:28
 +
<br> //pop: 5989, idle: 1939, loyalty: 99, grievance: 0, tax rate: 20, prestige: 21347
 +
<br> //wo:506, w:256, p:256, s:256, sw:206
 +
<br> //gold: 819.14k, food: 1.2m, lumber: 601.77k, stone 1.09m, iron: 431.41k,
 +
<br> //ag:3, lu:3, mas:3, mi:3, ms:3, mt:4, met:4, in:4, ir:4
 +
<br> //t:4, w:4, c:4:6, b:1:4, fh:2, r:2, rs:0, be:3, a:4, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:4, ws:4, wh:2
 +
<br>
 +
<br> //=============start day 2===================
 +
<br>
 +
<br> //day:1 hour:2 minute:22
 +
<br> //login to client complete correspondance quests and alliance quests - recieved promotion - captain
 +
<br>
 +
<br> //day:1 hour:13 minute:00
 +
<br> //pop: 7429 idle: 3379 loyalty: 83, grievance: 0, tax rate: 20, prestige: 29144
 +
<br> //wo:512, w:512, p:400, s:512, sw:268, a:64
 +
<br> //gold: 1.12m food: 312.59k, lumber: 575.69k stone 338.64k iron: 326.57k
 +
<br> //ag:4, lu:4, mas:4, mi:4, met:4, in:4, ms:4, mt:4,   ir:4, lo:2, com:2, ho:0, ar:3, st:0, con:0, med:0, mac:0, en:0, pr:0
 +
<br> //t:4, w:5, c:5:6, b:5:1, fh:2, r:2, rs:0, be:5, a:5, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:4, ws:4, wh:2
 +
<br>
 +
<br> //alliance sends another 1m of each resource - running unattended since last entry (found out a person does need to sleep sometimes) - nb: need to continue to tweek resourcelimits to ensure steady flow of reszources. resouce limits should not be more then 100k greater then the resource you have unless you do not want any particular resouce to get above what you have then set that limit for below your current figure
 +
<br>
 +
<br> //day:1 hour:14 minute:34
 +
<br> // commence capture lvl 1 valleys for production bonus
 +
<br>
 +
<br> //day:2 hour:00 minute:52
 +
<br> //pop: 8863 idle: 4813 loyalty: 98, grievance: 0, tax rate: 20, prestige: 38840,
 +
<br> //wo:512, w:512, p:512, s:512, sw:316, a:64, t:64
 +
<br> //gold: 15.08m, food: 2.11m, lumber: 655.58k, stone 9.8m iron: 586.44k
 +
<br> //ag:5, lu:4, mas:4, mi:4, met:4, in:4, ms:4, mt:4,   ir:4, lo:4, com:4, ho:0, ar:4, st:0, con:0, med:0, mac:0, en:0, pr:0
 +
<br> //t:4, w:5, c:5:6, b:6:1, fh:2, r:2, rs:0, be:6, a:6, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:4, ws:4, wh:2
 +
<br>
 +
<br> //=============start day 3===================
 +
<br> //day:2 hour:03 minute:06
 +
<br> //upgraded to
 +
<br> //build yaeb version 03-29-2011.1057
 +
<br> //compiled  march 29, 2011 from commit 1057
 +
<br> //using "Poorly-written Flash-based Browser Game that begins with E and ends in Y" version 091103_11
 +
<br>
 +
<br> //day:2 hour:05 minute:06
 +
<br> //add extra barrick to build list early watching this build troop on one barrack and it has not stopped a second barrack should help the troop count but putting it in now will slow down everything else whilst it builds the barrack to match levels
 +
<br>
 +
<br> //day:2 hour:13 minute:23
 +
<br> //have 2 barracks one level 5 one level 6 have added archers to the troop queues and both barracks are queuing troops constantly, idle population has only dropped by 13, resource levels  have dropped but still all above 500k
 +
<br> //noticed 2nd barrack was not queuing troops at deault time of 15mins 1st barrack still queuing troops at 15mins each queue, switched off config troopincrement and both barracks queuing at default level but this stops the ability to build multiple type troops at same time
 +
<br>
 +
<br> //=============start day 4===================
 +
<br>
 +
<br> //day:3 hour:01 minute:37
 +
<br> //pop: 7240 idle: 3190 loyalty: 80 grievance: 0, tax rate: 20, prestige: 55808
 +
<br> //wo:1.02k, w:1.02k, p:616, s:1.02k, sw:571, a:257, t:128
 +
<br> //gold: 138.73k food: 21.99k lumber: 64.04k stone 196.19k iron: 19.2k
 +
<br> //ag:5, lu:4, mas:4, mi:4, met:4, in:4, ms:4, mt:4,   ir:4, lo:5, com:5, ho:0, ar:5, st:0, con:0, med:0, mac:0, en:0, pr:0
 +
<br> //t:4, w:6, c:5:6, b:7:2, fh:2, r:2, rs:0, be:6, a:6, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:5, ws:5, wh:2
 +
<br>
 +
<br> //commence valley farming for resource, {still not 100% sure how this works but need to find out sometime}
 +
<br>
 +
<br> //personal system maintenance
 +
<br> // sever time: 08:56 - local time: 00:57
 +
<br> //login after system maintenance
 +
<br> //server time:10:01 - local time: 02:01
 +
<br>
 +
<br> //recieved 1.5m of each resource from alliance, turn off resource limits
 +
<br>
 +
<br> //changed goals slightly to improve vallyfarming and researching, need more heroes and more rally slots to send them out
 +
<br>
 +
<br> //logged into client and upgraded feasting hall and rally spot to level 7 using beginner and intermediate guides
 +
<br>
 +
<br> //day:3 hour:13 minute:50
 +
<br> //pop: 8579 idle: 4547 loyalty: 95 grievance: 0, tax rate: 5 prestige: 66949
 +
<br> //wo:1.02k, w:1.02k, p:1.02k, s:1.02k, sw:1.02k, a:297, t:142
 +
<br> //gold: 280.73k, food: 1.32m, lumber: 2.38m, stone 1.42m, iron: 1.37m
 +
<br> //ag:5, lu:4, mas:4, mi:4, met:5, in:5, ms:5, mt:5,   ir:5, lo:5, com:5, ho:0, ar:5, st:0, con:0, med:0, mac:0, en:0, pr:0
 +
<br> //t:4, w:6, c:5:6, b:7:2, fh:7, r:7, rs:0, be:7, a:7, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:5, ws:5, wh:2
 +
<br> [/color]
 +
<br>
 +
<br> //====================================
 +
<br> //==========configurations============
 +
<br> //====================================
 +
<br> config trade:1
 +
<br> #config npc:1
 +
<br> #config npclimit:10
 +
<br> config comfort:1
 +
<br> config hero:11
 +
<br> #config hunting:3
 +
<br> #config hiding:1
 +
<br> #config buildnpc:5
 +
<br> config valley:2
 +
<br> config valleyfarming:2
 +
<br> #config training:1
 +
<br> config fasthero:65
 +
<br> #config abandon:1
 +
<br> config gate:1
 +
<br> #config warrules:1
 +
<br> config attackwarning:1
 +
<br> #config maintenance:60
 +
<br> #config keepreports:2
 +
<br> #config wartown:1
 +
<br> config trainpol:1
 +
<br> #config trainint:1
 +
<br> #config monitorarmy:1
 +
<br> #config keepatthome:1
 +
<br> #config nohealing:0
 +
<br> config feastinghallspace:1
 +
<br> config troopqueuetime:0.5
 +
<br> config wallqueuetime:1
 +
<br> #config reservedbarrack:0
 +
<br> config troopsusereserved:0
 +
<br> config troopsusepopmax:0
 +
<br> config fortsusereserved:0
 +
<br> config nomayor:1
 +
<br> #config extrafood:1
 +
<br> #config troopincrement:.02
 +
<br> #config troopdelbadque:1
 +
<br> //+++++++++++++++++++++++++++++++++++++
 +
<br> //+++++++++++end configurations++++++++
 +
<br> //+++++++++++++++++++++++++++++++++++++
 +
<br>
 +
<br> //====================================
 +
<br> //===============policies=============
 +
<br> //====================================
 +
<br> distancepolicy 10 15 15 10 20
 +
<br> valleyfarming 0 0 0 0 10 10
 +
<br> gatepolicy 2 2 2 2 2
 +
<br> comfortpolicy 15 35 popraise bless pray
 +
<br> taxpolicy 5 100
 +
<br>
 +
<br> #schedulepolicy 00:00 00:00 00:00 00:00
 +
<br> #wartownpolicy 00:00 00:00 00:00 00:00
 +
<br> #resourcelimits 2m 700k 9m 600k
 +
<br> #keepresource <cname> g:200000000,f:400000000,w:200000000,q:200000000,i:200000000 1000000
 +
<br> #keeptroop <cname> wo:100k,w:100k,s:400k,p:100k,sw:200k,a:400k,c:100k,cata:100k,t:150k,b:4k,r:4k,cp:4k 10k
 +
<br> #requesthelp <cname> wo:100000 wo:100000
 +
<br>
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br> //++++++++++++++end policies++++++++++
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br>
 +
<br> //====================================
 +
<br> //==============directives============
 +
<br> //====================================
 +
<br> #homeheroes 1
 +
<br> #traininghero
 +
<br> #npcheroes
 +
<br> #npclist
 +
<br> #npctroops
 +
<br> #npcteams 4
 +
<br> #ballsused 20,50,170,250,550
 +
<br> #npc10heroes
 +
<br> #npc10list
 +
<br> #npc10troops wo:100,w:6000,s:1000,p:100,sw:100,a:90000,c:100,cata:100,t:2000
 +
<br> #npc10limit a:200000,s:100000,w:100000
 +
<br> valleytroops a:100,t:50
 +
<br> #valleylimit w:60000
 +
<br> #spamheroes
 +
<br> #nolevelheroes
 +
<br> #noabandonflats
 +
<br> herofirelimit 100
 +
<br> capturedfirelimit 200
 +
<br> #huntingpos
 +
<br> #huntingtype lake
 +
<br> #buildnpcmin 0 0 0 0 1 0 0 0 0 10
 +
<br> #buildnpcmax 0 0 0 0 10 0 0 0 0 20
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br> //++++++++++++++end directives++++++++
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br>
 +
<br> //====================================
 +
<br> //================research============
 +
<br> //====================================
 +
<br> research ag:1,lu:1,ms:1
 +
<br> research ag:2,lu:2,ms:2
 +
<br> research mas:1,mi:1,mt:1
 +
<br> research mas:2,mi:2,mt:2
 +
<br> research ag:3,lu:3,ms:3,mas:3,mi:3,mt:3
 +
<br> research met:1,in:1,ir:1
 +
<br> research met:2,in:2,ir:2
 +
<br> research met:3,in:3,ir:3
 +
<br> research ag:3,lu:3,ms:3,mas:3,mi:3,mt:3,met:3,in:3,ir:3
 +
<br> research met:1,in:1,ir:1
 +
<br> research met:2,in:2,ir:2
 +
<br> research met:3,in:3,ir:3
 +
<br> research ag:4,lu:4,ms:4,mas:4,mi:4,mt:4,met:4,in:4,ir:4,met:4,in:4,ir:4
 +
<br> research lo:1,com:1,ar:1
 +
<br> research lo:2,com:2,ar:2
 +
<br> research lo:3,com:3,ar:3
 +
<br> research lo:4,com:4,ar:4
 +
<br> research ag:5,lu:5,ms:5,mas:5,mi:5,mt:5,met:5,in:5,ir:5,met:5,in:5,ir:5,lo:5,com:5,ar:5
 +
<br> research ho:1,con:1
 +
<br> research ho:2,con:2
 +
<br> research ho:3,con:3
 +
<br> research ho:4,con:4
 +
<br> research ho:5,con:5
 +
<br> research ag:6,lu:6,ms:6,mas:6,mi:6,mt:6,met:6,in:6,ir:6,met:6,in:6,ir:6,lo:6,com:6,ar:6,ho:6,con:6
 +
<br> research ar:7,ho:7,mt:7
 +
<br> research ar:8,ho:8,mt:8
 +
<br> research ar:9,ho:9,mt:9
 +
<br> research ag:7,lu:7,ms:7,mas:7,mi:7,met:7,in:7,ir:7,met:7,in:7,ir:7,lo:7,com:7,con:7
 +
<br> research en:7
 +
<br> research ag:8,lu:8,ms:8,mas:8,mi:8,met:8,in:8,ir:8,met:8,in:8,ir:8,lo:8,com:8,con:8,en:8
 +
<br> research mac:8
 +
<br> research ag:9,lu:9,ms:9,mas:9,mi:9,met:9,in:9,ir:9,met:9,in:9,ir:9,lo:9,com:9,con:9,en:9,mac:9
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br> //++++++++++++++end research++++++++++
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br>
 +
<br> //====================================
 +
<br> //===============construction=========
 +
<br> //====================================
 +
<br> build c:2:1
 +
<br> build f:1:1
 +
<br> build s:1:1
 +
<br> build q:1:1
 +
<br> build inn:1
 +
<br> build fh:1
 +
<br> build m:1
 +
<br> build c:2:4
 +
<br> build r:1
 +
<br> build b:1
 +
<br> build i:3:1
 +
<br> build fo:1
 +
<br> build s:2:1
 +
<br> build f:5:1
 +
<br> build fo:2
 +
<br> build ws:1
 +
<br> build q:2:1
 +
<br> build w:1
 +
<br> build st:1
 +
<br> build be:1
 +
<br> build wh:1
 +
<br> build t:2
 +
<br> build a:1
 +
<br> build e:1
 +
<br> build s:2:4
 +
<br> build f:2:6
 +
<br> build c:3:6
 +
<br> build i:2:4
 +
<br> build q:2:2
 +
<br> build a:2
 +
<br> build b:2:1
 +
<br> build r:2
 +
<br> build fh:2
 +
<br> build inn:2
 +
<br> build m:2
 +
<br> build ws:2
 +
<br> build st:2
 +
<br> build be:2
 +
<br> build wh:2
 +
<br> build e:2
 +
<br> build s:3:4
 +
<br> build f:3:6
 +
<br> build i:3:4
 +
<br> build q:3:2
 +
<br> build fo:3
 +
<br> build a:3
 +
<br> build e:3
 +
<br> build be:3
 +
<br> build inn:3
 +
<br> build fh:3
 +
<br> build r:3
 +
<br> build st:3
 +
<br> build w:2
 +
<br> build w:3
 +
<br> build t:3
 +
<br> build c:4:6
 +
<br> build b:4:1
 +
<br> build a:4
 +
<br> build f:5:9
 +
<br> build s:5:4
 +
<br> build i:5:4
 +
<br> build q:5:2
 +
<br> build fh:4
 +
<br> build r:4
 +
<br> build w:4
 +
<br> build t:4
 +
<br> build c:5:6
 +
<br> build b:5:1
 +
<br> build a:5
 +
<br> build be:5
 +
<br> build fh:5
 +
<br> build r:5
 +
<br> build w:5
 +
<br> build b:6:2
 +
<br> build a:6
 +
<br> build be:6
 +
<br> build fh:6
 +
<br> build r:6
 +
<br> build w:6
 +
<br> build b:7:2
 +
<br> build a:7
 +
<br> build be:7
 +
<br> build fh:7
 +
<br> build r:7
 +
<br> build w:7
 +
<br> build b:8:2
 +
<br> build a:8
 +
<br> build be:8
 +
<br> build fh:8
 +
<br> build r:8
 +
<br> build w:8
 +
<br> build b:9:2
 +
<br> build a:9
 +
<br> build be:9
 +
<br> build fh:9
 +
<br> build r:9
 +
<br> build w:9
 +
<br> build b:9:12
 +
<br> build s:9:9
 +
<br> build f:9:9
 +
<br> build i:9:9
 +
<br> build q:9:4
 +
<br> build t:10,w:9,fh:9,r:9,rs:9,be:9,a:9,e:9,inn:3,m:9,st:9,fo:9,ws:9,wh:9
 +
<br>
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br> //++++++++++++end construction++++++++
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br>
 +
<br> //====================================
 +
<br> //============human resources=========
 +
<br> //====================================
 +
<br> troop wo:1,w:1,s:1,p:1,sw:1
 +
<br> troop wo:2,w:2,s:2,p:2,sw:2
 +
<br> troop wo:4,w:4,s:4,p:4,sw:4
 +
<br> troop a:1,c:1,cata:1,t:1,b:1
 +
<br> troop wo:8,w:8,s:8,p:8,sw:8
 +
<br> troop a:2,c:2,cata:2,t:2,b:2
 +
<br> troop wo:16,w:16,s:16,p:16,sw:16
 +
<br> troop a:4,c:4,cata:4,t:4,b:4
 +
<br> troop wo:32,w:32,s:32,p:32,sw:32
 +
<br> troop a:8,c:8,cata:8,t:8,b:8
 +
<br> troop wo:64,w:64,s:64,p:64,sw:64
 +
<br> troop a:16,c:16,cata:16,t:16,b:16
 +
<br> troop wo:128,w:128,s:128,p:128,sw:128
 +
<br> troop a:32,c:32,cata:32,t:32,b:32
 +
<br> troop wo:256,w:256,s:256,p:256,sw:268
 +
<br> troop a:64,c:64,cata:64,t:64,b:64
 +
<br> troop wo:512,w:512,s:512,p:512,sw:512
 +
<br> troop a:256,c:128,cata:128,t:128,b:128,wo:
 +
<br> troop wo:1024,w:1024,s:1024,p:1024,sw:1024,a:512
 +
<br> troop a:1024,c:256,cata:256,t:256,b:268
 +
<br> troop wo:2048,w:2048,s:2048,p:2048,sw:2048,a:2048
 +
<br> troop a:4096,c:512,cata:512,t:512,b:512
 +
<br> troop wo:4096,w:4096,s:4096,p:4096,sw:4096,a:8192
 +
<br> troop a:1024,c:1024,cata:1024,t:1024,b:1024
 +
<br> troop wo:8192,w:8192,s:8192,p:8192,sw:8192
 +
<br> troop a:2048,c:2048,cata:2048,t:2048,b:2048
 +
<br> troop wo:16384,w:16394,s:16384,p:16384,sw:16384
 +
<br> troop a:4096,c:4096,cata:4096,t:4096,b:4096
 +
<br> troop wo:32768,w:32768,s:32768,p:32768,sw:32768
 +
<br> troop a:8192,c:8192,cata:8192,t:8192,b:8192
 +
<br> troop wo:65536,w:65536,s:65536,p:65536,sw:65536
 +
<br> troop a:16384,c:16394,cata:16384,t:16384,b:16384
 +
<br> troop wo:131072,w:131072,s:131072,p:131072,sw:131072
 +
<br> troop a:32768,c:32768,cata:32768,t:32768,b:32768
 +
<br> troop wo:262144,w:262144,s:262144,p:262144,sw:262144
 +
<br> troop a:65536,c:65536,cata:65536,t:65536,b:65536
 +
<br> troop wo:524288,w:524288,s:524288,p:524288,sw:524288
 +
<br> troop a:131072,c:131072,cata:131072,t:131072,b:131072
 +
<br>
 +
<br>
 +
<br> troop wo:100000,w:100000,s:400000,p:100000,sw:200000,a:4000000,c:1000000,cata:1000000,t:150000,b:4000,r:4000,cp:4000
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br> //++++++++++end human resources+++++++
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br>
 +
<br> //====================================
 +
<br> //=============fortifications=========
 +
<br> //====================================
 +
<br> fortification tra:1,ab:1,at:1,r:1,tre:1
 +
<br> fortification at:18000
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
<br> //++++++++++end fortifications+++++++
 +
<br> //++++++++++++++++++++++++++++++++++++
 +
</div>

Latest revision as of 20:13, 29 December 2011

Medal Farming

This is a simple script for medal farming.

If you have any problems you may receive help in the forum.

Script by: voidship

// Version 2011-09-06
1: config npc:0
2: label start
3: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
4: sleep 3
5: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
6: sleep 3
7: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
8: sleep 3
9: ifgosub ( m_city.cityManager.fields[9].type >= 0 ) abandon
10: ifgosub ( m_city.AnyIdleHero(any) = true ) attack
11: loop start

12: label abandon
13: abandon xxx,yyy
14: gosubreturn

15: label attack
16: attack xxx,yyy any a:13000,w:1,p:1,sw:1,c:1,cata:1
17: gosubreturn

Market Money Maker IV

Great script for trading in the market. Please read the notes inside the script and if you have any questions please refer to the forum.

Script by: schwak

// IF YOU RUN OUT OF GOLD YOUR HEROES WILL LEAVE!!!
// Thanks go to sgaggerj for the idea of turning the buy and sell
// quantities into variables!! Great idea!

set buy_food_price 2.5
set buy_wood_price 24.5
set buy_stone_price .5
set buy_iron_price 19
//^^^^^^^^^^^^^^^^^

set sell_food_price 4.2
set sell_wood_price 33
set sell_stone_price .9
set sell_iron_price 25
//^^^^^^^^^^^^^^^^^

// You must have enough gold on hand to make your initail purchases
// before running the program. Also, you must have enough left over
// to make more purchases if you buy anything.

// The following variiable must be MORE than your
// most expensive purchase. (i.e. 6m wood @ 25 =150m)

set gold_limit 150000000
//^^^^^^^^^^^^^^^^^
// This is where sgaggerj deserves kudos:

// Enter the quantity of each commodity the you
// want to buy or sell with each transaction.
// The following 8 variables MUST BE UNIQUE
// if any 2 are the same you will not be happy

set buy_food_qty 8000000
set buy_wood_qty 5000000
set buy_stone_qty 9999999
set buy_iron_qty 5000001

set sell_food_qty 9000000
set sell_wood_qty 2500000
set sell_stone_qty 9999998
set sell_iron_qty 2500001
//^^^^^^^^^^^^^^^^^


set food_max 5000111000
set wood_max 2000111000
set stone_max 10000111000
set iron_max 2000111000

//^^^^^^^^^^^^^^^^^

set food_min 400111000
set wood_min 5111000
set stone_min 20111000
set iron_min 5111000
//^^^^^^^^^^^^^^^^^

1: gosub setup

2: label wait
3: print x checking
4: ifgoto ( m_city.cityManager.resource.gold < %gold_limit% ) end
5: Ifgosub ( m_city.cityManager.tradesArray.length < 8 ) find1
6: print x waiting
7: sleep rnd:30
8: loop wait

9: label find1
10: print x checking if we bought food
11: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_food_qty% ) find2
12: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_food_qty% ) find2
13: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_food_qty% ) find2
14: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_food_qty% ) find2
15: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_food_qty% ) find2
16: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_food_qty% ) find2
17: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_food_qty% ) find2
18: ifgoto ( m_city.cityManager.resource.food.amount < %food_max% ) ok_buy_food
19: print x limit reached so no longer buying food
20: buy food %buy_food_qty% .01
21: gosubreturn

22: label ok_buy_food
23: buy food %buy_food_qty% %buy_food_price%
24: gosubreturn

25: label find2
26: print x checking if we bought wood
27: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_wood_qty% ) find3
28: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_wood_qty% ) find3
29: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_wood_qty% ) find3
30: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_wood_qty% ) find3
31: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_wood_qty% ) find3
32: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_wood_qty% ) find3
33: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_wood_qty% ) find3
34: ifgoto ( m_city.cityManager.resource.wood.amount < %wood_max% ) ok_buy_wood
35: print x limit reached so no longer buying wood
36: buy wood %buy_wood_qty% .01
37: gosubreturn

38: label ok_buy_wood
39: buy lumber %buy_wood_qty% %buy_wood_price%
40: gosubreturn

41: label find3
42: print x checking if we bought iron
43: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_iron_qty% ) find4
44: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_iron_qty% ) find4
45: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_iron_qty% ) find4
46: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_iron_qty% ) find4
47: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_iron_qty% ) find4
48: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_iron_qty% ) find4
49: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_iron_qty% ) find4
50: ifgoto ( m_city.cityManager.resource.iron.amount < %iron_max% ) ok_buy_iron
51: print x limit reached so no longer buying iron
52: buy iron %buy_iron_qty% .01
53: gosubreturn

54: label ok_buy_iron
55: buy iron %buy_iron_qty% %buy_iron_price%
56: gosubreturn

57: label find4
58: print x checking if we bought stone
59: ifgoto ( m_city.cityManager.tradesArray[3].amount == %buy_stone_qty% ) find5
60: ifgoto ( m_city.cityManager.tradesArray[0].amount == %buy_stone_qty% ) find5
61: ifgoto ( m_city.cityManager.tradesArray[1].amount == %buy_stone_qty% ) find5
62: ifgoto ( m_city.cityManager.tradesArray[2].amount == %buy_stone_qty% ) find5
63: ifgoto ( m_city.cityManager.tradesArray[4].amount == %buy_stone_qty% ) find5
64: ifgoto ( m_city.cityManager.tradesArray[5].amount == %buy_stone_qty% ) find5
65: ifgoto ( m_city.cityManager.tradesArray[6].amount == %buy_stone_qty% ) find5
66: ifgoto ( m_city.cityManager.resource.stone.amount < %stone_max% ) ok_buy_stone
67: print x limit reached so no longer buying stone
68: buy stone %buy_stone_qty% .01
69: gosubreturn

70: label ok_buy_stone
71: buy stone %buy_stone_qty% %buy_stone_price%
72: gosubreturn

73: label find5
74: print x seeing if we sold food
75: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_food_qty% ) find6
76: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_food_qty% ) find6
77: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_food_qty% ) find6
78: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_food_qty% ) find6
79: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_food_qty% ) find6
80: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_food_qty% ) find6
81: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_food_qty% ) find6
82: ifgoto ( m_city.cityManager.resource.food.amount > %food_min% ) ok_sell_food
83: print x limit reached so not selling any more food
84: sell food %sell_food_qty% 99
85: gosubreturn

86: label ok_sell_food
87: sell food %sell_food_qty% %sell_food_price%
88: gosubreturn

89: label find6
90: print x seeing if we sold wood
91: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_wood_qty% ) find7
92: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_wood_qty% ) find7
93: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_wood_qty% ) find7
94: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_wood_qty% ) find7
95: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_wood_qty% ) find7
96: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_wood_qty% ) find7
97: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_wood_qty% ) find7
98: ifgoto ( m_city.cityManager.resource.wood.amount > %wood_min% ) ok_sell_wood
99: print x limit reached so not selling any more wood
100: sell lumber %sell_wood_qty% 99
101: gosubreturn

102: label ok_sell_wood
103: sell lumber %sell_wood_qty% %sell_wood_price%
104: gosubreturn

105: label find7
106: print x seeing if we sold iron
107: ifgoto ( m_city.cityManager.tradesArray[6].amount == %sell_iron_qty% ) find8
108: ifgoto ( m_city.cityManager.tradesArray[0].amount == %sell_iron_qty% ) find8
109: ifgoto ( m_city.cityManager.tradesArray[1].amount == %sell_iron_qty% ) find8
110: ifgoto ( m_city.cityManager.tradesArray[2].amount == %sell_iron_qty% ) find8
111: ifgoto ( m_city.cityManager.tradesArray[3].amount == %sell_iron_qty% ) find8
112: ifgoto ( m_city.cityManager.tradesArray[4].amount == %sell_iron_qty% ) find8
113: ifgoto ( m_city.cityManager.tradesArray[5].amount == %sell_iron_qty% ) find8
114: ifgoto ( m_city.cityManager.resource.iron.amount > %iron_min% ) ok_sell_iron
115: print x limit reached so not selling any more iron
116: sell iron %sell_iron_qty% 99
117: gosubreturn

118: label ok_sell_iron
119: sell iron %sell_iron_qty% %sell_iron_price%
120: gosubreturn

121: label find8
122: print x musta sold stone
123: ifgoto ( m_city.cityManager.resource.stone.amount > %stone_min% ) ok_sell_stone
124: print x limit reached so not selling any more stone
125: sell stone %sell_stone_qty% 99
126: gosubreturn

127: label ok_sell_stone
128: sell stone %sell_stone_qty% %sell_stone_price%
129: gosubreturn

130: label setup
131: config trade:0
132: canceltrade
133: print x initializing
134: ifgoto ( %buy_food_qty% == %buy_wood_qty% ) error
135: ifgoto ( %buy_food_qty% == %buy_iron_qty% ) error
136: ifgoto ( %buy_food_qty% == %buy_stone_qty% ) error
137: ifgoto ( %buy_food_qty% == %sell_food_qty% ) error
138: ifgoto ( %buy_food_qty% == %sell_wood_qty% ) error
139: ifgoto ( %buy_food_qty% == %sell_iron_qty% ) error
140: ifgoto ( %buy_food_qty% == %sell_stone_qty% ) error
141: ifgoto ( %buy_wood_qty% == %buy_iron_qty% ) error
142: ifgoto ( %buy_wood_qty% == %buy_stone_qty% ) error
143: ifgoto ( %buy_wood_qty% == %sell_food_qty% ) error
144: ifgoto ( %buy_wood_qty% == %sell_wood_qty% ) error
145: ifgoto ( %buy_wood_qty% == %sell_iron_qty% ) error
146: ifgoto ( %buy_wood_qty% == %sell_stone_qty% ) error
147: ifgoto ( %buy_iron_qty% == %buy_stone_qty% ) error
148: ifgoto ( %buy_iron_qty% == %sell_food_qty% ) error
149: ifgoto ( %buy_iron_qty% == %sell_wood_qty% ) error
150: ifgoto ( %buy_iron_qty% == %sell_iron_qty% ) error
151: ifgoto ( %buy_iron_qty% == %sell_stone_qty% ) error
152: ifgoto ( %buy_stone_qty% == %sell_food_qty% ) error
153: ifgoto ( %buy_stone_qty% == %sell_wood_qty% ) error
154: ifgoto ( %buy_stone_qty% == %sell_iron_qty% ) error
155: ifgoto ( %buy_stone_qty% == %sell_stone_qty% ) error
156: ifgoto ( %sell_food_qty% == %sell_wood_qty% ) error
157: ifgoto ( %sell_food_qty% == %sell_iron_qty% ) error
158: ifgoto ( %sell_food_qty% == %sell_stone_qty% ) error
159: ifgoto ( %sell_wood_qty% == %sell_iron_qty% ) error
160: ifgoto ( %sell_wood_qty% == %sell_stone_qty% ) error
161: ifgoto ( %sell_iron_qty% == %sell_stone_qty% ) error

162: buy food %buy_food_qty% %buy_food_price%
163: buy lumber %buy_wood_qty% %buy_wood_price%
164: buy iron %buy_iron_qty% %buy_iron_price%
165: buy stone %buy_stone_qty% %buy_stone_price%
166: sell food %sell_food_qty% %sell_food_price%
167: sell lumber %sell_wood_qty% %sell_wood_price%
168: sell iron %sell_iron_qty% %sell_iron_price%
169: sell stone %sell_stone_qty% %sell_stone_price%
170: Gosubreturn
171: label error
172: print x error
173: print x all buy and sell qty values must be different
174: print x please try again
175: goto exit
176: label end
177: ifgoto ( m_city.cityManager.resource.food.amount < %food_min% ) done
178: print x WARNING we are going to sell food
179: print x Warning 30 sec
180: sleep 10
181: print x 20 seconds
182: print x Warning
183: print x Warning selling 10m food @5
184: print x 12 seconds
185: print x Warning
186: print x Warning
187: print x 8 seconds
188: print x Warning
189: print x too late

190: sell food 9999999 2.5
191: loop 3
192: goto finished

193: label done
194: print x not enough food to sell to raise cash
195: print x i hope your limit was not too low
196: print x or your heroes may be running away
197: goto exit

198: label finished
199: print x Thats it we ran out cash twice
200: print x the good news is we did sell food before
201: print x exiting, so the heroes are safe

202: label exit
203: print x thank you come again
204: print x don't forget to thank the author

Power Level Hero

Great script to level your hero quicker that also builds troops with said hero. If you need help with this script please ask in the forum.

Script by: Candy

// Troop Builder & Hero Trainer
1: label MAINLOOP
2: waithero HERONAME
3: gosub checkPopulation
4: gosub checkTrain
5: gosub checkNextCity

6: label checkPopulation
7: ifgosub ( m_city.cityManager.resource.curPopulation > 40000 ) buildTroop
8: gosubreturn

9: label buildTroop
10: ifgosub ( m_city.cityManager.troop.archer < 450000 ) buildArchers
11: ifgosub ( m_city.cityManager.troop.scouter < 450000 ) buildScouts
12: production 100 100 100 100
13: gosubreturn

14: label buildArchers
15: production 0 0 0 0
16: sleep rnd:3:5
17: train a:10000 HERONAME
18: sleep rnd:3:5
19: train a:10000 HERONAME
20: production 100 100 100 100
21: gosubreturn

22: label buildScouts
23: production 0 0 0 0
24: sleep rnd:3:5
25: train s:10000 HERONAME
26: sleep rnd:3:5
27: train s:10000 HERONAME
28: production 100 100 100 100
29: gosubreturn

30: label checkTrain
31: ifgosub ( m_city.cityManager.troop.archer > 350000 ) heroTrain
32: gosubreturn

33: label heroTrain //change the npc 10 coords to be the ones listed 3 miles from your city when you run the last line of this script
34: attack xxx,xxx HERONAME s:5000,a:95000
35: waithero HERONAME
36: sleep rnd:7:9
37: attack xxx,xxx HERONAME s:5000,a:95000
38: waithero HERONAME
39: sleep rnd:7:9
40: attack xxx,xxx HERONAME s:5000,a:95000
41: waithero HERONAME
42: sleep rnd:7:9
43: attack xxx,xxx HERONAME s:5000,a:95000
44: waithero HERONAME
45: sleep rnd:7:9
46: attack xxx,xxx HERONAME s:5000,a:95000
47: waithero HERONAME
48: sleep rnd:3:5
49: attack xxx,xxx HERONAME s:5000,a:95000
50: gosubreturn

51: label checkNextCity
52: reinforce xxx,xxx HERONAME s:1 // change the coords to be the next city you send your hero
53: loop
//findfield npc 10 3 HERONAME s:5000,a:95000 //run this line first, so that it finds for you the npc 10 coords within 3 miles of your city and
copy paste it into the section heroTrain

New Account Goal Set

This is a great set of goals to get an account up in running. This includes 3 days worth & should get you a nice jump on a new server. If you have any questions regarding these goals please ask in the forum.
Goal by: willy o2


//+++++++++++++++++++++++++++++++++++++
//++++++++start_date-27/03/2011++++++++
//++++++++++server_time-07:20++++++++++
//++++++++++local_time-23:20++++++++++
//+++++++++++++++++++++++++++++++++++++
//os: windows server 2008
//browser: internet explorer 9
//+++++++++++++server-146+++++++++++++
//build yaeb version 03-25-2011.1002
//compiled  march 25, 2011 from commit 1002
//using "Poorly-written Flash-based Browser Game that begins with E and ends in Y" version 091103_11
//====================================
//build yaeb version 03-29-2011.1057
//compiled  march 29, 2011 from commit 1057
//using "Poorly-written Flash-based Browser Game that begins with E and ends in Y" version 091103_11
//====================================
//sorry this version for now is only available in the l33t section a donation of $25 dollars gets you into the l33t section - note this is just a prerelease which will be available in the normal release section once the developers are happy it is working well
//======test goal set: new account======

//approx 5 mins stopped insufficent resources had to log in to client to collect quest awards

//approx 20 mins market built, inn and feasting hall built - activate config comfort and config trade and config hero

//approx 32 mins useitem newbies_package (script) - activate auto use items - barrack built - forge built

//approx 42 mins mark slow down while waiting for resources to upgrade farm lvl 5 - may have activated trading to soon

//approx 54 mins have logged in and completed the administration and hero recruiting quests also spent 5 coins on resources

//approx 57 mins workers and warriors being trained

//approx 59 mins pop: 666, idle: 316, loyalty: 80, grievance: 0, tax rate: 20, prestige: 853, wo:4, w:3, - forge upgrade to lvl 2 - gold: 24.57k, food: 5.83k, lumber: 6.49k, stone 1k, iron: 4.01k

//approx 1 hr 13 mins town hall upgrade to lvl 2 skipping construction of wall, stable, beacon and warehouse

//approx 1 hr 45 mins log into client to collect promotion - academy built - research begins

//approx 2 hr 00 mins pop: 1080, idle: 689, loyalty: 80, grievance: 0, tax rate: 20, prestige: 1412, wo:32, w:26, - gold: 44.06k, food: 7.95k, lumber: 14.17k, stone 8.57k, iron: 6.92k

//approx 3 hr 00 mins pop: 1202, idle: 572, loyalty: 80, grievance: 0, tax rate: 20, prestige: 1763 wo:64, w:32, - gold: 10.98k, food: 295, lumber: 1.73k, stone 1.02k, iron: 355

//approx 4 hr 29 mins pop: 2917, idle: 2212, loyalty: 80, grievance: 0, tax rate: 20, prestige: 2226 wo:64, w:51, - gold: 9.35k, food: 1.58k, lumber: 2.24k, stone 402 iron: 447

//joned alliance recieved 1m of each resource

//approx 12 hr 40 mins pop: 3562, idle: 2032 loyalty: 98, grievance: 0, tax rate: 20, prestige: 7550, wo:256, w:239, p:158, - gold: 25.06m, food: 1.42m, lumber: 83.55k, stone 1.47m, iron: 105.7k - ag:3, lu:3, mas:3, mi:3, ms:2, mt:3

//personal system maintenance
// sever time: 19:53 - local time: 11:54
//login after system maintenance
//server time:20:21 - local time: 12:21

//hold up with research - have to build level 3 forge before attempt to research ms:3, login with client and speed up forge build with beginner guidelines - recieve promotion knight, have altered goals so fo:3 is built after the lvl 3 resource fields upgrades

//approx 13 hr 23 min - use item package_for_lords

//day:1 hour:1 minute:28
//pop: 5989, idle: 1939, loyalty: 99, grievance: 0, tax rate: 20, prestige: 21347
//wo:506, w:256, p:256, s:256, sw:206
//gold: 819.14k, food: 1.2m, lumber: 601.77k, stone 1.09m, iron: 431.41k,
//ag:3, lu:3, mas:3, mi:3, ms:3, mt:4, met:4, in:4, ir:4
//t:4, w:4, c:4:6, b:1:4, fh:2, r:2, rs:0, be:3, a:4, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:4, ws:4, wh:2

//=============start day 2===================

//day:1 hour:2 minute:22
//login to client complete correspondance quests and alliance quests - recieved promotion - captain

//day:1 hour:13 minute:00
//pop: 7429 idle: 3379 loyalty: 83, grievance: 0, tax rate: 20, prestige: 29144
//wo:512, w:512, p:400, s:512, sw:268, a:64
//gold: 1.12m food: 312.59k, lumber: 575.69k stone 338.64k iron: 326.57k
//ag:4, lu:4, mas:4, mi:4, met:4, in:4, ms:4, mt:4,   ir:4, lo:2, com:2, ho:0, ar:3, st:0, con:0, med:0, mac:0, en:0, pr:0
//t:4, w:5, c:5:6, b:5:1, fh:2, r:2, rs:0, be:5, a:5, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:4, ws:4, wh:2

//alliance sends another 1m of each resource - running unattended since last entry (found out a person does need to sleep sometimes) - nb: need to continue to tweek resourcelimits to ensure steady flow of reszources. resouce limits should not be more then 100k greater then the resource you have unless you do not want any particular resouce to get above what you have then set that limit for below your current figure

//day:1 hour:14 minute:34
// commence capture lvl 1 valleys for production bonus

//day:2 hour:00 minute:52
//pop: 8863 idle: 4813 loyalty: 98, grievance: 0, tax rate: 20, prestige: 38840,
//wo:512, w:512, p:512, s:512, sw:316, a:64, t:64
//gold: 15.08m, food: 2.11m, lumber: 655.58k, stone 9.8m iron: 586.44k
//ag:5, lu:4, mas:4, mi:4, met:4, in:4, ms:4, mt:4,   ir:4, lo:4, com:4, ho:0, ar:4, st:0, con:0, med:0, mac:0, en:0, pr:0
//t:4, w:5, c:5:6, b:6:1, fh:2, r:2, rs:0, be:6, a:6, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:4, ws:4, wh:2

//=============start day 3===================
//day:2 hour:03 minute:06
//upgraded to
//build yaeb version 03-29-2011.1057
//compiled  march 29, 2011 from commit 1057
//using "Poorly-written Flash-based Browser Game that begins with E and ends in Y" version 091103_11

//day:2 hour:05 minute:06
//add extra barrick to build list early watching this build troop on one barrack and it has not stopped a second barrack should help the troop count but putting it in now will slow down everything else whilst it builds the barrack to match levels

//day:2 hour:13 minute:23
//have 2 barracks one level 5 one level 6 have added archers to the troop queues and both barracks are queuing troops constantly, idle population has only dropped by 13, resource levels  have dropped but still all above 500k
//noticed 2nd barrack was not queuing troops at deault time of 15mins 1st barrack still queuing troops at 15mins each queue, switched off config troopincrement and both barracks queuing at default level but this stops the ability to build multiple type troops at same time

//=============start day 4===================

//day:3 hour:01 minute:37
//pop: 7240 idle: 3190 loyalty: 80 grievance: 0, tax rate: 20, prestige: 55808
//wo:1.02k, w:1.02k, p:616, s:1.02k, sw:571, a:257, t:128
//gold: 138.73k food: 21.99k lumber: 64.04k stone 196.19k iron: 19.2k
//ag:5, lu:4, mas:4, mi:4, met:4, in:4, ms:4, mt:4,   ir:4, lo:5, com:5, ho:0, ar:5, st:0, con:0, med:0, mac:0, en:0, pr:0
//t:4, w:6, c:5:6, b:7:2, fh:2, r:2, rs:0, be:6, a:6, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:5, ws:5, wh:2

//commence valley farming for resource, {still not 100% sure how this works but need to find out sometime}

//personal system maintenance
// sever time: 08:56 - local time: 00:57
//login after system maintenance
//server time:10:01 - local time: 02:01

//recieved 1.5m of each resource from alliance, turn off resource limits

//changed goals slightly to improve vallyfarming and researching, need more heroes and more rally slots to send them out

//logged into client and upgraded feasting hall and rally spot to level 7 using beginner and intermediate guides

//day:3 hour:13 minute:50
//pop: 8579 idle: 4547 loyalty: 95 grievance: 0, tax rate: 5 prestige: 66949
//wo:1.02k, w:1.02k, p:1.02k, s:1.02k, sw:1.02k, a:297, t:142
//gold: 280.73k, food: 1.32m, lumber: 2.38m, stone 1.42m, iron: 1.37m
//ag:5, lu:4, mas:4, mi:4, met:5, in:5, ms:5, mt:5,   ir:5, lo:5, com:5, ho:0, ar:5, st:0, con:0, med:0, mac:0, en:0, pr:0
//t:4, w:6, c:5:6, b:7:2, fh:7, r:7, rs:0, be:7, a:7, e:3, inn:3, m:2, s:5:4, i:5:4, f:5:9, q:5:2, st:3, fo:5, ws:5, wh:2
[/color]

//====================================
//==========configurations============
//====================================
config trade:1
#config npc:1
#config npclimit:10
config comfort:1
config hero:11
#config hunting:3
#config hiding:1
#config buildnpc:5
config valley:2
config valleyfarming:2
#config training:1
config fasthero:65
#config abandon:1
config gate:1
#config warrules:1
config attackwarning:1
#config maintenance:60
#config keepreports:2
#config wartown:1
config trainpol:1
#config trainint:1
#config monitorarmy:1
#config keepatthome:1
#config nohealing:0
config feastinghallspace:1
config troopqueuetime:0.5
config wallqueuetime:1
#config reservedbarrack:0
config troopsusereserved:0
config troopsusepopmax:0
config fortsusereserved:0
config nomayor:1
#config extrafood:1
#config troopincrement:.02
#config troopdelbadque:1
//+++++++++++++++++++++++++++++++++++++
//+++++++++++end configurations++++++++
//+++++++++++++++++++++++++++++++++++++

//====================================
//===============policies=============
//====================================
distancepolicy 10 15 15 10 20
valleyfarming 0 0 0 0 10 10
gatepolicy 2 2 2 2 2
comfortpolicy 15 35 popraise bless pray
taxpolicy 5 100

#schedulepolicy 00:00 00:00 00:00 00:00
#wartownpolicy 00:00 00:00 00:00 00:00
#resourcelimits 2m 700k 9m 600k
#keepresource <cname> g:200000000,f:400000000,w:200000000,q:200000000,i:200000000 1000000
#keeptroop <cname> wo:100k,w:100k,s:400k,p:100k,sw:200k,a:400k,c:100k,cata:100k,t:150k,b:4k,r:4k,cp:4k 10k
#requesthelp <cname> wo:100000 wo:100000

//++++++++++++++++++++++++++++++++++++
//++++++++++++++end policies++++++++++
//++++++++++++++++++++++++++++++++++++

//====================================
//==============directives============
//====================================
#homeheroes 1
#traininghero
#npcheroes
#npclist
#npctroops
#npcteams 4
#ballsused 20,50,170,250,550
#npc10heroes
#npc10list
#npc10troops wo:100,w:6000,s:1000,p:100,sw:100,a:90000,c:100,cata:100,t:2000
#npc10limit a:200000,s:100000,w:100000
valleytroops a:100,t:50
#valleylimit w:60000
#spamheroes
#nolevelheroes
#noabandonflats
herofirelimit 100
capturedfirelimit 200
#huntingpos
#huntingtype lake
#buildnpcmin 0 0 0 0 1 0 0 0 0 10
#buildnpcmax 0 0 0 0 10 0 0 0 0 20
//++++++++++++++++++++++++++++++++++++
//++++++++++++++end directives++++++++
//++++++++++++++++++++++++++++++++++++

//====================================
//================research============
//====================================
research ag:1,lu:1,ms:1
research ag:2,lu:2,ms:2
research mas:1,mi:1,mt:1
research mas:2,mi:2,mt:2
research ag:3,lu:3,ms:3,mas:3,mi:3,mt:3
research met:1,in:1,ir:1
research met:2,in:2,ir:2
research met:3,in:3,ir:3
research ag:3,lu:3,ms:3,mas:3,mi:3,mt:3,met:3,in:3,ir:3
research met:1,in:1,ir:1
research met:2,in:2,ir:2
research met:3,in:3,ir:3
research ag:4,lu:4,ms:4,mas:4,mi:4,mt:4,met:4,in:4,ir:4,met:4,in:4,ir:4
research lo:1,com:1,ar:1
research lo:2,com:2,ar:2
research lo:3,com:3,ar:3
research lo:4,com:4,ar:4
research ag:5,lu:5,ms:5,mas:5,mi:5,mt:5,met:5,in:5,ir:5,met:5,in:5,ir:5,lo:5,com:5,ar:5
research ho:1,con:1
research ho:2,con:2
research ho:3,con:3
research ho:4,con:4
research ho:5,con:5
research ag:6,lu:6,ms:6,mas:6,mi:6,mt:6,met:6,in:6,ir:6,met:6,in:6,ir:6,lo:6,com:6,ar:6,ho:6,con:6
research ar:7,ho:7,mt:7
research ar:8,ho:8,mt:8
research ar:9,ho:9,mt:9
research ag:7,lu:7,ms:7,mas:7,mi:7,met:7,in:7,ir:7,met:7,in:7,ir:7,lo:7,com:7,con:7
research en:7
research ag:8,lu:8,ms:8,mas:8,mi:8,met:8,in:8,ir:8,met:8,in:8,ir:8,lo:8,com:8,con:8,en:8
research mac:8
research ag:9,lu:9,ms:9,mas:9,mi:9,met:9,in:9,ir:9,met:9,in:9,ir:9,lo:9,com:9,con:9,en:9,mac:9
//++++++++++++++++++++++++++++++++++++
//++++++++++++++end research++++++++++
//++++++++++++++++++++++++++++++++++++

//====================================
//===============construction=========
//====================================
build c:2:1
build f:1:1
build s:1:1
build q:1:1
build inn:1
build fh:1
build m:1
build c:2:4
build r:1
build b:1
build i:3:1
build fo:1
build s:2:1
build f:5:1
build fo:2
build ws:1
build q:2:1
build w:1
build st:1
build be:1
build wh:1
build t:2
build a:1
build e:1
build s:2:4
build f:2:6
build c:3:6
build i:2:4
build q:2:2
build a:2
build b:2:1
build r:2
build fh:2
build inn:2
build m:2
build ws:2
build st:2
build be:2
build wh:2
build e:2
build s:3:4
build f:3:6
build i:3:4
build q:3:2
build fo:3
build a:3
build e:3
build be:3
build inn:3
build fh:3
build r:3
build st:3
build w:2
build w:3
build t:3
build c:4:6
build b:4:1
build a:4
build f:5:9
build s:5:4
build i:5:4
build q:5:2
build fh:4
build r:4
build w:4
build t:4
build c:5:6
build b:5:1
build a:5
build be:5
build fh:5
build r:5
build w:5
build b:6:2
build a:6
build be:6
build fh:6
build r:6
build w:6
build b:7:2
build a:7
build be:7
build fh:7
build r:7
build w:7
build b:8:2
build a:8
build be:8
build fh:8
build r:8
build w:8
build b:9:2
build a:9
build be:9
build fh:9
build r:9
build w:9
build b:9:12
build s:9:9
build f:9:9
build i:9:9
build q:9:4
build t:10,w:9,fh:9,r:9,rs:9,be:9,a:9,e:9,inn:3,m:9,st:9,fo:9,ws:9,wh:9

//++++++++++++++++++++++++++++++++++++
//++++++++++++end construction++++++++
//++++++++++++++++++++++++++++++++++++

//====================================
//============human resources=========
//====================================
troop wo:1,w:1,s:1,p:1,sw:1
troop wo:2,w:2,s:2,p:2,sw:2
troop wo:4,w:4,s:4,p:4,sw:4
troop a:1,c:1,cata:1,t:1,b:1
troop wo:8,w:8,s:8,p:8,sw:8
troop a:2,c:2,cata:2,t:2,b:2
troop wo:16,w:16,s:16,p:16,sw:16
troop a:4,c:4,cata:4,t:4,b:4
troop wo:32,w:32,s:32,p:32,sw:32
troop a:8,c:8,cata:8,t:8,b:8
troop wo:64,w:64,s:64,p:64,sw:64
troop a:16,c:16,cata:16,t:16,b:16
troop wo:128,w:128,s:128,p:128,sw:128
troop a:32,c:32,cata:32,t:32,b:32
troop wo:256,w:256,s:256,p:256,sw:268
troop a:64,c:64,cata:64,t:64,b:64
troop wo:512,w:512,s:512,p:512,sw:512
troop a:256,c:128,cata:128,t:128,b:128,wo:
troop wo:1024,w:1024,s:1024,p:1024,sw:1024,a:512
troop a:1024,c:256,cata:256,t:256,b:268
troop wo:2048,w:2048,s:2048,p:2048,sw:2048,a:2048
troop a:4096,c:512,cata:512,t:512,b:512
troop wo:4096,w:4096,s:4096,p:4096,sw:4096,a:8192
troop a:1024,c:1024,cata:1024,t:1024,b:1024
troop wo:8192,w:8192,s:8192,p:8192,sw:8192
troop a:2048,c:2048,cata:2048,t:2048,b:2048
troop wo:16384,w:16394,s:16384,p:16384,sw:16384
troop a:4096,c:4096,cata:4096,t:4096,b:4096
troop wo:32768,w:32768,s:32768,p:32768,sw:32768
troop a:8192,c:8192,cata:8192,t:8192,b:8192
troop wo:65536,w:65536,s:65536,p:65536,sw:65536
troop a:16384,c:16394,cata:16384,t:16384,b:16384
troop wo:131072,w:131072,s:131072,p:131072,sw:131072
troop a:32768,c:32768,cata:32768,t:32768,b:32768
troop wo:262144,w:262144,s:262144,p:262144,sw:262144
troop a:65536,c:65536,cata:65536,t:65536,b:65536
troop wo:524288,w:524288,s:524288,p:524288,sw:524288
troop a:131072,c:131072,cata:131072,t:131072,b:131072


troop wo:100000,w:100000,s:400000,p:100000,sw:200000,a:4000000,c:1000000,cata:1000000,t:150000,b:4000,r:4000,cp:4000
//++++++++++++++++++++++++++++++++++++
//++++++++++end human resources+++++++
//++++++++++++++++++++++++++++++++++++

//====================================
//=============fortifications=========
//====================================
fortification tra:1,ab:1,at:1,r:1,tre:1
fortification at:18000
//++++++++++++++++++++++++++++++++++++
//++++++++++end fortifications+++++++
//++++++++++++++++++++++++++++++++++++