Results 1 to 12 of 12

Thread: Developing a bot: What programming language to use?

  1. #1
    Join Date
    Oct 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Developing a bot: What programming language to use?

    I Tought about making a bot that records my behaviour in game and then basically imitates my behaviour in game.

    How long would developing such a bot take and what language should I use?
    Last edited by RealisticBot; 10-31-2014 at 08:50 PM.

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    A mouse recorder?

    I wouldn't use one of those.

  3. #3
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    So you want to make a/an

    -client (SMART)
    -api (SRL)
    -engine (Simba)

    all for the purposes of recording & playing back your behaviour? Not worth it. Just use Simba, we're the best anyway
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  4. #4
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  5. #5
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    Wait a few weeks for biometrics to come out
    no finish dung

  6. #6
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Best language for AI? No such thing as "best" but you can make life easier using one of the following (most commonly used languages for AI other than what's on Wiki):

    1. Lisp (best option IMO)
    2. Haskel
    3. Prolog
    4. C or C++
    5. Matlab (maybe.. mostly for maths and statistics.. can also use "R" language)

    From Wiki:

    1. IPL (made specifically for AI)
    2. Lisp
    3. Prolog
    4. STRIPS (dunno what this is..)
    5. Planner (dunno about this one either)
    6. Pop-11 (like pascal + lisp)
    Last edited by Brandon; 10-31-2014 at 10:47 PM.
    I am Ggzz..
    Hackintosher

  7. #7
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Best language for AI? No such thing as "best" but you can make life easier using one of the following (most commonly used languages for AI other than what's on Wiki):
    Just wondering,languages like Lisp and Haskell are not commonly used by new programmers, and aren't easy to read imo. Do these languages really make life that much easier as a more expresive/familiar language. I can only think of having more related libraries as a pro?
    Working on: Tithe Farmer

  8. #8
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by masterBB View Post
    Just wondering,languages like Lisp and Haskell are not commonly used by new programmers, and aren't easy to read imo. Do these languages really make life that much easier as a more expresive/familiar language. I can only think of having more related libraries as a pro?
    Yeah.. ancient languages, but there was a time when Lisp was actually the BEST language for AI for a very long time.. Symbolic programming was the reason. Lisp is still good for AI.. Would I choose it nowadays.. ehh.. maybe.. not. I'd probably choose a more modern language but Lisp is still good for AI.

    It's actually good for solving hard problems: http://programmers.stackexchange.com...uages-at-artif

    I guess it's my first choice right now because that's what I had to use..

    http://www.zdnet.com/blog/burnette/h...i-contest/2131

    That was in 2010.. so it's 4 years late but I still say it's good. Maybe not for new developers at all (so you are right). The syntax really is annoying but you get over it ;]

    I'd probably just choose C since it's just as good but can get annoying. R for statistics or Matlab. What would you choose?
    Last edited by Brandon; 10-31-2014 at 11:16 PM.
    I am Ggzz..
    Hackintosher

  9. #9
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Best language for AI? No such thing as "best" but you can make life easier using one of the following (most commonly used languages for AI other than what's on Wiki):

    1. Lisp (best option IMO)
    2. Haskel
    3. Prolog
    4. C or C++
    5. Matlab (maybe.. mostly for maths and statistics.. can also use "R" language)

    From Wiki:

    1. IPL (made specifically for AI)
    2. Lisp
    3. Prolog
    4. STRIPS (dunno what this is..)
    5. Planner (dunno about this one either)
    6. Pop-11 (like pascal + lisp)
    Strips is an action language, as opposed to a programming language. It's usually used to specify the effects of state-transition systems (read: AI).

    Planner is an old (almost as old as pascal) language that iirc functions by way of chaining.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  10. #10
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    What would you choose?
    Thank you for your explanation. I agree with that second link. Syntax is really what put me off.

    Well I am not really a programmer, so I would stick to the languages I already know(which is limited). Either c++ or c#.
    Working on: Tithe Farmer

  11. #11
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    For what it's worth, my programming professor does robotics and AI research and his favourite language is Haskell. He uses it absolutely every chance he gets and he uses it for AI afaik.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  12. #12
    Join Date
    Mar 2012
    Posts
    201
    Mentioned
    8 Post(s)
    Quoted
    74 Post(s)

    Default

    I'd say the best way about this is to make a java client and use reflection on the rs gamepack to analyse what you are doing. Although the likes of C may be faster than java for AI I believe that the features in java that allow it to monitor runescape and your activity outmatches the speed of C or C++. That would be how I'd do it anyways :-)

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
  •