Ng & Elf Bot Scripts


  • Index
  •  » Skrypty
  •  » CASHMAKER Barbarian Small Camp with potion buyer and softs rechchanger

#1 2009-04-18 21:14:25

pojep

Administrator

Registered: 2009-04-18
Posts: 17
Reputation :   

CASHMAKER Barbarian Small Camp with potion buyer and softs rechchanger

I used this script to advance my druid from 26 to 32. You can use it on knights and pallies as well, of any level. It's a great cashmaker. It goes back to town and buys potions and recharges softs if you're short.

In the beginning of the script you have potion settings. Edit them into the potion ID that you use, the max amount you want to have when leaving town and the price of single potion.

Code:

#ID of potion that you want to use. HP - 0A 01, SHP - EC 00, GHP - EF 00, MP - 0C 01, SMP - ED 00, GMP - EE 00
fastexiva _potid = 0C 01
#cost of potion that you want to use. HP - 45, SHP - 100, GHP - 190, MP - 50, SMP - 90, GMP - 120
fastexiva _potcost = 50
#How many pots you want to have?
fastexiva _potamount = 100
onGMpause
setlootdistance 3
setMeleeKill Barbarian Skullhunter
setMeleeKill frost troll
setMeleeKill badger
setMeleeKill Barbarian Headsplitter
setMeleeKill Barbarian Brutetamer
setMeleeKill polar bear
setMeleeKill mammoth
setMeleeKill winter wolf
setMeleeKill war wolf
setMeleeKill Barbarian Bloodwalker
setPriority Barbarian Bloodwalker:+3
setPriority war wolf:-1
resetLoot
setLoot D7 0B
#Gold
setLoot D7 0B
#Mana Potion
setLoot 0C 01
#shard
setLoot 7A 1C
#red piece of cloth
setLoot 17 17
#elephant tusk
setloot e4 0b
#beastslayer axe
setLoot 10 0D
#fur boots
setLoot 21 1D
#mammoth fur cape
setLoot 27 1D
#brutetamers staff
setLoot D3 1C
#brown piece of cloth
setLoot 19 17
#Ragnir Helmet
setLoot 26 1D
#life ring
setLoot C5 0C
IfTrue ($countitems:{$_potid$}$#number<=#30) Goto $nlineoflabel:depo$
IfTrue ($hex2tonumber:{$hex-equiped-item:08$}$#string=#$hex2tonumber:DD 0D$) Goto $nlineoflabel:jump1$
IfTrue ($countitems:82 19$#number=#0) Goto $nlineoflabel:jump1$
IfTrue ($countitems:81 19$#number=#0) Goto $nlineoflabel:depo$
:jump1
IfTrue ($hex2tonumber:{$hex-equiped-item:08$}$#string=#$hex2tonumber:82 19$) Goto $nlineoflabel:depo$
move 31989,31246,7
move 31989,31230,7
move 32006,31242,7
IfTrue ($countitems:{$_potid$}$#number<=#30) Goto $nlineoflabel:depo$
IfTrue ($hex2tonumber:{$hex-equiped-item:08$}$#string=#$hex2tonumber:DD 0D$) Goto $nlineoflabel:jump2$
IfTrue ($countitems:82 19$#number=#0) Goto $nlineoflabel:jump2$
IfTrue ($countitems:81 19$#number=#0) Goto $nlineoflabel:depo$
:jump2
IfTrue ($hex2tonumber:{$hex-equiped-item:08$}$#string=#$hex2tonumber:82 19$) Goto $nlineoflabel:depo$
move 32004,31225,7
move 32023,31203,7
resetloot
#shard
setLoot 7A 1C
#red piece of cloth
setLoot 17 17
#beastslayer axe
setLoot 10 0D
#mammoth fur cape
setLoot 27 1D
#elephant tusk
setloot e4 0b
#brutetamers staff
setLoot D3 1C
#brown piece of cloth
setLoot 19 17
#Ragnir Helmet
setLoot 26 1D
#gold
setLoot D7 0B
droplootonground 32023,31201,7
#Mana Potion
setLoot 0C 01
#fur boots
setLoot 21 1D
#life ring
setLoot C5 0C
move 32021,31216,7
move 32000,31234,7
gotoScriptLine 0
:depo
move 32039,31255,7
move 32043,31286,7
move 32105,31241,7
move 32108,31241,6
move 32147,31276,6
move 32168,31306,6
move 32171,31344,6
move 32159,31353,6
waitX 1
sayMessage exiva > 67
sayMessage exiva > 67
move 32152,31374,7
:buddel
fastexiva >A2 AC 00 00 40
fastexiva >A2 4C 01 00 40
fastexiva >A2 97 01 00 40
fastexiva >A2 7F 00 00 40
waitx 1
sayInTrade hi
sayInTrade go
sayInTrade svargrond
sayInTrade yes
IfTrue ($myx$#string<>#32256) Goto $nlineoflabel:buddel$
move 32277,31162,7
move 32276,31141,7
resetLoot
#shard
setLoot 7A 1C
#red piece of cloth
setLoot 17 17
#beastslayer axe
setLoot 10 0D
#fur boots
setLoot 21 1D
#mammoth fur cape
setLoot 27 1D
#elephant tusk
setloot e4 0b
#brutetamers staff
setLoot D3 1C
#brown piece of cloth
setLoot 19 17
#Ragnir Helmet
setLoot 26 1D
putlootondepot
#gold
setLoot D7 0B
#Mana Potion
setLoot 0C 01
#life ring
setLoot C5 0C
move 32299,31131,7
sayMessage exiva > 82 2B 7E 9C 79 07 EB 1A 01 0D
move 32299,31134,7
sayMessage hi
sayintrade deposit all
sayintrade yes
sayintrade withdraw 200
sayintrade yes
#obliczenia kosztow
fastExiva _potneed = $numericalexp:{$_potamount$}-{$countitems:{$_potid$}$}$
fastExiva _costall = $numericalexp:{$_potcost$}*{$_potneed$}$
sayInTrade withdraw $_costall$
sayInTrade yes
fastExiva _softcost = $numericalexp:{$countitems:82 19$}*10400$
sayInTrade withdraw $_softcost$
sayInTrade yes
sayMessage exiva > 82 2B 7E 9C 79 07 EB 1A 01 0D
move 32308,31129,7
fastexiva >82 34 7E 9A 79 07 EB 1A 01 01
move 32308,31132,7
sayMessage hi
sayInTrade vial
sayInTrade yes
waitX 1
sayInTrade trade
fastexiva _potneed = $numericalexp:{$_potneed$}-3$
fastExiva > 07 00 7A $_potid$ 00 $numbertohex2:{$numericalexp:{$_potneed$}/4$}$ 00
fastExiva > 07 00 7A $_potid$ 00 $numbertohex2:{$numericalexp:{$_potneed$}/4$}$ 00
fastExiva > 07 00 7A $_potid$ 00 $numbertohex2:{$numericalexp:{$_potneed$}/4$}$ 00
fastExiva > 07 00 7A $_potid$ 00 $numbertohex2:{$numericalexp:{$_potneed$}/4$}$ 00
waitx 1
fastexiva >82 34 7E 9A 79 07 EB 1A 01 01
:gotsofts
IfTrue ($countitems:82 19$#number>=#1) Goto $nlineoflabel:recharge$
move 32279,31142,7
move 32255,31195,7
sayMessage Exiva _pureprofit = $numericalexp:{$_plats$}+{$_gold$}$
sayMessage Exiva _roundprofit = $numericalexp:{$_pureprofit$}-{$_costall$}$
sayMessage Exiva _totalprofit = $numericalexp:{$_totalprofit$}+{$_roundprofit$}$
sayMessage Exiva < B4 11 $hex-tibiastr:You earned {$_roundprofit$} this round and {$_totalprofit$} overall in {$played$}.$
waitx 1
:buddel2
fastexiva >A2 AC 00 00 40
fastexiva >A2 4C 01 00 40
fastexiva >A2 97 01 00 40
fastexiva >A2 7F 00 00 40
waitx 1
sayInTrade hi
sayInTrade go
sayInTrade camp
sayInTrade yes
IfTrue ($myx$#string<>#32153) Goto $nlineoflabel:buddel2$
saymessage Exiva > 78 FF FF 0A 00 00 D7 0B 00 $numbertohex2:{$myx$}$ $numbertohex2:{$myy$}$ $numbertohex1:{$myz$}$ 64
saymessage Exiva > 78 FF FF 0A 00 00 DB 0B 00 $numbertohex2:{$myx$}$ $numbertohex2:{$myy$}$ $numbertohex1:{$myz$}$ 64
move 32159,31355,7
move 32159,31353,6
move 32172,31343,6
move 32176,31330,6
move 32175,31312,6
move 32152,31278,6
move 32123,31253,6
move 32108,31241,6
move 32105,31241,7
move 32043,31286,7
move 32039,31255,7
gotoScriptLine 0
:recharge
move 32340,31114,7
move 32341,31113,6
move 32344,31108,6
fastexiva > A2 B4 00 00 40
waitx 1
sayInTrade hi
sayInTrade venore
sayInTrade yes
move 32953,32108,6
waitX 1
move 32953,32108,6
:recharge2
sayInTrade hi
sayInTrade soft boots
sayInTrade yes
IfTrue ($countitems:82 19$#number>=#1) Goto $nlineoflabel:recharge2$
move 32955,32022,6
waitX 1
move 32955,32022,6
sayInTrade hi
sayInTrade svargrond
sayInTrade yes
move 32341,31113,6
move 32340,31114,7
gotoScriptLine $nlineoflabel:gotsofts$

Offline

 
  • Index
  •  » Skrypty
  •  » CASHMAKER Barbarian Small Camp with potion buyer and softs rechchanger

Board footer

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
GotLink.pl