Jump to content
Sign in to follow this  

My loop doesn't work good.

Recommended Posts

So, first i must say i'm not good in english and please forgive me;)

I have problem with my bot to game Dofus. It's lumberjack bot. I'm writing this since 5 hour ;O


so all works when i don't use function Call("_Change_Map") in function _Scinaj. 

Loop looks like that:

1. if actually pods > max pods

    go to 2


    go to 5

2. go to bank 

3. back to the trees spawn

4. start _Scinaj

5. if found tree then mousemove and click (to cut this)

    else go to 6.

6. go to 1

and this works.

The problem comes when i want to change the map and use Call("_Change_Map") in  6 step. First loop with this looks good. When on map there isn't  trees i see tooltip with "not found tree" and go to the next map. Script sleep for 3 seconds and search tree on new map. First tree is good localized but next are "not found" and now function _Change_Map start second time.


omg i belevie guys you understand my problem.. I will answer for every question:P

Edited by Melba23
Removed code

Share this post

Link to post
Share on other sites


Unc3nZureD is quite right - please read the Forum rules (the link is also at bottom right of each page) - particularly the bit about not discussing game automation - before you post again. Thread locked. :naughty:

But welcome to the AutoIt forum - and see you soon with a legitimate question I hope. :)


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Create New...