make a refining hack :cool:
The last I see is for 729 but I think the latest update is 748, no?Quote:
Anybody have an updated offsets set for this script?
Work fine for me with PWI and I have 64 bit win 7. You need to make the exe file first and change something at the settings from the exe software. I wrote what to change at one of the first messages from me here. Just take a look, I can not remember me what to change.Quote:
I've followed all the directions down to the letter, 32bit .bin file, etc etc etc, and it crashes every time. Win7 x64bit, tried 32 bit compiler and 64 bit compiler as well. "Jawk.exe has stopped working", and yes I ran it as Admin.
I'm past that actually. Way past that. Everything is working except we're having issues with the mounting flying pet in the script. Instead of mounting, the character starts running in place. Is yours currently working and what offsets are you using?Quote:
Work fine for me with PWI and I have 64 bit win 7. You need to make the exe file first and change something at the settings from the exe software. I wrote what to change at one of the first messages from me here. Just take a look, I can not remember me what to change.
One moment, I take a look myself what I wrote.
OK, you need to compile it with 32 bit Unicode settings. Other do not work(ed for me).
Looks like an extra 4 on that last number for the NpcId, that could be your problem. '124'Quote:
I'm using this Jawq and it works perfectly until the character needs to interact with the NPC. after flying and land, jawq show an error :
"Status : Error Occured, code: 17. Instance Stopped".
when I check in the logs, the last successfull action was :
> Executing action interact: Locking target Guard Autumnland
[23.10.2013 02:09:39] > Error occured, instance stopped:
[23.10.2013 02:09:39] > action code: 0
[23.10.2013 02:09:39] > error code: 17
And the NPC is not locked.
I'm using this offset :
CallSendPacket=0x006F55E0
CallIsQuestAvailable=0x007F2C00
BaseAddress=0x00C38B6C
BaseOffset=0x1C
PlayerStruct=0x34
PlayerId=0x494
PlayerLevel=0x4A0
PlayerName=0x688
PlayerTransportMode=0x69C
PlayerFlyMountId=0x5AC
PlayerPositionX=0x3C
PlayerPositionZ=0x40
PlayerPositionY=0x44
PlayerTargetId=0xC88
PlayerFreeze=0xCA6
PlayerQuestInventory=0xE54
PlayerAction=0x1290
PlayerQuestList=0x1298
ItemId=0x08
Lists=0x1c
NpcList=0x24
NpcSortedList=0x58
NpcId=0x1244
There is one bug I noticed and that is that the result of flyUp operation is never tested for failure.Quote:
If I run non-compiled script I get the same errors mentioned in the first post, as expected. I don't remember what the log said after failing to fly. I posted it earlier in an earlier post on this thread, but I've spent too much time already trying to make it work, so I'll just stick with what I've got, it works 100% without fouling up on me.
Well, here's the thing: With ControlSend I can send the manual 'mount flying pet' hotkey to the client with the client minimized. Basically, I have it set to dismount when the land command is sent, and I have the character remount just before NPC interaction, so that when interaction is over, the character rises into the air and continues on its way without having to remount. That way it eliminates any failure from trying to send the flyUp or flyOn commands to the client via the dll. If the script works for everyone else as it is, unmodified, that's great, don't worry about it. I'm one of those guys that says 'if it ain't broke, don't fix it'.Quote:
There is one bug I noticed and that is that the result of flyUp operation is never tested for failure.
This would mean that the error code you are getting is from failure on operation that comes after, namely flyUp.
I'll fix this, so that pet mount/dismount is also tested for failure and it should give a more specific error code.
Obviously this change alone will not fix your problem, but it should hopefully give a better understanding of what the problem is, provided you are willing to try.
It works for everyone else, but it is broke, at least the error handling part :)Quote:
... If the script works for everyone else as it is, unmodified, that's great, don't worry about it. I'm one of those guys that says 'if it ain't broke, don't fix it'.
I do, but it has nothing to do with Win 7 x64, I'm using it as well without these problems, as I'm sure, many others.Quote:
... However, if you want me to help troubleshoot for Windows 7 x64, sure, I'll give it a shot.
This is really the least of the problem. Either a custom testing script can be written to test only specific action or a debug mode can be added to an existing bot framework to provide the same functionality.Quote:
... One of the most annoying things during testing was having to wait for every trip to every NPC to end so that the issue could be tested again, and I'm not used to that kind of waiting while testing my scripts, so it wore on me a bit. That's why I'm just glad my workaround does what it needs to do.
Sounds like an interesting idea. I was also tring this but without success. I was trying something like this:Quote:
Well, here's the thing: With ControlSend I can send the manual 'mount flying pet' hotkey to the client with the client minimized.