WQ bot for PWI

02/15/2012 23:20 martmor#271
if the bot work with the correct offsets, some data structure changed NPCs too
02/16/2012 00:38 dumbfck#272
Quote:
Originally Posted by jasty View Post
Yeah I'm trying to use the findWQbotOffsets utility to find the new offsets but its crashing :(

I need to figure out realBaseAddress and sendPacketFunction...
baseCall = 0xA521C0
baseCall->baseAddress = A52AAC
SendPacket function address = 0x63AA80
02/16/2012 10:24 martmor#273
Quote:
Originally Posted by jasty View Post
Yeah I'm trying to use the findWQbotOffsets utility to find the new offsets but its crashing :(
Yes, there is an problem with the path (opening the array). I opened the source code but I can not find an problem.

Thank you for the base address.

I have now these offsets, but some is wrong there. The player show up when I start the bot. But when I start the WQ with one char then crash the PW Client :(

so after the 2 offsets from me and msxgames we have the following (the offsets from me and msxgames are marked with "seems correct")

[main]
logActivities=0
[offsets]
realBaseAddress=0xA521C0 (seems correct)
SendPacketAddress=0x63AA80 (seems correct)
playerCounterOffset=0x0000096C (seems correct)
playerIntervalOffset=0x00000920 (seems correct)
questFunctionOffset=0x1058 (seems wrong)
questFunctionAddress=0x0073D780 (seems wrong)
playerNameOffset=0x664 (seems correct)
playerTransportModeOffset=0x678 (seems correct)
playerFlySpdOffset=0x4F8 (seems correct)
playerFlyMountOffset=0x0000058C
playerXposOffset=0x3C (seems correct)
playerYposOffset=0x40 (seems correct)
playerZposOffset=0x44 (seems correct)
playerActionStructOffset=0x109c (seems correct)
baseOffset=0x1C
playerOffSet=0x34
nameLengthOffset=0xFFFFFFF8 (seems correct)
playerTargetIdOffset=0xBB4 (seems correct)
npcIdOffset=0x120 (seems correct)
sortedNpcListOffset=0x50
baseListsOffset=0x1C
npcListOffset=0x24
02/19/2012 01:55 msxgames#274
Quote:
Originally Posted by jasty View Post
Yeah I'm trying to use the findWQbotOffsets utility to find the new offsets but its crashing :(

I need to figure out realBaseAddress and sendPacketFunction...
The program is not working anymore, because the search doesn't return any results. Need to look for the offsets manually. But it's not that hard, Interest07 made a great tutorial.
02/19/2012 15:12 martmor#275
Quote:
Originally Posted by msxgames View Post
Need to look for the offsets manually. But it's not that hard, Interest07 made a great tutorial.
The very good tutorial from Interest07 is here:

[Only registered and activated users can see links. Click Here To Register...]

I wrote already some offsets. if from 10 users every user search for 2 offsets, we can get all offsets ;)

So everybody can search for offsets and write the offsets down here into the forum. :handsdown:
02/19/2012 20:11 msxgames#276
Oki, good initiative. I will give (only) 2 than. Looking forward to the input from others:

playerTargetIdOffset=0xBB4
npcIdOffset=0x120
02/20/2012 17:56 martmor#277
Can be

playerCounterOffset=0x00000014

correct, because there is a higher difference to the last offset?

New founded offsets:

playerTransportModeOffset=0x678
playerActionStructOffset=0x109c
02/20/2012 19:17 msxgames#278
I have the same values for playerTransportModeOffset and playerActionStructOffset. However I have a different value for playerCounterOffset.
02/20/2012 22:56 dumbfck#279
If we're talking about the same player count (i.e., nearby player count - related to nearby player list) I checked this the other day:
Nearby player count is:
Quote:
Originally Posted by dumbfck View Post
Ok, player lists haven't changed, but the player struct has.

I only checked a few of the player struct entries:
ID = 0x480
Name = 0x664

ID was previously 0x460, so there's 0x20 / 4 = 8 new entries somewhere before ID.
Name was previously 0x638 so there are 0xC / 4 = 3 new entries between ID and Name offsets. I'm not particularly interested in what they are, so feel free to try to find them if you are ^^


Nearby player count is:
[[[[[baseCall]+0x1C]+0x1C]+0x20]+0x14]

Player list base is:
[[[[[baseCall]+0x1C]+0x1C]+0x20]+0x88]

So, for example, to get a list of names you would use
[[[[[[[[baseCall]+0x1C]+0x1C]+0x20]+0x88]+i*4]+0x664]+0x0]

Cheers
02/27/2012 22:14 patryn73#280
Any update on the new offsets for Descent? Bot still crashes.
02/28/2012 14:34 martmor#281
Hello, yes, it are still some offsets wrong. I do not have currently time, my dad is very ill, my wife is ill too and I have 2 kids and a full time job. So no time for playing and no time for searching for offsets.

But for the missing offsets you can search yourself and write them here for others. A how too with screenshots is on the first page from Interest07 written
03/21/2012 16:35 brhy_01#282
tnx for this its work properly ^_^
03/24/2012 03:38 maron2119#283
does anyone know what is the updated offset for pw ph?
03/24/2012 07:00 martmor#284
Quote:
Originally Posted by maron2119 View Post
does anyone know what is the updated offset for pw ph?
try the offsets from PWI Genesis, they are written some pages before. But not sure if they work.
03/30/2012 21:06 naushi#285
i am playing elite pw but i dont get any thing