Func PickUpLoot()
Local $lMe
Local $lBlockedTimer
Local $lBlockedCount = 0
Local $lItemExists = True
Local $Distance
For $i = 1 To GetMaxAgents()
If GetIsDead(-2) Then Return False
$lAgent = GetAgentByID($i)
If Not GetIsMovable($lAgent) Then ContinueLoop
$lDistance = GetDistance($lAgent)
If $lDistance > 2000 Then ContinueLoop
$lItem = GetItemByAgentID($i)
If CanPickup($lItem) Then
Do
If GetDistance($lAgent) > 150 Then Move(DllStructGetData($lAgent, 'X'), DllStructGetData($lAgent, 'Y'), 100)
PickUpItem($lItem)
Sleep(GetPing())
Do
Sleep(100)
$lMe = GetAgentByID(-2)
Until DllStructGetData($lMe, 'MoveX') == 0 And DllStructGetData($lMe, 'MoveY') == 0
$lBlockedTimer = TimerInit()
Do
Sleep(3)
$lItemExists = IsDllStruct(GetAgentByID($i))
Until Not $lItemExists Or TimerDiff($lBlockedTimer) > Random(500, 1000, 1)
If $lItemExists Then $lBlockedCount += 1
Until Not $lItemExists Or $lBlockedCount > 5
EndIf
Next
EndFunc
Pick UP script or program? 01/31/2010 - Dekaron - 5 Replies Hi is there a Pick up script for CE that character auto pick up gold. cause if vac a lot of mob. it take a while to pick up before the next patch come.
Brauche Script-Hilfe für Pick-Up-Bot (AutoIt v3) 12/31/2008 - General Coding - 8 Replies Hallo!
Also ich bin grad an einer Arbeit einen Pick Up Bot zu scripten.
Leider ist das meine Erste Scriptarbeit und daher kenn ich mich noch nicht so gut aus.
Nun..
Ich habe schon das hier gescriptet:
Aber ich will nicht immer (und die die ihn später vll. runterladen sicher auch nicht) den Bot immer neu starten müssen wenn ich mich im Spiel unterhalte.
Script vessel does not pick up items 10/02/2007 - Conquer Online 2 - 6 Replies I have a problem where script vessel does not pick up items (mets, dbs, elites, supers) when the conquer client im botting with is minimzed...It only recognizes and picks up items when the conquer window is on top.. This causes a problem when I am botting several peoples characters at once, and i would like them to pick up mets and dbs. :D it would be great if anyone could shed any light on the issue. Thanks in advance:cool: