[RELEASE] Jawq (WQ bot for PWI)

04/10/2014 13:01 mengsys#136
Quote:
Originally Posted by Shareen View Post
I can't comment on changes I can't see, it'd be best if you post the changes you did and the objective you are trying to accomplish.
Placement of where these changes were made is also important.

WQ item id of 30590 isn't really a WQ item, it's a different quest item.. you'll need to bypass certain checks first, for example, there is a check in player.ahk that excludes items with those ids, line 142:
Code:
if (((itemId >= 14031) and (itemId <= 14125)) or ((itemId >= 37013) and (itemId <= 37019))) {
You can do anything you want around the core, but if it falls outside the WQ range, it'll take little more than hack and slash in places here and there.

I'd advise against changing the line above for this quest, because it's in function getWQItemSlot(), thus indicating it's WQ related.

Better, wholesome approach, would be to add new function to retrieve slot for specific quest item id.

Another such caveat to look out for, are callback (event) functions. As npc dialogue opens, player.onDialogueOpened is called.
Problem here is that it assumes it's being called for WQ reason and thus it triggers return quest. Now that might be what you want and that's great, but it might also not be...and will thus yield unpredictable results.

Again, post changes and then we can talk shop, else it's just pointless guess work.
actually my objective is to get "Roll Call" quest 1st before start WQ. but really have no idea how to start. perhaps need to understand how the code works as I'm still new in programming language. :(
anyone here can help pls? :handsdown:
04/17/2014 12:29 martmor#137
Here are some offsets but still did not work:

CallSendPacket=0x0073BBD0
BaseAddress=0x00C9DFAC
PlayerFlyMountId=0x7D5

these addresses are the same:
BaseOffset=0x1C
PlayerTargetId=0xD3C
PlayerName=0x6B0
PlayerTransportMode=0x6C4
PlayerLevel=0x4A0
04/17/2014 20:01 dixgen#138
Code:
[offsets]
CallSendPacket=0x0073BBD0
CallIsQuestAvailable=0x00845BC0
BaseAddress=0x00C9DFAC
BaseOffset=0x1C
PlayerStruct=0x30
PlayerId=0x494
PlayerLevel=0x4A0
PlayerName=0x6B0
PlayerTransportMode=0x6C4
PlayerFlyMountId=0x5B0
PlayerPositionX=0x3C
PlayerPositionZ=0x40
PlayerPositionY=0x44
PlayerTargetId=0xD3C
PlayerFreeze=0xD5A
PlayerQuestInventory=0xF50
PlayerAction=0x13A8
PlayerQuestList=0x13B0
ItemId=0x0C
Lists=0x1C
NpcList=0x20
NpcSortedList=0x58
NpcId=0x124
?
04/17/2014 23:18 martmor#139
Work now, thank you very much. do not aks me whats wrong. I did not changed anything, just tried it again...
04/21/2014 04:06 bigbear72#140
Cannot get Jawq to work since last PWI update. if anyone has the new offesets please post the full contents of the ini file thanks!
04/21/2014 07:04 martmor#141
dixgen wrote all offsets 3 entries higher. It work. try to run some steps with the char and try it then again.
07/13/2014 10:21 wolff83#142
Hello there,
I read everything on the forum topic, which revolves around offsets, how to find them etc ...
The problem I can not seem to find the structures that lists monsters, NPC, the grass and minerals as well as drop the map around the player.
Who can give me the way to find and trace the address of the structure for each of the cate lists.
What interest me, this is not the address but how to find them using, for example, cheat engine.
I hope I have been clear is accurate, I use Perfect World International.
Sorry for my English.

Best regard
07/15/2014 09:47 xjoss001#143
thank you worked
07/19/2014 00:07 bryan_ae1#144
Dont Work again in PW Indo Update Reincarnation.....

have offset Jawq for PW Indonesia Reincarnation??
07/20/2014 14:51 Smurfin#145
I never do WQ, but right now after reincarnation, the exp is x4 and very tempting, need help filling the right offsets for this list, it's PW New Horizon 1.5.1 build 2309 btw.


This is so far the list that I can gather (in bold), I'll dig the rest later, now is just about the time for nation war so I haven't got more time to dig for more. I'll use decimals for the offsets that I think are the right ones. Some of the offsets are new for me that I never know how to search for them. If anyone has the complete set of offsets for that version please post it here.


[main]
GameProcessName=elementclient.exe
LogMode=0
LogPath=logs/
DelayOnError=5000
MaxErrorRetries=5
[gui]
AnimateRemove=1
[offsets]
CallSendPacket=7584640
CallIsQuestAvailable=0x007966B0
BaseAddress=13229996
BaseOffset=0x1C
PlayerStruct=48
PlayerId=1172
PlayerLevel=1040
PlayerName=1712

PlayerTransportMode=0x688
PlayerFlyMountId=1456
PlayerPositionX=0x3C
PlayerPositionZ=0x40
PlayerPositionY=0x44
PlayerTargetId=3388

PlayerFreeze=0xC3E
PlayerQuestInventory=0xDC8
PlayerAction=5032
PlayerQuestList=5040

ItemId=0x08
Lists=0x1C
NpcList=0x24
NpcSortedList=0x50
NpcId=0x124
07/20/2014 15:40 linger8484#146
Any new offset of Jawq can be used in PW New Horizons version?
07/20/2014 18:49 Smurfin#147
Quote:
Originally Posted by linger8484 View Post
Any new offset of Jawq can be used in PW New Horizons version?
PW Indo just got patched to New Horizon on tuesday, what's the base address for PWI New Horizon ? We might have the same version and thus the same offsets as well.
07/23/2014 07:02 linger8484#148
Im so sorry smurfy. I dont really have an idea on how to search base address. Im kinda noob in this.
07/23/2014 07:17 mrpaidi#149
Quote:
Originally Posted by Smurfin View Post
I never do WQ, but right now after reincarnation, the exp is x4 and very tempting, need help filling the right offsets for this list, it's PW New Horizon 1.5.1 build 2309 btw.


This is so far the list that I can gather (in bold), I'll dig the rest later, now is just about the time for nation war so I haven't got more time to dig for more. I'll use decimals for the offsets that I think are the right ones. Some of the offsets are new for me that I never know how to search for them. If anyone has the complete set of offsets for that version please post it here.


[main]
GameProcessName=elementclient.exe
LogMode=0
LogPath=logs/
DelayOnError=5000
MaxErrorRetries=5
[gui]
AnimateRemove=1
[offsets]
CallSendPacket=7584640
CallIsQuestAvailable=0x007966B0
BaseAddress=13229996
BaseOffset=0x1C
PlayerStruct=48
PlayerId=1172
PlayerLevel=1040
PlayerName=1712

PlayerTransportMode=0x688
PlayerFlyMountId=1456
PlayerPositionX=0x3C
PlayerPositionZ=0x40
PlayerPositionY=0x44
PlayerTargetId=3388

PlayerFreeze=0xC3E
PlayerQuestInventory=0xDC8
PlayerAction=5032
PlayerQuestList=5040

ItemId=0x08
Lists=0x1C
NpcList=0x24
NpcSortedList=0x50
NpcId=0x124
just change your offset with

CallSendPacket=0x0073BB80
CallIsQuestAvailable=0x007966B0
BaseAddress=0x00C9DFAC

i hope it work
07/23/2014 11:13 edmundtyy#150
i tried using the new offsets from smurfy with the 3 lines from mrpaidi. when i click start to initiate the world quest, i got an error Code:256.

i used previous offsets from dixgen, and only i switch the 3 lines from mrpaidi, my client crash upon landing.