Dede
01-20-2009, 19:21
Greetings,
Yesterday I was looking for a script to work in Kazz caves but I haven't found one good enough for me so I tried to change Malmis Custom Kaz Caves to work with 8.4 and of course I have done some personal changes on the script.
What this script does?
The script will hunt for a while inside Kazz dwarfs caves, then when your cap is lower then 100 or when you have less then 5 mana potions inside your backpacks It will go to depot. (If you have battle axes or dwarven shields inside your backpack It will sell them for you). Then It will check your mana potions again to see if you realy need to buy them, So it goes to the bank, checks for it and if you realy need the mps it will deposit the gold that you have gather on the hunt and then it will withdraw the cash you need to reestock your manas.
Then when everything is OK again, it will go back to hunt.
Oh and It runs away in case of a pk attack you.
Where is the old script?
http://www.blackdtools.net/sho...ht=Malmis+Kazz
I have tested it on a mage level 32 with Wand of dragonbreath and plate set,
Used exura on 90% and exura gran at 50%, and used a cond to refill the mana when lower then 7%
Remember to set you character to eat the food because it loots the white mushs.
Oh also, in this script unfortunnaly you can easy be killed by dwarf guards so I always have a single HMM backpack open in case one of that bastards get lured.
SMALL TIP, YOUR REFILLER WILL NOT BUG ANYMORE.
http://img170.imageshack.us/img170/1143/baglz7.jpg
Where you see the red balls ( o )are your mana potion backpacks.
Where you see the black ball ( o ) is your normal backpack.
Then fullfill the rest of the bag with labels, so It won't be a mess when you buy your mana's.
Credits:
#Dede for upgrading to 8.4.
#Waypoints and cauculator done by Malmis.
#Wiotki for fixing the script.
#Chain for the manas reestock, the small tip and run in danger.
# MP = 0C 01, SMP = ED 00, GMP = EE 00
fastExiva _manapotionid = 0C 01
# How many manas do you have?
fastExiva _manas = 40
# How much does 1 potion cost? MP = 50, SMP = 80, GMP = 120
fastExiva _idcost = 50
#
fastExiva _dwarvenshield = 0
fastExiva _battleaxe = 0
fastExiva _xbow = 0
fastExiva _gold = 0
fastExiva _mushroom = 0
fastExiva _ore = 0
fastExiva _ring = 0
#
:hunt
onGMpause
setFriendly
#white mushroom
setLoot 8B 0E
#gold
setLoot D7 0B
#plats
setLoot DB 0B
#x-bow 160
setLoot 15 0D
#battle axe 80
setLoot C2 0C
#axe ring
setLoot 14 0C
#dwarven shield 100
setLoot 61 0D
#iron ore
setLoot F8 16
setPriority dwarf guard:+1
setMeleeKill bat
setMeleeKill rotworm
setMeleeKill rat
setMeleeKill dwarf
setMeleeKill spider
setMeleeKill dwarf soldier
setMeleeKill slime
setMeleeKill poison spider
setMeleeKill dwarf guard
setHmmKill dwarf guard
onDangerGoto $nlineoflabel:TOCA O ALARME QUE FUDEU!$
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
move 32665,31942,13
move 32664,31960,13
move 32663,31979,13
move 32650,31994,13
move 32650,31985,13
move 32664,31970,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
move 32664,31929,13
move 32663,31926,13
move 32659,31938,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dps$
move 32643,31949,13
move 32628,31940,13
move 32619,31919,13
move 32602,31907,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
move 32607,31874,13
move 32625,31874,13
move 32597,31888,13
move 32584,31901,13
move 32583,31879,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dps$
move 32564,31878,13
move 32576,31912,13
move 32560,31903,13
move 32554,31921,13
move 32591,31907,13
move 32613,31920,13
move 32647,31937,13
move 32667,31942,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
gotoScriptLine $nlineoflabel:hunt$
:dp
move 32664,31940,13
move 32667,31940,13
move 32667,31940,12
move 32668,31941,11
move 32667,31940,10
move 32658,31938,10
move 32643,31938,10
move 32633,31934,10
move 32629,31937,10
move 32628,31937,11
move 32622,31938,11
move 32620,31939,10
move 32597,31939,10
move 32619,31949,10
move 32623,31952,10
move 32624,31950,9
move 32648,31936,9
fastExiva _dwarvenshield = $numericalexp:{$countitems:61 0D$}+{$_dwarvenshield$}$
fastExiva _battleaxe = $numericalexp:{$countitems:C2 0C$}+{$_battleaxe$}$
IfTrue ($countitems:61 0D$#number=#0) Goto $nlineoflabel:sba$
:sds
move 32653,31887,9
waitX 1
move 32653,31887,9
sayMessage hi
waitX 2
sayInTrade trade
waitX 2
fastExiva > 06 00 7B 61 0D 00 $numbertohex2:100$ 01
waitX 1
sayInTrade bye
stackItems
:sba
IfTrue ($countitems:C2 0C$#number=#0) Goto $nlineoflabel:bank$
move 32661,31894,9
sayMessage hi
waitX 2
sayInTrade trade
waitX 2
fastExiva > 06 00 7B C2 0C 00 $numbertohex2:100$ 01
waitX 1
sayInTrade bye
fastExiva _gold = $numericalexp:{$numericalexp:{$countitems:DB 0B$00}+{$countitems:D7 0B$}$}+{$_gold$}$
stackItems
:bank
move 32654,31923,9
waitX 1
move 32654,31923,9
waitX 1
IfFewItemsGoto 0c 01,5,$nlineoflabel:bankmanas$
saymessage hi
waitX 2
fastExiva > 96 04 $hex-tibiastr:deposit all$
waitX 1
fastExiva > 96 04 $hex-tibiastr:yes$
fastExiva _battleaxe = $numericalexp:{$countitems:C2 0C$}+{$_battleaxe$}$
fastExiva _xbow = $numericalexp:{$countitems:15 0D$}+{$_xbow$}$
fastExiva _mushroom = $numericalexp:{$countitems:8B 0E$}+{$_mushroom$}$
fastExiva _ore = $numericalexp:{$countitems:F8 16$}+{$_ore$}$
fastExiva _ring = $numericalexp:{$countitems:14 0C$}+{$_ring$}$
:bankmanas
fastExiva _calcmanas = $numericalexp:{$_manas$}-{$countitems:0C 01$}$
fastExiva _manacost = $numericalexp:{$_calcmanas$}*{$_idcost$}$
saymessage hi
waitX 2
fastExiva > 96 04 $hex-tibiastr:deposit all$
waitX 1
fastExiva > 96 04 $hex-tibiastr:yes$
waitx 1
sayInTrade withdraw $_manacost$
waitX 1
fastExiva > 96 04 $hex-tibiastr:yes$
waitX 1
move 32648,31903,9
move 32610,31902,9
move 32610,31921,9
move 32612,31922,8
move 32624,31922,8
move 32625,31921,7
move 32625,31920,6
move 32609,31925,6
move 32613,31929,5
:manabuy
sayMessage exiva > 05 00 A2 67 00 00 40
waitX 5
sayInTrade hi
waitX 1
sayInTrade flask
waitX 1
sayInTrade yes
waitX 1
fastExiva > 96 04 $hex-tibiastr:trade$
waitx 2
fastExiva buy:0C 01:{$_calcmanas$}
IfEnoughItemsGoto 0c 01,$_manas$,$nlineoflabel:deposit loot$
IfFewItemsGoto 0c 01,5,$nlineoflabel:manabuy$
:deposit loot
move 32613,31929,5
move 32609,31925,6
move 32625,31920,6
move 32625,31921,7
move 32624,31922,8
move 32612,31922,8
move 32610,31921,9
move 32610,31902,9
move 32648,31903,9
move 32645,31909,9
move 32646,31908,8
putLootOnDepot
waitX 1
fastExiva < B4 12 $hex-tibiastr:Played for: {$played$}, looted {$_gold$} pure cash (sold {$_dwarvenshield$} shield and {$_battleaxe$} axes), {$_mushroom$} White mushrooms, {$_ore$} Iron ores, {$_ring$} Axe rings and loot worth {$numericalexp:{$_xbow$}*160$}$} gold.$
move 32608,31925,5
move 32607,31926,6
move 32625,31920,6
move 32625,31920,7
move 32623,31921,8
move 32612,31922,8
move 32612,31921,9
move 32605,31921,9
move 32604,31921,10
move 32596,31938,10
move 32620,31937,10
move 32621,31938,11
move 32628,31938,11
move 32629,31935,10
move 32643,31937,10
move 32666,31939,10
move 32668,31940,11
move 32668,31939,12
move 32667,31940,13
gotoScriptLine $nlineoflabel:hunt$
:TOCA O ALARME QUE FUDEU!
waitX 2
sayMessage STOP RIGHT NOW!
move 32667,31939,13
move 32667,31940,12
move 32666,31939,11
move 32666,31940,10
move 32665,31934,10
move 32640,31937,10
move 32629,31933,10
move 32628,31938,11
move 32621,31939,11
move 32621,31938,10
move 32598,31939,10
move 32605,31921,10
move 32606,31921,9
move 32611,31921,9
move 32612,31922,8
move 32631,31921,8
move 32650,31916,8
waitX 60
fastExiva close
Yesterday I was looking for a script to work in Kazz caves but I haven't found one good enough for me so I tried to change Malmis Custom Kaz Caves to work with 8.4 and of course I have done some personal changes on the script.
What this script does?
The script will hunt for a while inside Kazz dwarfs caves, then when your cap is lower then 100 or when you have less then 5 mana potions inside your backpacks It will go to depot. (If you have battle axes or dwarven shields inside your backpack It will sell them for you). Then It will check your mana potions again to see if you realy need to buy them, So it goes to the bank, checks for it and if you realy need the mps it will deposit the gold that you have gather on the hunt and then it will withdraw the cash you need to reestock your manas.
Then when everything is OK again, it will go back to hunt.
Oh and It runs away in case of a pk attack you.
Where is the old script?
http://www.blackdtools.net/sho...ht=Malmis+Kazz
I have tested it on a mage level 32 with Wand of dragonbreath and plate set,
Used exura on 90% and exura gran at 50%, and used a cond to refill the mana when lower then 7%
Remember to set you character to eat the food because it loots the white mushs.
Oh also, in this script unfortunnaly you can easy be killed by dwarf guards so I always have a single HMM backpack open in case one of that bastards get lured.
SMALL TIP, YOUR REFILLER WILL NOT BUG ANYMORE.
http://img170.imageshack.us/img170/1143/baglz7.jpg
Where you see the red balls ( o )are your mana potion backpacks.
Where you see the black ball ( o ) is your normal backpack.
Then fullfill the rest of the bag with labels, so It won't be a mess when you buy your mana's.
Credits:
#Dede for upgrading to 8.4.
#Waypoints and cauculator done by Malmis.
#Wiotki for fixing the script.
#Chain for the manas reestock, the small tip and run in danger.
# MP = 0C 01, SMP = ED 00, GMP = EE 00
fastExiva _manapotionid = 0C 01
# How many manas do you have?
fastExiva _manas = 40
# How much does 1 potion cost? MP = 50, SMP = 80, GMP = 120
fastExiva _idcost = 50
#
fastExiva _dwarvenshield = 0
fastExiva _battleaxe = 0
fastExiva _xbow = 0
fastExiva _gold = 0
fastExiva _mushroom = 0
fastExiva _ore = 0
fastExiva _ring = 0
#
:hunt
onGMpause
setFriendly
#white mushroom
setLoot 8B 0E
#gold
setLoot D7 0B
#plats
setLoot DB 0B
#x-bow 160
setLoot 15 0D
#battle axe 80
setLoot C2 0C
#axe ring
setLoot 14 0C
#dwarven shield 100
setLoot 61 0D
#iron ore
setLoot F8 16
setPriority dwarf guard:+1
setMeleeKill bat
setMeleeKill rotworm
setMeleeKill rat
setMeleeKill dwarf
setMeleeKill spider
setMeleeKill dwarf soldier
setMeleeKill slime
setMeleeKill poison spider
setMeleeKill dwarf guard
setHmmKill dwarf guard
onDangerGoto $nlineoflabel:TOCA O ALARME QUE FUDEU!$
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
move 32665,31942,13
move 32664,31960,13
move 32663,31979,13
move 32650,31994,13
move 32650,31985,13
move 32664,31970,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
move 32664,31929,13
move 32663,31926,13
move 32659,31938,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dps$
move 32643,31949,13
move 32628,31940,13
move 32619,31919,13
move 32602,31907,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
move 32607,31874,13
move 32625,31874,13
move 32597,31888,13
move 32584,31901,13
move 32583,31879,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dps$
move 32564,31878,13
move 32576,31912,13
move 32560,31903,13
move 32554,31921,13
move 32591,31907,13
move 32613,31920,13
move 32647,31937,13
move 32667,31942,13
IfTrue ($mycap$#number<=#5000) Goto $nlineoflabel:dp$
IfFewItemsGoto 0c 01,5,$nlineoflabel:dp$
gotoScriptLine $nlineoflabel:hunt$
:dp
move 32664,31940,13
move 32667,31940,13
move 32667,31940,12
move 32668,31941,11
move 32667,31940,10
move 32658,31938,10
move 32643,31938,10
move 32633,31934,10
move 32629,31937,10
move 32628,31937,11
move 32622,31938,11
move 32620,31939,10
move 32597,31939,10
move 32619,31949,10
move 32623,31952,10
move 32624,31950,9
move 32648,31936,9
fastExiva _dwarvenshield = $numericalexp:{$countitems:61 0D$}+{$_dwarvenshield$}$
fastExiva _battleaxe = $numericalexp:{$countitems:C2 0C$}+{$_battleaxe$}$
IfTrue ($countitems:61 0D$#number=#0) Goto $nlineoflabel:sba$
:sds
move 32653,31887,9
waitX 1
move 32653,31887,9
sayMessage hi
waitX 2
sayInTrade trade
waitX 2
fastExiva > 06 00 7B 61 0D 00 $numbertohex2:100$ 01
waitX 1
sayInTrade bye
stackItems
:sba
IfTrue ($countitems:C2 0C$#number=#0) Goto $nlineoflabel:bank$
move 32661,31894,9
sayMessage hi
waitX 2
sayInTrade trade
waitX 2
fastExiva > 06 00 7B C2 0C 00 $numbertohex2:100$ 01
waitX 1
sayInTrade bye
fastExiva _gold = $numericalexp:{$numericalexp:{$countitems:DB 0B$00}+{$countitems:D7 0B$}$}+{$_gold$}$
stackItems
:bank
move 32654,31923,9
waitX 1
move 32654,31923,9
waitX 1
IfFewItemsGoto 0c 01,5,$nlineoflabel:bankmanas$
saymessage hi
waitX 2
fastExiva > 96 04 $hex-tibiastr:deposit all$
waitX 1
fastExiva > 96 04 $hex-tibiastr:yes$
fastExiva _battleaxe = $numericalexp:{$countitems:C2 0C$}+{$_battleaxe$}$
fastExiva _xbow = $numericalexp:{$countitems:15 0D$}+{$_xbow$}$
fastExiva _mushroom = $numericalexp:{$countitems:8B 0E$}+{$_mushroom$}$
fastExiva _ore = $numericalexp:{$countitems:F8 16$}+{$_ore$}$
fastExiva _ring = $numericalexp:{$countitems:14 0C$}+{$_ring$}$
:bankmanas
fastExiva _calcmanas = $numericalexp:{$_manas$}-{$countitems:0C 01$}$
fastExiva _manacost = $numericalexp:{$_calcmanas$}*{$_idcost$}$
saymessage hi
waitX 2
fastExiva > 96 04 $hex-tibiastr:deposit all$
waitX 1
fastExiva > 96 04 $hex-tibiastr:yes$
waitx 1
sayInTrade withdraw $_manacost$
waitX 1
fastExiva > 96 04 $hex-tibiastr:yes$
waitX 1
move 32648,31903,9
move 32610,31902,9
move 32610,31921,9
move 32612,31922,8
move 32624,31922,8
move 32625,31921,7
move 32625,31920,6
move 32609,31925,6
move 32613,31929,5
:manabuy
sayMessage exiva > 05 00 A2 67 00 00 40
waitX 5
sayInTrade hi
waitX 1
sayInTrade flask
waitX 1
sayInTrade yes
waitX 1
fastExiva > 96 04 $hex-tibiastr:trade$
waitx 2
fastExiva buy:0C 01:{$_calcmanas$}
IfEnoughItemsGoto 0c 01,$_manas$,$nlineoflabel:deposit loot$
IfFewItemsGoto 0c 01,5,$nlineoflabel:manabuy$
:deposit loot
move 32613,31929,5
move 32609,31925,6
move 32625,31920,6
move 32625,31921,7
move 32624,31922,8
move 32612,31922,8
move 32610,31921,9
move 32610,31902,9
move 32648,31903,9
move 32645,31909,9
move 32646,31908,8
putLootOnDepot
waitX 1
fastExiva < B4 12 $hex-tibiastr:Played for: {$played$}, looted {$_gold$} pure cash (sold {$_dwarvenshield$} shield and {$_battleaxe$} axes), {$_mushroom$} White mushrooms, {$_ore$} Iron ores, {$_ring$} Axe rings and loot worth {$numericalexp:{$_xbow$}*160$}$} gold.$
move 32608,31925,5
move 32607,31926,6
move 32625,31920,6
move 32625,31920,7
move 32623,31921,8
move 32612,31922,8
move 32612,31921,9
move 32605,31921,9
move 32604,31921,10
move 32596,31938,10
move 32620,31937,10
move 32621,31938,11
move 32628,31938,11
move 32629,31935,10
move 32643,31937,10
move 32666,31939,10
move 32668,31940,11
move 32668,31939,12
move 32667,31940,13
gotoScriptLine $nlineoflabel:hunt$
:TOCA O ALARME QUE FUDEU!
waitX 2
sayMessage STOP RIGHT NOW!
move 32667,31939,13
move 32667,31940,12
move 32666,31939,11
move 32666,31940,10
move 32665,31934,10
move 32640,31937,10
move 32629,31933,10
move 32628,31938,11
move 32621,31939,11
move 32621,31938,10
move 32598,31939,10
move 32605,31921,10
move 32606,31921,9
move 32611,31921,9
move 32612,31922,8
move 32631,31921,8
move 32650,31916,8
waitX 60
fastExiva close