Results 1 to 5 of 5

Thread: help with war metal tyrant script

  1. #1
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default help with war metal tyrant script

    nevermind, I figured it out =p

  2. #2
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default

    Haven't played the game, but can you say what needs improving? Is it slow, unreliable, etc?

  3. #3
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    my major problem is detecting efficiently with failsafe the different 'ok' at the end of game and clicking them. here so images so u can make 'links' while reading the script. it shouldn't be too difficult because as far as I know the different 'ok' always appears at the same places.
    Map

    receive card

    dialogue ( have to press ok a few times but the button always at same spot)

    defeat

    victory



    what I tried at first to detect them is using 'countingcolortolerance' in 'boxed' on the screen to detect them but it doesn't alwat work.
    Attached Images Attached Images

  4. #4
    Join Date
    Jan 2012
    Location
    Long Island, NY
    Posts
    413
    Mentioned
    5 Post(s)
    Quoted
    95 Post(s)

    Default

    Maybe you can create a mousebox for each "OK" button on each screen. If the "OK" button for each screen is in the same spot then you can just create a seperate mousbox for each one like dialog, victory, defeat, card. So you search for each DTM, if the DTM is found you click the mousebox. Or if there is an order to the screens in which they appear search the DTMs in that order than mousebox it.

  5. #5
    Join Date
    Feb 2012
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    I've tried to use 'mousebox' already. altho I get a 'math error' when I start the script. idk why lol

    Error: Out of Proc Range at line 430

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
  •