Results 1 to 4 of 4

Thread: Bug with Softs?

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5

    Bug with Softs?

    Oki here we go, when im with 3 soft boots in my bp my hotkey is all time change between softs xD
    Im using:

    local iBoots = { soft = "soft boots", normal = "boots of haste"}
    local ManaToSoft = 90 --%

    if mppc <= ManaToSoft and pzone == false and boots ~= itemid(iBoots.soft) and itemcount(iBoots.soft) >= 1 then
    setlooting("no")
    pausewalking(1500)
    moveitems(iBoots.soft, "all", "boots", 1) wait(800)
    pausewalking(0)
    setlooting("yes")

    elseif mppc > ManaToSoft and boots ~= itemid(iBoots.normal) then
    setlooting("no")
    pausewalking(1500)
    moveitems(iBoots.normal, "all", "boots", 1) wait(800)
    pausewalking(0)
    setlooting("yes")

    elseif pzone == true and boots ~= itemid(iBoots.normal) then
    pausewalking(1500)
    moveitems(iBoots.normal, "all", "boots", 1) wait(800)
    pausewalking(0)

    elseif boots == itemid("worn soft boots") then
    setlooting("no")
    pausewalking(1500)
    moveitems(iBoots.normal, "all", "boots", 1) wait(800)
    pausewalking(0)
    setlooting("yes")
    end
    Some solution?
    Thanks in advance!

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Up! Still i dont know what to do :<

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Because soft boots and soft boots when being used got different ID's, change this:
    PHP Code:
    and boots ~= itemid(iBoots.soft
    to
    PHP Code:
    and boots ~= 0000 -- change this to sparkling soft ID 

  4. #4
    Normal User
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Thanks mate! Im gonna test

Posting Permissions

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