Results 1 to 5 of 5

Thread: Use Simba with a browser game

  1. #1
    Join Date
    May 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Use Simba with a browser game

    Hi guys,

    well I am quite new to Simba but I can see a lot of potential using it to make my life easier :-)

    I am trying to learn a few basics by using Simba with my favourite borwser game which is a very old text based game. So quite boring :-) But well I like it...

    The challenge I am facing right now: The interface is frame based. One frame contains the navigation and the other one contains npc's which occur randomly. Because the description of the npc's are very different the URL to interact with them is most of the times on a different x,y coordinate. Is there any function I can use to tell Simba to recognise which NPC spawned? Once I know which NPC I have to fight I know the x,y coordinate to click. It s an URL with a random ID. MAybe there is also a way to grab the URL to farm these monsters without clicking on it by myself.

    Help is highly appreciated!!! Thank you guys!

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Well u know simba is a color bot, so if the npc has unique colors then it's easy to spot them.
    Last edited by Sjoe; 05-27-2013 at 09:36 AM.

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    May 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks for your quick reply. Unfortunately the npc doesn't have any unique colors.

    If I move to the next field in-game, there is a new NPC created randomly. In game it will look like this, two examples:

    Alien (NPC) Your Options:Attack, Run Away
    Alien-Queen (NPC) Your Options:Attack, Run Away

    The problem: Depending on what NPC is spawning, the URL with my "Attack" Option is on a different position every time. Due to many many NPC's I can't click all positions :-) Any ideas how to make something work in this case?

  4. #4
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    545
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    What game is this?
    I'd recommend using Appa, it has functions like
    Simba Code:
    appa_GetForms(out Result: TAppaFormArray); // and
      appa_SubmitForm(const Index: Integer);
    Which you can probably use to get the ID.

  5. #5
    Join Date
    May 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    This game is called w w w . f r e e w a r . d e

    Well thanks for your suggestion but grabbing the ID will not help cuz the NPC ID is created randomly as well. So Alien (NPC) will spawn now with ID 3 and 10 seconds later it will spawn with ID 13. The same ID is never used twice.

    Only the description and the URL for attacking (except the unique ID) is the same - it's always Alien (NPC).

    I think it might be quite hard to check if there is a description of the NPC somewhere - maybe it's an possibility to look for the URL....

    If there is no way to identify the exact NPC it would already help to know if there is a NPC at all.
    Last edited by tm2k; 05-27-2013 at 09:44 AM.

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
  •