PDA

View Full Version : Need Roshamuul bucket script



foka
04-09-2016, 10:00 AM
I am looking for script use bucket in roshamuul.

Oscagi
04-09-2016, 10:43 AM
I am looking for script use bucket in roshamuul.

Can yoou give more information? If it just use a item from ground use:

Self.UseItemFromGround(x,y,z)

If u need use this bucket from backpack u have to use this:

Self.UseItemWithGround(ID, x,y,z)


Tell me more info.

foka
04-09-2016, 11:46 AM
if it will be [ID 20135] -> use [ID 9598]
if it will be [ID 20133] - use it

Oscagi
04-09-2016, 02:00 PM
if it will be [ID 20135] -> use [ID 9598]
if it will be [ID 20133] - use it

I dont understand u, sorry.

Explain it better.

foka
04-09-2016, 04:04 PM
if it will be stone [ID stone is 20135] use on it [ID 9598]
then
if it will be rubble [ID rubble is 20133] use right mouse button

is better? understand?

Oscagi
04-09-2016, 06:23 PM
if it will be stone [ID stone is 20135] use on it [ID 9598]
then
if it will be rubble [ID rubble is 20133] use right mouse button

is better? understand?


RockID1 = 20135
RockID2 = 20133
BucketID = 9598
Module.New('Rocker', function RockChecker(checker)
if (Self.TargetID() <= 0) then
for y = -5, 5 do
for x -5, 5 do
if table.contains(RockID1, Map.GetTopUseItem(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id) then
Walker.Stop()
Self.UseItemWithGround(BucketID, Self.Position().x + x, Self.Position().y + y, Self.Position().z)
wait(1500)
Walker.Start()
checker:Delay(1000, 5000)
else
if table.contains(RockID2, Map.GetTopUseItem(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id) then
Walker.Stop()
Self.UseItemWithGround(Self.Position().x + x, Self.Position().y + y, Self.Position().z)
wait(1500)
Walker.Start()
checker:Delay(1000, 5000)
end
end
end
end
end
end)


Idk if it works.. Test it.

foka
04-10-2016, 10:02 AM
testing

foka
04-10-2016, 07:52 PM
it's not good

Oscagi
04-10-2016, 10:46 PM
it's not good

Tell me then. If u play hexera add me to Oscagi.