Results 1 to 7 of 7

Thread: Updating a script for ver 10?

  1. #1
    Join Date
    Jan 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Updating a script for ver 10?

    Are all version 9 compatible scripts broken with version 10? And if so what about version 9 scripts would i need to change to make them compatible with the new slr revision? Would it simply be pointing parts of the scripts to new functions or worse? I'm hoping that by learning to modify scripts it will help better prepare me for attempting my own and all the free ones need updating for me to verfiy what im doing works.

  2. #2
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    get AIM, add me, ill fix any scripts 4 u.

  3. #3
    Join Date
    Jan 2008
    Location
    U.S.A
    Posts
    313
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    whats your AIM adress i wanna fix Jukka's Guildminer (then again he may have fixed haven't used it since update

  4. #4
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    click my AIM guy... then click add user ill be on your friends list then

  5. #5
    Join Date
    Jan 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well this is the first one i was looking at working with:
    http://www.villavu.com/forum/showthread.php?t=22427
    because its openly available to newbs like myself and i probably won't have junior member status for a while so i'm making the best out of whats available to me :P the two things im looking at are how to update it to work with slr version 10 and once it is how would i find a way to fix the "mine four essence and bank" problem?

  6. #6
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    HighestAngle --> SetAngle(True);
    LowestAngle --> SetAngle(False);


    CountItems(Bmp/Dtm/Color)(Mask)(Tol)
    -->
    function CountItems(identifier: Integer; identifiertype: string; tol: IntegerArray): Integer;

    ClickAllItems(Bmp/Color)(Mask)TolWait
    -->
    function ClickAllItems(identifier: Integer; identifiertype, option: string; waitnum: Integer; tol: TIntegerArray):Integer;


    Code:
    function CountItems(identifier: Integer; identifiertype: string; tol: TIntegerArray): Integer;
    By: WT-Fakawi / Sumilion
    Description: Performs a count of inventory items by "identifier" with tol[0]
    as color tolerance, tol[1] as contour tolerance in case of bmp masks. Valid identifiertypes are :
    bmp, mask, color, dtm.
    
    
    function ClickAllItems(identifier: Integer; identifiertype, option: string; waitnum: Integer; tol: TIntegerArray):Integer;
    By: WT-Fakawi / Sumilion
    Description: Performs "option" popupmenu action on all items
    with "identifier" and "tol[0]" as color tolerance and col[1]
    as contour tolerance in case bmp masks are used in inventory. (e.g. 'store all')
    Returns number of performed operations. Valid identifiertypes are :
    bmp, mask, color, dtm.
    RadialWalkEx(var x, y: Integer; cx, cy, TheColor, tol: Integer; StartRadial, EndRadial: Integer; Radius: Integer): Boolean;
    -->
    function RadialWalkEx(var tpa: TPointArray; cx, cy, TheColor, tol: Integer; StartRadial, EndRadial: Integer; Radius: Integer): Boolean;


    So make a TPA variable and instead of x and y, use tpa[0].x and tpa[0].y.




    RunAwayDirection --> RunTo(dir: String; runfar: Boolean); or RunAway(dir: string; RunFar: Boolean; Action, WaitTime: Integer);

    Code:
    procedure RunAway(dir: string; RunFar: Boolean; Action, WaitTime: Integer);
    By: nielsie95
    Description: Runs away in minimap related direction, based on north.
    Dir can be 'N', 'E', 'S' or 'W'. RunFar will run further than normal.
    Action can be either 1, 2 or 3.
    1: RunAway + Wait(WaitTime) + RunBack
    2: RunAway + Wait(WaitTime)
    3: RunBack
    Note: WaitTime is in milliseconds!
    Some other functions just got deleted..
    Hup Holland Hup!

  7. #7
    Join Date
    Jan 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Very awesome tyvm for helping with this. I also appreciate the fact you added explanations of the functions. Hopefully i can put this info to good use and get this working. If i manage to do so I'll contact the original author so he can repost it as an update and get credit for it.

    update:
    i managed to get it modified and it now compiles correctly with slr ver. 10 \o/ It walked correctly to the rune shop, teleported, mined essence, took forever to find the portal, walked back to the bank, but then only deposited 1 essence before leaving the bank. Would expect to get banned quickly for using this because of the erratic mouse clicks and such but at least now i have a working script i can continue to learn with Many thanx nielsie95.

    http://www.mediafire.com/?cmyd9cn92mn

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. My script needs Updating
    By daddyproboot in forum OSR Help
    Replies: 10
    Last Post: 12-01-2008, 04:43 PM
  2. Script updating
    By FagetHax0r in forum OSR Help
    Replies: 4
    Last Post: 03-20-2008, 11:52 AM
  3. *for script updating* lend me a 28+ crafting acc with..
    By ShowerThoughts in forum News and General
    Replies: 1
    Last Post: 09-29-2007, 11:06 AM
  4. Free Script Updating
    By mat_de_b in forum RS3 Outdated / Broken Scripts
    Replies: 3
    Last Post: 08-22-2007, 06:46 PM

Posting Permissions

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