Jump to content

Search the Community

Showing results for tags 'python'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Forum Rules
    • Announcements
    • General Discussion
    • Forum Discussion
  • Support
    • Download SCAR Divi
    • SCAR Divi Manual
    • General Help
    • Scripting Help
    • Script Help
    • Tutorials and FAQ
  • Scripts
    • Scripts For Games
    • Game Scripts
    • Other Scripts
    • Requests
  • Include Libraries
    • OSI
    • MSSL
    • GMRL
    • SSIL
    • Archive
  • Code Bin
    • Mouse & Keyboard
    • Screen & Client
    • Color, Bitmap, DTM & OCR
    • Points & Boxes
    • Files & Networking
    • Math
    • Other Snippets
  • Development
    • Development Roadmap
    • Bugtracker
    • Development Discussion
  • Games
    • RuneScape
    • Seafight
    • Other Games
  • Misc
    • Native Corner
    • Programming
    • Graphics
    • Music
    • Movies & TV

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Interests


Occupation


Studies


Skype

Found 1 result

  1. Hello there! I made this (map) walking-function some days ago. I initialy inteded to port my SPS(similar)-function but was hard to get it to work on runescape 2007 (oldschool), but very possible - but it requres me to create a plugin for scar (speed is of the essence). I think there's small hunger for a simple mapwalk-function on this forums (for rs 2007)... So here I am to share my code, and I hope that We can together; quckly port it to pascal (SCAR), and take it further. Short: I need help porting it to pascal from python, this is due to me having little knowledge of Pascal, and the unfamiliar syntax makes me nauseous - To be honest, I'm also very lazy... If your willing to help, or atleast take a look, the code is hosted over _HERE_ All questions will be answered, and I will also be tryin' to port it, but I'm a tolerant guy, so it might take a little time if I'm to port it alone. See "edit"... It's ported. (Path making tool) for testing and development: I just wrapped together a (browser) javascript function to make paths. As I made it a little to quick it will contain some "undocumented features". URL: http://slacky.site90.com/ Known bugs for the path making tool: - 1.a: It does not work in firefox (FF handles mouseevents another way: had a hard time remembering how..). - 1.b: [i]Chrome[/i], [i] Opera[/i] should work, and IE might work. - 2.a: In any broweser: [u]Enable active catche[/u] -> This way you dont have to reload images each time. - 2.b: Image not showing? When loading a new map/image -> [u]wait a few secounds[/u] (while image loads *not visible*) -> click "change" again. (requires active catching) - 3.: Not a bug -> But [i]jpg, png and gif[/i] does not work: Use [i]bmp[/i]. Max width/height/size for upload is 500*500, 1MB - 4.: The once I HAVE UPLOADED might be VERY inaccurate (made in 5 sec). - 5.: Not optimized for long walks. Short walks works just fine. (well as soon as the algo is finished i mean...) = - - - - - - - - - - - E D I T - - - - - - - - - - - = So, we have eventually managed to port it. Not to bad, not to bad!! (thanks for all the help) A couple of questions have rised, bacuse it wont actually work as well in rs07 (or any later..), the minimap seems to be dynamicly resizing (90-110%), and a method to ensure that we dont miss our target needs to be created, I was tinking object matching - create a set of objects (sizes, colors, tolerance.. etc), use am to triangulate the offset from the initial point we were to walk and correct it: That way our "walker" dont get lost and eventually fails... But it requires (me) to write a set of "hardcore" functions, since i could not find a function in scar to find multiple DTMs also tolerating affine transformation of the objects.
×
  • Create New...