Results 1 to 8 of 8

Thread: Help with non-rs script

  1. #1
    Join Date
    Feb 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with non-rs script

    So ive been playing this game for a while, and decided to see if i could make a script, for educational purposes, dont really plan on using the bot all that much. The script i wanted to automate was fighting monsters. This game utilizes "screens" where you are, and if you go the border of the screen you move to the screen north/west/south/east depending on where you went.

    I ran into a barrier when trying to figure out how to have the bot find these monsters. They are free moving, and hovering the mouse over the monster shows nothing, there is no "fight "monster name" (level X)" like in RS. Only way to engage combat is to right click and then click "attack (monster name)". The only thing i need is to have it run around on the same screen and attack these monsters. Eating/anything else isn't needed. help would be appreciated

  2. #2
    Join Date
    Feb 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    any help would be appreciated

  3. #3
    Join Date
    Dec 2009
    Posts
    380
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    You should tell us the game so we can understand what exactly you require
    Currently: Playing OSRS legit until I get bored

  4. #4
    Join Date
    Feb 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    its Queville, but the name of the game is largely irrelevant.

  5. #5
    Join Date
    Dec 2009
    Posts
    380
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by who23 View Post
    its Queville, but the name of the game is largely irrelevant.
    Not really... Now that I have the name of the game I can google search images/videos... You should have posted those rather than a text description. Pictures would have been great.

    AFAIK have the script find the color of the monster you want to attack, and have it right click and select attack. Get the position of your character (get the color of your character) and of the monster, and if the X/Y coordinates of your character are different than the X/Y coordinates of the monster you want to attack then hold a specific key until coordinates match. (If WASD movement, if your X coord > monster X coord, hold D until your X coord is in range of attacking. etc. etc. etc.) This doesn't account for anything blocking your path (bridge, water, tree, rock, any obstruction in the way, etc. etc.) although a fail safe could be made for that. Search a box inbetween you and the monster and if any obstructions are in the way (use some method of detecting them) then *insert keys required to move around it here*.

    A screenshot of the area you'd want to kill the monsters on would be very helpful.
    Currently: Playing OSRS legit until I get bored

  6. #6
    Join Date
    Feb 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    http://screencast.com/t/aeivONydeE5

    Thanks for spending so much time on my problem . Its mouse movement just like runescape. Im very new to scripting, how would i go about doing all the things you mentioned?
    Last edited by who23; 09-04-2012 at 09:27 PM.

  7. #7
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Based on the graphics it does seem like an easy game to bot on and to learn about scripting. Assuming you already know basic usage of Simba and SRL like variables and mouse movement, I suggest you read this bitmap tutorial which would help you get the coordinates of the monsters you wish to attack.

    A good alternative to using bitmaps is using DTMs. If you wish to learn about that you may try this DTM tutorial. However I think you'd be better off learning about bitmaps first.

  8. #8
    Join Date
    Dec 2009
    Posts
    380
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by who23 View Post
    http://screencast.com/t/aeivONydeE5

    Thanks for spending so much time on my problem . Its mouse movement just like runescape. Im very new to scripting, how would i go about doing all the things you mentioned?
    Well:
    Quote Originally Posted by Emaziz View Post
    Based on the graphics it does seem like an easy game to bot on and to learn about scripting. Assuming you already know basic usage of Simba and SRL like variables and mouse movement, I suggest you read this bitmap tutorial which would help you get the coordinates of the monsters you wish to attack.

    A good alternative to using bitmaps is using DTMs. If you wish to learn about that you may try this DTM tutorial. However I think you'd be better off learning about bitmaps first.
    ^This



    If you know the basics, and the game is as simple as I think it is, then a simple FindColor, MoveMouse, ClickMouse (unless they've good bot detection, then use MMouse/Mouse/etc.) and if findcolor(of obstruction) then hold one of the keys (W/A/S/D) to get around/ if your color isn't near the enemy mob's color then hold one of they keys down.

    Bitmaps/DTMs just look challenging but I'd suggest reading the tutorials because they aren't that difficult and once you learn how to do both they're very helpful for accuracy. I learned the basic of DTMs by simply opening up the DTM editor no tutorial was needed.

    You'll just be doing lots of trial and error until you get something that works.
    Currently: Playing OSRS legit until I get bored

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
  •