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
Small Stones refill
#1
Looking for small stones pickup script, on target position. All scripts i found so far were refill from containers and not usefull for afk training. And if the script has a random parameter to pickup stones that would be great to make it look more legit
Reply

#2
Hello.

Tools->Pickup Sear on Direction pickups Small Stones as well.
But you can scripts below if you like.

This will pickup from a specific position on floor and move to your left hand (<<<) when you have less than the random a value between COUNT_PICKUP.MIN and .MAX that:

local COUNT_PICKUP = { MIN = 5, MAX = 10 } -- The minimum amount to have in hand to pickup from position.
local POSITION = { X = 12345, Y = 12345, Z = 12345 }
local SMALL_STONE_ID = 1781

if RANDOM_COUNT == nil then
    RANDOM_COUNT = random(COUNT_PICKUP.MIN, COUNT_PICKUP.MAX)
end

local player_lhand = lhand()

if player_lhand.id == 0 or (player_lhand.id == SMALL_STONE_ID and player_lhand.count <= RANDOM_COUNT) then
    moveitems(SMALL_STONE_ID, 'lhand', ground(POSITION.X, POSITION.Y, POSITION.Z), 100)
    wait(300)
    RANDOM_COUNT = random(COUNT_PICKUP.MIN, COUNT_PICKUP.MAX)
end


This will pickup from a current target position on floor and move to your left hand (<<<) when you have less than the random a value between COUNT_PICKUP.MIN and .MAX that:

local COUNT_PICKUP = { MIN = 5, MAX = 10 } -- The minimum amount to have in hand to pickup from position.
local SMALL_STONE_ID = 1781

if RANDOM_COUNT == nil then
    RANDOM_COUNT = random(COUNT_PICKUP.MIN, COUNT_PICKUP.MAX)
end

local player_lhand = lhand()
local target_creature = attacked()

if target_creature.id > 0 and (player_lhand.id == 0 or (player_lhand.id == SMALL_STONE_ID and player_lhand.count <= RANDOM_COUNT)) then
    moveitems(SMALL_STONE_ID, 'lhand', ground(target_creature.posx, target_creature.posy, target_creature.posz), 100)
    wait(300)
    RANDOM_COUNT = random(COUNT_PICKUP.MIN, COUNT_PICKUP.MAX)
end
Reply

#3
Thank you very much!
Reply

#4
Thank you !! Its working perfect
|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" />
Reply

#5
I have no idea what im doing wrong, but neither the lua script or the tool works for me :O

i found the problem, the problem is when im training on my druid ( player ) it doesnt pick up but if smallstones is not under a player it picks up
Reply

#6
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Hello.

Please, redownload and reinstall Mastercores OTBot v1.1.5.
Reply

#7
now it worked! Thanks alot <3
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016