Page 2 of 5 FirstFirst 1234 ... LastLast
Results 26 to 50 of 104

Thread: rBeggar - Rich

  1. #26
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Kave View Post
    I'll give this a go

    Edit: Have to accept second trade window manually other than that I made 12k.
    Second trade window bug is a SRL-flaw, the fix hasn't been committed yet but you can find the correct function at public SVN

  2. #27
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    For adding mistakes, there's a function written by Zeph. I think it's called AddMistakes. Just so you know.

  3. #28
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    So after some begging, this guy trade me and runs away. I chase him until I'm far away from any people.

    Suggestion:
    • Make the bot return to its original position if it moves too far away



  4. #29
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Kave View Post
    I'll give this a go

    Edit: Have to accept second trade window manually other than that I made 12k.
    Quote Originally Posted by Emaziz View Post
    Second trade window bug is a SRL-flaw, the fix hasn't been committed yet but you can find the correct function at public SVN
    Here.

    Quote Originally Posted by Coh3n View Post
    For adding mistakes, there's a function written by Zeph. I think it's called AddMistakes. Just so you know.
    Thanks, Coh3n. If you've got time, do you think you could commit this this, so the script works please? Also, (again if you've got time) this thread. Thanks

    Quote Originally Posted by Emaziz View Post
    So after some begging, this guy trade me and runs away. I chase him until I'm far away from any people.

    Suggestion:
    • Make the bot return to its original position if it moves too far away


    Will do. Easily done with Reflection.





    V1.2 released!

    Changes:

    - Version checker added
    - Occasional mistakes whilst typing


    Richard.
    Last edited by Rich; 02-05-2011 at 07:17 PM.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  5. #30
    Join Date
    Sep 2010
    Location
    Northern Kentuckeh
    Posts
    759
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Rich View Post
    I noticed the error and fixed it earlier on. I included anti-randoms just to be safe. Do they only come when earning XP then?

    Yes, I can't find the thread about it atm but Evilchickens kebab buyer does not get randoms either. There was a youtube video that showed a guy selling those drinks to Osman and getting a random every time he sold a full inventory for thieving exp.

  6. #31
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by doublex8 View Post
    Yes, I can't find the thread about it atm but Evilchickens kebab buyer does not get randoms either. There was a youtube video that showed a guy selling those drinks to Osman and getting a random every time he sold a full inventory for thieving exp.
    OK. Well, I'll leave them in just in case. There's no harm in having them there.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  7. #32
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Suggestions:
    Add a check after a trade for a few things, such as:
    "You don't have enough space in your inventory for this trade." - I have had many people offer me up to 300k+ worth in total items that take up at least eight squares and I don't have enough slots in my inventory for this. Thus losing that chance of gold.

    "Unable to find Person_Name_Here" - Check for this and make it stop trying to trade the person if they cancel the trade. Many people offer trade more than once in a row and it seems to confuse the bot.

    --

    Raise the "AddMistakes" chance. The chance, if I recall correctly, is less when the chance amount is higher. Lower is more mistakes. I would put it at 6x or so. But that's just me.

  8. #33
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by RISK View Post
    Suggestions:
    Add a check after a trade for a few things, such as:
    "You don't have enough space in your inventory for this trade." - I have had many people offer me up to 300k+ worth in total items that take up at least eight squares and I don't have enough slots in my inventory for this. Thus losing that chance of gold.

    "Unable to find Person_Name_Here" - Check for this and make it stop trying to trade the person if they cancel the trade. Many people offer trade more than once in a row and it seems to confuse the bot.

    --

    Raise the "AddMistakes" chance. The chance, if I recall correctly, is less when the chance amount is higher. Lower is more mistakes. I would put it at 6x or so. But that's just me.
    I could change it to bank after every trade?

    Second point is again to do with HandleTrade, which I still need to get around to.

    The description in AddMistakes says 20-30 is good, so I'm going to leave it at 25, but you can change it if you want.

    Richard.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  9. #34
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Fair enough about the AddMistakes.

    Alright.

    Well banking every trade would be strange. Perhaps add a check to see if it finds that message I originally put and then if it does, it quickly banks and then trades the person again? Like a normal human would do.

    Quote Originally Posted by Rich View Post
    I could change it to bank after every trade?

    Second point is again to do with HandleTrade, which I still need to get around to.

    The description in AddMistakes says 20-30 is good, so I'm going to leave it at 25, but you can change it if you want.

    Richard.

  10. #35
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by RISK View Post
    Fair enough about the AddMistakes.

    Alright.

    Well banking every trade would be strange. Perhaps add a check to see if it finds that message I originally put and then if it does, it quickly banks and then trades the person again? Like a normal human would do.
    I, as a normal person (I think), would bank at approx half an inventory

  11. #36
    Join Date
    Dec 2010
    Posts
    808
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Why not just do, if InvCount >= 15 then Bank

  12. #37
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Dynamite View Post
    Why not just do, if InvCount >= 15 then Bank
    +- 2, to make it more random

    In other news:
    Progress Report:
    08:41:22 PM     GE Banker uptext found
    08:41:23 PM     Bank successfully opened
    08:41:24 PM     Found bank
    08:41:24 PM     No bank/PIN screen found - Terminating script

    I didn't watch the bot as this happened, but bank was open.

  13. #38
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Dynamite View Post
    Why not just do, if InvCount >= 15 then Bank
    You read minds. I've done that, except in place of 15 I've got a const which the user can change.


    Quote Originally Posted by Emaziz View Post
    +- 2, to make it more random

    In other news:
    Progress Report:
    08:41:22 PM     GE Banker uptext found
    08:41:23 PM     Bank successfully opened
    08:41:24 PM     Found bank
    08:41:24 PM     No bank/PIN screen found - Terminating script

    I didn't watch the bot as this happened, but bank was open.
    Will do +- 2 what I said above.

    In other news:
    Maybe the client lagged out when the bank was opening? That's the only reason I can think of.
    Last edited by Rich; 02-05-2011 at 07:50 PM.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  14. #39
    Join Date
    Dec 2010
    Posts
    808
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Rich View Post
    You read minds. I've done that, except in place of 15 I've got a const which the user can change.
    Indeed
    And yes, that is a better option.

  15. #40
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Hopefully you can guess which 2 of a few suggestions are coming in V1.3 from this progress report:
    Progress Report:
    >>>>>>>>>>>>>>>>>>>>>> rBeggar <<<<<<<<<<<<<<<<<<<<<<
    >>>>>>>>>>>>>>>>>>>> Rich Beggar <<<<<<<<<<<<<<<<<<<<
    > Time: 10:14:26 PM                                 <
    > Running for: 1 Minutes and 3 Seconds              <
    > Player: ama                                       <
    > Loads: 1                                          <
    > Loads Per Hour: 57                                <
    > Items: 27                                         <
    > Items Per Hour: 1542                              <
    > Randoms: 0                                        <
    >>>>>>>>>>>>>>>>>>>>>> By Rich <<<<<<<<<<<<<<<<<<<<<<
    Last edited by Rich; 02-05-2011 at 10:26 PM.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  16. #41
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    is there anyway to price check the items, to add the approx profit made?
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  17. #42
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Awkwardsaw View Post
    is there anyway to price check the items, to add the approx profit made?
    I have a script that gets the prices from the GE from the ID given. It's on my other computer so I'll post it when I get home tomorrow.

    And Rich, I'll commit when I get back to the hotel tonight if no one else has.

  18. #43
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I have a script that gets the prices from the GE from the ID given. It's on my other computer so I'll post it when I get home tomorrow.

    And Rich, I'll commit when I get back to the hotel tonight if no one else has.
    Double thanks there.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  19. #44
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    375
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice script Rich, I love this idea but it is not very high profit-making script :/ Was working for 40 min and get only 6k. Maybe because it wasn't my lucky day But i accepted manually second trade screen while i recived this 6k

    World switcher will be usefull :P
    :P

  20. #45
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    ^ World switcher is in 1.3 which is coming out today, along with a few other suggestions/requests. If you don't want to click on the second trade (bug with PlayerAccepted), go here. I guess the amount you 'earn' is random really. You can say there is an average GP/hour; it's luck and generosity of the other players.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  21. #46
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    V1.3 is out!

    Changes:
    - World switching
    - Custom banking
    - Counting items and not loads
    - Position checking
    - Nick in report





    EDIT:

    V1.3b released

    Changes:
    - Bug in world switching fixed
    - RS username typed at the end of messages for easier recognition in busy areas
    Last edited by Rich; 02-06-2011 at 11:06 AM.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  22. #47
    Join Date
    Dec 2010
    Posts
    808
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Edited to work for any item:

    Simba Code:
    function ConvertPrice(input: string): Integer;     // Credit to BlumbleBee for these two functions <3
    var
      f: Extended;
    begin
      input := Replace(Lowercase(Trim(input)), ',', '');
      if (Pos('m', input) > 0) then
        f := StrToFloatDef(Copy(input, 1, Pos('m', input) - 1), 0) * 1000000
      else if (Pos('k', input) > 0) then
        f := StrToFloatDef(Copy(input, 1, Pos('k', input) - 1), 0) * 1000
      else
        f := StrToFloatDef(Input, 0);
      Result := Round(f);
    end;

    procedure SetPrice(ID:integer);
    var
      S: string;
    begin
      s := getPage('http://services.runescape.com/m=itemdb_rs/viewitem.ws?obj='+IntToStr(ID));
      Price := ConvertPrice(Between('<b>Market price:</b> ', #10 + '</span>', s));
    end;

  23. #48
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Dynamite View Post
    Edited to work for any item:

    Simba Code:
    function ConvertPrice(input: string): Integer;     // Credit to BlumbleBee for these two functions <3
    var
      f: Extended;
    begin
      input := Replace(Lowercase(Trim(input)), ',', '');
      if (Pos('m', input) > 0) then
        f := StrToFloatDef(Copy(input, 1, Pos('m', input) - 1), 0) * 1000000
      else if (Pos('k', input) > 0) then
        f := StrToFloatDef(Copy(input, 1, Pos('k', input) - 1), 0) * 1000
      else
        f := StrToFloatDef(Input, 0);
      Result := Round(f);
    end;

    procedure SetPrice(ID:integer);
    var
      S: string;
    begin
      s := getPage('http://services.runescape.com/m=itemdb_rs/viewitem.ws?obj='+IntToStr(ID));
      Price := ConvertPrice(Between('<b>Market price:</b> ', #10 + '</span>', s));
    end;
    That code doesn't compile.

    EDIT: Just remembered I've got price grabbing in a script in the Members section. I'll see if that works.

    EDIT2: I thought I had price checking in the script, but apparently not...

    EDIT3: The GE database on the mainpage is down for me. Down for anyone else?
    Last edited by Rich; 02-06-2011 at 01:40 PM.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  24. #49
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Rich View Post
    V1.3 is out!

    Changes:
    - World switching
    - Custom banking
    - Counting items and not loads
    - Position checking
    - Nick in report





    EDIT:

    V1.3b released

    Changes:
    - Bug in world switching fixed
    - RS username typed at the end of messages for easier recognition in busy areas
    Superb! Will have this running a lot when I get home to my not-lagging computer

    EDIT:
    Grand Exchange page is down here too.

  25. #50
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Quote Originally Posted by Emaziz View Post
    Superb! Will have this running a lot when I get home to my not-lagging computer

    EDIT:
    Grand Exchange page is down here too.
    Great, thanks. Remember to post proggies!

    And it looks like a price checker is out of the question for now.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

Page 2 of 5 FirstFirst 1234 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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