Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World > PW Hacks, Bots, Cheats, Exploits
You last visited: Today at 05:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] Jawq (WQ bot for PWI)

Discussion on [RELEASE] Jawq (WQ bot for PWI) within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old 12/27/2013, 13:32   #121
 
mirakita's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 36
Received Thanks: 14
martmor, how it works? i have error msg with new offsets. PWI, windows 7 x64 i have. thanks
mirakita is offline  
Old 12/28/2013, 10:15   #122
 
elite*gold: 0
Join Date: Oct 2010
Posts: 555
Received Thanks: 163
Hi

Please take a look what I wrote here:



I do not have all offsets. All Offsets that I have, I wrote already. I searched for them by Cheat Engine. Maybe you have more luck with the other offsets. Interest07 wrote an guide at the WQ Bot (first and second page).

By the way, the offsets are at every OS the same.
martmor is offline  
Old 12/30/2013, 21:57   #123
 
mirakita's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 36
Received Thanks: 14
Quote:
Originally Posted by martmor View Post
Hi

Please take a look what I wrote here:



I do not have all offsets. All Offsets that I have, I wrote already. I searched for them by Cheat Engine. Maybe you have more luck with the other offsets. Interest07 wrote an guide at the WQ Bot (first and second page).

By the way, the offsets are at every OS the same.
yep, i know everything of it, thanks.
this is my ini file:
Code:
[main]
GameProcessName=elementclient.exe
LogMode=0
LogPath=logs/
DelayOnError=5000
MaxErrorRetries=5
[gui]
AnimateRemove=1
[offsets]
CallSendPacket=0x00725700
CallIsQuestAvailable=0x007966B0
BaseAddress=0x00C7662C
BaseOffset=0x1C
PlayerStruct=0x2C
PlayerId=0x480
PlayerLevel=0x4A0
PlayerName=0x6B0
PlayerTransportMode=0x6C4
PlayerFlyMountId=0x57C
PlayerPositionX=0x3C
PlayerPositionZ=0x40
PlayerPositionY=0x44
PlayerTargetId=0xD3C
PlayerFreeze=0x4D0
PlayerQuestInventory=0xDC8
PlayerAction=0x1204
PlayerQuestList=0x120C
ItemId=0x08
Lists=0x1C
NpcList=0x24
NpcSortedList=0x50
NpcId=0x124
and i have a critical error, code 256. idk what does it mean
mirakita is offline  
Thanks
1 User
Old 12/31/2013, 06:20   #124
 
elite*gold: 0
Join Date: Aug 2012
Posts: 9
Received Thanks: 0
how do i set the flying altitude for this bot? i got the bot working but it is flying at altitude 36. would like to move it up to about 65

edit: ok. i found out my problem as my world quest was done half way. so the altitude was lower thus hitting the wall. it should work fine if i start it from the volume 1
edmundtyy is offline  
Old 12/31/2013, 07:49   #125
 
elite*gold: 0
Join Date: Oct 2010
Posts: 555
Received Thanks: 163
Quote:
Originally Posted by edmundtyy View Post
i got the bot working but it is flying at altitude 36. would like to move it up to about 65
Do you play on PWI? If yes:
Which offsets do you use?

Quote:
edit: ok. i found out my problem as my world quest was done half way. so the altitude was lower thus hitting the wall. it should work fine if i start it from the volume 1
Yes, thats correct.
martmor is offline  
Old 01/02/2014, 14:39   #126
 
elite*gold: 0
Join Date: Jul 2010
Posts: 11
Received Thanks: 15
(translate)
check these values

Code:
CallSendPacket=0x00725700
CallIsQuestAvailable=0x0082A690
BaseAddress=0x00C7662C
BaseOffset=0x1C
PlayerStruct=0x2C
PlayerId=0x494
PlayerLevel=0x4A0
PlayerName=0x6B0
PlayerTransportMode=0x6C4
PlayerFlyMountId=0x5B0
PlayerPositionX=0x3C
PlayerPositionZ=0x40
PlayerPositionY=0x44
PlayerTargetId=0xD3C
PlayerFreeze=0xD5A
PlayerQuestInventory=0xF18
PlayerAction=0x1370
PlayerQuestList=0x1378
ItemId=0x0C
Lists=0x18
NpcList=0x20
NpcSortedList=0x58
NpcId=0x124
dixgen is offline  
Thanks
5 Users
Old 01/02/2014, 14:58   #127
 
elite*gold: 0
Join Date: Oct 2010
Posts: 555
Received Thanks: 163
Thank you very much dixgen. I will try them in some hours. I am sure they will work.

Edit: the offsets work
martmor is offline  
Old 01/02/2014, 23:28   #128
 
elite*gold: 0
Join Date: Oct 2011
Posts: 12
Received Thanks: 1
if anyone has this working correctly could you post the contents of your .ini file? it just crashes on me then unhooks
bigbear72 is offline  
Old 01/02/2014, 23:41   #129
 
elite*gold: 0
Join Date: Oct 2010
Posts: 555
Received Thanks: 163
Quote:
if anyone has this working correctly could you post the contents of your .ini file? it just crashes on me then unhooks
Working on PWI with win7 64 bit

Code:
[main]
GameProcessName=elementclient.exe
LogMode=0
LogPath=logs/
DelayOnError=5000
MaxErrorRetries=5
[gui]
AnimateRemove=1
[offsets]
CallSendPacket=0x00725700
CallIsQuestAvailable=0x0082A690
BaseAddress=0x00C7662C
BaseOffset=0x1C
PlayerStruct=0x2C
PlayerId=0x494
PlayerLevel=0x4A0
PlayerName=0x6B0
PlayerTransportMode=0x6C4
PlayerFlyMountId=0x5B0
PlayerPositionX=0x3C
PlayerPositionZ=0x40
PlayerPositionY=0x44
PlayerTargetId=0xD3C
PlayerFreeze=0xD5A
PlayerQuestInventory=0xF18
PlayerAction=0x1370
PlayerQuestList=0x1378
ItemId=0x0C
Lists=0x18
NpcList=0x20
NpcSortedList=0x58
NpcId=0x124
martmor is offline  
Thanks
3 Users
Old 04/05/2014, 06:32   #130
 
elite*gold: 0
Join Date: Jul 2009
Posts: 4
Received Thanks: 0
need help

I wanted to take Roll Call quest from PW School Teacher before start WQ. so i added the below in npcs.ahk

; Roll Call
npcs[15870] := new TNpc(22485, "PW School Teacher", "Roll Call", 30590)
npcs[15870].addAction("flyTo", 1529.83, 360, 1018.42)
npcs[15870].addAction("land")
npcs[15870].addAction("interact")

and also "itemId = 15870" in jawq.ahk.

it able to fly and landed at the NPC, but got error "17 ; Target id passed to function could not be located in vicinity' after landed.

is there anything i miss out ?
mengsys is offline  
Old 04/07/2014, 20:11   #131
 
elite*gold: 0
Join Date: Mar 2009
Posts: 112
Received Thanks: 123
Quote:
Originally Posted by mengsys View Post
need help

I wanted to take Roll Call quest from PW School Teacher before start WQ. so i added the below in npcs.ahk

; Roll Call
npcs[15870] := new TNpc(22485, "PW School Teacher", "Roll Call", 30590)
npcs[15870].addAction("flyTo", 1529.83, 360, 1018.42)
npcs[15870].addAction("land")
npcs[15870].addAction("interact")

and also "itemId = 15870" in jawq.ahk.

it able to fly and landed at the NPC, but got error "17 ; Target id passed to function could not be located in vicinity' after landed.

is there anything i miss out ?
My guess would be wrong npc ID.
There are (in general) two ID's that refer to npc: one is unique ID of that npc, the other is the ID it assumes as it's spawned in the world, let's call that one instance ID.
Instance ID's change across servers and, sometimes, after server is restarted. Npc ID's do not.

What you need to pass is npc ID, NOT instance ID.
Shareen is offline  
Old 04/08/2014, 13:08   #132
 
elite*gold: 0
Join Date: Jul 2009
Posts: 4
Received Thanks: 0
Unhappy

Quote:
Originally Posted by Shareen View Post
My guess would be wrong npc ID.
There are (in general) two ID's that refer to npc: one is unique ID of that npc, the other is the ID it assumes as it's spawned in the world, let's call that one instance ID.
Instance ID's change across servers and, sometimes, after server is restarted. Npc ID's do not.

What you need to pass is npc ID, NOT instance ID.
thx Shareen, but I got the npc ID from pwdatabase.

mengsys is offline  
Old 04/08/2014, 19:56   #133
 
elite*gold: 0
Join Date: Oct 2010
Posts: 555
Received Thanks: 163
Quote:
Originally Posted by mengsys View Post
thx Shareen, but I got the npc ID from pwdatabase.

Try to search them with CE as Interest07 wrote it in the FlyWQ Bot Thread.

martmor is offline  
Old 04/09/2014, 12:22   #134
 
elite*gold: 0
Join Date: Jul 2009
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by martmor View Post
Try to search them with CE as Interest07 wrote it in the FlyWQ Bot Thread.

finally able to take quest at PW School Teacher by hard coded itemID and player.wqItemID and added the parameters in npcs.ahk. but now came to another problem. it got error 2 Timeout at step onDialogueOpened(player). seems like it wait for the return result value after took the quest.


itemId = 30590
player.wqItemId = 30590

; Roll Call
npcs[30590] := new TNpc(22485, "PW School Teacher", "Roll Call", 15870)
npcs[30590].addAction("flyTo", 1530, 360, 1019)
npcs[30590].addAction("land")
npcs[30590].addAction("interact")
mengsys is offline  
Old 04/09/2014, 19:01   #135
 
elite*gold: 0
Join Date: Mar 2009
Posts: 112
Received Thanks: 123
Quote:
Originally Posted by mengsys View Post
finally able to take quest at PW School Teacher by hard coded itemID and player.wqItemID and added the parameters in npcs.ahk. but now came to another problem. it got error 2 Timeout at step onDialogueOpened(player). seems like it wait for the return result value after took the quest.


itemId = 30590
player.wqItemId = 30590

; Roll Call
npcs[30590] := new TNpc(22485, "PW School Teacher", "Roll Call", 15870)
npcs[30590].addAction("flyTo", 1530, 360, 1019)
npcs[30590].addAction("land")
npcs[30590].addAction("interact")
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.
Shareen is offline  
Thanks
2 Users
Reply




All times are GMT +1. The time now is 05:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.