Jump to content

Psvxe

Members
  • Posts

    235
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by Psvxe

  1. So you want to find the k-shortest paths and based on 'experience' you pick one of them. This would result in a 'verteran' player always taking the same route right? Why not just find the k-shortest paths and take the shortest the most often?

    I remember walking to Falador when I'd want to go to Varrock first day I started.

    Now I'm not going to let the player walk from Lumbridge to Falador with as end-destination Varrock. But instead of using the first bridge of Lumbridge I want to take the second one instead.

    And yes, it's pretty odd if it constantly takes the wrong route. But I'm figuring that part out still wink.png

  2. Well, I'm working on making a pathfinder more human-like.

    I figured out a player who doesn't play that long doesn't know the way around runescape very well and doesn't use the best or shortest path to a specific location compared to a veteran player.

    Now I was thinking about adding something like it will find the shortest path based on time spend on game. However since there is no hook to get the current time played ingame, I was thinking of getting the current time played since when a account is stored in the OSBot client.

    However, I don't this is stored at the moment. Could this be added or is there any other way of adding this? (I don't want the total time of using a single script)

  3. When you say that do you mean programmatically or by manually looking at them?

    If your are planning to analyze the images programmatically then you will need to use some sort of image recognition.

    Manual. It's just to write up the tiles for myself.

  4. Not entirely. I'm on my phone so it's pretty difficult. tongue.png

    You are trying to save the images to later identify what clue it's associated with right?

    Just finding out what place it has to go. Not going to get all needed data manual. Rather making a gather script. ;p

  5. No, not for runite ore mining. It works 10-20 minutes with world hopping, after that the world hopping starts to lag and throw those warnings and errors.

    I made my own world hopping method now but it sucks  (clicks on specified pixels lol). [/size]

    Well, I don't know if we can mention members into forum posts but perhaps you could send some offical SW a pm.

    If you want to write your own hopper, use widgets instead of pixels ;p

    Could you post the method you used for hopping? Perhaps someone has a solution.

  6. Image comparison algorithms rarely if ever require you to store the image on disk tongue.png

     

    You do realize that there are more than 450 different clues right? Most of them visually very similar too. Even if you are just doing one tier, say easy clues, then you better come up with a really efficient algorithm tongue.png

     

    If you are just capturing images to be able to statically link a scroll ID to a specific clue, I really wouldn't recommend doing that, Jagex could break your script in less than 10 seconds (this actually happened last year-ish).

     

    Image comparison for maps + OCR for text-based clues = thumbs up.

    Well, I was thinking of grabbing the text messages from a clue and have them compared with the widget text of clue. Then I could search up the right id and have them linked. You get me? haha

  7. My question isn't "why are you analyzing the image?" but rather: "why are you writing the image to the disk (ImageIO.write) to analyze it?".

    Well, so I could automatic gather information overnight and analyze by the next day.

    Is the question now answered? Don't really get it. Is there a different or better way to do it? O.o

  8. Your dir checking might be the issue.

    I know why you want to analyze the image, but why do you need to write it to disk for that?

    Cause I need to figure out which tile I've to go when I've a specific map clue. The clue doesn't give you automatic the right tile.

  9. How are you checking if the image was written?

    Also why do you need to write it at all in the first place ? Oo

    return if dir contains screenshot file.

    Well, I'm writing up a cluesolver. However, I don't have the right tiles for every clue id. This is way I need to gather the id's and figure out the 'clue'.

  10. But... you basically have full control over the visibility of that interface, just don't close it until your screenshot is ready tongue.png

    I tried. I'd put the whole damn script on wait for a whole 10 second and it's still too slow. I mean, what the fuck? hahah

  11. Okay thank you, and how about making the keyboard type faster. Any ideas?

     

    So far I have seen there is no method to change the rate of chars written. Only mouse speed can be adjusted.

    Write a file containing my GUI variables and read that file again.

     

    You could use http://ini4j.sourceforge.net/ too. Pretty simple. Works like a charm. 

     

     

     public static void setIni() throws IOException
             {
                     Wini ini = new Wini(new File(Data.ini.getAbsolutePath()));
                     ini.put("Settings", "Version", Data.MAJOR_VERSION + "." + Data.MINOR_VERSION);
                     ini.put("Settings", "Theme", "org.pushingpixels.substance.api.skin.SubstanceGraphiteGlassLookAndFeel");
                     ini.put("Settings", "Download", Data.DOWNLOAD_FILES);
                     ini.put("Account", "Username", "");
                     ini.put("Account", "Password", "");
                     ini.store();
                     
             }
    Something I made a while back. Perhaps you could use something of it and have a example.
  12. Which widget/data do you need?

     

    Clue map data

     

    i was thinking if I could find specific patterns in the map I could figure out which map is the right one with corresponding id. However, that is not needed at all if I could screenshot the map.

×
×
  • Create New...