Results 1 to 5 of 5

Thread: how can i make this script faster ?

  1. #1
    Join Date
    Jan 2008
    Location
    england
    Posts
    232
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default how can i make this script faster ?

    hello, i have made a basic script for a click based game. how can i make the script click faster ?


    thanks
    ben

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make the waits smaller? =X Also, this could be shortened a lot with arrays. Use this guide to learn them.

  3. #3
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Taking out the MoveMouseSmooth's would probably make it go much much faster depending on what you have the MouseSpeed at. Then, ClickMouse would just teleport the mouse instead of taking a large fraction of a second to move the mouse.

  4. #4
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Teleporting ftw. umm maybe use less dtm's and try findcolor? Might increase speed that way.

    Edit: Also Free your DTMs like:

    SCAR Code:
    FreeDTM(DTM: integer)

    always free your dtms to prevent memory leak

  5. #5
    Join Date
    May 2008
    Location
    Oregon, USA
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    long As its a non bannable game i would make it set the mousespeed to a high speed and use just Mouse(...); or go simple and use movemouse, clickmouse... idk how you could make it got much faster then that.

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
  •