blackd
02-24-2011, 14:39
Description:you can set the ammount of pots to refill, also ammount of cap to refill and it includes a depositer...
where to start: at cave
########Made by Snowman##############
fastExiva < B4 19 $hex-tibiastr:Welcome to Snowman's Yalahar Cemetery with depositer and mana potion buyer script!$
waitX 1
fastExiva < B4 19 $hex-tibiastr:You must have opened your all bps- with potions and empty bps for cash.$
###CONFIG####
#put here number of amount of you potions to refil
fastExiva _potionsamount = 50
#put here number of cap to go dp
fastExiva _captodp = 150
#how much does you potions cost
fastExiva _potionscost = 50
#ID of your potions
fastExiva _potionID = 0C 01
#ID of your vials
fastExiva _vialid = 1D 01
############
:cap *100
fastExiva _captogodp = $numericalexp:{$_captodp$}*100$
##########
#Hunt
:start
setChaoticMovesON
onGMpause
setMeleeKill ghoul
setMeleeKill crypt shambler
setPriority crypt shambler:+1
setMeleeKill demon skeleton
setmeleekill skeleton
setLoot D3 0B
setLoot 0C 01
setLoot 1A 17
setLoot 57 0D
setLoot D7 0B
setLoot 19 17
setLoot D4 0B
setLoot D4 0B
setLoot C1 0C
setLoot 25 17
setLoot E9 0C
setLoot 1D 0D
setLoot D7 0C
IfTrue ($mycap$#number<=#$_captogodp$) Goto $nlineoflabel:deposit$
IfTrue ($countitems:{$_potionID$}$#number<=#$_potionsamount$) Goto $nlineoflabel:deposit$
move 32784,31118,9
move 32775,31117,9
move 32774,31106,9
move 32774,31101,9
move 32768,31093,9
move 32755,31086,9
move 32744,31089,9
move 32739,31083,9
move 32736,31079,9
move 32736,31073,9
move 32733,31070,9
move 32734,31064,9
move 32728,31064,9
move 32733,31070,9
move 32740,31085,9
move 32736,31093,9
move 32736,31098,9
move 32728,31099,9
move 32729,31104,9
move 32732,31111,9
move 32739,31112,9
move 32738,31106,9
move 32737,31095,9
move 32740,31092,9
move 32753,31088,9
move 32757,31088,9
move 32770,31093,9
move 32774,31103,9
move 32775,31110,9
move 32775,31114,9
move 32781,31119,9
move 32790,31124,9
move 32797,31127,9
move 32805,31137,9
move 32805,31143,9
gotoScriptLine $nlineoflabel:start$
:deposit
setChaoticMovesOFF
sayMessage Exiva < B4 19 $hex-tibiastr:Going to deposit !$
move 32788,31117,9
move 32788,31118,8
move 32789,31119,8
move 32789,31120,7
move 32780,31118,7
move 32777,31113,7
move 32788,31105,7
move 32799,31103,7
sayMessage Hi
waitX 3
fastExiva > 96 04 $hex-tibiastr:pass$
waitX 3
fastExiva > 96 04 $hex-tibiastr:magician$
waitX 1
move 32813,31103,7
move 32836,31108,7
move 32837,31127,7
move 32835,31142,7
move 32835,31144,6
move 32835,31146,5
move 32834,31152,5
move 32834,31154,6
move 32834,31156,7
move 32859,31187,7
move 32856,31222,7
move 32841,31248,7
move 32824,31248,7
##########################################
##########################################
:BANK
###POTS CONFIGS###
fastExiva _potionstobuy = $countitems:{$_vialid$}$
fastExiva _cashfromvials = $numericalexp:{$countitems:{$_vialid$}$}*5$
fastExiva _potioncost = $numericalexp:{$_potionstobuy$}*{$_potionscost$}$
fastExiva _allpotionscost = $numericalexp:{$_potioncost$}-{$_cashfromvials$}$
##########################################
##########################################
#Depositing gold
sayMessage hi
waitX 1
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2
sayInTrade withdraw $_allpotionscost$
waitX 1
sayInTrade yes
waitX 2
sayInTrade balance
waitX 1
sayInTrade Bye
##########################################
##########################################
##WAYPOINTS FROM BANK TO MAGIC SHOP
move 32790,31238,7
move 32790,31238,6
move 32789,31238,5
##########################################
##########################################
#MAGIC SHOP
sayMessage hi
waitX 1
sayInTrade trade
waitX 2
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva buy:$_potionid$:$_potionstobuy$
waitX 2
sayInTrade bye
##########################################
##########################################
################################################## #######
###WAYPOINTS FROM MAGIC SHOP TO DP
move 32789,31238,5
move 32790,31238,6
move 32790,31238,7
move 32791,31248,7
move 32786,31247,7
move 32786,31247,6
move 32781,31244,6
#################################################
putlootondepot
move 32786,31247,6
move 32788,31248,7
move 32790,31238,7
move 32790,31238,6
move 32789,31238,5
move 32745,31216,7
move 32745,31192,7
move 32750,31180,7
move 32757,31169,7
move 32767,31159,7
move 32798,31150,7
move 32819,31156,7
move 32833,31156,7
move 32833,31154,6
move 32833,31152,5
move 32834,31146,5
move 32834,31144,6
move 32834,31142,7
move 32840,31125,7
move 32840,31112,7
move 32817,31105,7
move 32804,31103,7
sayMessage Hi
waitX 3
fastExiva > 96 04 $hex-tibiastr:pass$
waitX 3
fastExiva > 96 04 $hex-tibiastr:cemetery$
waitX 1
move 32795,31103,7
move 32778,31112,7
move 32778,31117,7
sayMessage exiva > 0A 00 82 0A 80 8E 79 07 AA 21 01 0A
move 32788,31119,7
move 32789,31119,8
move 32788,31117,9
gotoScriptLine $nlineoflabel:start$
where to start: at cave
########Made by Snowman##############
fastExiva < B4 19 $hex-tibiastr:Welcome to Snowman's Yalahar Cemetery with depositer and mana potion buyer script!$
waitX 1
fastExiva < B4 19 $hex-tibiastr:You must have opened your all bps- with potions and empty bps for cash.$
###CONFIG####
#put here number of amount of you potions to refil
fastExiva _potionsamount = 50
#put here number of cap to go dp
fastExiva _captodp = 150
#how much does you potions cost
fastExiva _potionscost = 50
#ID of your potions
fastExiva _potionID = 0C 01
#ID of your vials
fastExiva _vialid = 1D 01
############
:cap *100
fastExiva _captogodp = $numericalexp:{$_captodp$}*100$
##########
#Hunt
:start
setChaoticMovesON
onGMpause
setMeleeKill ghoul
setMeleeKill crypt shambler
setPriority crypt shambler:+1
setMeleeKill demon skeleton
setmeleekill skeleton
setLoot D3 0B
setLoot 0C 01
setLoot 1A 17
setLoot 57 0D
setLoot D7 0B
setLoot 19 17
setLoot D4 0B
setLoot D4 0B
setLoot C1 0C
setLoot 25 17
setLoot E9 0C
setLoot 1D 0D
setLoot D7 0C
IfTrue ($mycap$#number<=#$_captogodp$) Goto $nlineoflabel:deposit$
IfTrue ($countitems:{$_potionID$}$#number<=#$_potionsamount$) Goto $nlineoflabel:deposit$
move 32784,31118,9
move 32775,31117,9
move 32774,31106,9
move 32774,31101,9
move 32768,31093,9
move 32755,31086,9
move 32744,31089,9
move 32739,31083,9
move 32736,31079,9
move 32736,31073,9
move 32733,31070,9
move 32734,31064,9
move 32728,31064,9
move 32733,31070,9
move 32740,31085,9
move 32736,31093,9
move 32736,31098,9
move 32728,31099,9
move 32729,31104,9
move 32732,31111,9
move 32739,31112,9
move 32738,31106,9
move 32737,31095,9
move 32740,31092,9
move 32753,31088,9
move 32757,31088,9
move 32770,31093,9
move 32774,31103,9
move 32775,31110,9
move 32775,31114,9
move 32781,31119,9
move 32790,31124,9
move 32797,31127,9
move 32805,31137,9
move 32805,31143,9
gotoScriptLine $nlineoflabel:start$
:deposit
setChaoticMovesOFF
sayMessage Exiva < B4 19 $hex-tibiastr:Going to deposit !$
move 32788,31117,9
move 32788,31118,8
move 32789,31119,8
move 32789,31120,7
move 32780,31118,7
move 32777,31113,7
move 32788,31105,7
move 32799,31103,7
sayMessage Hi
waitX 3
fastExiva > 96 04 $hex-tibiastr:pass$
waitX 3
fastExiva > 96 04 $hex-tibiastr:magician$
waitX 1
move 32813,31103,7
move 32836,31108,7
move 32837,31127,7
move 32835,31142,7
move 32835,31144,6
move 32835,31146,5
move 32834,31152,5
move 32834,31154,6
move 32834,31156,7
move 32859,31187,7
move 32856,31222,7
move 32841,31248,7
move 32824,31248,7
##########################################
##########################################
:BANK
###POTS CONFIGS###
fastExiva _potionstobuy = $countitems:{$_vialid$}$
fastExiva _cashfromvials = $numericalexp:{$countitems:{$_vialid$}$}*5$
fastExiva _potioncost = $numericalexp:{$_potionstobuy$}*{$_potionscost$}$
fastExiva _allpotionscost = $numericalexp:{$_potioncost$}-{$_cashfromvials$}$
##########################################
##########################################
#Depositing gold
sayMessage hi
waitX 1
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2
sayInTrade withdraw $_allpotionscost$
waitX 1
sayInTrade yes
waitX 2
sayInTrade balance
waitX 1
sayInTrade Bye
##########################################
##########################################
##WAYPOINTS FROM BANK TO MAGIC SHOP
move 32790,31238,7
move 32790,31238,6
move 32789,31238,5
##########################################
##########################################
#MAGIC SHOP
sayMessage hi
waitX 1
sayInTrade trade
waitX 2
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva buy:$_potionid$:$_potionstobuy$
waitX 2
sayInTrade bye
##########################################
##########################################
################################################## #######
###WAYPOINTS FROM MAGIC SHOP TO DP
move 32789,31238,5
move 32790,31238,6
move 32790,31238,7
move 32791,31248,7
move 32786,31247,7
move 32786,31247,6
move 32781,31244,6
#################################################
putlootondepot
move 32786,31247,6
move 32788,31248,7
move 32790,31238,7
move 32790,31238,6
move 32789,31238,5
move 32745,31216,7
move 32745,31192,7
move 32750,31180,7
move 32757,31169,7
move 32767,31159,7
move 32798,31150,7
move 32819,31156,7
move 32833,31156,7
move 32833,31154,6
move 32833,31152,5
move 32834,31146,5
move 32834,31144,6
move 32834,31142,7
move 32840,31125,7
move 32840,31112,7
move 32817,31105,7
move 32804,31103,7
sayMessage Hi
waitX 3
fastExiva > 96 04 $hex-tibiastr:pass$
waitX 3
fastExiva > 96 04 $hex-tibiastr:cemetery$
waitX 1
move 32795,31103,7
move 32778,31112,7
move 32778,31117,7
sayMessage exiva > 0A 00 82 0A 80 8E 79 07 AA 21 01 0A
move 32788,31119,7
move 32789,31119,8
move 32788,31117,9
gotoScriptLine $nlineoflabel:start$