[Release]Kadauchi's Auto Gathering Plugin

01/11/2013 16:57 soundofshadow#16
verry nice work! to improve it you could add a solution what happens when the character is dead!
01/11/2013 20:38 kadauchi#17
----------
01/15/2013 02:22 Robban89#18
Kadauchi, any way you can make something that can detect loadingscreens with autoit? Like PixelChecksum or PixelSearch or any other method?
01/15/2013 10:47 buFFy!#19
Code:
Func InitLoading($deadLock = 15000, $anyFunc = "", $delay = 10)
	$t = TimerInit()
	While GetControlledCharacter() <> 0
		If $anyFunc <> "" Then Call($anyFunc)
		If TimerDiff($t) > $deadLock Then Return -1
		Sleep($delay)
	WEnd
	Return 1
EndFunc   ;==>InitLoading

Func WaitLoading($deadLock = 15000)
	$t = TimerInit()
	While GetControlledCharacter() == 0
		If TimerDiff($t) > $deadLock Then Return -1
		Sleep(10)
	WEnd
	Return 1
EndFunc   ;==>WaitLoading

Func GetControlledCharacter()
	$x = _MemoryRead($cliContext, $hProcess, 'dword') + 0x38
	Return _MemoryRead($x, $hProcess, 'dword')
EndFunc   ;==>GetControlledCharacter
the cliContext can be grabbed from my autoupdater sample.
01/17/2013 00:49 Robban89#20
Quote:
Originally Posted by buFFy! View Post
Code:
Func InitLoading($deadLock = 15000, $anyFunc = "", $delay = 10)
	$t = TimerInit()
	While GetControlledCharacter() <> 0
		If $anyFunc <> "" Then Call($anyFunc)
		If TimerDiff($t) > $deadLock Then Return -1
		Sleep($delay)
	WEnd
	Return 1
EndFunc   ;==>InitLoading

Func WaitLoading($deadLock = 15000)
	$t = TimerInit()
	While GetControlledCharacter() == 0
		If TimerDiff($t) > $deadLock Then Return -1
		Sleep(10)
	WEnd
	Return 1
EndFunc   ;==>WaitLoading

Func GetControlledCharacter()
	$x = _MemoryRead($cliContext, $hProcess, 'dword') + 0x38
	Return _MemoryRead($x, $hProcess, 'dword')
EndFunc   ;==>GetControlledCharacter
the cliContext can be grabbed from my autoupdater sample.
Figured you would have to read memory. Thanks alot. This will help me immensely.
01/20/2013 06:30 oleafar#21
Hello kadauchi, thks for ut tool, but i find some issue may because i do something wrong, when i click on stop after recolect a full zone of nodes, (like 10 min) it dont stop :) only if I ctrl+alt+del and finish process it stoped. How can i make that work well? thks
01/20/2013 09:44 kadauchi#22
----------
01/20/2013 10:23 buFFy!#23
Quote:
Originally Posted by kadauchi View Post
Try double clicking or spamming click for a few seconds.
XD

Just recompile it and check in your loop if the GuiMsg equals either stop or GUI_EVENT_CLOSE.
01/22/2013 21:28 beybus#24
Anyone mind to make lower lvls nodes?
01/22/2013 21:39 buFFy!#25
Quote:
Originally Posted by beybus View Post
Anyone mind to make lower lvls nodes?
Make em urself.
01/23/2013 00:45 beybus#26
Quote:
Originally Posted by buFFy! View Post
Make em urself.
Well how? And gathering places are always the same?
01/23/2013 00:48 0089aj#27
Quote:
Originally Posted by beybus View Post
Well how? And gathering places are always the same?
Stand by node, save the location. They stay the same until patches i think and then you will have to re-do them all.
01/23/2013 13:34 beybus#28
Quote:
Originally Posted by 0089aj View Post
Stand by node, save the location. They stay the same until patches i think and then you will have to re-do them all.
Can u clear me up how to do it exactly?
Sry, im kinda newbish ;)
01/24/2013 19:47 Zwaaner#29
btw, while it may not be that obvious if you teleport, it is rather obvious when you use this tool, seen about 20 people ingame using it, and damn its really obvious.....
Lucky i dont report people, but alot do!
08/28/2016 10:07 kadauchi#30
----------