MoveTo() Problem

06/15/2009 09:31 idqdmaster#1
I'm probably looking over something simple and stupid, but when I try useing moveto() in my own autoit script it just makes my character circle around randomly running sometimes.

I've used waypoint finders and I have all the #includes I think:confused:.
Anyone can shed me some light on this?
06/15/2009 14:45 Frutex#2
Maybe you dont have the wright update.ini?
06/15/2009 19:34 idqdmaster#3
I was thinking about the update.ini but im not use i used the autoupdater that i had laying around.

Code:
; update.ini [Gw.exe] - __wadim 
; 15.6.2009 - 1:58

[SECTION 9-A]
AX					= 0xa0e188
AY					= 0xa0e18c
AREA_ID					= 0xa0efd0
NO_NPC					= 0xa0fd6c
DEATH					= 0xa0e20c
MOUSE_COORDX				= 0xa0e818
MOUSE_COORDY				= 0xa0e81c
CAMCOURSEA				= 0xa0e0fa
CAMCOURSEB				= 0xa0e0b0
EX_AREA_ID				= 0xa0bab0
EXPANDERA				= 0xa0e0bb
EXPANDERB				= 0xa0e0ba
LVL					= 0xa0baf0
PVP_PVE					= 0xa0bafc
PING					= 0xa08f14
INTERFACE				= 0xa0a568
LOGIN					= 0xa0e228
EMAIL					= 0xa0a56c
MOVETO_TARGET				= 0xa0e7fc
MAPPLAYER				= 0xa0e804
MAPTIME					= 0xa0e0f0
PNAME					= 0xa08f60
STORAGE					= 0xa0aadc
SELLBAGX				= 0xa0aa60
MOUSEACTION				= 0xa02428
MESSAGE					= 0xa0e85f
INVENTAR				= 0xa0afcc
HERO					= 0xa0af40
MMAP					= 0xa0b01c
PARTY					= 0xa0b094
CHEST					= 0xa0afe0
ALLBAG					= 0xa0aff4
GUILD					= 0xa0afac
SKILL					= 0xa0af68
TRADE					= 0xa0b1e8
PARTYSEARCH				= 0xa0b0b0
MERCHANT				= 0xa0b210
;x					= 0x0
;y					= 0x4
;width					= 0x8
;height					= 0x12

MOVECHAR				= 0xa0e7e4
;back					= 0x4
;left					= 0x8
;right					= 0xc
;tleft					= 0x10
;tright					= 0x14

[SECTION D]
POSX					= 0xd31a5c
POSY					= 0xd31a60
CHECK_MAP				= 0xd316f8
NPC_ID_NEAR				= 0xd31308
NPC_ID_SELECT				= 0xd312e8
NPC_ID_MOUSE_SELECT			= 0xd312f4
CLIENTPATH				= 0xd322d0
KNOCKDOWN				= 0xd334b0

P_HEALTH				= 0xd317b0
;_M_HP					= 0x130
;_M_E					= 0x11c
;_M_MAX_HP				= 0x134
;_M_MAX_E				= 0x120
06/16/2009 12:56 in MIND#4
wadims updater isnt working anymore

look for example in this [Only registered and activated users can see links. Click Here To Register...]

there you find the new mems. just copy over yours
06/16/2009 19:01 idqdmaster#5
Thanks. Moveto still doesn't work. I probably did something wrong i have it like this:
Code:
Func wayout()
	PrepMoveTo()
	If CheckArea(2769, 1349) Then
		MoveTo(1, 2678 + (Random(-4, 4)), 1437 + (Random(-4, 4)))
		MoveTo(1, 2590 + (Random(-4, 4)), 1509 + (Random(-4, 4)))
		MoveTo(1, 2506 + (Random(-4, 4)), 1581 + (Random(-4, 4)))
		MoveTo(1, 2438 + (Random(-4, 4)), 1645 + (Random(-4, 4)))
		MoveTo(1, 2330 + (Random(-4, 4)), 1764 + (Random(-4, 4)))
		MoveTo(1, 2248 + (Random(-4, 4)), 1858 + (Random(-4, 4)))
		MoveTo(1, 2164 + (Random(-4, 4)), 1966 + (Random(-4, 4)))
		MoveTo(1, 2094 + (Random(-4, 4)), 2064 + (Random(-4, 4)))
		MoveTo(1, 2023 + (Random(-4, 4)), 2190 + (Random(-4, 4)))
		MoveTo(1, 1978 + (Random(-4, 4)), 2306 + (Random(-4, 4)))
		MoveTo(1, 1948 + (Random(-4, 4)), 2434 + (Random(-4, 4)))
		MoveTo(1, 1936 + (Random(-4, 4)), 2556 + (Random(-4, 4)))
		MoveTo(1, 1937 + (Random(-4, 4)), 2701 + (Random(-4, 4)))
		MoveTo(1, 1954 + (Random(-4, 4)), 2831 + (Random(-4, 4)))
		MoveTo(1, 1987 + (Random(-4, 4)), 2971 + (Random(-4, 4)))
		MoveTo(1, 2029 + (Random(-4, 4)), 3149 + (Random(-4, 4)))
		MoveTo(1, 2078 + (Random(-4, 4)), 3373 + (Random(-4, 4)))
		MoveTo(1, 2135 + (Random(-4, 4)), 3675 + (Random(-4, 4)))
		MoveTo(1, 2196 + (Random(-4, 4)), 3993 + (Random(-4, 4)))
		MoveTo(1, 2219 + (Random(-4, 4)), 4117 + (Random(-4, 4)))
	ElseIf CheckArea(470, 2220) Then
		MoveTo(1, 560 + (Random(-4, 4)), 2220 + (Random(-4, 4)))
		MoveTo(1, 668 + (Random(-4, 4)), 2225 + (Random(-4, 4)))
		MoveTo(1, 945 + (Random(-4, 4)), 2273 + (Random(-4, 4)))
		MoveTo(1, 1257 + (Random(-4, 4)), 2371 + (Random(-4, 4)))
............
And so on

My #includes are:
Code:
#include "tt6.au3"

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
06/16/2009 19:51 in MIND#6
i think you should add
Code:
#include "NomadMemory.au3"
that file must be in the same folder as your bot
06/16/2009 20:46 idqdmaster#7
Yeah i added that. its also in the same folder. keeps doing the same thing tho.
Going in and out of GH. when i remove the TransferGH() it just sits there.

this is the end of wayout if it helps:

Code:
		MoveTo(1, 2082 + (Random(-4, 4)), 3580 + (Random(-4, 4)))
		MoveTo(1, 2140 + (Random(-4, 4)), 3808 + (Random(-4, 4)))
		MoveTo(1, 2195 + (Random(-4, 4)), 4011 + (Random(-4, 4)))
		MoveTo(1, 2227 + (Random(-4, 4)), 4134 + (Random(-4, 4)))
	Else
		TransferGH()
		wayout()
	EndIf
	keepmoveto()
EndFunc   ;==>wayout
Im just compleatly stumped why my moveTo doesn't work :confused:
06/16/2009 23:21 Rosemarie Lein#8
Post your memorys please
06/17/2009 04:45 idqdmaster#9
Code:
DEATH					= 0xa0e1fc (von Syc0n)
WARNWND					= 0xa1be60 (von Syc0n)
CAMCOURSEB				= 0xA0E0A0 (von Syc0n)
POSX					= 0xd31a5c (von Syc0n)
POSY					= 0xd31a60 (von Syc0n)
CHECK_MAP				= 0xd316f8 (von Syc0n)
PING					= 0xa08ebc (von eF_Hacks)
PNAME					= 0xa08f08 (von eF_Hacks)
NPC_ID_NEAR				= 0xd31308 (von eF_Hacks)
NPC_ID_SELECT				= 0xd312e8 (von eF_Hacks)
NPC_ID_MOUSE_SELECT			= 0xd312f4 (von eF_Hacks)
CLIENTPATH				= 0xd322d0 (von eF_Hacks)
PTR_HP_E				= 0xd317b0 (von eF_Hacks)
PTR_BASEA				= 0xa090b4 (von eF_Hacks)
PTR_BASEB				= 0xa09048 (von eF_Hacks)
Thats update.ini
from [Only registered and activated users can see links. Click Here To Register...]

Hope it helps.
06/17/2009 17:23 Valvepro#10
Hi - check out my MoveTo ;)...[Only registered and activated users can see links. Click Here To Register...]
06/17/2009 22:45 idqdmaster#11
Quote:
Originally Posted by Valvepro View Post
Hi - check out my MoveTo ;)...[Only registered and activated users can see links. Click Here To Register...]
I do have it. :]
tt6 also has alot of other functions i wanted to use as well. put i would combine them i guess.

I got the moveto to work somehow. Is there a max range that you should set the moveto's? b/c it seems i may place 2 to far apart and it wont go. or something. ill test around a bit. thankx for all the help guys :]
06/17/2009 23:51 Valvepro#12
Quote:
Originally Posted by idqdmaster View Post
I do have it. :]
tt6 also has alot of other functions i wanted to use as well. put i would combine them i guess.

I got the moveto to work somehow. Is there a max range that you should set the moveto's? b/c it seems i may place 2 to far apart and it wont go. or something. ill test around a bit. thankx for all the help guys :]

Perhaps you search something like that..these are functions wich are included in my .dll