Page 5 of 13 FirstFirst ... 34567 ... LastLast
Results 101 to 125 of 321

Thread: [OGL] interception v0.1

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

    Default

    Quote Originally Posted by silentwolf View Post
    Guys, please can everyone who says it didn't work tell me what happened, what they tried, etc?
    I followed instructions exactly.
    ID don't show, and
    Code:
    Line 7: [Error] (21342:4): Unknown identifier 'FindModelByID' in script

  2. #102
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are you using the latest SVN SCAR? You definitely put the plugin in the right folder? Did you try pressing numpad 5 to show IDs?

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

    Default

    Quote Originally Posted by silentwolf View Post
    Are you using the latest SVN SCAR? You definitely put the plugin in the right folder? Did you try pressing numpad 5 to show IDs?
    Of course. Reversion 80 scar. Plugin went in C:\Program Files (x86)\Java\jre6\bin. SCAR plugin was placed.

    Numpad 5 made the ID's and stuff come up..
    but the SCAR function still doesn't work

  4. #104
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What operating system are you on?

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

    Default

    Windows 7, 64 bit.

  6. #106
    Join Date
    Oct 2006
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Timer, I'm on Windows 7, 64 bit, as well and it worked perfectly for me. Is your SCAR in Program Files (x86) or normal Program Files?

    Also, are you still getting
    Code:
    Line 7: [Error] (21342:4): Unknown identifier 'FindModelByID' in script
    now that the ID's show up?
    Last edited by bbri06; 01-25-2010 at 02:06 AM.

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

    Default

    Quote Originally Posted by bbri06 View Post
    Timer, I'm on Windows 7, 64 bit, as well and it worked perfectly for me. Is your SCAR in Program Files (x86) or normal Program Files?

    Also, are you still getting
    Code:
    Line 7: [Error] (21342:4): Unknown identifier 'FindModelByID' in script
    now that the ID's show up?
    scar is in x86, and I still get the error even with ID showing

  8. #108
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

  9. #109
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Omfg. That has to be the coolest thing I've seen since I first saw my mouse move with scar. It worked perfectly for me. I ran the example script and it found the banker. The i was hitting five and nothing happened at first. But I wasn't hitting the numpad 5 lol. *noob* So great job. It was very interesting to see the id's, and really just to see it work. Pressing the numpad5 just makes me get silly with happiness. If this gets really stable, you all can expect many scripts from me even though i have been inactive for a long time.

    EDIT: Worked for me on: firefox/windows vista 32bit/scar divi 3.22
    Last edited by Runescape Pro; 01-25-2010 at 02:50 AM. Reason: Wanted to add Specifications.

  10. #110
    Join Date
    Oct 2006
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Timer View Post
    scar is in x86, and I still get the error even with ID showing
    Hmm... Did you already have runescape set to HD? I've noticed that each time I close the browser and then try to run it, I get an error the next time I open RS and try to run it. I have to set it back to SD then to HD again each time the browser is restarted.

  11. #111
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok, now im having kind of a problem. Well, its not really a problem. but something i totally didn't expect.

    Right now i have swiftkit open, hd, resizable, everything on, and when i press the numpad5, the ids still come up. i also dont even have scar open. any ideas of how i can get this to not happen?

  12. #112
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Runescape Pro View Post
    ok, now im having kind of a problem. Well, its not really a problem. but something i totally didn't expect.

    Right now i have swiftkit open, hd, resizable, everything on, and when i press the numpad5, the ids still come up. i also dont even have scar open. any ideas of how i can get this to not happen?
    Delete the opengl dll in jre6\bin

  13. #113
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    4,163
    Mentioned
    9 Post(s)
    Quoted
    19 Post(s)

    Default

    Everything works perfect for me (windows 7 64-bit, scar 3.22, an old version of SRL, 9800 GT graphics card, 4GB ram). Very cool stuff. Looking forward to seeing how this all ends up!

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

    Default

    When rs refresches i have something on mini map (MM) MS is my screen, MC my chat
    :P

  15. #115
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    4,163
    Mentioned
    9 Post(s)
    Quoted
    19 Post(s)

    Default

    Would it be possible to get the ID's of things at certain co-ords? So you could for example find something, then check that spot twice a second or something to see if the ID had changed. This would be helpful when mining a rock. If you're unfamiliar with the type of functions we would use, check out the reflection include in the reflection forums. Pretty much everything we need has been done, if we could get interception equivalents that would be sweet.

    And I'm not sure if you're aware but theres a new, open source equivalent of SCAR called Simba thats been in development for over a year by people at SRL, thats in its final testing stages now. When its finished alot of developers including myself will script solely for Simba, and SRL wont be compatible with SCAR anymore. I think plugins work in pretty much the same way, so it shouldnt be too hard to convert it. But there might be a few minor differences - if theres still a fair bit of work for you to do, it could be worthwhile asking to be let in to the simba test forums so you have access to it as this will mean less work further on down the track.

  16. #116
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The Claw View Post
    Would it be possible to get the ID's of things at certain co-ords? So you could for example find something, then check that spot twice a second or something to see if the ID had changed. This would be helpful when mining a rock. If you're unfamiliar with the type of functions we would use, check out the reflection include in the reflection forums. Pretty much everything we need has been done, if we could get interception equivalents that would be sweet.
    CheckForIDinBounds()? Sure.

    (* Core.scar *)
    function GetBoxAnswer: integer; -not sure
    function GetMinimapAngleDeg: extended; - hopefully
    function GetMinimapAngleRad: extended; - if above
    Function R_MakeCompass(Dir: String): Boolean; - what does this do?
    procedure R_SetAngle(Setting: Variant); - if above
    function GetSpeed: integer; - probably not
    function CharacterMoving: boolean; - maybe
    function GetMyPos:TPoint; - no
    function TileToMS(Tile:TPoint; height: integer): TPoint; - maybe
    Function TileOnMS(Tile: TPoint; Height : Integer) : Boolean;
    function TileToMM(Tile: TPoint): TPoint;
    function MMToTile(Screen: TPoint): TPoint;
    Function TileOnMM(Tile: TPoint): Boolean;
    function R_LoggedIn: Boolean;

    (* Walking.scar *)
    Function WalkToTile(Tile: TPoint; Randomness, FlagD: Integer): Boolean; - maybe
    function GetFlag(var x, y: Integer): boolean;
    procedure R_FFlag(Dist: Integer);
    Procedure R_Flag;
    Function DistanceFrom(Tile: TPoint) : Integer;

    (* Characters.scar *)
    function GetMyName: string; - no
    function GetNPCs: array of TNPC; - yes
    function GetNPCsByName(name:string): array of TNPC; - no
    function GetNPCsByID(TheType:integer): array of TNPC; - yes
    function SortNPCs(NPCs:array of TNPC): array of TNPC; - maybe
    Function FindNPC(Name: string; var NPC: TNPC): boolean; - no
    Function FindNPCByID(ID: integer; var NPC: TNPC):boolean; - yes
    function GetPlayers: array of TPlayer; - no
    function GetPlayer(name: string): TPlayer; - no
    function GetMe: TMe; - no

    (* Objects.scar *)
    Function OpenBankReflection(Bank : String): Boolean; - yes


    type
    TNPC = record
    Tile, MS, MM: TPoint; - maybe
    NPCType, height, animation: integer; - maybe, maybe
    Name : string; - no
    InFight, IsMoving: boolean; - if animation works, then yes
    end;

  17. #117
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by silentwolf View Post
    Function R_MakeCompass(Dir: String): Boolean; - what does this do?
    procedure R_SetAngle(Setting: Variant); - if above
    R_MakeCompass moves the compass until the numerical equivalent of Dir is equal to GetMinimapAngleDeg (I think.) with an error margin.

    R_SetAngle does something similar for the viewing angle controlled by the up/down keys.

  18. #118
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    It is WORKING for me now! You can cross me off
    Downloaded your latest version & pressed num5 and they all popped up !
    Last edited by Floor66; 01-25-2010 at 02:04 PM.
    Ce ne sont que des gueux


  19. #119
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    4,163
    Mentioned
    9 Post(s)
    Quoted
    19 Post(s)

    Default

    Rather than draw the ID's on to the RS screen, could you dump an image into SCAR's image-debug box of the screen with the ID's on it? Or even just put it into the clipboard, at the press of a button, just as a temp solution? I've just had a good idea for a script which would be made much easier if I could use interception, but don't want even a small risk of getting banned

  20. #120
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    I got a blue screen from this.. I don't know if I am able to reproduce it though

    It worked fine for about 30 seconds but then -

    EDIT: Every other version of it has worked for me, after I made the "rs" folder in C:/
    EDIT2: Doesn't work for me anymore. Vista 32-bit, core 2 duo, 4GB Ram, newest SCAR + SRL, folder in C:/ named "rs"...
    Last edited by Zyt3x; 01-25-2010 at 05:41 PM.

  21. #121
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Figured out, this messes with:
    Common.scar
    line 74
    Whenever it does NickTPA.

  22. #122
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    4,163
    Mentioned
    9 Post(s)
    Quoted
    19 Post(s)

    Default

    Just tested with Simba, it works perfectly too. No adjustments needed. With Simba + Smart, the graphics mess up on high detail - it flashes and shit. I think this is a problem with Smart, though.

    Interestingly, when I have it debug the co-ords and move mouse to a banker, it does it even before RS has completely loaded - it was at 22% checking for updates, and had already found the banker. When I logged in and ran the script again, it picked the exact same co-ords. Even when Smart was loading with Simba and the graphics were messing up it, with RS not fully loaded, it found the correct co-ords.

    Does this mean that RS draws the whole world before we're even logged in, and just paints it at request or something? Can we exploit this to scan for legits/other monsters, so we can see what spots are empty to auto at on each world without wasting time travelling there ourselves? Or to scan the wildy (a pvp area in the game, where people go to kill each other for fun and loot, pretty much the only thing thats actually fun in the game) for lone players and then travel out there with a team of a few people to kill them? What, if any, information could you retrieve about the player if this is at all possible?

    I'm envisioning a script which would paint the white-dot position of players over a bitmap of the RS world-map of the wildy, updating each second to show where they're moving. This would be run while I go in the wildy myself, if you could somehow get the models for the gear the player is in and their location I think this would be pretty useful. Or a snippet of code for scripts which would scan for worlds with full rune rocks with no people, or empty trees, etc.
    Last edited by The Claw; 01-25-2010 at 06:52 PM.

  23. #123
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    I think if you have a scouting account that has the correct area loaded (you know, when you get Loading - Please wait...) it can grab every ID in that area including players.
    Ce ne sont que des gueux


  24. #124
    Join Date
    Jan 2010
    Location
    UK
    Posts
    129
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Out of interest, are there any randoms that currently can't be solved by SRL which could use some help by interception?


    Quote Originally Posted by Zyt3x View Post
    I got a blue screen from this.. I don't know if I am able to reproduce it though

    It worked fine for about 30 seconds but then -

    EDIT: Every other version of it has worked for me, after I made the "rs" folder in C:/
    EDIT2: Doesn't work for me anymore. Vista 32-bit, core 2 duo, 4GB Ram, newest SCAR + SRL, folder in C:/ named "rs"...
    I'd be very surprised if you're getting a blue screen from this. What's in the content of opengl32.log in C:\rs?


    Quote Originally Posted by The Claw View Post
    Interestingly, when I have it debug the co-ords and move mouse to a banker, it does it even before RS has completely loaded - it was at 22% checking for updates, and had already found the banker. When I logged in and ran the script again, it picked the exact same co-ords. Even when Smart was loading with Simba and the graphics were messing up it, with RS not fully loaded, it found the correct co-ords.
    I believe that due to the way interception shares data with smart, you may have just been getting some old data which wasn't actually valid. RS only draws the world once you actually log in.


    Quote Originally Posted by The Claw View Post
    Rather than draw the ID's on to the RS screen, could you dump an image into SCAR's image-debug box of the screen with the ID's on it? Or even just put it into the clipboard, at the press of a button, just as a temp solution? I've just had a good idea for a script which would be made much easier if I could use interception, but don't want even a small risk of getting banned
    TBH, I really wouldn't worry about the risk at the moment. Jagex probably aren't even aware of this method yet. Plus, they would only take a screenshot if they suspect you of cheating.

    Quote Originally Posted by The Man View Post
    Figured out, this messes with:
    Common.scar
    line 74
    Whenever it does NickTPA.
    Can you explain this further? I don't understand

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

    Default

    Quote Originally Posted by silentwolf View Post
    Out of interest, are there any randoms that currently can't be solved by SRL which could use some help by interception?
    All randoms can be solved with all methods but one are easier and other are harder :P interception seems to be the easiest way to solve randoms, and solver with this methot can be written not only for standard window bots
    :P

Page 5 of 13 FirstFirst ... 34567 ... 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
  •