Log in

View Full Version : Port Hope Water Elemental deposit + refiller need help



Reantor
03-05-2013, 00:13
hi i'm new and i don't know what the problem ist. need help :(
i can't find my fault. always logged out but why? this is my first try do make a script and i hope u can help me.


##########################################
#############CONFIG#######################
##########################################
#put here number of amount of you potions to refil
fastExiva _potionsamount = 60
#put here number of cap to go dp
fastExiva _captodp = 20
#how much does you potions cost
fastExiva _potionscost = 80
#ID of your potions
fastExiva _potionid = ED 00
#ID of your vials
fastExiva _vialid = 1D 01
#put here amount of gold to go deposit
fastExiva _gp = 2000
##########################################
###DO NOT CHANGE IT!
cap 100
fastExiva _captogodp = $numericalexp{$_captodp$}100$
##########################################
start
setChaoticMovesON
onGMpause
setFriendly
######Monsters#####
setExoriVis Quara Mantassin Scout
setExoriVis Water Elemental
##############
####PRIORITIES####
#################
######LOOT######
setLoot ED 00
setLoot EC 0B
setLoot D7 0B
setLoot DB 0B
setLoot D2 0B
setLoot D3 0B
setLoot D4 0B
setLoot D8 0B
#################
IfTrue ($mycap$#number=#$_captogodp$) Goto $nlineoflabeldp$
IfTrue ($countitems{$_potionid$}$#number=#$_potionsamount $) Goto $nlineoflabeldp$
IfTrue ($countitemsD7 0B$#number=#$_gp$) Goto $nilneoflabeldp$
move 32632,32741,6
move 32629,32748,6
move 32629,32751,7
useItem 32618,32771,7
move 32629,32785,7
move 32602,32835,7
move 32561,32860,7
move 32555,32860,9
useItem 32554,32860,9
move 32552,32860,9
move 32542,32847,9
move 32530,32838,9
move 32513,32820,9
move 32501,32817,9
move 32498,32823,9
move 32496,32806,9
move 32497,32795,9
move 32503,32775,9
move 32513,32767,9
move 32515,32788,9
move 32526,32794,9
move 32546,32810,9
move 32564,32819,9
move 32552,32842,9
move 32550,32859,9
gotoScriptLine $nlineoflabelstart$
dp
setChaoticMovesOFF
#do dp
move 32552,32860,9
useItem 32554,32860,9
move 32557,32860,9
move 32561,32860,7
move 32604,32794,7
useItem 32604,32793,7
move 32630,32777,6
move 32618,32771,7
move 32625,32750,7
move 32632,32740,6
##########################################
##########################################
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
IfTrue ($_refil$#number=#0) Goto $nlineoflabelnopots2$
waitX 2
sayInTrade withdraw $_allpotionscost$
waitX 1
sayInTrade yes
nopots2
waitX 2
sayInTrade balance
waitX 1
sayInTrade Bye
##########################################
##########################################
##########################################
move 32630,32742,6
useItem 32630,32742,6
move 32624,32741,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
##########################################
move 32626,32742,6
move 32625,32750,7
move 32625,32747,7
putLootOnDepot
move 32625,32748,6
move 32632,32741,6
gotoScriptLine $nlineoflabelstart$

stepcio88
04-09-2013, 11:49
Please...help us!!!:( Plx:(

i can pay on Nerana.... Only help me make wpt..depositer..and relief like (when 45smp...go to dp...buy 300smp but items in dp and go hunt,again... only u must know about lvl's doors)