Some Fixes

05/29/2018 22:50 phat34#16
That worked great!! Ty!
06/07/2018 11:27 zoidberg1337#17
I think the ScanStringFilter thing is brokena gain, a bot of mine doesn't find a npc name anymore, same happend before i changed the stuff that you posted DerMoench14
06/07/2018 11:39 tjubutsi#18
Chat log is broken too.
06/07/2018 13:33 sool a#19
chat log work again ;)
06/07/2018 14:29 tjubutsi#20
That's odd, seems like it works yeah.
06/07/2018 14:55 > brookfield#21
Quote:
Originally Posted by tjubutsi View Post
That's odd, seems like it works yeah.
I haven't been close to my bots since the update, is there anything to do?
06/07/2018 21:26 DerMoench14#22
Quote:
Originally Posted by zoidberg1337 View Post
I think the ScanStringFilter thing is brokena gain, a bot of mine doesn't find a npc name anymore, same happend before i changed the stuff that you posted DerMoench14
Code:
[I]$lTemp = GetScannedAddress('ScanStringFilter1', -2)
SetValue('StringFilter1Start', '0x' & Hex($lTemp, 8))
SetValue('StringFilter1Return', '0x' & Hex($lTemp + 5, 8)

_('ScanStringFilter1:')
AddPattern('51568B7508578BF9833E00')[/I]
Should fix it (untested).

Edit:
And because that's a bad pattern:
Code:
$lTemp = GetScannedAddress('ScanStringFilter1', -0x23)
SetValue('StringFilter1Start', '0x' & Hex($lTemp, 8))
SetValue('StringFilter1Return', '0x' & Hex($lTemp + 5, 8)

_('ScanStringFilter1:')
AddPattern('8B368B4F2C6A006A008B06')
(tested) :D
06/08/2018 16:26 zoidberg1337#23
Thank you for the fix, but i think there is also something broken with the Xunlai Chest.
Every bot that uses it and wants to open it crashes.
06/09/2018 10:36 DerMoench14#24
Quote:
Originally Posted by zoidberg1337 View Post
Thank you for the fix, but i think there is also something broken with the Xunlai Chest.
Every bot that uses it and wants to open it crashes.
Just curious ... why should a bot open xunlai-chest ?
06/09/2018 11:55 OneStrangeGuy#25
Store gold unident, store mats etcc, i think
06/09/2018 12:52 DerMoench14#26
Quote:
Originally Posted by OneStrangeGuy View Post
Store gold unident, store mats etcc, i think
Hmm .. you don't need to open xunlai to access the storage, tho.
06/11/2018 14:43 phat34#27
Need a new pattern, offset, for Scan Zoom Still... Does anyone have one?


("ScanZoomStill:")

Also - a new render pattern if it exist... still seem to have some processor usage issues here.
06/11/2018 14:54 tjubutsi#28
Rendering in latest updated gwa2 works fine, check it for pattern. What is the zoom even for?

Another thing that doesn't work anymore is the ScanSkillTimer pattern.
06/11/2018 15:08 DerMoench14#29
Quote:
Originally Posted by phat34 View Post
Need a new pattern, offset, for Scan Zoom Still... Does anyone have one?


("ScanZoomStill:")

Also - a new render pattern if it exist... still seem to have some processor usage issues here.
Code:
$mZoomStill = GetScannedAddress("ScanZoomStill", 0x24)
$mZoomMoving = GetScannedAddress("ScanZoomMoving", 0x21)

_('ScanZoomStill:')
AddPattern('89470CEBD1')
	
_('ScanZoomMoving:')
AddPattern('EB358B4304')

;~ Description: Changes the maximum distance you can zoom out.
Func ChangeMaxZoom($aZoom = 900)
	MemoryWrite($mZoomStill, $aZoom, "float")
	MemoryWrite($mZoomMoving, $aZoom, "float")
EndFunc   ;==>ChangeMaxZoom
Quote:
Originally Posted by tjubutsi View Post
Another thing that doesn't work anymore is the ScanSkillTimer pattern.
Still works for me:
Code:
$mSkillTimer = MemoryRead(GetScannedAddress('ScanSkillTimer', -3))

_('ScanSkillTimer:')
AddPattern('85C974158BD62BD183FA64')
06/11/2018 16:11 tjubutsi#30
Odd, can't test right now. Would capital letters in hex codes matter?

GetEffectTimeRemaining definitely returned stuff way out there when I tried it yesterday.