Code: Select all
uo.getstatus(obj)
Wait(100)
uo.gethp(id)
Moderators: Murderator+, Murderator
Code: Select all
uo.getstatus(obj)
Wait(100)
uo.gethp(id)
Code: Select all
var wordx, wordy, i
dim Position[2]
Position[1] = "1234 345"
Position[2] = "5678 890"
for i = 1 to 2
wordx = val(GetWord(Position[i], 1))
wordy = val(GetWord(Position[i], 2))
Walker(wordx, wordy, 0)
Code: Select all
var i, MineOne, MineTwo, wordx, wordy, wordnumber,
MineOne = "1234 567 2345 678 1234 567 2345 678 1234 567 2345 678"
MineTwo = "1234 567 2345 678 1234 567 2345 678 1234 567 2345 678"
for i = 1 to 6
wordnumber = i + i - 1
wordx = val(GetWord(MineOne, wordnumber))
wordnumber = i + i
wordy = val(GetWord(MineOne, wordnumber))
Walker(wordx, wordy, 0)
Code: Select all
var XYMineOne = "1234 567 2345 678 1234 567 2345 678 1234 567 2345 678"
for i = 1 to 3
wordnumber = i + i - 1
wordx = val(GetWord(MineOne, wordnumber))
wordnumber = i + i
wordy = val(GetWord(MineOne, wordnumber))
Walker(wordx, wordy, 0)
for i = 3 to 6
wordnumber = i + i - 1
wordx = val(GetWord(MineOne, wordnumber))
wordnumber = i + i
wordy = val(GetWord(MineOne, wordnumber))
Walker(wordx, wordy, 0)
Code: Select all
var XYMineOne = "1234 567 2345 678 1234 567 2345 678 1234 567 2345 678"
if minenumber == "1" then
for i = 1 to 3
wordnumber = i + i - 1
wordx = val(GetWord(MineOne, wordnumber))
wordnumber = i + i
wordy = val(GetWord(MineOne, wordnumber))
Walker(wordx, wordy, 0)
end if
if minenumber == "2" then
for i = 3 to 6
wordnumber = i + i - 1
wordx = val(GetWord(MineOne, wordnumber))
wordnumber = i + i
wordy = val(GetWord(MineOne, wordnumber))
Walker(wordx, wordy, 0)
end if
Code: Select all
if (uo.getx() == 1234 and uo.gety() == 345) or (uo.getx() == 2345 and uo.gety() == 567) then
wherex = uo.getx()
wherey = uo.gety() + 5
Walker(wherex, wherey, 0)
Code: Select all
var wordnumber, mypos
mypos = (str(uo.getx()) + " " + str(uo.gety()))
if wordnumber содержит в себе mypos then
wordnumber = "1234 789|1234 789|1234 789|1234 789|1234 789|1234 789|1234 789|1234 789|1234 789|1234 789"
end if
Code: Select all
walker(1887, 271, 0)
walker(1897, 271, 0)
walker(1904, 271, 0)
Mine()
walker(1912, 273, 0)
Mine()
walker(1916, 281, 0)
Mine()
walker(1921, 276, 0)
Mine()
walker(1921, 269, 0)
Mine()
walker(1924, 264, 0)
Mine()
Code: Select all
sub Skin()
uo.set("finddistance", "16")
var i, r, myposx, myposy, corpseid, weapon, animalfind, corpsefind, timer, msg = "fizzles"
dim Animal[9]
Animal[1] = "0x00E8" ; Brown Bull
Animal[2] = "0x00E9" ; Bull
Animal[3] = "0x00E7" ; Brown Cow
Animal[4] = "0x00D8" ; Cow
Animal[5] = "0x00CB" ; Pig
Animal[6] = "0x0122" ; Boar
Animal[7] = "0x0005" ; Eagle
Animal[8] = "0x0006" ; Small Birds
Animal[9] = "0x00D0" ; Chicken
dim Rune[14]
Rune[1] = "0x00000000"
Rune[2] = "0x00000000"
Rune[3] = "0x00000000"
Rune[4] = "0x00000000"
Rune[5] = "0x00000000"
Rune[6] = "0x00000000"
Rune[7] = "0x00000000"
Rune[8] = "0x00000000"
Rune[9] = "0x00000000"
Rune[10] = "0x00000000"
Rune[11] = "0x00000000"
Rune[12] = "0x00000000"
Rune[13] = "0x00000000"
Rune[14] = "0x00000000"
repeat
for r = 1 to 14
repeat
Deljournal(msg)
uo.cast("Recall", Rune[r])
timer = uo.timer() + 25
repeat
wait(120)
until uo.injournal(msg) or (not uo.injournal(msg) and timer <= uo.timer())
until not uo.injournal(msg)
wait(500)
repeat
uo.findtype("0x2006", "-1", "ground")
if uo.findcount() then
uo.ignore("finditem")
wait(150)
end if
until not uo.findcount()
for i = 1 to 9
repeat
while uo.getglobal("Pause") == "1"
wait(120)
wend
uo.findtype(Animal[i], "-1", "ground")
if uo.findcount() then
if uo.getname("finditem") <> "" then
animalfind = 1
corpsefind = 0
if uo.getdistance("finditem") > 1 then
myposx = uo.getx("finditem")
myposy = uo.gety("finditem")
Walker(myposx, myposy, 1)
end if
uo.usetype("weapon") ;0x13FE
wait(500)
uo.attack("finditem")
repeat
uo.getstatus("finditem")
wait(150)
if uo.getdistance("finditem") > 1 then
myposx = uo.getx("finditem")
myposy = uo.gety("finditem")
Walker(myposx, myposy, 1)
end if
until uo.dead() or uo.gethp("finditem") == 0
repeat
uo.findtype("0x2006", "-1", "ground")
if uo.findcount() then
corpsefind = 1
corpseid = uo.getserial("finditem")
wait(2000)
uo.waittargetobject(corpseid)
uo.usetype("0x0EC3") ; Cleaver
wait(500)
uo.findtype("0x1078", "-1", corpseid)
if uo.findcount() then
uo.moveitem("finditem", "0", "backpack")
wait(1000)
uo.waittargettype("0x1078")
uo.usetype("0x0F9E") ; Sissors
wait(500)
end if
uo.findtype("0x1BD1", "-1", corpseid)
if uo.findcount() then
uo.moveitem("finditem", "0", "backpack")
wait(1000)
end if
uo.ignore(corpseid)
else
wait(150)
end if
until corpsefind == 1
else
animalfind = 1
uo.ignore("finditem")
end if
else
animalfind = 0
wait(150)
end if
until animalfind == 0 or uo.dead()
next
wait(500)
next
Home()
Alarm()
return
until uo.dead()
end sub