Results 1 to 4 of 4

Thread: anyone knows if theres a bug in this action?

  1. #1
    Normal User
    Join Date
    Mar 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    3

    anyone knows if theres a bug in this action?

    i downloaded a script with this and when it reaches this waypoint action it skips it. ive tried changing a couple of things but it doesnt work.
    help please.


    local suppliesMoney = calcSupplies({{mpName, mpToBuy}})
    local TotalMoney = math.ceil((suppliesMoney + itemcount("worn soft boots") * 10000 + 2000) / 1000) * 1000

    local NPC = "Ebenizer"
    local x = findcreature(NPC)
    if x == -1 then
    gotolabel("atBank")
    return
    elseif x > 0 then
    wait(900, 1500)
    _npcTalk("hi", "deposit all", "yes", "balance", "withdraw "..TotalMoney, "yes", "balance")
    wait(900, 1500)
    end

    if stamina < 14*60 then
    logout() closetibia() message("Client closed due low stamina, character: "..name)
    return
    end

    if gold() < Money then
    goBack()
    return
    end

  2. #2
    iBot User
    Join Date
    Aug 2012
    Posts
    805
    Mentioned
    18 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    180
    Rep Power
    7
    calcSupplies

    its some function that must be specify in ex. setup, post debug log

  3. #3
    Normal User
    Join Date
    Mar 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    3
    Quote Originally Posted by shanp View Post
    calcSupplies

    its some function that must be specify in ex. setup, post debug log


    sorry but i didnt completely understand what u said. but the setup mp names are just like it.

  4. #4
    Normal User
    Join Date
    Sep 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    10
    Rep Power
    4
    i think what he said to you is that it isnt working because there is a function missing called >>>calcSupplies<<< usually this functions are written in the setup xP hope i help

Posting Permissions

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