Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
refill bps mf
#1
Does anyone know a good way to throw empty backpacks away with a script that uses a action itemcountmsg() to check and leave cave to refill?
The problem i'm having is to setup a action to buy more bps mf while having a ton of backpacks empty on the character.

Any ideas? :p
thanks in advance

#2
That depends on how you organize your backpack. Maybe you could use itemcountmsg to know how many mana fluids are left and check how many empty bps there are.
For example: You go hunt with 180 MF (a backpack with 9 backpacks of mf inside) then you check that you have 30 MFs. So you just need to calculate ((180 - 30) / 20) -> 150 / 20 -> 7,5. Round down: 7. So you have 7 empty backpacks... Then you could use moveitems() or moveitemsslot() to drop the fist 7 containers.
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Smile" title="Smile" class="smilie smilie_1" />



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016