View Full Version : Auto buy health potions
patrick00
11-03-2014, 12:59
Hey, i can't make the bot auto buy health potions when the potions get lower than the amount of 10.
How can i fix it?
Thanks!
patrick00
11-03-2014, 17:48
Hey, i can't make the bot auto buy health potions when the potions get lower than the amount of 10.
How can i fix it?
Thanks!
And can i sell my loot and after that how can i transfer my looted gold to another account?
I know how to transfer 3k automaticly, but i wanna know how i can transfer the variable of the looted gold.
Thanks!
oclipper
11-03-2014, 22:24
Remember that bot will only count items if bp is opened.
About transfer the exactly amount of gold u did, u will need all bp opened, count platinum and gold separately in different custom variable.
example:
fastExiva _goldid = [gold id] <------ determinate custom variable for gold, i dont remember gold id
fastExiva _count1 = $countitems:{$_goldid$}$ <------ count how many gold, leave ALL bps opened
fastExiva _platinumid = [platinum id] <------ determinate custom variable for platinum
fastExiva _count2 = $countitems:{$_platinumid$}$ <------ count how many platinum, leave ALL bps opened
sayMessage hi <--------- start talking with npc
sayMessage deposit $_count1$ <--------- say deposit how many gold you have
sayMessage yes
sayMessage deposit $_count2$00 <--------- same as above, 00 because 1 platinum = 100 gold
sayMessage yes
patrick00
11-05-2014, 17:53
Oke thanks!
patrick00
11-05-2014, 23:12
Oke thanks!
Hmmm, said to soon thanks :(
it doesn't work:(
tried it multiple times, but doesn't work:O
And if it will work, how can i make the amount of gold transferred to another account what i just did deposit?
that should be awesome if that works too!
oclipper
11-05-2014, 23:42
copy and paste your script here.
remember you need to put some "wait 1" between lines and leave all bps opened to avoid problem with count items
patrick00
11-05-2014, 23:57
here it is:P
I tried it also with transfer and another things, and i used also another script to combine this but that didn't work also...
fastExiva _goldid = D7 0B
fastExiva _count1 = $countitems:{$_goldid$}$
sayMessage hi
waitX 2
sayInTrade deposit $_goldid$
waitX 2
sayInTrade yes
waitX 2
sayInTrade transfer $_goldid$
waitX 2
sayInTrade ***********
sayInTrade yes
And found this in another script, i tried to figure it out for deposit gold and transfer gold instead withdraw gold for the amount of pots, but it didn't work:(:(
IfTrue ($countitems:{$_potid$}$#number>=#$_pots$) Goto $nlineoflabel:nowithdraw$
waitX 1
sayInTrade withdraw $numericalexp:{$numericalexp:{$numericalexp:{$_pot s$}-{$countitems:{$_potid$}$}$}*{$_potprice$}$}-{$numericalexp:{$countitems:{$_emptypotid$}$}*5$}$
oclipper
11-06-2014, 11:11
it will never deposit, omg. the variable is wrong its deposit "_count1"
patrick00
11-06-2014, 16:39
it will never deposit, omg. the variable is wrong its deposit "_count1"
hehe thanks!
works great now!
even made by my self a loot seller:D
now i have another question: I want to loot something "medicine pouch", and drop it in my depot.
But how can i make the bot loot the item in a bp, drop the bp in my depot. and rebuy an new bp?
Do u understand what i mean?
patrick00
11-07-2014, 01:33
i searched almost the whole site for an answer i want,
i found only this question without an answer :(
How do i decide my loots destination ? do i use hex because i want gold to go to one bp and stones to go to another, is it possible ?
if i know that, it would be awesome. Than i can deposit my gold and drop my loot bp in my depot. And i can buy after that a new one:D
Powered by vBulletin® Version 4.2.5 Copyright © 2021 vBulletin Solutions Inc. All rights reserved.