Results 1 to 4 of 4

Thread: Problem z bank action

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Problem z bank action

    Hello , I have this script but not running. Someone could help me? Character withdraw 13000 all time not more not less.

    local stars = positive(AmmoBuy - __itemcount(AmmoName)) * AmmoPrice
    local Currentsofts = (itemcount(6530) * 10000) + 1000
    local mana = positive(ManaBuy - itemcount(ManaName)) * PotPrice
    local Others = 12000
    local Total = mana + stars + Currentsofts + Others

    say("hi")
    wait(1500,1700)
    npcsay("deposit all")
    wait(1000,1200)
    npcsay("yes")
    wait(1200,1300)

    if Total > 0 then
    npcsay("withdraw "..Total)
    wait(500,800)
    npcsay("yes")
    wait(500,800)
    npcsay("balance")
    end

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Check your debug log.

    Why do you have an _ in front of itemcount(AmmyName)

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Game:ItemList:LoadListItem - System.FormatException: Input string was not in a correct format.
    at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
    at System.Single.Parse(String s)
    at LBk=.mRk=.vRk=()

  4. #4
    Normal User
    Join Date
    Sep 2012
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    So could you take me right script?

Posting Permissions

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