AtoZ   01-03-2015, 03:39 PM
Yup I have the same problem as Zealous and usually it only appears when search is around 250+. I currently have 4gb ram x64 i7 system. Since it's in the attack function, I think it has something to do with the loop and memory. But I'm not familiar with those. I don't know if Antidote is referring to that same problem.

I don't know if we can use this.. Just found this in a forum: http://www.autoitscript.com/forum/topic/...ar-memory/
Code:
Func _ReduceMemory($i_PID = -1)
   If $i_PID <> -1 Then
       Local $ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $i_PID)
       $ai_Return = DllCall("psapi.dll", 'int', 'EmptyWorkingSet', 'long', $ai_Handle[0])
       DllCall('kernel32.dll', 'int', 'CloseHandle', 'int', $ai_Handle[0])
   Else
       $ai_Return = DllCall("psapi.dll", 'int', 'EmptyWorkingSet', 'long', -1)
   EndIf

   Return $ai_Return[0]
EndFunc   ;==>_ReduceMemory

In order for me to use the bot without hanging.. I created a temporary crude quickfix on a separate au3 to restart the bot and Bluestacks after attacking. I'll then have the risk of being atkd once in a while. I just had to make this work as I am taking auto screenshots for skipped zombies.
  
Users browsing this thread: 16 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.