Quote:
Originally Posted by Retlaw123
okay, i see. Sorry!
But when i try this bot. They start to move out of instance and then guild wars crashes directly.
When they enter a new area the bot crashes. :(
Can you help me pls? :rolleyes:
|
I see you want to learn and believe it or not your part ways on the right track.... You say when they start to move out of instance then guild wars crashes... so.... if you read about the updates, you will see that the headers is what got updated... If you read more you will see that your told to look for the sendpacket functions. SO put 1 and 1 together ---> Find a send packet call that has to do with map movement!
Code:
;~ Description: Internal use for map travel.
Func MoveMap($aMapID, $aRegion, $aDistrict, $aLanguage)
Return SendPacket(0x18, 0xB8, $aMapID, $aRegion, $aDistrict, $aLanguage, False)
EndFunc ;==>MoveMap
If you compare that to your old function you will see that the second hex value is the change you needed to make in your code... See when there is an update things get moved around in the .exe (in the code space) usually when one header is moved the others will follow the same pattern because in most cases they are grouped consecutively. So you can start by moving all these functions with sendpacket all together towards the top of your code and then change them all... like someone mentioned you can put some output function and a delay in and after each function before they return so if you get a crash you know where your crash is and you can focus on finding the right value for that one header value.
Good luck and leave off the Roll Eyes emoji next time... I almost ignored you because of that alone.