Jump to content

Need help with cleaning up, and some functions.


Recommended Posts

HELLO! im new to autoit and started script just 2 days ago (hehe). im trying to make a bot for game "adventurequest worlds" cause i havent seen any PvP bots for this game.

currently it does:

Joins queue: 100%

Joins game: ~60% (problem is missclicking)

Accepts trophies: (working on this)

restarts: (my main prob. is here)

currently this all runs on big loop except that "missclick prevention" on "join queue". so i want this all to run on different parts but i dont know much about func and stuff.

ex: i cant press X or stop on gui on some parts cause its not on "that part" of the loop, and if im already in pvp game it wont do anything, cause the first part on the scripts tries to find right pixels.

yeah this is kinda messy. :3

EDIT: now i modified a bit and it only joins queue, i think it stucks on func missclick() but i cant figure it out how to continue that! i tried continueloop and continuecase

help me :D

Edited by Valik
Link to comment
Share on other sites

Please read the forum rules before posting again. Game discussion is not allowed here.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

Read the forum rules, game botting and game scripting in general are prohibited. If you had read them as I suggested you wouldn't have posted the follow up.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...