From NEAT Portal Wiki
Jump to: navigation, search
(SetBallsUsed)
Line 1: Line 1:
 
==Autofarm==
 
==Autofarm==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
|  
 
|  
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
|  
 
|  
 
|}
 
|}
Line 14: Line 14:
 
==SetBallsUsed==
 
==SetBallsUsed==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| SetBallsUsed troops
 
| SetBallsUsed troops
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| setballsused 20,50,130,200,400
 
| setballsused 20,50,130,200,400
 
|}
 
|}
Line 26: Line 26:
 
==SetNpcFlag==
 
==SetNpcFlag==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| setnpcflag [coords]
 
| setnpcflag [coords]
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| setnpcflag 111,222
 
| setnpcflag 111,222
 
|}
 
|}
Line 38: Line 38:
 
==UnsetNpcFlag==
 
==UnsetNpcFlag==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| unsetnpcflag [coords]
 
| unsetnpcflag [coords]
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| unsetnpcflag 111,222
 
| unsetnpcflag 111,222
 
|}
 
|}
Line 50: Line 50:
 
==Attack==
 
==Attack==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| attack xxx,yyy hero troop
 
| attack xxx,yyy hero troop
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| attack 111,222 any a:1000
 
| attack 111,222 any a:1000
 
|}
 
|}
Line 63: Line 63:
 
==BigAttack==
 
==BigAttack==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| bigattack xxx,yyy hero troop
 
| bigattack xxx,yyy hero troop
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| bigattack 111,222 any a:125000
 
| bigattack 111,222 any a:125000
 
|}
 
|}
Line 76: Line 76:
 
==Abandon==
 
==Abandon==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| abandon xxx,yyy
 
| abandon xxx,yyy
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| abandon 111,222
 
| abandon 111,222
 
|}
 
|}
Line 89: Line 89:
 
==Deploy==
 
==Deploy==
  
{| style="width: 50%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| deploy marchtype xxx,yyy hero troop:xxx resource:xxx hh:mm:ss (or @:hh:mm 24hr clock time)
 
| deploy marchtype xxx,yyy hero troop:xxx resource:xxx hh:mm:ss (or @:hh:mm 24hr clock time)
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| deploy reinforce 111,222 none w:25000 f:100000 1:30:00
 
| deploy reinforce 111,222 none w:25000 f:100000 1:30:00
 
|}
 
|}
Line 100: Line 100:
  
 
'''marchtype from'''
 
'''marchtype from'''
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
 
| atk || Attack
 
| atk || Attack
 
|-
 
|-
Line 111: Line 111:
  
 
'''resource from'''
 
'''resource from'''
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
 
| f || food
 
| f || food
 
|-
 
|-
Line 127: Line 127:
 
==BigDeploy==
 
==BigDeploy==
  
{| style="width: 55%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| bigdeploy marchtype xxx,yyy hero troop:xxx resource:xxx hh:mm:ss (or @:hh:mm 24hr clock time)
 
| bigdeploy marchtype xxx,yyy hero troop:xxx resource:xxx hh:mm:ss (or @:hh:mm 24hr clock time)
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| bigdeploy reinforce 111,222 none w:25000 f:100000 1:30:00
 
| bigdeploy reinforce 111,222 none w:25000 f:100000 1:30:00
 
|}
 
|}
Line 139: Line 139:
 
==Reinforce==
 
==Reinforce==
  
{| style="width: 50%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| reinforce xxx,yyy hero troop:xxx resource:xxx HH:MM:SS (or @:HH:MM 24hr Clock)
 
| reinforce xxx,yyy hero troop:xxx resource:xxx HH:MM:SS (or @:HH:MM 24hr Clock)
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| reinforce 111,222 none t:100 f:10000 @:9:30
 
| reinforce 111,222 none t:100 f:10000 @:9:30
 
|}
 
|}
Line 151: Line 151:
 
==Scout==
 
==Scout==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| scout xxx,yyy hero s:xxx
 
| scout xxx,yyy hero s:xxx
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| scout 111,222 ken s:100000<br>
+
|  
 +
scout 111,222 ken s:100000<br>
 
scout 111,222 none s:25000
 
scout 111,222 none s:25000
 
|}
 
|}
Line 166: Line 167:
 
==BigScout==
 
==BigScout==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| scout xxx,yyy hero s:xxx
 
| scout xxx,yyy hero s:xxx
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| scout 111,222 ken s:125000
 
| scout 111,222 ken s:125000
 
|}
 
|}
Line 179: Line 180:
 
==Transport==
 
==Transport==
  
{| style="width: 50%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| transport xxx,yyy trans:xxx resource:xxx HH:MM:SS (or @:HH:SS 24hr Clock)
 
| transport xxx,yyy trans:xxx resource:xxx HH:MM:SS (or @:HH:SS 24hr Clock)
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| transport 111,222 t:1000 f:999998
 
| transport 111,222 t:1000 f:999998
 
|}
 
|}
Line 191: Line 192:
 
==BigTransport==
 
==BigTransport==
  
{| style="width: 50%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| transport xxx,yyy trans:xxx resource:xxx HH:MM:SS (or @:HH:SS 24hr Clock)
 
| transport xxx,yyy trans:xxx resource:xxx HH:MM:SS (or @:HH:SS 24hr Clock)
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| transport 111,222 t:125000 f:120000000
 
| transport 111,222 t:125000 f:120000000
 
|}
 
|}
Line 203: Line 204:
 
==GuardedAttack==
 
==GuardedAttack==
  
{| style="width: 50%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| guardedattack xxx,yyy troop num_scouts opponent_troop
 
| guardedattack xxx,yyy troop num_scouts opponent_troop
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| guardedattack 111,222 a:99600,w:100,s:100,p:100,sw:100 10 a:60000,cav:50000
 
| guardedattack 111,222 a:99600,w:100,s:100,p:100,sw:100 10 a:60000,cav:50000
 
|}
 
|}
Line 219: Line 220:
 
==SetGuard==
 
==SetGuard==
  
{| style="width: 50%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| setguard xxx,yyy opponent_troop
 
| setguard xxx,yyy opponent_troop
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| attack 111,222 any w:100000,a:100,s:100,p:100,sw:100<br>
+
|  
 +
attack 111,222 any w:100000,a:100,s:100,p:100,sw:100<br>
 
scout 111,222 any s:100000<br>
 
scout 111,222 any s:100000<br>
 
setguard 111,222 a:60000,cav:50000
 
setguard 111,222 a:60000,cav:50000
Line 235: Line 237:
 
==LoyaltyAttack==
 
==LoyaltyAttack==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| loyaltyattack xxx,yyy num_cavalry
 
| loyaltyattack xxx,yyy num_cavalry
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| loyaltyattack 111,222 3000
 
| loyaltyattack 111,222 3000
 
|}
 
|}
Line 250: Line 252:
 
==Capture==
 
==Capture==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| capture xxx,yyy num_cavalry
 
| capture xxx,yyy num_cavalry
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| capture 111,222 3000
 
| capture 111,222 3000
 
|}
 
|}
Line 263: Line 265:
 
==SpamAttack==
 
==SpamAttack==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| spamattack xxx,yyy troop num_waves
 
| spamattack xxx,yyy troop num_waves
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| spamattack 111,222 cav:500,s:500 10
 
| spamattack 111,222 cav:500,s:500 10
 
|}
 
|}
Line 280: Line 282:
 
==Recall==
 
==Recall==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| recall location
 
| recall location
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| recall 111,222
 
| recall 111,222
 
|}
 
|}
Line 293: Line 295:
 
==IdRecall==
 
==IdRecall==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| idrecall ArmyId
 
| idrecall ArmyId
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
 
| idrecall 100333040
 
| idrecall 100333040
 
|}
 
|}
Line 308: Line 310:
 
==AttackWait==
 
==AttackWait==
  
{| style="width: 25%; text-align:center" border="1"
+
{| class="wikitable"
! scope="row" | Usage:
+
! style="text-align:left;" | Usage:
 
| attackwait type
 
| attackwait type
 
|-
 
|-
! scope="row" | Example:
+
! style="text-align:left;" | Example:
| attackwait loyalty
+
|  
 +
attackwait loyalty
 
attackwait honor<br>
 
attackwait honor<br>
 
attackwait spam
 
attackwait spam

Revision as of 10:11, 1 June 2011

Autofarm

Usage:
Example:

Is this implemented in yeab?


SetBallsUsed

Usage: SetBallsUsed troops
Example: setballsused 20,50,130,200,400

Sets the number of ballista used to farm NPCs level 1 to 5.

SetNpcFlag

Usage: setnpcflag [coords]
Example: setnpcflag 111,222

Sets an npc to be added to the internal farming list.

UnsetNpcFlag

Usage: unsetnpcflag [coords]
Example: unsetnpcflag 111,222

Removes an npc from the internal farming list.

Attack

Usage: attack xxx,yyy hero troop
Example: attack 111,222 any a:1000

Attack the given co-ords using the specified hero and troops.


BigAttack

Usage: bigattack xxx,yyy hero troop
Example: bigattack 111,222 any a:125000

Use war ensign to attack.


Abandon

Usage: abandon xxx,yyy
Example: abandon 111,222

Script command to abandon the valley at 111,222


Deploy

Usage: deploy marchtype xxx,yyy hero troop:xxx resource:xxx hh:mm:ss (or @:hh:mm 24hr clock time)
Example: deploy reinforce 111,222 none w:25000 f:100000 1:30:00

This is a generic command where any of the other marching commands can be used.

marchtype from

atk Attack
bld Build City
rei Reinforce
sct Scout

resource from

f food
w wood
s stone
i iron
g gold

Time can be expressed in hh:mm:ss or in local time when prefaced with @: so @:3:37 would sleep until 3:37 AM local time. When using @: the time must be specified in 24 hour time.

BigDeploy

Usage: bigdeploy marchtype xxx,yyy hero troop:xxx resource:xxx hh:mm:ss (or @:hh:mm 24hr clock time)
Example: bigdeploy reinforce 111,222 none w:25000 f:100000 1:30:00

This is a generic command where any of the other marching commands can be used along with a war ensign.

Reinforce

Usage: reinforce xxx,yyy hero troop:xxx resource:xxx HH:MM:SS (or @:HH:MM 24hr Clock)
Example: reinforce 111,222 none t:100 f:10000 @:9:30

Used to reinforce 111,222 with 10,000 food using 100 transporters at 9:30

Scout

Usage: scout xxx,yyy hero s:xxx
Example:

scout 111,222 ken s:100000
scout 111,222 none s:25000

First example will scout 111,222 with 100,000 scouts using the hero called ken. Second example will scout 111,222 with 25,000 scouts but no hero.


BigScout

Usage: scout xxx,yyy hero s:xxx
Example: scout 111,222 ken s:125000

Scout 111,222 using 125,000 scout, war ensign and hero ken.


Transport

Usage: transport xxx,yyy trans:xxx resource:xxx HH:MM:SS (or @:HH:SS 24hr Clock)
Example: transport 111,222 t:1000 f:999998

An important note to remember with transportation, if you try to send more than the transports can carry, you will get an error, and the command will not function.

BigTransport

Usage: transport xxx,yyy trans:xxx resource:xxx HH:MM:SS (or @:HH:SS 24hr Clock)
Example: transport 111,222 t:125000 f:120000000

Transport resources using war ensign.

GuardedAttack

Usage: guardedattack xxx,yyy troop num_scouts opponent_troop
Example: guardedattack 111,222 a:99600,w:100,s:100,p:100,sw:100 10 a:60000,cav:50000

Used to set up a scout and an attack and recall the attack based on the result of the scout.

In the above example, the bot will schedule a scout with 10 scouts and an attack on 111,222 with 99600 archers so that the scouts arrive a random time between 15-30 seconds before the archers. If the scout fails, the attack is recalled. If the scout is successful but there are 60k+ archers OR 50k+ cavalry at the target, the attack is also recalled.

To cancel guardedattack, use EndGuardedAttack.

SetGuard

Usage: setguard xxx,yyy opponent_troop
Example:

attack 111,222 any w:100000,a:100,s:100,p:100,sw:100
scout 111,222 any s:100000
setguard 111,222 a:60000,cav:50000

You can manually schedule attacks and scouts and use "setguard" to monitor the attack. Also useful if you have to restart YAEB.

The example above is a three line script, to send 100k scouts to 111,222 & to setguard monitor attack & recall if necessary.

LoyaltyAttack

Usage: loyaltyattack xxx,yyy num_cavalry
Example: loyaltyattack 111,222 3000

Repeatedly send waves of calvary to 111,222. On failure, recall all waves;(including attack waves sent from other towns); also Loyaltyattack stops attack when loyalty of 111,222 is at 7.

To cancel loyaltyattack, use EndLoyaltyAttack.


Capture

Usage: capture xxx,yyy num_cavalry
Example: capture 111,222 3000

Repeatedly send waves of cavalry to 111,222. On failure, recall all waves; Capture doesn't stop waves until 111,222 is Captured.


SpamAttack

Usage: spamattack xxx,yyy troop num_waves
Example: spamattack 111,222 cav:500,s:500 10

Repeatedly attack a town. Heroes are made sure to be at loyalty 100 before sending out.

The above example will attack 111,222 with 500 cavs & 500 scouts 10 times.

To cancel spamattack, use EndSpamAttack.


Recall

Usage: recall location
Example: recall 111,222

Used to recall all troops heading to 111,222


IdRecall

Usage: idrecall ArmyId
Example: idrecall 100333040

Used to recall the specific army with an id of 100333040

The Army Id number can be found by hovering the mouse over the army in the army tab.


AttackWait

Usage: attackwait type
Example:

attackwait loyalty attackwait honor
attackwait spam

To wait for loyaltyattack, honorattack, or spamattack to end