Riddla
02-11-2012, 05:15
This is a rewrite of the Thais troll script with some script that i learned from an older script that refilled spears for you.
Original by Wiotki
Modified by me(Riddla)
setChaoticMovesOFF
#By Wiotki -> Modified By Riddla
fastExiva _spearid = CD 0C
# How many spears do you have?
fastExiva _spears = 9
# How much does 1 spear cost?
fastExiva _idcost = 9
setLootOn
setBot OldLootMode=1
setLoot D9 25
setLoot F9 0D
setLoot FB 2C
setLoot D7 0B
setMeleeKill wolf
setMeleeKill troll
setMeleeKill snake
setMeleeKill poison spider
setMeleeKill bug
setMeleeKill orc
setMeleeKill troll champion
IfTrue ($mycap$#number<=#1000) Goto $nlineoflabel:depo$
IfTrue ($countitems:{$_spearid$}$#number<#$_spears$) Goto $nlineoflabel:depo$
IfTrue ($countitems:{$D7 0B}$#number>=#500) Goto $nlineoflabel:depo$
move 32477,32273,8
move 32476,32272,9
move 32475,32286,8
move 32474,32286,9
move 32474,32287,8
move 32482,32295,8
move 32482,32296,9
move 32482,32297,8
move 32493,32289,8
move 32494,32289,9
move 32500,32281,9
move 32494,32289,9
move 32494,32290,8
move 32499,32303,8
move 32500,32303,9
move 32499,32302,8
gotoScriptLine 0
:depo
fastExiva _spears = $numericalexp:{$_spears$}-{$countitems:{$_spearid$}$}$
fastExiva _spearcost = $numericalexp:{$_spears$}*{$_idcost$}$
move 32478,32270,8
move 32478,32269,9
move 32484,32265,9
move 32484,32266,8
move 32493,32259,8
move 32493,32260,7
move 32436,32225,7
move 32369,32215,7
move 32344,32229,7
sayMessage hi
waitX 2
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2
sayInTrade balance
waitx 1
sayInTrade withdraw $_spearcost$
waitX 1
sayInTrade yes
waitx 1
move 32338,32233,7
move 32338,32242,7
move 32342,32248,7
move 32349,32246,7
move 32350,32245,6
move 32345,32245,6
move 32343,32244,6
#mod by r?ddla
saymessage hi
waitx 2
sayInTrade trade
waitx 2
fastExiva > 07 00 7A $_spearid$ 00 $numbertohex2:{$numericalexp:{$_spears$}/1$}$ 00
waitx 1
move 32343,32244,6
move 32345,32245,6
move 32350,32245,6
move 32349,32246,7
move 32342,32248,7
move 32338,32242,7
move 32338,32233,7
move 32346,32230,7
move 32347,32232,8
move 32353,32222,8
putLootOnDepot
move 32349,32231,8
move 32348,32230,7
move 32369,32214,7
move 32445,32231,7
move 32492,32259,7
fastExiva > 11 00 83 FF FF 0A 00 00 81 0D 00 ED 7E 03 7E 07 51 02 00
move 32493,32259,8
move 32485,32265,8
move 32484,32265,9
move 32478,32269,9
move 32478,32270,8
gotoScriptLine 0
Edit: This is a Work in progress, i am currently fixing the issue of the char going back to thais after loosing 1 spear, Simple but i am testing it.
Edit2: Approx 3500xp/hr with a 18 pally, and about 500gp/hr Not great but i havent died since adding the Refill in.
Original by Wiotki
Modified by me(Riddla)
setChaoticMovesOFF
#By Wiotki -> Modified By Riddla
fastExiva _spearid = CD 0C
# How many spears do you have?
fastExiva _spears = 9
# How much does 1 spear cost?
fastExiva _idcost = 9
setLootOn
setBot OldLootMode=1
setLoot D9 25
setLoot F9 0D
setLoot FB 2C
setLoot D7 0B
setMeleeKill wolf
setMeleeKill troll
setMeleeKill snake
setMeleeKill poison spider
setMeleeKill bug
setMeleeKill orc
setMeleeKill troll champion
IfTrue ($mycap$#number<=#1000) Goto $nlineoflabel:depo$
IfTrue ($countitems:{$_spearid$}$#number<#$_spears$) Goto $nlineoflabel:depo$
IfTrue ($countitems:{$D7 0B}$#number>=#500) Goto $nlineoflabel:depo$
move 32477,32273,8
move 32476,32272,9
move 32475,32286,8
move 32474,32286,9
move 32474,32287,8
move 32482,32295,8
move 32482,32296,9
move 32482,32297,8
move 32493,32289,8
move 32494,32289,9
move 32500,32281,9
move 32494,32289,9
move 32494,32290,8
move 32499,32303,8
move 32500,32303,9
move 32499,32302,8
gotoScriptLine 0
:depo
fastExiva _spears = $numericalexp:{$_spears$}-{$countitems:{$_spearid$}$}$
fastExiva _spearcost = $numericalexp:{$_spears$}*{$_idcost$}$
move 32478,32270,8
move 32478,32269,9
move 32484,32265,9
move 32484,32266,8
move 32493,32259,8
move 32493,32260,7
move 32436,32225,7
move 32369,32215,7
move 32344,32229,7
sayMessage hi
waitX 2
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2
sayInTrade balance
waitx 1
sayInTrade withdraw $_spearcost$
waitX 1
sayInTrade yes
waitx 1
move 32338,32233,7
move 32338,32242,7
move 32342,32248,7
move 32349,32246,7
move 32350,32245,6
move 32345,32245,6
move 32343,32244,6
#mod by r?ddla
saymessage hi
waitx 2
sayInTrade trade
waitx 2
fastExiva > 07 00 7A $_spearid$ 00 $numbertohex2:{$numericalexp:{$_spears$}/1$}$ 00
waitx 1
move 32343,32244,6
move 32345,32245,6
move 32350,32245,6
move 32349,32246,7
move 32342,32248,7
move 32338,32242,7
move 32338,32233,7
move 32346,32230,7
move 32347,32232,8
move 32353,32222,8
putLootOnDepot
move 32349,32231,8
move 32348,32230,7
move 32369,32214,7
move 32445,32231,7
move 32492,32259,7
fastExiva > 11 00 83 FF FF 0A 00 00 81 0D 00 ED 7E 03 7E 07 51 02 00
move 32493,32259,8
move 32485,32265,8
move 32484,32265,9
move 32478,32269,9
move 32478,32270,8
gotoScriptLine 0
Edit: This is a Work in progress, i am currently fixing the issue of the char going back to thais after loosing 1 spear, Simple but i am testing it.
Edit2: Approx 3500xp/hr with a 18 pally, and about 500gp/hr Not great but i havent died since adding the Refill in.