From NEAT Portal Wiki
Jump to: navigation, search
(Ifgosub)
Line 58: Line 58:
 
gosubreturn  
 
gosubreturn  
 
</pre></blockquote>
 
</pre></blockquote>
 +
 +
==Variables==
 +
 +
<br>
 +
 +
Please leave Updates/Comments/etc at:
 +
https://docs.google.com/spreadsheet/ccc?key=0AmZxBXW9lbSwdHJEbVA0bnoxbXZ5QXV4eDdUMUpyQVE
 +
 +
<br>
 +
 +
{| class="wikitable"
 +
! Print:
 +
! Command:
 +
! Result:
 +
|-
 +
! || ||
 +
|-
 +
! || ||
 +
|-
 +
! Enemy ||  ||
 +
|-
 +
| 1: print x –hasEnemyArmies-------  m_city.cityManager.hasEnemyArmies || cityManager.hasEnemyArmies || x –hasEnemyArmies------- true
 +
|-
 +
| 2: print x –NumberOfRealAttacks-------  m_city.cityManager.NumberOfRealAttacks; || cityManager.NumberOfRealAttacks; || x –NumberOfRealAttacks------- 1
 +
|-
 +
| 3: print x –EnemyArmies 0 reachTime-------  m_city.cityManager.enemyArmies[0].reachTime || cityManager.enemyArmies[0].reachTime || x –EnemyArmies 0 reachTime------- 1339601940098
 +
|-
 +
| 4: print x –enemyArmies 0 armyId-------m_city.cityManager.enemyArmies[0].armyId || cityManager.enemyArmies[0].armyId || x –enemyArmies 0 -------armyId  123456789
 +
|-
 +
| 5: print x –enemyArmies 0 missionType-------m_city.cityManager.enemyArmies[0].missionType || cityManager.enemyArmies[0].missionType || x –enemyArmies 0 -------missionType  5
 +
|-
 +
| 6: print x –enemyArmies 0 king-------m_city.cityManager.enemyArmies[0].king || cityManager.enemyArmies[0].king || x –enemyArmies 0 -------king  Attacker Name
 +
|-
 +
| 7: print x –enemyArmies 0 resource.iron-------m_city.cityManager.enemyArmies[0].resource.iron || cityManager.enemyArmies[0].resource.iron || x –enemyArmies 0 -------resource.iron  0
 +
|-
 +
| 8: print x –enemyArmies 0 startFieldId-------m_city.cityManager.enemyArmies[0].startFieldId || cityManager.enemyArmies[0].startFieldId || x –enemyArmies 0 -------startFieldId  666999
 +
|-
 +
| 9: print x –enemyArmies 0 targetPosName-------m_city.cityManager.enemyArmies[0].targetPosName || cityManager.enemyArmies[0].targetPosName || x –enemyArmies 0 -------targetPosName  MYCITY
 +
|-
 +
| 10: print x –enemyArmies 0 direction-------m_city.cityManager.enemyArmies[0].direction || cityManager.enemyArmies[0].direction || x –enemyArmies 0 -------direction  1
 +
|-
 +
| 11: print x –enemyArmies 0 restTime-------m_city.cityManager.enemyArmies[0].restTime || cityManager.enemyArmies[0].restTime || x –enemyArmies 0 -------restTime  0
 +
|-
 +
| 12: print x –enemyArmies 0 startTime-------m_city.cityManager.enemyArmies[0].startTime || cityManager.enemyArmies[0].startTime || x –enemyArmies 0 -------startTime  1339652736137
 +
|-
 +
| 13: print x –enemyArmies 0 .startPosName------- m_city.cityManager.enemyArmies[0].startPosName || cityManager.enemyArmies[0].startPosName || x –enemyArmies 0 -------.startPosName  ATTACKING CITY
 +
|-
 +
| 14: print x –enemyArmies 0 .heroLevel------- m_city.cityManager.enemyArmies[0].heroLevel || cityManager.enemyArmies[0].heroLevel || x –enemyArmies 0 -------.heroLevel  184
 +
|-
 +
| 15: print x –enemyArmies 0 .reachTime------- m_city.cityManager.enemyArmies[0].reachTime || cityManager.enemyArmies[0].reachTime || x –enemyArmies 0 -------.reachTime  1339656323138
 +
|-
 +
| 16: print x –enemyArmies 0 .hero------- m_city.cityManager.enemyArmies[0].hero || cityManager.enemyArmies[0].hero || x –enemyArmies 0 -------.hero  HeroName
 +
|-
 +
| 17: print x –enemyArmies 0 .targetFieldId------- m_city.cityManager.enemyArmies[0].targetFieldId || cityManager.enemyArmies[0].targetFieldId || x –enemyArmies 0 -------.targetFieldId  999444
 +
|-
 +
| 18: print x –enemyArmies 0 .alliance------- m_city.cityManager.enemyArmies[0].alliance || cityManager.enemyArmies[0].alliance || x –enemyArmies 0 -------.alliance  ATTACKING ALLIANCE
 +
|-
 +
| 19: print x –enemyArmies 0 troop peasant-------  m_city.cityManager.enemyArmies[0].troop.peasants || cityManager.enemyArmies[0].troop.peasants || x –enemyArmies 0 troop peasant------- 1
 +
|-
 +
| 20: print x –enemyArmies 0 troop militia-------  m_city.cityManager.enemyArmies[0].troop.militia || cityManager.enemyArmies[0].troop.militia || x –enemyArmies 0 troop militia------- 2
 +
|-
 +
| 21: print x –enemyArmies 0 troop scouter-------  m_city.cityManager.enemyArmies[0].troop.scouter || cityManager.enemyArmies[0].troop.scouter || x –enemyArmies 0 troop scouter------- 3
 +
|-
 +
| 22: print x –enemyArmies 0 troop pikemen-------  m_city.cityManager.enemyArmies[0].troop.pikemen || cityManager.enemyArmies[0].troop.pikemen || x –enemyArmies 0 troop pikemen------- 4
 +
|-
 +
| 23: print x –enemyArmies 0 troop swordsmen-------  m_city.cityManager.enemyArmies[0].troop.swordsmen || cityManager.enemyArmies[0].troop.swordsmen || x –enemyArmies 0 troop swordsmen------- 5
 +
|-
 +
| 24: print x –enemyArmies 0 troop archer-------  m_city.cityManager.enemyArmies[0].troop.archer || cityManager.enemyArmies[0].troop.archer || x –enemyArmies 0 troop archer------- 6
 +
|-
 +
| 25: print x –enemyArmies 0 troop lightCavalry-------  m_city.cityManager.enemyArmies[0].troop.lightCavalry || cityManager.enemyArmies[0].troop.lightCavalry || x –enemyArmies 0 troop lightCavalry------- 7
 +
|-
 +
| 26: print x –enemyArmies 0 troop heavyCavalry-------  m_city.cityManager.enemyArmies[0].troop.heavyCavalry || cityManager.enemyArmies[0].troop.heavyCavalry || x –enemyArmies 0 troop heavyCavalry------- 8
 +
|-
 +
| 27: print x –enemyArmies 0 troop carriage-------  m_city.cityManager.enemyArmies[0].troop.carriage || cityManager.enemyArmies[0].troop.carriage || x –enemyArmies 0 troop carriage------- 9
 +
|-
 +
| 28: print x –EnemyArmies 0 troop ballista-------  m_city.cityManager.enemyArmies[0].troop.ballista || cityManager.enemyArmies[0].troop.ballista || x –EnemyArmies 0 troop ballista------- 10
 +
|-
 +
| 29: print x –EnemyArmies troop batteringRam-------  m_city.cityManager.enemyArmies[0].troop.batteringRam || cityManager.enemyArmies[0].troop.batteringRam || x –EnemyArmies troop batteringRam------- 11
 +
|-
 +
| 30: print x –EnemyArmies troop catapult-------  m_city.cityManager.enemyArmies[0].troop.catapult || cityManager.enemyArmies[0].troop.catapult || x –EnemyArmies troop catapult------- 12
 +
|-
 +
! Resource ||  ||
 +
|-
 +
| 31: print x resource taxRate: ( m_city.cityManager.resource.texRate ) || cityManager.resource.texRate ) || x resource taxRate: ( 0 )
 +
|-
 +
| 32: print x resource buildPeople: ( m_city.cityManager.resource.buildPeople ) || cityManager.resource.buildPeople ) || x resource buildPeople: ( 0 )
 +
|-
 +
| 33: print x resource complaint: ( m_city.cityManager.resource.complaint ) || cityManager.resource.complaint ) || x resource complaint: ( 0 )
 +
|-
 +
| 34: print x resource curPopulation: ( m_city.cityManager.resource.curPopulation ) || cityManager.resource.curPopulation ) || x resource curPopulation: ( 59403 )
 +
|-
 +
| 35: print x resource food workPeople: ( m_city.cityManager.resource.food.workPeople ) || cityManager.resource.food.workPeople ) || x resource food workPeople: ( 0 )
 +
|-
 +
| 36: print x resource iron workPeople: ( m_city.cityManager.resource.iron.workPeople ) || cityManager.resource.iron.workPeople ) || x resource iron workPeople: ( 55000 )
 +
|-
 +
| 37: print x resource stone workPeople: ( m_city.cityManager.resource.stone.workPeople ) || cityManager.resource.stone.workPeople ) || x resource stone workPeople: ( 0 )
 +
|-
 +
| 38: print x resource wood workPeople: ( m_city.cityManager.resource.wood.workPeople ) || cityManager.resource.wood.workPeople ) || x resource wood workPeople: ( 0 )
 +
|-
 +
| 39: print x resource maxPopulation: ( m_city.cityManager.resource.maxPopulation ) || cityManager.resource.maxPopulation ) || x resource maxPopulation: ( 88050 )
 +
|-
 +
| 40: print x resource workPeople: ( m_city.cityManager.resource.workPeople ) || cityManager.resource.workPeople ) || x resource workPeople: ( 55000 )
 +
|-
 +
| 41: print x resource support: ( m_city.cityManager.resource.support ) || cityManager.resource.support ) || x resource support: ( 100 )
 +
|-
 +
| 42: print x resource food: ( m_city.cityManager.resource.food ) || cityManager.resource.food ) || x resource food: ( [object ResourceInfoBean] )
 +
|-
 +
| 43: print x resource food amount: ( m_city.cityManager.resource.food.amount ) || cityManager.resource.food.amount ) || x resource food amount: ( 9010339412.147774 )
 +
|-
 +
| 44: print x resource food increaseRate: ( m_city.cityManager.resource.food.increaseRate ) || cityManager.resource.food.increaseRate ) || x resource food increaseRate: ( 100 )
 +
|-
 +
| 45: print x resource food max: ( m_city.cityManager.resource.food.max ) || cityManager.resource.food.max ) || x resource food max: ( 10000 )
 +
|-
 +
| 46: print x resource food storeRercent: ( m_city.cityManager.resource.food.storeRercent ) || cityManager.resource.food.storeRercent ) || x resource food storeRercent: ( 25 )
 +
|-
 +
| 47: print x resource troopCostFood: ( m_city.cityManager.resource.troopCostFood ) || cityManager.resource.troopCostFood ) || x resource troopCostFood: ( 24947329 )
 +
|-
 +
| 48: print x resource gold: ( m_city.cityManager.resource.gold ) || cityManager.resource.gold ) || x resource gold: ( 13010284.542285107 )
 +
|-
 +
| 49: print x resource taxIncome: ( m_city.cityManager.resource.taxIncome ) || cityManager.resource.taxIncome ) || x resource taxIncome: ( 0 )
 +
|-
 +
| 50: print x resource iron: ( m_city.cityManager.resource.iron ) || cityManager.resource.iron ) || x resource iron: ( [object ResourceInfoBean] )
 +
|-
 +
| 51: print x resource iron amount: ( m_city.cityManager.resource.iron.amount ) || cityManager.resource.iron.amount ) || x resource iron amount: ( 33524610.48211115 )
 +
|-
 +
| 52: print x resource iron increaseRate: ( m_city.cityManager.resource.iron.increaseRate ) || cityManager.resource.iron.increaseRate ) || x resource iron increaseRate: ( 1520300 )
 +
|-
 +
| 53: print x resource iron max: ( m_city.cityManager.resource.iron.max ) || cityManager.resource.iron.max ) || x resource iron max: ( 41810000 )
 +
|-
 +
| 54: print x resource iron storeRercent: ( m_city.cityManager.resource.iron.storeRercent ) || cityManager.resource.iron.storeRercent ) || x resource iron storeRercent: ( 25 )
 +
|-
 +
| 55: print x resource stone: ( m_city.cityManager.resource.stone ) || cityManager.resource.stone ) || x resource stone: ( [object ResourceInfoBean] )
 +
|-
 +
| 56: print x resource stone amount: ( m_city.cityManager.resource.stone.amount ) || cityManager.resource.stone.amount ) || x resource stone amount: ( 401204320.435019 )
 +
|-
 +
| 57: print x resource stone increaseRate: ( m_city.cityManager.resource.stone.increaseRate ) || cityManager.resource.stone.increaseRate ) || x resource stone increaseRate: ( 100 )
 +
|-
 +
| 58: print x resource stone max: ( m_city.cityManager.resource.stone.max ) || cityManager.resource.stone.max ) || x resource stone max: ( 10000 )
 +
|-
 +
| 59: print x resource stone storeRercent: ( m_city.cityManager.resource.stone.storeRercent ) || cityManager.resource.stone.storeRercent ) || x resource stone storeRercent: ( 25 )
 +
|-
 +
| 60: print x resource wood: ( m_city.cityManager.resource.wood ) || cityManager.resource.wood ) || x resource wood: ( [object ResourceInfoBean] )
 +
|-
 +
| 61: print x resource wood amount: ( m_city.cityManager.resource.wood.amount ) || cityManager.resource.wood.amount ) || x resource wood amount: ( 31639019.953666195 )
 +
|-
 +
| 62: print x resource wood increaseRate: ( m_city.cityManager.resource.wood.increaseRate ) || cityManager.resource.wood.increaseRate ) || x resource wood increaseRate: ( 100 )
 +
|-
 +
| 63: print x resource wood max: ( m_city.cityManager.resource.wood.max ) || cityManager.resource.wood.max ) || x resource wood max: ( 10000 )
 +
|-
 +
| 64: print x resource wood storeRercent: ( m_city.cityManager.resource.wood.storeRercent ) || cityManager.resource.wood.storeRercent ) || x resource wood storeRercent: ( 25 )
 +
|-
 +
! Fields ||  ||
 +
|-
 +
| 65: print x fields[0] id: ( m_city.cityManager.fields[0].id ) || cityManager.fields[0].id ) || x fields[0] id: ( 529854 )
 +
|-
 +
| 66: print x fields[0] level: ( m_city.cityManager.fields[0].level ) || cityManager.fields[0].level ) || x fields[0] level: ( 10 )
 +
|-
 +
| 67: print x fields[0] name: ( m_city.cityManager.fields[0].name ) || cityManager.fields[0].name ) || x fields[0] name: ( Hill )
 +
|-
 +
| 68: print x fields[0] type: ( m_city.cityManager.fields[0].type ) || cityManager.fields[0].type ) || x fields[0] type: ( 3 )
 +
|-
 +
| 69: print x fields[1] id: ( m_city.cityManager.fields[1].id ) || cityManager.fields[1].id ) || x fields[1] id: ( 538657 )
 +
|-
 +
| 70: print x fields[1] level: ( m_city.cityManager.fields[1].level ) || cityManager.fields[1].level ) || x fields[1] level: ( 10 )
 +
|-
 +
| 71: print x fields[1] name: ( m_city.cityManager.fields[1].name ) || cityManager.fields[1].name ) || x fields[1] name: ( Hill )
 +
|-
 +
| 72: print x fields[1] type: ( m_city.cityManager.fields[1].type ) || cityManager.fields[1].type ) || x fields[1] type: ( 3 )
 +
|-
 +
| 73: print x –fields-------  m_city.cityManager.fields || cityManager.fields || x –fields------- [object FieldBean],[object FieldBean],[object FieldBean],[object FieldBean],[object
 +
|-
 +
| 74: print x –fields length-------  m_city.cityManager.fields.length || cityManager.fields.length || x –fields length------- 10
 +
|-
 +
| 75: print x –fields 9 type-------  m_city.cityManager.fields[9].type || cityManager.fields[9].type || x –fields 9 type------- 3
 +
|-
 +
! Hero ||  ||
 +
|-
 +
| 76: print x AnyIdleHero(any): ( m_city.AnyIdleHero(any) ) || AnyIdleHero(any) ) || x AnyIdleHero(any): ( true )
 +
|-
 +
| 77: print x AnyIdleHero(Queen): ( m_city.AnyIdleHero(Queen) ) || AnyIdleHero(Queen) ) || x AnyIdleHero(Queen): ( false )
 +
|-
 +
| 78: print x IsHeroInCastle(Queen): ( m_city.IsHeroInCastle(Queen) ) || IsHeroInCastle(Queen) ) || x IsHeroInCastle(Queen): ( true )
 +
|-
 +
| 79: print x heros[0] logoUrl: ( m_city.cityManager.heroes[0].logoUrl ) || cityManager.heroes[0].logoUrl ) || x heros[0] logoUrl: ( images/icon/player/faceB7.jpg )
 +
|-
 +
| 80: print x heros[0] id: ( m_city.cityManager.heroes[0].id ) || cityManager.heroes[0].id ) || x heros[0] id: ( 99107 )
 +
|-
 +
| 81: print x heros[0] name: ( m_city.cityManager.heroes[0].name ) || cityManager.heroes[0].name ) || x heros[0] name: ( ATT5 )
 +
|-
 +
| 82: print x heros[0] level: ( m_city.cityManager.heroes[0].level ) || cityManager.heroes[0].level ) || x heros[0] level: ( 487 )
 +
|-
 +
| 83: print x heros[0] experience: ( m_city.cityManager.heroes[0].experience ) || cityManager.heroes[0].experience ) || x heros[0] experience: ( 17151131 )
 +
|-
 +
| 84: print x heros[0] loyalty: ( m_city.cityManager.heroes[0].loyalty ) || cityManager.heroes[0].loyalty ) || x heros[0] loyalty: ( 100 )
 +
|-
 +
| 85: print x heros[0] power: ( m_city.cityManager.heroes[0].power ) || cityManager.heroes[0].power ) || x heros[0] power: ( 551 )
 +
|-
 +
| 86: print x heros[0] stratagem: ( m_city.cityManager.heroes[0].stratagem ) || cityManager.heroes[0].stratagem ) || x heros[0] stratagem: ( 44 )
 +
|-
 +
| 87: print x heros[0] management: ( m_city.cityManager.heroes[0].management ) || cityManager.heroes[0].management ) || x heros[0] management: ( 41 )
 +
|-
 +
| 88: print x heros[0] itemId: ( m_city.cityManager.heroes[0].itemId ) || cityManager.heroes[0].itemId ) || x heros[0] itemId: ( hero.loyalty.9 )
 +
|-
 +
| 89: print x heros[0] itemAmount: ( m_city.cityManager.heroes[0].itemAmount ) || cityManager.heroes[0].itemAmount ) || x heros[0] itemAmount: ( 44 )
 +
|-
 +
| 90: print x heros[0] managementAdded: ( m_city.cityManager.heroes[0].managementAdded ) || cityManager.heroes[0].managementAdded ) || x heros[0] managementAdded: ( 0 )
 +
|-
 +
| 91: print x heros[0] managementBuffAdded: ( m_city.cityManager.heroes[0].managementBuffAdded ) || cityManager.heroes[0].managementBuffAdded ) || x heros[0] managementBuffAdded: ( 0 )
 +
|-
 +
| 92: print x heros[0] powerAdded: ( m_city.cityManager.heroes[0].powerAdded ) || cityManager.heroes[0].powerAdded ) || x heros[0] powerAdded: ( 0 )
 +
|-
 +
| 93: print x heros[0] powerBuffAdded: ( m_city.cityManager.heroes[0].powerBuffAdded ) || cityManager.heroes[0].powerBuffAdded ) || x heros[0] powerBuffAdded: ( 0 )
 +
|-
 +
| 94: print x heros[0] stratagemAdded: ( m_city.cityManager.heroes[0].stratagemAdded ) || cityManager.heroes[0].stratagemAdded ) || x heros[0] stratagemAdded: ( 0 )
 +
|-
 +
| 95: print x heros[0] stratagemBuffAdded: ( m_city.cityManager.heroes[0].stratagemBuffAdded ) || cityManager.heroes[0].stratagemBuffAdded ) || x heros[0] stratagemBuffAdded: ( 0 )
 +
|-
 +
| 96: print x heros[0] upgradeExp: ( m_city.cityManager.heroes[0].upgradeExp ) || cityManager.heroes[0].upgradeExp ) || x heros[0] upgradeExp: ( 23716900 )
 +
|-
 +
| 97: print x heros[0] remainPoint: ( m_city.cityManager.heroes[0].remainPoint ) || cityManager.heroes[0].remainPoint ) || x heros[0] remainPoint: ( 0 )
 +
|-
 +
| 98: print x heros[1] logoUrl: ( m_city.cityManager.heroes[1].logoUrl ) || cityManager.heroes[1].logoUrl ) || x heros[1] logoUrl: ( images/icon/player/faceA3.jpg )
 +
|-
 +
| 99: print x heros[1] id: ( m_city.cityManager.heroes[1].id ) || cityManager.heroes[1].id ) || x heros[1] id: ( 99592 )
 +
|-
 +
| 100: print x heros[1] name: ( m_city.cityManager.heroes[1].name ) || cityManager.heroes[1].name ) || x heros[1] name: ( ATT5 )
 +
|-
 +
| 101: print x heros[1] level: ( m_city.cityManager.heroes[1].level ) || cityManager.heroes[1].level ) || x heros[1] level: ( 406 )
 +
|-
 +
| 102: print x heros[1] experience: ( m_city.cityManager.heroes[1].experience ) || cityManager.heroes[1].experience ) || x heros[1] experience: ( 1263220 )
 +
|-
 +
| 103: print x heros[1] loyalty: ( m_city.cityManager.heroes[1].loyalty ) || cityManager.heroes[1].loyalty ) || x heros[1] loyalty: ( 100 )
 +
|-
 +
| 104: print x heros[1] power: ( m_city.cityManager.heroes[1].power ) || cityManager.heroes[1].power ) || x heros[1] power: ( 472 )
 +
|-
 +
| 105: print x heros[1] stratagem: ( m_city.cityManager.heroes[1].stratagem ) || cityManager.heroes[1].stratagem ) || x heros[1] stratagem: ( 39 )
 +
|-
 +
| 106: print x heros[1] management: ( m_city.cityManager.heroes[1].management ) || cityManager.heroes[1].management ) || x heros[1] management: ( 20 )
 +
|-
 +
| 107: print x heros[1] itemId: ( m_city.cityManager.heroes[1].itemId ) || cityManager.heroes[1].itemId ) || x heros[1] itemId: ( hero.loyalty.9 )
 +
|-
 +
| 108: print x heros[1] itemAmount: ( m_city.cityManager.heroes[1].itemAmount ) || cityManager.heroes[1].itemAmount ) || x heros[1] itemAmount: ( 36 )
 +
|-
 +
| 109: print x heros[1] managementAdded: ( m_city.cityManager.heroes[1].managementAdded ) || cityManager.heroes[1].managementAdded ) || x heros[1] managementAdded: ( 0 )
 +
|-
 +
| 110: print x heros[1] managementBuffAdded: ( m_city.cityManager.heroes[1].managementBuffAdded ) || cityManager.heroes[1].managementBuffAdded ) || x heros[1] managementBuffAdded: ( 0 )
 +
|-
 +
| 111: print x heros[1] powerAdded: ( m_city.cityManager.heroes[1].powerAdded ) || cityManager.heroes[1].powerAdded ) || x heros[1] powerAdded: ( 0 )
 +
|-
 +
| 112: print x heros[1] powerBuffAdded: ( m_city.cityManager.heroes[1].powerBuffAdded ) || cityManager.heroes[1].powerBuffAdded ) || x heros[1] powerBuffAdded: ( 0 )
 +
|-
 +
| 113: print x heros[1] stratagemAdded: ( m_city.cityManager.heroes[1].stratagemAdded ) || cityManager.heroes[1].stratagemAdded ) || x heros[1] stratagemAdded: ( 0 )
 +
|-
 +
| 114: print x heros[1] stratagemBuffAdded: ( m_city.cityManager.heroes[1].stratagemBuffAdded ) || cityManager.heroes[1].stratagemBuffAdded ) || x heros[1] stratagemBuffAdded: ( 0 )
 +
|-
 +
| 115: print x heros[1] upgradeExp: ( m_city.cityManager.heroes[1].upgradeExp ) || cityManager.heroes[1].upgradeExp ) || x heros[1] upgradeExp: ( 16483600 )
 +
|-
 +
| 116: print x heros[1] remainPoint: ( m_city.cityManager.heroes[1].remainPoint ) || cityManager.heroes[1].remainPoint ) || x heros[1] remainPoint: ( 0 )
 +
|-
 +
| 117: print x –heroes length-------  m_city.cityManager.heroes.length || cityManager.heroes.length || x –heroes length------- 9
 +
|-
 +
| 118: print x –heroes status-------  m_city.cityManager.heroes[0].status || cityManager.heroes[0].status || x –heroes status------- 3
 +
|-
 +
! Troop ||  ||
 +
|-
 +
| 119: print x troop archer: ( m_city.cityManager.troop.archer ) || cityManager.troop.archer ) || x troop archer: ( 678333 )
 +
|-
 +
| 120: print x troop ballista: ( m_city.cityManager.troop.ballista ) || cityManager.troop.ballista ) || x troop ballista: ( 57000 )
 +
|-
 +
| 121: print x troop batteringRam: ( m_city.cityManager.troop.batteringRam ) || cityManager.troop.batteringRam ) || x troop batteringRam: ( 5000 )
 +
|-
 +
| 122: print x troop carriage: ( m_city.cityManager.troop.carriage ) || cityManager.troop.carriage ) || x troop carriage: ( 145750 )
 +
|-
 +
| 123: print x troop catapult: ( m_city.cityManager.troop.catapult ) || cityManager.troop.catapult ) || x troop catapult: ( 20000 )
 +
|-
 +
| 124: print x troop heavyCavalry: ( m_city.cityManager.troop.heavyCavalry ) || cityManager.troop.heavyCavalry ) || x troop heavyCavalry: ( 1020 )
 +
|-
 +
| 125: print x troop lightCavalry: ( m_city.cityManager.troop.lightCavalry ) || cityManager.troop.lightCavalry ) || x troop lightCavalry: ( 1455 )
 +
|-
 +
| 126: print x troop militia: ( m_city.cityManager.troop.militia ) || cityManager.troop.militia ) || x troop militia: ( 199860 )
 +
|-
 +
| 127: print x troop peasants: ( m_city.cityManager.troop.peasants ) || cityManager.troop.peasants ) || x troop peasants: ( 13762 )
 +
|-
 +
| 128: print x troop pikemen: ( m_city.cityManager.troop.pikemen ) || cityManager.troop.pikemen ) || x troop pikemen: ( 32713 )
 +
|-
 +
| 129: print x troop scouter: ( m_city.cityManager.troop.scouter ) || cityManager.troop.scouter ) || x troop scouter: ( 1614484 )
 +
|-
 +
| 130: print x troop swordsmen: ( m_city.cityManager.troop.swordsmen ) || cityManager.troop.swordsmen ) || x troop swordsmen: ( 11020 )
 +
|-
 +
| 131: print x –castle troop archer-------  m_city.cityManager.castle.troop.archer || cityManager.castle.troop.archer || x –castle troop archer------- 25500
 +
|-
 +
| Forts ||  ||
 +
|-
 +
| 132: print x fortification abatis: ( m_city.cityManager.fortification.abatis ) || cityManager.fortification.abatis ) || x fortification abatis: ( 7200 )
 +
|-
 +
| 133: print x fortification arrowTower: ( m_city.cityManager.fortification.arrowTower ) || cityManager.fortification.arrowTower ) || x fortification arrowTower: ( 12983 )
 +
|-
 +
| 134: print x fortification rockfall: ( m_city.cityManager.fortification.rockfall ) || cityManager.fortification.rockfall ) || x fortification rockfall: ( 100 )
 +
|-
 +
| 135: print x fortification rollingLogs: ( m_city.cityManager.fortification.rollingLogs ) || cityManager.fortification.rollingLogs ) || x fortification rollingLogs: ( 100 )
 +
|-
 +
| 136: print x fortification trap: ( m_city.cityManager.fortification.trap ) || cityManager.fortification.trap ) || x fortification trap: ( 750 )
 +
|-
 +
| Buildings ||  ||
 +
|-
 +
| 137: print x buildings[0]: ( m_city.cityManager.buildings[0] ) || cityManager.buildings[0] ) || x buildings[0]: ( [object BuildingBean] )
 +
|-
 +
| 138: print x buildings[0] endTime: ( m_city.cityManager.buildings[0].endTime ) || cityManager.buildings[0].endTime ) || x buildings[0] endTime: ( 0 )
 +
|-
 +
| 139: print x buildings[0] level: ( m_city.cityManager.buildings[0].level ) || cityManager.buildings[0].level ) || x buildings[0] level: ( 10 )
 +
|-
 +
| 140: print x buildings[0] name: ( m_city.cityManager.buildings[0].name ) || cityManager.buildings[0].name ) || x buildings[0] name: ( Ironmine )
 +
|-
 +
| 141: print x buildings[0] positionId: ( m_city.cityManager.buildings[0].positionId ) || cityManager.buildings[0].positionId ) || x buildings[0] positionId: ( 1040 )
 +
|-
 +
| 142: print x buildings[0] startTime: ( m_city.cityManager.buildings[0].startTime ) || cityManager.buildings[0].startTime ) || x buildings[0] startTime: ( 0 )
 +
|-
 +
| 143: print x buildings[0] status: ( m_city.cityManager.buildings[0].status ) || cityManager.buildings[0].status ) || x buildings[0] status: ( 0 )
 +
|-
 +
| 144: print x buildings[0] typeId: ( m_city.cityManager.buildings[0].typeId ) || cityManager.buildings[0].typeId ) || x buildings[0] typeId: ( 6 )
 +
|-
 +
| 145: print x buildings[1]: ( m_city.cityManager.buildings[1] ) || cityManager.buildings[1] ) || x buildings[1]: ( [object BuildingBean] )
 +
|-
 +
| 146: print x buildings[1] endTime: ( m_city.cityManager.buildings[1].endTime ) || cityManager.buildings[1].endTime ) || x buildings[1] endTime: ( 0 )
 +
|-
 +
| 147: print x buildings[1] level: ( m_city.cityManager.buildings[1].level ) || cityManager.buildings[1].level ) || x buildings[1] level: ( 10 )
 +
|-
 +
| 148: print x buildings[1] name: ( m_city.cityManager.buildings[1].name ) || cityManager.buildings[1].name ) || x buildings[1] name: ( Ironmine )
 +
|-
 +
| 149: print x buildings[1] positionId: ( m_city.cityManager.buildings[1].positionId ) || cityManager.buildings[1].positionId ) || x buildings[1] positionId: ( 1039 )
 +
|-
 +
| 150: print x buildings[1] startTime: ( m_city.cityManager.buildings[1].startTime ) || cityManager.buildings[1].startTime ) || x buildings[1] startTime: ( 0 )
 +
|-
 +
| 151: print x buildings[1] status: ( m_city.cityManager.buildings[1].status ) || cityManager.buildings[1].status ) || x buildings[1] status: ( 0 )
 +
|-
 +
| 152: print x buildings[1] typeId: ( m_city.cityManager.buildings[1].typeId ) || cityManager.buildings[1].typeId ) || x buildings[1] typeId: ( 6 )
 +
|-
 +
| 153: print x –Buildings 73 level-------  m_city.cityManager.buildings[73].level || cityManager.buildings[73].level || x –Buildings 73 level------- 10
 +
|-
 +
| Market ||  ||
 +
|-
 +
| 154: print x –buyPrice-------  m_city.cityManager.buyPrice() || cityManager.buyPrice() || x –buyPrice------- 4.51
 +
|-
 +
| 155: print x –buyPrice-------  m_city.cityManager.buyPrice(1) || cityManager.buyPrice(1) || x –buyPrice------- 37.44
 +
|-
 +
| 156: print x –buyPrice 2-------  m_city.cityManager.buyPrice(2) || cityManager.buyPrice(2) || x –buyPrice 2------- 2.362
 +
|-
 +
| 157: print x –buyPrice 3-------  m_city.cityManager.buyPrice(3) || cityManager.buyPrice(3) || x –buyPrice 3------- 21.18
 +
|-
 +
| 158: print x –sellPrice food-------  m_city.cityManager.sellPrice(food) || cityManager.sellPrice(food) || x –sellPrice food------- 4.5
 +
|-
 +
| 159: print x –tradesArray length-------  m_city.cityManager.tradesArray.length || cityManager.tradesArray.length || x –tradesArray length------- 7
 +
|-
 +
| 160: print x –tradesArray 0 amount-------  m_city.cityManager.tradesArray[0].amount || cityManager.tradesArray[0].amount || x –tradesArray 0 amount------- 10
 +
|-
 +
| 161: print x –tradesArray 1 amount-------  m_city.cityManager.tradesArray[1].amount || cityManager.tradesArray[1].amount || x –tradesArray 1 amount------- 10
 +
|-
 +
| 162: print x –tradesArray 2 amount-------  m_city.cityManager.tradesArray[2].amount || cityManager.tradesArray[2].amount || x –tradesArray 2 amount------- 10
 +
|-
 +
| 163: print x –tradesArray 6 amount-------  m_city.cityManager.tradesArray[6].amount || cityManager.tradesArray[6].amount || x –tradesArray 6 amount------- 10
 +
|-
 +
| print m_city.cityManager.tradesArray[0].resType || cityManager.tradesArray[0].resTyp || Error #1069 or if U have trades - 0 = food 2= Iron Etc
 +
|-
 +
| print m_city.cityManager.tradesArray[0].tradeType || cityManager.tradesArray[0].tradeTyp || Error #1069 or if U have trades - 0 = Buy 1 = sell
 +
|-
 +
| Armys ||  ||
 +
|-
 +
| 164: print x –selfArmies length-------  m_city.cityManager.selfArmies.length || cityManager.selfArmies.length || x –selfArmies length------- 7
 +
|-
 +
| ???? ||  ||
 +
|-
 +
| General ||  ||
 +
|-
 +
| 165: print x id: ( m_city.cityManager.id ) || cityManager.id ) || x id: ( 306600 )
 +
|-
 +
| 166: print x name: ( m_city.cityManager.name ) || cityManager.name ) || x name: ( Iris )
 +
|-
 +
| 167: print x –heros Queen  stratagem-------  m_city.cityManager.heros(Queen).stratagem || cityManager.heros(Queen).stratagem || Invalid Reference: m_city.cityManager.heros(Queen).stratagem
 +
|-
 +
| Errors ||  ||
 +
|-
 +
| 168: print x hasEnemy: ( m_city.hasEnemy.status ) || hasEnemy.status ) || Error #1069
 +
|-
 +
| 169: print x resource gold amount: ( m_city.cityManager.resource.gold.amount ) || cityManager.resource.gold.amount ) || Error #1069
 +
|-
 +
| 170: print x resource gold increaseRate: ( m_city.cityManager.resource.gold.increaseRate ) || cityManager.resource.gold.increaseRate ) || Error #1069
 +
|-
 +
| 171: print x resource gold max: ( m_city.cityManager.resource.gold.max ) || cityManager.resource.gold.max ) || Error #1069
 +
|-
 +
| 172: print x resource heroSalary: ( m_city.cityManager.resource.heroSalary ) || cityManager.resource.heroSalary ) || Error #1069
 +
|-
 +
| 173: print x –Population-------  m_city.cityManager.Population || cityManager.Population || Error #1069
 +
|-
 +
| 174: print x –resource gold.amount-------  m_city.cityManager.resource.gold.amount || cityManager.resource.gold.amount || Error #1069
 +
|-
 +
| 175: print x fields[0] status: ( m_city.cityManager.fields[0].status ) || cityManager.fields[0].status ) || Error #1069
 +
|-
 +
| 176: print x fields[1] status: ( m_city.cityManager.fields[1].status ) || cityManager.fields[1].status ) || Error #1069
 +
|-
 +
| 177: print x fields[2] status: ( m_city.cityManager.fields[2].status ) || cityManager.fields[2].status ) || Error #1069
 +
|-
 +
| 178: print x heros[1] staus: ( m_city.cityManager.heroes[1].staus ) || cityManager.heroes[1].staus ) || Error #1069
 +
|-
 +
| 179: print x –herosArray number-------  m_city.cityManager.herosArray.number || cityManager.herosArray.number || Error #1069
 +
|-
 +
| 180: print x –buildings.IronMine.amount-------  m_city.cityManager.buildings.IronMine.amount || cityManager.buildings.IronMine.amount || Error #1069
 +
|-
 +
| 181: print x –Buildings queuestaus-------  m_city.cityManager.buildings[#].queuestaus || cityManager.buildings[#].queuestaus || Error #1069
 +
|-
 +
| 182: print x –market-------  m_city.cityManager.market || cityManager.market || Error #1069
 +
|-
 +
| 183: print x –Trade Buy-------  m_city.cityManager.Trade.Buy || cityManager.Trade.Buy || Error #1069
 +
|-
 +
| 184: print x –tradesaray resourse-------  m_city.cityManager.tradesaray.resourse || cityManager.tradesaray.resourse || Error #1069
 +
|-
 +
| 185: print x goOutForBattle: ( m_city.goOutForBattle ) || goOutForBattle || Error #1069
 +
|-
 +
| 186: print x logUrl: ( m_city.logUrl ) || logUrl || Error #1069
 +
|-
 +
| 187: print x allowAlliance: ( m_city.allowAlliance ) || allowAlliance || Error #1069
 +
|-
 +
| 188: print x status: ( m_city.status ) || status || Error #1069
 +
|-
 +
| 189: print x –checks-------  m_city.cityManager.checks || cityManager.check || Error #1069
 +
|-
 +
| 190: print x –references-------  m_city.cityManager.references || cityManager.reference || Error #1069
 +
|}

Revision as of 18:11, 20 June 2012






There is a great deal of info the bot is able to make available for the advanced scripter, via the ifgoto and ifgosub scripts. The complete list of variables usable is a work in progress, and a debt of gratitude goes to several YAEB users for testing and finding them. Special thanks to Dismayed for compiling it all into a list.

Ifgoto

Usage: ifgoto ( reference {operator} value ) label
Example: ifgoto ( m_city.cityManager.resource.wood.amount > 150000 )

See ifgosub

Ifgosub

Usage: ifgosub ( reference {operator} value ) label
Example: ifgosub ( m_city.cityManager.resource.wood.amount > 150000 )

Conditional Statements enable checking of resources,troops,population,…etc.

Conditional Statements add a whole new dimension to Y.A.E.B. scripts allowing more human-like interaction & less "insuffient resource" statements.

Variables for use in ifgoto & ifgosub statements can be found below.

ifgosub ( m_city.cityManager.resource.stone.amount > 250000 ) CheckATT
ifgosub ( m_city.cityManager.resource.iron.amount > 150000 ) CheckTrain
sleep rnd:3000
loop 0
//
label CheckTrain
ifgosub ( m_city.cityManager.resource.wood.amount > 150000 ) TrainTroops
gosubreturn 
//
label CheckATT
ifgosub ( m_city.cityManager.resource.wood.amount > 250000 ) UpATT
gosubreturn
//
label TrainTroops
train arch:250 Bubba
repeat 4
gosubreturn
//
label UpATT
walldefense archertowers 250
gosubreturn 

Variables


Please leave Updates/Comments/etc at: https://docs.google.com/spreadsheet/ccc?key=0AmZxBXW9lbSwdHJEbVA0bnoxbXZ5QXV4eDdUMUpyQVE


Print: Command: Result:
Enemy
1: print x –hasEnemyArmies------- m_city.cityManager.hasEnemyArmies cityManager.hasEnemyArmies x –hasEnemyArmies------- true
2: print x –NumberOfRealAttacks------- m_city.cityManager.NumberOfRealAttacks; cityManager.NumberOfRealAttacks; x –NumberOfRealAttacks------- 1
3: print x –EnemyArmies 0 reachTime------- m_city.cityManager.enemyArmies[0].reachTime cityManager.enemyArmies[0].reachTime x –EnemyArmies 0 reachTime------- 1339601940098
4: print x –enemyArmies 0 armyId-------m_city.cityManager.enemyArmies[0].armyId cityManager.enemyArmies[0].armyId x –enemyArmies 0 -------armyId 123456789
5: print x –enemyArmies 0 missionType-------m_city.cityManager.enemyArmies[0].missionType cityManager.enemyArmies[0].missionType x –enemyArmies 0 -------missionType 5
6: print x –enemyArmies 0 king-------m_city.cityManager.enemyArmies[0].king cityManager.enemyArmies[0].king x –enemyArmies 0 -------king Attacker Name
7: print x –enemyArmies 0 resource.iron-------m_city.cityManager.enemyArmies[0].resource.iron cityManager.enemyArmies[0].resource.iron x –enemyArmies 0 -------resource.iron 0
8: print x –enemyArmies 0 startFieldId-------m_city.cityManager.enemyArmies[0].startFieldId cityManager.enemyArmies[0].startFieldId x –enemyArmies 0 -------startFieldId 666999
9: print x –enemyArmies 0 targetPosName-------m_city.cityManager.enemyArmies[0].targetPosName cityManager.enemyArmies[0].targetPosName x –enemyArmies 0 -------targetPosName MYCITY
10: print x –enemyArmies 0 direction-------m_city.cityManager.enemyArmies[0].direction cityManager.enemyArmies[0].direction x –enemyArmies 0 -------direction 1
11: print x –enemyArmies 0 restTime-------m_city.cityManager.enemyArmies[0].restTime cityManager.enemyArmies[0].restTime x –enemyArmies 0 -------restTime 0
12: print x –enemyArmies 0 startTime-------m_city.cityManager.enemyArmies[0].startTime cityManager.enemyArmies[0].startTime x –enemyArmies 0 -------startTime 1339652736137
13: print x –enemyArmies 0 .startPosName------- m_city.cityManager.enemyArmies[0].startPosName cityManager.enemyArmies[0].startPosName x –enemyArmies 0 -------.startPosName ATTACKING CITY
14: print x –enemyArmies 0 .heroLevel------- m_city.cityManager.enemyArmies[0].heroLevel cityManager.enemyArmies[0].heroLevel x –enemyArmies 0 -------.heroLevel 184
15: print x –enemyArmies 0 .reachTime------- m_city.cityManager.enemyArmies[0].reachTime cityManager.enemyArmies[0].reachTime x –enemyArmies 0 -------.reachTime 1339656323138
16: print x –enemyArmies 0 .hero------- m_city.cityManager.enemyArmies[0].hero cityManager.enemyArmies[0].hero x –enemyArmies 0 -------.hero HeroName
17: print x –enemyArmies 0 .targetFieldId------- m_city.cityManager.enemyArmies[0].targetFieldId cityManager.enemyArmies[0].targetFieldId x –enemyArmies 0 -------.targetFieldId 999444
18: print x –enemyArmies 0 .alliance------- m_city.cityManager.enemyArmies[0].alliance cityManager.enemyArmies[0].alliance x –enemyArmies 0 -------.alliance ATTACKING ALLIANCE
19: print x –enemyArmies 0 troop peasant------- m_city.cityManager.enemyArmies[0].troop.peasants cityManager.enemyArmies[0].troop.peasants x –enemyArmies 0 troop peasant------- 1
20: print x –enemyArmies 0 troop militia------- m_city.cityManager.enemyArmies[0].troop.militia cityManager.enemyArmies[0].troop.militia x –enemyArmies 0 troop militia------- 2
21: print x –enemyArmies 0 troop scouter------- m_city.cityManager.enemyArmies[0].troop.scouter cityManager.enemyArmies[0].troop.scouter x –enemyArmies 0 troop scouter------- 3
22: print x –enemyArmies 0 troop pikemen------- m_city.cityManager.enemyArmies[0].troop.pikemen cityManager.enemyArmies[0].troop.pikemen x –enemyArmies 0 troop pikemen------- 4
23: print x –enemyArmies 0 troop swordsmen------- m_city.cityManager.enemyArmies[0].troop.swordsmen cityManager.enemyArmies[0].troop.swordsmen x –enemyArmies 0 troop swordsmen------- 5
24: print x –enemyArmies 0 troop archer------- m_city.cityManager.enemyArmies[0].troop.archer cityManager.enemyArmies[0].troop.archer x –enemyArmies 0 troop archer------- 6
25: print x –enemyArmies 0 troop lightCavalry------- m_city.cityManager.enemyArmies[0].troop.lightCavalry cityManager.enemyArmies[0].troop.lightCavalry x –enemyArmies 0 troop lightCavalry------- 7
26: print x –enemyArmies 0 troop heavyCavalry------- m_city.cityManager.enemyArmies[0].troop.heavyCavalry cityManager.enemyArmies[0].troop.heavyCavalry x –enemyArmies 0 troop heavyCavalry------- 8
27: print x –enemyArmies 0 troop carriage------- m_city.cityManager.enemyArmies[0].troop.carriage cityManager.enemyArmies[0].troop.carriage x –enemyArmies 0 troop carriage------- 9
28: print x –EnemyArmies 0 troop ballista------- m_city.cityManager.enemyArmies[0].troop.ballista cityManager.enemyArmies[0].troop.ballista x –EnemyArmies 0 troop ballista------- 10
29: print x –EnemyArmies troop batteringRam------- m_city.cityManager.enemyArmies[0].troop.batteringRam cityManager.enemyArmies[0].troop.batteringRam x –EnemyArmies troop batteringRam------- 11
30: print x –EnemyArmies troop catapult------- m_city.cityManager.enemyArmies[0].troop.catapult cityManager.enemyArmies[0].troop.catapult x –EnemyArmies troop catapult------- 12
Resource
31: print x resource taxRate: ( m_city.cityManager.resource.texRate ) cityManager.resource.texRate ) x resource taxRate: ( 0 )
32: print x resource buildPeople: ( m_city.cityManager.resource.buildPeople ) cityManager.resource.buildPeople ) x resource buildPeople: ( 0 )
33: print x resource complaint: ( m_city.cityManager.resource.complaint ) cityManager.resource.complaint ) x resource complaint: ( 0 )
34: print x resource curPopulation: ( m_city.cityManager.resource.curPopulation ) cityManager.resource.curPopulation ) x resource curPopulation: ( 59403 )
35: print x resource food workPeople: ( m_city.cityManager.resource.food.workPeople ) cityManager.resource.food.workPeople ) x resource food workPeople: ( 0 )
36: print x resource iron workPeople: ( m_city.cityManager.resource.iron.workPeople ) cityManager.resource.iron.workPeople ) x resource iron workPeople: ( 55000 )
37: print x resource stone workPeople: ( m_city.cityManager.resource.stone.workPeople ) cityManager.resource.stone.workPeople ) x resource stone workPeople: ( 0 )
38: print x resource wood workPeople: ( m_city.cityManager.resource.wood.workPeople ) cityManager.resource.wood.workPeople ) x resource wood workPeople: ( 0 )
39: print x resource maxPopulation: ( m_city.cityManager.resource.maxPopulation ) cityManager.resource.maxPopulation ) x resource maxPopulation: ( 88050 )
40: print x resource workPeople: ( m_city.cityManager.resource.workPeople ) cityManager.resource.workPeople ) x resource workPeople: ( 55000 )
41: print x resource support: ( m_city.cityManager.resource.support ) cityManager.resource.support ) x resource support: ( 100 )
42: print x resource food: ( m_city.cityManager.resource.food ) cityManager.resource.food ) x resource food: ( [object ResourceInfoBean] )
43: print x resource food amount: ( m_city.cityManager.resource.food.amount ) cityManager.resource.food.amount ) x resource food amount: ( 9010339412.147774 )
44: print x resource food increaseRate: ( m_city.cityManager.resource.food.increaseRate ) cityManager.resource.food.increaseRate ) x resource food increaseRate: ( 100 )
45: print x resource food max: ( m_city.cityManager.resource.food.max ) cityManager.resource.food.max ) x resource food max: ( 10000 )
46: print x resource food storeRercent: ( m_city.cityManager.resource.food.storeRercent ) cityManager.resource.food.storeRercent ) x resource food storeRercent: ( 25 )
47: print x resource troopCostFood: ( m_city.cityManager.resource.troopCostFood ) cityManager.resource.troopCostFood ) x resource troopCostFood: ( 24947329 )
48: print x resource gold: ( m_city.cityManager.resource.gold ) cityManager.resource.gold ) x resource gold: ( 13010284.542285107 )
49: print x resource taxIncome: ( m_city.cityManager.resource.taxIncome ) cityManager.resource.taxIncome ) x resource taxIncome: ( 0 )
50: print x resource iron: ( m_city.cityManager.resource.iron ) cityManager.resource.iron ) x resource iron: ( [object ResourceInfoBean] )
51: print x resource iron amount: ( m_city.cityManager.resource.iron.amount ) cityManager.resource.iron.amount ) x resource iron amount: ( 33524610.48211115 )
52: print x resource iron increaseRate: ( m_city.cityManager.resource.iron.increaseRate ) cityManager.resource.iron.increaseRate ) x resource iron increaseRate: ( 1520300 )
53: print x resource iron max: ( m_city.cityManager.resource.iron.max ) cityManager.resource.iron.max ) x resource iron max: ( 41810000 )
54: print x resource iron storeRercent: ( m_city.cityManager.resource.iron.storeRercent ) cityManager.resource.iron.storeRercent ) x resource iron storeRercent: ( 25 )
55: print x resource stone: ( m_city.cityManager.resource.stone ) cityManager.resource.stone ) x resource stone: ( [object ResourceInfoBean] )
56: print x resource stone amount: ( m_city.cityManager.resource.stone.amount ) cityManager.resource.stone.amount ) x resource stone amount: ( 401204320.435019 )
57: print x resource stone increaseRate: ( m_city.cityManager.resource.stone.increaseRate ) cityManager.resource.stone.increaseRate ) x resource stone increaseRate: ( 100 )
58: print x resource stone max: ( m_city.cityManager.resource.stone.max ) cityManager.resource.stone.max ) x resource stone max: ( 10000 )
59: print x resource stone storeRercent: ( m_city.cityManager.resource.stone.storeRercent ) cityManager.resource.stone.storeRercent ) x resource stone storeRercent: ( 25 )
60: print x resource wood: ( m_city.cityManager.resource.wood ) cityManager.resource.wood ) x resource wood: ( [object ResourceInfoBean] )
61: print x resource wood amount: ( m_city.cityManager.resource.wood.amount ) cityManager.resource.wood.amount ) x resource wood amount: ( 31639019.953666195 )
62: print x resource wood increaseRate: ( m_city.cityManager.resource.wood.increaseRate ) cityManager.resource.wood.increaseRate ) x resource wood increaseRate: ( 100 )
63: print x resource wood max: ( m_city.cityManager.resource.wood.max ) cityManager.resource.wood.max ) x resource wood max: ( 10000 )
64: print x resource wood storeRercent: ( m_city.cityManager.resource.wood.storeRercent ) cityManager.resource.wood.storeRercent ) x resource wood storeRercent: ( 25 )
Fields
65: print x fields[0] id: ( m_city.cityManager.fields[0].id ) cityManager.fields[0].id ) x fields[0] id: ( 529854 )
66: print x fields[0] level: ( m_city.cityManager.fields[0].level ) cityManager.fields[0].level ) x fields[0] level: ( 10 )
67: print x fields[0] name: ( m_city.cityManager.fields[0].name ) cityManager.fields[0].name ) x fields[0] name: ( Hill )
68: print x fields[0] type: ( m_city.cityManager.fields[0].type ) cityManager.fields[0].type ) x fields[0] type: ( 3 )
69: print x fields[1] id: ( m_city.cityManager.fields[1].id ) cityManager.fields[1].id ) x fields[1] id: ( 538657 )
70: print x fields[1] level: ( m_city.cityManager.fields[1].level ) cityManager.fields[1].level ) x fields[1] level: ( 10 )
71: print x fields[1] name: ( m_city.cityManager.fields[1].name ) cityManager.fields[1].name ) x fields[1] name: ( Hill )
72: print x fields[1] type: ( m_city.cityManager.fields[1].type ) cityManager.fields[1].type ) x fields[1] type: ( 3 )
73: print x –fields------- m_city.cityManager.fields cityManager.fields x –fields------- [object FieldBean],[object FieldBean],[object FieldBean],[object FieldBean],[object
74: print x –fields length------- m_city.cityManager.fields.length cityManager.fields.length x –fields length------- 10
75: print x –fields 9 type------- m_city.cityManager.fields[9].type cityManager.fields[9].type x –fields 9 type------- 3
Hero
76: print x AnyIdleHero(any): ( m_city.AnyIdleHero(any) ) AnyIdleHero(any) ) x AnyIdleHero(any): ( true )
77: print x AnyIdleHero(Queen): ( m_city.AnyIdleHero(Queen) ) AnyIdleHero(Queen) ) x AnyIdleHero(Queen): ( false )
78: print x IsHeroInCastle(Queen): ( m_city.IsHeroInCastle(Queen) ) IsHeroInCastle(Queen) ) x IsHeroInCastle(Queen): ( true )
79: print x heros[0] logoUrl: ( m_city.cityManager.heroes[0].logoUrl ) cityManager.heroes[0].logoUrl ) x heros[0] logoUrl: ( images/icon/player/faceB7.jpg )
80: print x heros[0] id: ( m_city.cityManager.heroes[0].id ) cityManager.heroes[0].id ) x heros[0] id: ( 99107 )
81: print x heros[0] name: ( m_city.cityManager.heroes[0].name ) cityManager.heroes[0].name ) x heros[0] name: ( ATT5 )
82: print x heros[0] level: ( m_city.cityManager.heroes[0].level ) cityManager.heroes[0].level ) x heros[0] level: ( 487 )
83: print x heros[0] experience: ( m_city.cityManager.heroes[0].experience ) cityManager.heroes[0].experience ) x heros[0] experience: ( 17151131 )
84: print x heros[0] loyalty: ( m_city.cityManager.heroes[0].loyalty ) cityManager.heroes[0].loyalty ) x heros[0] loyalty: ( 100 )
85: print x heros[0] power: ( m_city.cityManager.heroes[0].power ) cityManager.heroes[0].power ) x heros[0] power: ( 551 )
86: print x heros[0] stratagem: ( m_city.cityManager.heroes[0].stratagem ) cityManager.heroes[0].stratagem ) x heros[0] stratagem: ( 44 )
87: print x heros[0] management: ( m_city.cityManager.heroes[0].management ) cityManager.heroes[0].management ) x heros[0] management: ( 41 )
88: print x heros[0] itemId: ( m_city.cityManager.heroes[0].itemId ) cityManager.heroes[0].itemId ) x heros[0] itemId: ( hero.loyalty.9 )
89: print x heros[0] itemAmount: ( m_city.cityManager.heroes[0].itemAmount ) cityManager.heroes[0].itemAmount ) x heros[0] itemAmount: ( 44 )
90: print x heros[0] managementAdded: ( m_city.cityManager.heroes[0].managementAdded ) cityManager.heroes[0].managementAdded ) x heros[0] managementAdded: ( 0 )
91: print x heros[0] managementBuffAdded: ( m_city.cityManager.heroes[0].managementBuffAdded ) cityManager.heroes[0].managementBuffAdded ) x heros[0] managementBuffAdded: ( 0 )
92: print x heros[0] powerAdded: ( m_city.cityManager.heroes[0].powerAdded ) cityManager.heroes[0].powerAdded ) x heros[0] powerAdded: ( 0 )
93: print x heros[0] powerBuffAdded: ( m_city.cityManager.heroes[0].powerBuffAdded ) cityManager.heroes[0].powerBuffAdded ) x heros[0] powerBuffAdded: ( 0 )
94: print x heros[0] stratagemAdded: ( m_city.cityManager.heroes[0].stratagemAdded ) cityManager.heroes[0].stratagemAdded ) x heros[0] stratagemAdded: ( 0 )
95: print x heros[0] stratagemBuffAdded: ( m_city.cityManager.heroes[0].stratagemBuffAdded ) cityManager.heroes[0].stratagemBuffAdded ) x heros[0] stratagemBuffAdded: ( 0 )
96: print x heros[0] upgradeExp: ( m_city.cityManager.heroes[0].upgradeExp ) cityManager.heroes[0].upgradeExp ) x heros[0] upgradeExp: ( 23716900 )
97: print x heros[0] remainPoint: ( m_city.cityManager.heroes[0].remainPoint ) cityManager.heroes[0].remainPoint ) x heros[0] remainPoint: ( 0 )
98: print x heros[1] logoUrl: ( m_city.cityManager.heroes[1].logoUrl ) cityManager.heroes[1].logoUrl ) x heros[1] logoUrl: ( images/icon/player/faceA3.jpg )
99: print x heros[1] id: ( m_city.cityManager.heroes[1].id ) cityManager.heroes[1].id ) x heros[1] id: ( 99592 )
100: print x heros[1] name: ( m_city.cityManager.heroes[1].name ) cityManager.heroes[1].name ) x heros[1] name: ( ATT5 )
101: print x heros[1] level: ( m_city.cityManager.heroes[1].level ) cityManager.heroes[1].level ) x heros[1] level: ( 406 )
102: print x heros[1] experience: ( m_city.cityManager.heroes[1].experience ) cityManager.heroes[1].experience ) x heros[1] experience: ( 1263220 )
103: print x heros[1] loyalty: ( m_city.cityManager.heroes[1].loyalty ) cityManager.heroes[1].loyalty ) x heros[1] loyalty: ( 100 )
104: print x heros[1] power: ( m_city.cityManager.heroes[1].power ) cityManager.heroes[1].power ) x heros[1] power: ( 472 )
105: print x heros[1] stratagem: ( m_city.cityManager.heroes[1].stratagem ) cityManager.heroes[1].stratagem ) x heros[1] stratagem: ( 39 )
106: print x heros[1] management: ( m_city.cityManager.heroes[1].management ) cityManager.heroes[1].management ) x heros[1] management: ( 20 )
107: print x heros[1] itemId: ( m_city.cityManager.heroes[1].itemId ) cityManager.heroes[1].itemId ) x heros[1] itemId: ( hero.loyalty.9 )
108: print x heros[1] itemAmount: ( m_city.cityManager.heroes[1].itemAmount ) cityManager.heroes[1].itemAmount ) x heros[1] itemAmount: ( 36 )
109: print x heros[1] managementAdded: ( m_city.cityManager.heroes[1].managementAdded ) cityManager.heroes[1].managementAdded ) x heros[1] managementAdded: ( 0 )
110: print x heros[1] managementBuffAdded: ( m_city.cityManager.heroes[1].managementBuffAdded ) cityManager.heroes[1].managementBuffAdded ) x heros[1] managementBuffAdded: ( 0 )
111: print x heros[1] powerAdded: ( m_city.cityManager.heroes[1].powerAdded ) cityManager.heroes[1].powerAdded ) x heros[1] powerAdded: ( 0 )
112: print x heros[1] powerBuffAdded: ( m_city.cityManager.heroes[1].powerBuffAdded ) cityManager.heroes[1].powerBuffAdded ) x heros[1] powerBuffAdded: ( 0 )
113: print x heros[1] stratagemAdded: ( m_city.cityManager.heroes[1].stratagemAdded ) cityManager.heroes[1].stratagemAdded ) x heros[1] stratagemAdded: ( 0 )
114: print x heros[1] stratagemBuffAdded: ( m_city.cityManager.heroes[1].stratagemBuffAdded ) cityManager.heroes[1].stratagemBuffAdded ) x heros[1] stratagemBuffAdded: ( 0 )
115: print x heros[1] upgradeExp: ( m_city.cityManager.heroes[1].upgradeExp ) cityManager.heroes[1].upgradeExp ) x heros[1] upgradeExp: ( 16483600 )
116: print x heros[1] remainPoint: ( m_city.cityManager.heroes[1].remainPoint ) cityManager.heroes[1].remainPoint ) x heros[1] remainPoint: ( 0 )
117: print x –heroes length------- m_city.cityManager.heroes.length cityManager.heroes.length x –heroes length------- 9
118: print x –heroes status------- m_city.cityManager.heroes[0].status cityManager.heroes[0].status x –heroes status------- 3
Troop
119: print x troop archer: ( m_city.cityManager.troop.archer ) cityManager.troop.archer ) x troop archer: ( 678333 )
120: print x troop ballista: ( m_city.cityManager.troop.ballista ) cityManager.troop.ballista ) x troop ballista: ( 57000 )
121: print x troop batteringRam: ( m_city.cityManager.troop.batteringRam ) cityManager.troop.batteringRam ) x troop batteringRam: ( 5000 )
122: print x troop carriage: ( m_city.cityManager.troop.carriage ) cityManager.troop.carriage ) x troop carriage: ( 145750 )
123: print x troop catapult: ( m_city.cityManager.troop.catapult ) cityManager.troop.catapult ) x troop catapult: ( 20000 )
124: print x troop heavyCavalry: ( m_city.cityManager.troop.heavyCavalry ) cityManager.troop.heavyCavalry ) x troop heavyCavalry: ( 1020 )
125: print x troop lightCavalry: ( m_city.cityManager.troop.lightCavalry ) cityManager.troop.lightCavalry ) x troop lightCavalry: ( 1455 )
126: print x troop militia: ( m_city.cityManager.troop.militia ) cityManager.troop.militia ) x troop militia: ( 199860 )
127: print x troop peasants: ( m_city.cityManager.troop.peasants ) cityManager.troop.peasants ) x troop peasants: ( 13762 )
128: print x troop pikemen: ( m_city.cityManager.troop.pikemen ) cityManager.troop.pikemen ) x troop pikemen: ( 32713 )
129: print x troop scouter: ( m_city.cityManager.troop.scouter ) cityManager.troop.scouter ) x troop scouter: ( 1614484 )
130: print x troop swordsmen: ( m_city.cityManager.troop.swordsmen ) cityManager.troop.swordsmen ) x troop swordsmen: ( 11020 )
131: print x –castle troop archer------- m_city.cityManager.castle.troop.archer cityManager.castle.troop.archer x –castle troop archer------- 25500
Forts
132: print x fortification abatis: ( m_city.cityManager.fortification.abatis ) cityManager.fortification.abatis ) x fortification abatis: ( 7200 )
133: print x fortification arrowTower: ( m_city.cityManager.fortification.arrowTower ) cityManager.fortification.arrowTower ) x fortification arrowTower: ( 12983 )
134: print x fortification rockfall: ( m_city.cityManager.fortification.rockfall ) cityManager.fortification.rockfall ) x fortification rockfall: ( 100 )
135: print x fortification rollingLogs: ( m_city.cityManager.fortification.rollingLogs ) cityManager.fortification.rollingLogs ) x fortification rollingLogs: ( 100 )
136: print x fortification trap: ( m_city.cityManager.fortification.trap ) cityManager.fortification.trap ) x fortification trap: ( 750 )
Buildings
137: print x buildings[0]: ( m_city.cityManager.buildings[0] ) cityManager.buildings[0] ) x buildings[0]: ( [object BuildingBean] )
138: print x buildings[0] endTime: ( m_city.cityManager.buildings[0].endTime ) cityManager.buildings[0].endTime ) x buildings[0] endTime: ( 0 )
139: print x buildings[0] level: ( m_city.cityManager.buildings[0].level ) cityManager.buildings[0].level ) x buildings[0] level: ( 10 )
140: print x buildings[0] name: ( m_city.cityManager.buildings[0].name ) cityManager.buildings[0].name ) x buildings[0] name: ( Ironmine )
141: print x buildings[0] positionId: ( m_city.cityManager.buildings[0].positionId ) cityManager.buildings[0].positionId ) x buildings[0] positionId: ( 1040 )
142: print x buildings[0] startTime: ( m_city.cityManager.buildings[0].startTime ) cityManager.buildings[0].startTime ) x buildings[0] startTime: ( 0 )
143: print x buildings[0] status: ( m_city.cityManager.buildings[0].status ) cityManager.buildings[0].status ) x buildings[0] status: ( 0 )
144: print x buildings[0] typeId: ( m_city.cityManager.buildings[0].typeId ) cityManager.buildings[0].typeId ) x buildings[0] typeId: ( 6 )
145: print x buildings[1]: ( m_city.cityManager.buildings[1] ) cityManager.buildings[1] ) x buildings[1]: ( [object BuildingBean] )
146: print x buildings[1] endTime: ( m_city.cityManager.buildings[1].endTime ) cityManager.buildings[1].endTime ) x buildings[1] endTime: ( 0 )
147: print x buildings[1] level: ( m_city.cityManager.buildings[1].level ) cityManager.buildings[1].level ) x buildings[1] level: ( 10 )
148: print x buildings[1] name: ( m_city.cityManager.buildings[1].name ) cityManager.buildings[1].name ) x buildings[1] name: ( Ironmine )
149: print x buildings[1] positionId: ( m_city.cityManager.buildings[1].positionId ) cityManager.buildings[1].positionId ) x buildings[1] positionId: ( 1039 )
150: print x buildings[1] startTime: ( m_city.cityManager.buildings[1].startTime ) cityManager.buildings[1].startTime ) x buildings[1] startTime: ( 0 )
151: print x buildings[1] status: ( m_city.cityManager.buildings[1].status ) cityManager.buildings[1].status ) x buildings[1] status: ( 0 )
152: print x buildings[1] typeId: ( m_city.cityManager.buildings[1].typeId ) cityManager.buildings[1].typeId ) x buildings[1] typeId: ( 6 )
153: print x –Buildings 73 level------- m_city.cityManager.buildings[73].level cityManager.buildings[73].level x –Buildings 73 level------- 10
Market
154: print x –buyPrice------- m_city.cityManager.buyPrice() cityManager.buyPrice() x –buyPrice------- 4.51
155: print x –buyPrice------- m_city.cityManager.buyPrice(1) cityManager.buyPrice(1) x –buyPrice------- 37.44
156: print x –buyPrice 2------- m_city.cityManager.buyPrice(2) cityManager.buyPrice(2) x –buyPrice 2------- 2.362
157: print x –buyPrice 3------- m_city.cityManager.buyPrice(3) cityManager.buyPrice(3) x –buyPrice 3------- 21.18
158: print x –sellPrice food------- m_city.cityManager.sellPrice(food) cityManager.sellPrice(food) x –sellPrice food------- 4.5
159: print x –tradesArray length------- m_city.cityManager.tradesArray.length cityManager.tradesArray.length x –tradesArray length------- 7
160: print x –tradesArray 0 amount------- m_city.cityManager.tradesArray[0].amount cityManager.tradesArray[0].amount x –tradesArray 0 amount------- 10
161: print x –tradesArray 1 amount------- m_city.cityManager.tradesArray[1].amount cityManager.tradesArray[1].amount x –tradesArray 1 amount------- 10
162: print x –tradesArray 2 amount------- m_city.cityManager.tradesArray[2].amount cityManager.tradesArray[2].amount x –tradesArray 2 amount------- 10
163: print x –tradesArray 6 amount------- m_city.cityManager.tradesArray[6].amount cityManager.tradesArray[6].amount x –tradesArray 6 amount------- 10
print m_city.cityManager.tradesArray[0].resType cityManager.tradesArray[0].resTyp Error #1069 or if U have trades - 0 = food 2= Iron Etc
print m_city.cityManager.tradesArray[0].tradeType cityManager.tradesArray[0].tradeTyp Error #1069 or if U have trades - 0 = Buy 1 = sell
Armys
164: print x –selfArmies length------- m_city.cityManager.selfArmies.length cityManager.selfArmies.length x –selfArmies length------- 7
 ????
General
165: print x id: ( m_city.cityManager.id ) cityManager.id ) x id: ( 306600 )
166: print x name: ( m_city.cityManager.name ) cityManager.name ) x name: ( Iris )
167: print x –heros Queen stratagem------- m_city.cityManager.heros(Queen).stratagem cityManager.heros(Queen).stratagem Invalid Reference: m_city.cityManager.heros(Queen).stratagem
Errors
168: print x hasEnemy: ( m_city.hasEnemy.status ) hasEnemy.status ) Error #1069
169: print x resource gold amount: ( m_city.cityManager.resource.gold.amount ) cityManager.resource.gold.amount ) Error #1069
170: print x resource gold increaseRate: ( m_city.cityManager.resource.gold.increaseRate ) cityManager.resource.gold.increaseRate ) Error #1069
171: print x resource gold max: ( m_city.cityManager.resource.gold.max ) cityManager.resource.gold.max ) Error #1069
172: print x resource heroSalary: ( m_city.cityManager.resource.heroSalary ) cityManager.resource.heroSalary ) Error #1069
173: print x –Population------- m_city.cityManager.Population cityManager.Population Error #1069
174: print x –resource gold.amount------- m_city.cityManager.resource.gold.amount cityManager.resource.gold.amount Error #1069
175: print x fields[0] status: ( m_city.cityManager.fields[0].status ) cityManager.fields[0].status ) Error #1069
176: print x fields[1] status: ( m_city.cityManager.fields[1].status ) cityManager.fields[1].status ) Error #1069
177: print x fields[2] status: ( m_city.cityManager.fields[2].status ) cityManager.fields[2].status ) Error #1069
178: print x heros[1] staus: ( m_city.cityManager.heroes[1].staus ) cityManager.heroes[1].staus ) Error #1069
179: print x –herosArray number------- m_city.cityManager.herosArray.number cityManager.herosArray.number Error #1069
180: print x –buildings.IronMine.amount------- m_city.cityManager.buildings.IronMine.amount cityManager.buildings.IronMine.amount Error #1069
181: print x –Buildings queuestaus------- m_city.cityManager.buildings[#].queuestaus cityManager.buildings[#].queuestaus Error #1069
182: print x –market------- m_city.cityManager.market cityManager.market Error #1069
183: print x –Trade Buy------- m_city.cityManager.Trade.Buy cityManager.Trade.Buy Error #1069
184: print x –tradesaray resourse------- m_city.cityManager.tradesaray.resourse cityManager.tradesaray.resourse Error #1069
185: print x goOutForBattle: ( m_city.goOutForBattle ) goOutForBattle Error #1069
186: print x logUrl: ( m_city.logUrl ) logUrl Error #1069
187: print x allowAlliance: ( m_city.allowAlliance ) allowAlliance Error #1069
188: print x status: ( m_city.status ) status Error #1069
189: print x –checks------- m_city.cityManager.checks cityManager.check Error #1069
190: print x –references------- m_city.cityManager.references cityManager.reference Error #1069