Results 1 to 10 of 10

Thread: Perfect rune maker for house goes in and out if player on!?

  1. #1
    Normal User non's Avatar
    Join Date
    Feb 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    5

    Lightbulb Perfect rune maker for house goes in and out if player on!?

    Perfect 100% afk rune maker antikill and all.


    There was a old code it was something like this.



    This script was old it was a perfect house rune maker 100% afk it was impossible to die, he could heal, open bag , eat from bag, walks in takes food and goes out if no player on screen, or even had safe list. if someone could re-created it it would be pretty awesome!!

    This is challenge dont know if ibot is capable of it yet since its library still needs little bit touch jonatas is working on it.
    If you say a special word it save location outside the house while no player on screen, and after 5 secs you stand on the pz zone inside house if player goes in screen , and it was a generic script that worked for everyone. Its kind really complex

    First you say a word in this case 'Beging'(yeah its misspell for this purpose) and it recorded the outside of the house coordenate then you wait 5 seconds and stand on the inside pz coordenate

    and that was it then it was to edit the rune or amunition to make.

    If someone could fix this right ? it be my hero


    PHP Code:
    init start local runespell spellinfo('avalanche rune') -- you can also use 'enchant spear' local trainspell spellinfo('light healing'local makefoodtotrain false -- set it to true if you want the bot to make food with 'exevo pan' instead of casting exuralocal enterHouseIfPlayer true local safeList = {'Bubble','Eternal Oblivion'local safeHp 50 -- in percentage local safeMp 70 -- in absolute amount local eatFoodFromHouse true local whereToMoveItems 'n' local outPos = {x=nily=nilz=nillocal inPos = {x=nily=nilz=nillocal missingmakerune = {25,50} --how much of missing mana to make a runerandomized local missingmanatrain = {2,24} --how much of missing mana to train mana with spellrandomized local timeInside = {from 5000to 9000} -- time in milisecondsit is randomized between from and to. ----------------------##DONT CHANGE NOTHING BELOW HERE##-------------------------------- local direction = {x = {n = 0, s = 0, w = -1, e = 1, nw = -1, ne = 1, sw = -1, se = 1}, y = {n = -1, s = 1, w = 0, e = 0, nw = -1, ne = -1, sw = 1, se = 1}} local pks = {} local eatfoodtime,starttime,randtime = 0 local randmakerune,randmanatrain = math.random(table.unpack(missingmakerune)), math.random(table.unpack(missingmanatrain)) table.lower(safeList) if timeInside.from > timeInside.to then local temp = timeInside.from timeInside.from = timeInside.to timeInside.to = temp end init end auto(200) if inPos.x and inPos.y and inPos.z and outPos.x and outPos.y and outPos.z then setpriority(50,0,1000,10000) listcolor(color(56,180,71)) listas("Rune Maker Enabled (say 'Beging' to define the positions again)") if $mp >= $maxmp-randmakerune then if (itemcount('blank rune') > 0 or (runespell.words == 'exeta con' and itemcount('spear') > 0)) and $soul >= runespell.soul and $mp >= runespell.mp and $level >= runespell.level then cast(runespell.words) wait(900,1100) randmakerune = math.random(table.unpack(missingmakerune)) elseif $mp >= $maxmp-randmanatrain then if makefoodtotrain and $soul >= 1 and $mp >= 120 and $level >= 14 then cast('exevo pan') elseif $mp >= trainspell.mp and $level >= trainspell.level then cast(trainspell.words) end wait(900,1100) randmanatrain = math.random(table.unpack(missingmanatrain)) end end local foundplayer = false foreach newmessage msg do if msg.type == MSG_STATUS then if msg.content == 'You are full.' then eatfoodtime = $timems+math.random(60000,360000) end elseif msg.type == MSG_STATUSLOG then local pkname,pktype = msg.content:attackername() if pktype == 'player' and pkname ~= $name and not table.find(safeList,pkname:lower()) then foundplayer = true if not table.find(pks,pkname:lower()) then table.insert(pks,pkname:lower()) end end elseif msg.sender == $name and msg.type == MSG_DEFAULT and msg.content:find('Beging') then outPos = {x = nil, y = nil, z = nil} inPos = {x = nil, y = nil, z = nil} return end end if (enterHouseIfPlayer or #pks > 0 or $self.party > 0) and not foundplayer then foreach creature p 'pf' do if p ~= $self then local playername = p.name:lower() if p.party >= 3 and not table.find(safeList,playername) then table.insert(safeList,playername) local pos = table.find(pks,playername) if pos then table.remove(pks,pos) end end if (not table.find(safeList,playername) and p.party < 3 and enterHouseIfPlayer) or table.find(pks,playername) then foundplayer = true break end end end end if foundplayer or $hppc < safeHp then if ground($posx,$posy,$posz) ~= ground(inPos.x,inPos.y,inPos.z) then setpriority(90,70,1000,10000) moveto(inPos.x,inPos.y,inPos.z) elseif $mp < safeMp then while $battlesigned do listas('Going to logout...') wait(300) pausewalking(1000) end logout() end wait(timeInside.from,timeInside.to) else if ground($posx,$posy,$posz) ~= ground(outPos.x,outPos.y,outPos.z) and not iscreatureontile(outPos.x,outPos.y,outPos.z) then moveto(outPos.x,outPos.y,outPos.z) else reachlocation(outPos.x,outPos.y,outPos.z) end end if $timems > eatfoodtime then if foodcount() > 0 then if not $pzone then eatfood() end elseif eatFoodFromHouse then local topid = topitem(inPos.x,inPos.y,inPos.z).id local itemfood = isfood(topid) if not itemproperty(topid,ITEM_GROUND) then reachlocation(inPos.x,inPos.y,inPos.z) while not itemfood and not itemproperty(topid,ITEM_GROUND) and not itemproperty(topid,ITEM_NOTMOVEABLE) do moveitems(topid,ground(inPos.x,inPos.y,inPos.z),ground(inPos.x+direction.x[whereToMoveItems],inPos.y+direction.y[whereToMoveItems],inPos.z)) wait(600,900) if topid ~= topitem(inPos.x,inPos.y,inPos.z).id then topid = topitem(inPos.x,inPos.y,inPos.z).id itemfood = isfood(topid) end end if itemfood then for i=1, math.random(4,10) do useitem(topid,ground(inPos.x,inPos.y,inPos.z)) wait(300,500) if topid ~= topitem(inPos.x,inPos.y,inPos.z).id then topid = topitem(inPos.x,inPos.y,inPos.z).id itemfood = isfood(topid) end if not itemfood then break end end end end end end else if (starttime == nil or $standtime < starttime) then starttime = $standtime-1 end if $standtime > starttime then if $standtime-starttime < 5000 then listcolor(color(255,255,255)) if not outPos.x then listas('RUNE MAKER: Stand outside to record the outside house coordenate: ... ' .. math.floor((starttime+5200-$standtime)/1000) .. ' ... seconds') else listas('RUNE MAKER: Now stand inside the house pz zone to record the coordenate: ... ' .. math.floor((starttime+5200-$standtime)/1000) .. ' ... seconds') end else listcolor(color(241,60,90)) if not outPos.x then outPos = {x = $posx, y = $posy, z = $posz} listas('RUNE MAKER: out standing position set to: ' .. outPos.x .. ',' .. outPos.y .. ',' .. outPos.z .. ' ... inside standing position will start in 3 seconds.') else inPos = {x = $posx, y = $posy, z = $posz} listas('RUNE MAKER: inside standing position set to: ' .. inPos.x .. ',' .. inPos.y .. ',' .. inPos.z .. ' ... rune maker will start in 3 seconds.') end wait(3000) starttime = $standtime-1 end end end 
    Last edited by non; 06-07-2012 at 09:56 AM.

  2. #2
    Normal User non's Avatar
    Join Date
    Feb 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    5
    Here is the code if its more clearly to read?

    init start local runespell = spellinfo('avalanche rune') -- you can also use 'enchant spear' local trainspell = spellinfo('light healing') local makefoodtotrain = false -- set it to true if you want the bot to make food with 'exevo pan' instead of casting exura. local enterHouseIfPlayer = true local safeList = {'Bubble','Eternal Oblivion'} local safeHp = 50 -- in percentage local safeMp = 70 -- in absolute amount local eatFoodFromHouse = true local whereToMoveItems = 'n' local outPos = {x=nil, y=nil, z=nil} local inPos = {x=nil, y=nil, z=nil} local missingmakerune = {25,50} --how much of missing mana to make a rune, randomized local missingmanatrain = {2,24} --how much of missing mana to train mana with spell, randomized local timeInside = {from = 5000, to = 9000} -- time in miliseconds, it is randomized between from and to. ----------------------##DONT CHANGE NOTHING BELOW HERE##-------------------------------- local direction = {x = {n = 0, s = 0, w = -1, e = 1, nw = -1, ne = 1, sw = -1, se = 1}, y = {n = -1, s = 1, w = 0, e = 0, nw = -1, ne = -1, sw = 1, se = 1}} local pks = {} local eatfoodtime,starttime,randtime = 0 local randmakerune,randmanatrain = math.random(table.unpack(missingmakerune)), math.random(table.unpack(missingmanatrain)) table.lower(safeList) if timeInside.from > timeInside.to then local temp = timeInside.from timeInside.from = timeInside.to timeInside.to = temp end init end auto(200) if inPos.x and inPos.y and inPos.z and outPos.x and outPos.y and outPos.z then setpriority(50,0,1000,10000) listcolor(color(56,180,71)) listas("Rune Maker Enabled (say 'Beging' to define the positions again)") if $mp >= $maxmp-randmakerune then if (itemcount('blank rune') > 0 or (runespell.words == 'exeta con' and itemcount('spear') > 0)) and $soul >= runespell.soul and $mp >= runespell.mp and $level >= runespell.level then cast(runespell.words) wait(900,1100) randmakerune = math.random(table.unpack(missingmakerune)) elseif $mp >= $maxmp-randmanatrain then if makefoodtotrain and $soul >= 1 and $mp >= 120 and $level >= 14 then cast('exevo pan') elseif $mp >= trainspell.mp and $level >= trainspell.level then cast(trainspell.words) end wait(900,1100) randmanatrain = math.random(table.unpack(missingmanatrain)) end end local foundplayer = false foreach newmessage msg do if msg.type == MSG_STATUS then if msg.content == 'You are full.' then eatfoodtime = $timems+math.random(60000,360000) end elseif msg.type == MSG_STATUSLOG then local pkname,pktype = msg.content:attackername() if pktype == 'player' and pkname ~= $name and not table.find(safeList,pkname:lower()) then foundplayer = true if not table.find(pks,pkname:lower()) then table.insert(pks,pkname:lower()) end end elseif msg.sender == $name and msg.type == MSG_DEFAULT and msg.content:find('Beging') then outPos = {x = nil, y = nil, z = nil} inPos = {x = nil, y = nil, z = nil} return end end if (enterHouseIfPlayer or #pks > 0 or $self.party > 0) and not foundplayer then foreach creature p 'pf' do if p ~= $self then local playername = p.name:lower() if p.party >= 3 and not table.find(safeList,playername) then table.insert(safeList,playername) local pos = table.find(pks,playername) if pos then table.remove(pks,pos) end end if (not table.find(safeList,playername) and p.party < 3 and enterHouseIfPlayer) or table.find(pks,playername) then foundplayer = true break end end end end if foundplayer or $hppc < safeHp then if ground($posx,$posy,$posz) ~= ground(inPos.x,inPos.y,inPos.z) then setpriority(90,70,1000,10000) moveto(inPos.x,inPos.y,inPos.z) elseif $mp < safeMp then while $battlesigned do listas('Going to logout...') wait(300) pausewalking(1000) end logout() end wait(timeInside.from,timeInside.to) else if ground($posx,$posy,$posz) ~= ground(outPos.x,outPos.y,outPos.z) and not iscreatureontile(outPos.x,outPos.y,outPos.z) then moveto(outPos.x,outPos.y,outPos.z) else reachlocation(outPos.x,outPos.y,outPos.z) end end if $timems > eatfoodtime then if foodcount() > 0 then if not $pzone then eatfood() end elseif eatFoodFromHouse then local topid = topitem(inPos.x,inPos.y,inPos.z).id local itemfood = isfood(topid) if not itemproperty(topid,ITEM_GROUND) then reachlocation(inPos.x,inPos.y,inPos.z) while not itemfood and not itemproperty(topid,ITEM_GROUND) and not itemproperty(topid,ITEM_NOTMOVEABLE) do moveitems(topid,ground(inPos.x,inPos.y,inPos.z),gr ound(inPos.x+direction.x[whereToMoveItems],inPos.y+direction.y[whereToMoveItems],inPos.z)) wait(600,900) if topid ~= topitem(inPos.x,inPos.y,inPos.z).id then topid = topitem(inPos.x,inPos.y,inPos.z).id itemfood = isfood(topid) end end if itemfood then for i=1, math.random(4,10) do useitem(topid,ground(inPos.x,inPos.y,inPos.z)) wait(300,500) if topid ~= topitem(inPos.x,inPos.y,inPos.z).id then topid = topitem(inPos.x,inPos.y,inPos.z).id itemfood = isfood(topid) end if not itemfood then break end end end end end end else if (starttime == nil or $standtime < starttime) then starttime = $standtime-1 end if $standtime > starttime then if $standtime-starttime < 5000 then listcolor(color(255,255,255)) if not outPos.x then listas('RUNE MAKER: Stand outside to record the outside house coordenate: ... ' .. math.floor((starttime+5200-$standtime)/1000) .. ' ... seconds') else listas('RUNE MAKER: Now stand inside the house pz zone to record the coordenate: ... ' .. math.floor((starttime+5200-$standtime)/1000) .. ' ... seconds') end else listcolor(color(241,60,90)) if not outPos.x then outPos = {x = $posx, y = $posy, z = $posz} listas('RUNE MAKER: out standing position set to: ' .. outPos.x .. ',' .. outPos.y .. ',' .. outPos.z .. ' ... inside standing position will start in 3 seconds.') else inPos = {x = $posx, y = $posy, z = $posz} listas('RUNE MAKER: inside standing position set to: ' .. inPos.x .. ',' .. inPos.y .. ',' .. inPos.z .. ' ... rune maker will start in 3 seconds.') end wait(3000) starttime = $standtime-1 end end end

  3. #3
    Normal User fermonos's Avatar
    Join Date
    May 2012
    Location
    England, Libera
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    This is the script I've been looking for. Someone needs to make this, fast.
    Be the best you can be.


    Fermonos.

  4. #4
    Normal User non's Avatar
    Join Date
    Feb 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    5
    i know it was the best rune maker ever

  5. #5
    Normal User non's Avatar
    Join Date
    Feb 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    5
    still no ideas?

  6. #6
    Normal User
    Join Date
    Jul 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    alguéem consegue arrumar o scirpt???

    someone could fix the script??

  7. #7
    Normal User
    Join Date
    Jul 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Eu tentei arrumar um pouco ele...

    Se alguém quiser melhorar a visibilidade dele, faça ai !!!

    I've tried to fix...

    If someone want to make it better to view, do it !!!

    ----EDITADO---EDITED----

    Init start local runespell = spellinfo('avalanche rune') -- you can also use 'enchant spear'
    local trainspell = spellinfo('light healing')
    local makefoodtotrain = false -- set it to true if you want the bot to make food with 'exevo pan' instead of casting exura.
    local enterHouseIfPlayer = true local safeList = {'Bubble','Eternal Oblivion'}
    local safeHp = 50 -- in percentage local safeMp = 70 -- in absolute amount
    local eatFoodFromHouse = true
    local whereToMoveItems = 'n'
    local outPos = {x=nil, y=nil, z=nil}
    local inPos = {x=nil, y=nil, z=nil}
    local missingmakerune = {25,50} --how much of missing mana to make a rune, randomized
    local missingmanatrain = {2,24} --how much of missing mana to train mana with spell, randomized
    local timeInside = {from = 5000, to = 9000} -- time in miliseconds, it is randomized between from and to.

    ----------------------##DONT CHANGE NOTHING BELOW HERE##--------------------------------

    local direction = {x = {n = 0, s = 0, w = -1, e = 1, nw = -1, ne = 1, sw = -1, se = 1}, y = {n = -1, s = 1, w = 0, e = 0, nw = -1, ne = -1, sw = 1, se = 1}}
    local pks = {}
    local eatfoodtime,starttime,randtime = 0
    local randmakerune,randmanatrain = math.random(table.unpack(missingmakerune)), math.random(table.unpack(missingmanatrain)) table.lower(safeList)

    if timeInside.from > timeInside.to then
    local temp = timeInside.from timeInside.from = timeInside.to timeInside.to = temp end init end auto(200)
    if inPos.x and inPos.y and inPos.z and outPos.x and outPos.y and outPos.z then
    setpriority(50,0,1000,10000)
    listcolor(color(56,180,71))
    listas("Rune Maker Enabled (say 'Beging' to define the positions again)")
    if $mp >= $maxmp-randmakerune then
    if (itemcount('blank rune') > 0 or (runespell.words == 'exeta con' and itemcount('spear') > 0)) and $soul >= runespell.soul and $mp >= runespell.mp and $level >= runespell.level then
    cast(runespell.words)
    wait(900,1100)
    randmakerune = math.random(table.unpack(missingmakerune))
    elseif $mp >= $maxmp-randmanatrain then
    if makefoodtotrain and $soul >= 1 and $mp >= 120 and $level >= 14then
    cast('exevo pan')
    elseif $mp >= trainspell.mp and $level >= trainspell.level then
    cast(trainspell.words)
    end
    wait(900,1100)
    randmanatrain = math.random(table.unpack(missingmanatrain))
    end
    end
    local foundplayer = false
    foreach newmessage msg do
    if msg.type == MSG_STATUS then if msg.content == 'You are full.' then
    eatfoodtime = $timems+math.random(60000,360000)
    end
    elseif msg.type == MSG_STATUSLOG then
    local pkname,pktype = msg.content:attackername() if pktype == 'player' and pkname ~= $name and not table.find(safeList,pkname:lower()) then
    foundplayer = true if not table.find(pks,pkname:lower()) then table.insert(pks,pkname:lower())
    end
    end
    elseif msg.sender == $name and msg.type == MSG_DEFAULT and msg.content:find('Beging') then
    outPos = {x = nil, y = nil, z = nil}
    inPos = {x = nil, y = nil, z = nil}
    return
    end
    end
    if (enterHouseIfPlayer or #pks > 0 or $self.party > 0) and not foundplayer then
    foreach creature p 'pf' do if p ~= $self then
    local playername = p.name:lower()
    if p.party >= 3 and not table.find(safeList,playername) then
    table.insert(safeList,playername)
    local pos = table.find(pks,playername)
    if pos then table.remove(pks,pos)
    end
    end
    if (not table.find(safeList,playername) and p.party < 3 and enterHouseIfPlayer) or table.find(pks,playername) then
    foundplayer = true break
    end
    end
    end
    end
    if foundplayer or $hppc < safeHp then
    if ground($posx,$posy,$posz) ~= ground(inPos.x,inPos.y,inPos.z) then
    setpriority(90,70,1000,10000)
    moveto(inPos.x,inPos.y,inPos.z)
    elseif $mp < safeMp then
    while $battlesigned do
    listas('Going to logout...')
    wait(300)
    pausewalking(1000)
    end
    logout()
    end
    wait(timeInside.from,timeInside.to)
    else
    if ground($posx,$posy,$posz) ~= ground(outPos.x,outPos.y,outPos.z) and not iscreatureontile(outPos.x,outPos.y,outPos.z) then
    moveto(outPos.x,outPos.y,outPos.z)
    else
    reachlocation(outPos.x,outPos.y,outPos.z)
    end
    end
    if $timems > eatfoodtime then if foodcount() > 0 then
    if not $pzone then eatfood()
    end
    elseif eatFoodFromHouse then
    local topid = topitem(inPos.x,inPos.y,inPos.z).id
    local itemfood = isfood(topid)
    if not itemproperty(topid,ITEM_GROUND) then
    reachlocation(inPos.x,inPos.y,inPos.z)
    while not itemfood and not itemproperty(topid,ITEM_GROUND) and not itemproperty(topid,ITEM_NOTMOVEABLE) do
    moveitems(topid,ground(inPos.x,inPos.y,inPos.z),gr ound(inPos.x+direction.x[whereToMoveItems],inPos.y+direction.y[whereToMoveItems],inPos.z))
    wait(600,900)
    if topid ~= topitem(inPos.x,inPos.y,inPos.z).id then
    topid = topitem(inPos.x,inPos.y,inPos.z).id
    itemfood = isfood(topid)
    end
    end
    if itemfood then
    for i=1, math.random(4,10) do
    useitem(topid,ground(inPos.x,inPos.y,inPos.z))
    wait(300,500)
    if topid ~= topitem(inPos.x,inPos.y,inPos.z).id then
    topid = topitem(inPos.x,inPos.y,inPos.z).id
    itemfood = isfood(topid)
    end
    if not itemfood then
    break
    end
    end
    end
    end
    end
    end
    else
    if (starttime == nil or $standtime < starttime) then
    starttime = $standtime-1
    end
    if $standtime > starttime then
    if $standtime-starttime < 5000 then
    listcolor(color(255,255,255))
    if not outPos.x then
    listas('RUNE MAKER: Stand outside to record the outside house coordenate: ... ' .. math.floor((starttime+5200-$standtime)/1000) .. ' ... seconds')
    else
    listas('RUNE MAKER: Now stand inside the house pz zone to record the coordenate: ... ' .. math.floor((starttime+5200-$standtime)/1000) .. ' ... seconds')
    end
    else
    listcolor(color(241,60,90))
    if not outPos.x then outPos = {x = $posx, y = $posy, z = $posz}
    listas('RUNE MAKER: out standing position set to: ' .. outPos.x .. ',' .. outPos.y .. ',' .. outPos.z .. ' ... inside standing position will start in 3 seconds.')
    else
    inPos = {x = $posx, y = $posy, z = $posz} listas('RUNE MAKER: inside standing position set to: ' .. inPos.x .. ',' .. inPos.y .. ',' .. inPos.z .. ' ... rune maker will start in 3 seconds.')
    end
    wait(3000)
    starttime = $standtime-1
    end
    end
    end
    Last edited by frezendesp; 08-29-2012 at 03:01 PM.

  8. #8
    Normal User Falksalt's Avatar
    Join Date
    Jul 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Bump !!!!
    Jordgubben: "Awh man, posting something on internet these day... Just trying to help, no need to make fun of me.."

  9. #9
    Normal User
    Join Date
    Jul 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Could we do something with this?

  10. #10
    Normal User
    Join Date
    Oct 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    This would be awesome!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •