Page 3 of 3 FirstFirst 123
Results 51 to 65 of 65

Thread: Bandit 0.15 Beta

  1. #51
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    Quote Originally Posted by siuman101 View Post
    So, no 1 is gonna fix this script?? ah!! what a good script wasted
    Still works. Who told you it didn't? Ts.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  2. #52
    Join Date
    Jun 2006
    Posts
    306
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    Just a heads up, Not sure if it still works but the shop interfaces changed yesterday.


    EDIT:

    Just a matter of changing cords, I know WT is busy (like all of us)

    so heres a good fix..

    Find line which contains this
    Code:
    // DIRTY! Yet Effective...Could have used stored color of InvItem! Too Lazy
    And replace whole line with

    Code:
    lobDTM := DTMFromString('mQwAAAHicY2ZgYDgKxBeB+CQQTwDiFiCeBsR746QZzqTJMqwIkWAQBPJhmBEJAwEAXH8H3A==');
        if(NOT FindDTM(lobDTM, x, y, MSX1, MSY1, MSX2, MSY2)) then
        begin
          x := 197;
          y := 145;
        end;
        Mouse(x, y, 6, 6, False);     // DIRTY! Yet Effective...Could have used stored color of InvItem! Too Lazy
    Will try/should use the DTM if not will use cords.. (in case someone sells a diffrent item to store)
    Last edited by i3egoHan; 04-12-2012 at 12:32 PM.
    8+ Years:C++, PICBASIC(ASM), Java, PHP, Perl, AHK

    My last hobby (yes i was the dev):Electronic PIC Development And HERE

    SMARTManager 0.91 (Script management/6 Hour limit fix): View thread here

    Like my work? Help me out: http://villavu.com/forum/showthread.php?p=984147#

  3. #53
    Join Date
    Feb 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    here are a few suggestions on adding, but i really like what you've started
    1. Support prayer potion buying, so pures ect can use it... It would trade and buy back prayer pots and just pray melee the whole time

  4. #54
    Join Date
    Mar 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't know why, but when it comes to the shop, he just trades to shopkeeper, and stands there. Nothing more.. :/

  5. #55
    Join Date
    Jan 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by tomiakaz View Post
    I don't know why, but when it comes to the shop, he just trades to shopkeeper, and stands there. Nothing more.. :/
    let me just direct you to the post 2 above your own

    "shop interfaces changed yesterday" (as of day of post)

    since the interface update nobody has updated the script

  6. #56
    Join Date
    Apr 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I plan to re-vamp this script, but I need to ask him for permission first of course. So I'll keep you posted for his response :P

  7. #57
    Join Date
    Feb 2012
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    40 Post(s)

    Default

    would be cool, Id love to use it for training my ranged

  8. #58
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    Bandit Shop has gotten a big overhaul. That's exactly the part of the script that is rather crappy. I scan for the Bandit Shop Screen, which no longer is found, so the program just stops. All other stuff like eating/fighting/positioning still works.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  9. #59
    Join Date
    Jan 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Keep getting a MSVCR100D.dll Missing error or some shit.

  10. #60
    Join Date
    Feb 2012
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    40 Post(s)

    Default

    replacing food with renewals / emergency ppots (iflower than x prayerpoints )would make it possible to stay there for long times without having to go to the shop

    But that would be a lot of work ofcourse, just a suggestion.

  11. #61
    Join Date
    Jan 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Plz update

    Hey just wondering if ur gonna be updating this script i really liked it but it keeps getting stuck at the shop thx to the update was wondering if its gonna go anywhere?

  12. #62
    Join Date
    May 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by strdatmage View Post
    Keep getting a MSVCR100D.dll Missing error or some shit.
    This is a client-side error, and has nothing to do with the script. Please refrain from posting client-side errors in script threads. Try this solution for your problem: http://villavu.com/forum/showpost.ph...&postcount=322

    @OP Are you planning on making it support prayer potions, seeing I want to use it on my 30-defence turmoil pure?

  13. #63
    Join Date
    Jan 2012
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by K1ller View Post
    Hey just wondering if ur gonna be updating this script i really liked it but it keeps getting stuck at the shop thx to the update was wondering if its gonna go anywhere?
    ^^
    Please?

  14. #64
    Join Date
    May 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    hello

    as i was reading the posts in here, i saw that a few members are asking about, a fix, in relate to the shop problem, and i decided to take a look at it.

    the problem is that, the colors of the shop got changed. but i don't really understand why "i3egoHan" tried to change the "buylobsters coordinates" as the problem emerge at "findshopkeeper, and the script keep searching for higher tolerance.

    the reason of why, the script get stuck, in the findshopkeeper, is because this line
    Repeat
    Wait(1000);
    Until BanditScreen or (GetSystemTime > BTime + 15000)
    if BanditScreen then


    you see, that the "BanditScreen" uses color, which are the colors of the shop. and as the shop interface got changed, the script cannot find the color, of the "banditscreen" which is the "shop" itself.

    the heart of the problem, is this line.
    Repeat

    the script will not move to the next step, as long as the "repeat" is standing in the function "findshopkeeper," because, the script will continue or keep repeating, finding the "banditscreen" which are the colors of the shop, that got changed.

    changing in the "buylobsters" will not solve the problem, as the "lobstercycle" is structured like this

    if FindShopKeeper then
    if HandleGoods then
    if GoBack then


    you see, the first command, that the script will follow, according to the "code" above me, is this line "if FindShopKeeper then" the second command is "if HandleGoods then" and the third command is "if GoBack then"

    the Function, that runs "buylobsters" is this Function "HandleGoods"

    so, there is no point modifying, the "buylobsters" as long, as the script keep getting stuck in "FindShopKeeper" and cannot complete the commands, of the "findshopkeeper" Function.

    i apologize for my bad English. i am from Denmark, and not that good at english.

    to i3egoHan
    you are a high respected SRL member according to me, and you know much more about scripting than me. and the reason of why, i explain all this, is not because of you. i explain all this, because, of those who want to learn more about scripting, and how they should solve problems like this. I apologize if the explanation bothers you

    please do not blame me, if i made any mistakes. i am very new at scripting. i started get interest in scripting for about a week ago, and began to try it myself. if i made any mistakes, then please tell me them, and i apologize

    a quick solution to the shop problem

    open the script, and search for "findshopkeeper"

    then replace, the whole code, with this code.

    Function FindShopKeeper:Boolean;
    var {Dmx, Dmy, }Ax, Ay, x, y, z, STime, ETime, BTime, tol: integer;
    ShopKeeper :array[1..4] of integer;
    ClickOnce:Boolean;
    begin
    ShopKeeper[1] := 15262187;
    ShopKeeper[2] := 14803691;
    ShopKeeper[3] := 13950685;
    ShopKeeper[4] := 14935534;
    STime := GetSystemTime;
    tol := 13;
    ClickOnce := True;
    repeat // I like this loop. Very forgiving.
    CheckAndRestoreHealth;
    inc(tol);
    Writeln('Shopkeeper tol = ' + IntToStr(tol));
    if tol > 100 then
    begin
    Writeln('coulndt find shopkeeper');
    Result := False;
    Exit;
    end;
    for x := 1 to 4 do
    begin
    if not LoggedIn then Exit;
    Ax := MSCx;
    Ay := MScy;
    ETime := GetSystemTime;
    Wait(100);
    If WTFindObjTPAEx(Ax, Ay, ShopKeeper[x], tol, 0, 10, 40, 100, MSx1, MSy1, MSx2, MSy2, ['shop']) Then //Talk-to
    begin
    Mouse(Ax, Ay, 0, 0, False);
    FtWait(4);
    if Chooseoption('Trade') then
    begin
    FFlag(0);
    BTime := GetSystemTime;
    begin
    Result := True;
    Exit;
    end
    Break;
    end
    end;
    end;
    Wait(100);
    if ((ETime-STime > 50000) and (ClickOnce = True)) then
    begin
    if FindSymbol(y, z, 'store') then
    begin
    ClickOnce := False;
    MFF(y, z, 0, -1);
    FFlag(0);
    end
    end;
    until(ETime-STime > 90000);
    Result := False;
    end;
    Last edited by iraqownz; 07-01-2012 at 05:56 PM.

  15. #65
    Join Date
    May 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    sorry "WT-Fakawi" didn't saw that you already said, what the problem is. well, this is your script, and i thank you very much, for creating this amazing script. i myself, use it everyday, and this is one of the best script, i have tried yet.

Page 3 of 3 FirstFirst 123

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
  •