Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: [Request: HARD] Withdraw all your cash / balance & transfer.

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    [Request: HARD] Withdraw all your cash / balance & transfer.

    Hello there, i need help on this action.

    My idea is going bank and withdraw 10000, then if the last NPCs channel msg says you that "You dont have enough money" go label X and if I dont receive this msg, keep withdrawing 10000 until it says.

    Tried several times i put here what i got.
    Code:
    local MESSAGES = {"There is not enough gold on your account."}
    
    local GET_MESSAGE = getnewmessages("NPCs")
    local MESSAGE_COUNT = GET_MESSAGE.count-1
    
    for i = 0, MESSAGE_COUNT do
        for x = 1, #MESSAGES do
            if GET_MESSAGE[MESSAGE_COUNT].text:find(MESSAGES[x]) do
            return
            else
                gotolabel('withdraw')
            end
        end
    end
    I know that getting the value from "Balance" is hard or impossible, as you cannot take just that part of the text, but if anyone has a grasp on how to, just help please!. :S
    Last edited by Pukinho; 03-22-2013 at 06:11 AM.

  2. #2
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    balance [int]: Returns the last bank balance amount reported by an NPC.

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    i think you need that to thief ppl via free scripts im right??

  4. #4
    iBot User
    Join Date
    Oct 2012
    Posts
    44
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    Quote Originally Posted by marstaf View Post
    i think you need that to thief ppl via free scripts im right??
    second that..lol.
    Won't help you out unless you give me a good reason to believe you're not about to do something evil with it!

  5. #5
    Normal User
    Join Date
    Jan 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Lol haha, nothing evil in my mind, dont worry haha.

    I want to send all my balance to a safechar after all day hunt (or well, take all the balance and carry it to my house).

    My idea is a ultimate afk script, with a array reconector, which changes char automatic each serversave and also train the others in the trainer. When time() > '9:30' it goes house, deposit all loot (as always) then go dp, send the balance or whatever, go to house again, put eq in a drawer , go to trainers, train all chars, then the next char goes to house, pickup the eq, and start the script.

    Its hard i know.

    I selfmade all my scripts, and this one is on apes, and has also setup for surface , -1 and -2. You can choose between all in the setup.

    When i finish it, i'll change the wpts to the depot and enable it to config the chars and the safechar u send the cash to.
    btw this would be my first update here, never uploaded any of my scripts, as they're done to deposit in houses and such xD
    Last edited by Pukinho; 03-22-2013 at 09:13 AM.

  6. #6
    Normal User
    Join Date
    Jan 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    PS: Thanks balbek, but my script isn't working either, can you put the action full to check the balance?
    i mean sth like
    Code:
    local balance = balance[int] 
    npcsay('transfer '..balance' to X')
    wait(300)
    npcsay('yes')
    Thanks in advance

  7. #7
    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
    local name = "Pukinho"

    npcsay("balance")
    npcsay("transfer "..balance.." to "..name)

  8. #8

  9. #9
    Normal User
    Join Date
    Jan 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    @soder, thanks you very much.

    Quote Originally Posted by nemiks View Post
    i think that this man will add this action to free scripts and will scam...
    You dont know me, and still without even talking/interacting/viewing I am a scammer.

    Dude, you are paranoid, and if you dont want to be scammed, make your own scripts (as I do) and check whatever you download (as I also do).

    Btw, when I upload it, you can check it yourself.
    PS: i wont earn a single USD for my pro scripts, so you will lose clients? that's all? (i mean, I dont know you, but u critice me without even knowing me, so that's the only reason which comes to my mind, CA$H.)
    Last edited by Pukinho; 03-22-2013 at 06:02 PM.

  10. #10
    Normal User nemiks's Avatar
    Join Date
    Aug 2012
    Posts
    225
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5
    Quote Originally Posted by Pukinho View Post
    @soder, thanks you very much.



    You dont know me, and still without even talking/interacting/viewing I am a scammer.

    Dude, you are paranoid, and if you dont want to be scammed, make your own scripts (as I do) and check whatever you download (as I also do).

    Btw, when I upload it, you can check it yourself.
    PS: i wont earn a single USD for my pro scripts, so you will lose clients? that's all? (i mean, I dont know you, but u critice me without even knowing me, so that's the only reason which comes to my mind, CA$H.)
    okay, I wonder what do you this action. I have not seen the script yet, which is designed to transfer money. For me this is strange but ok, possible that you need this

Posting Permissions

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