WQ bot for PWI

06/23/2011 08:43 Dracoyzin#196
Quote:
Originally Posted by Merkada View Post
whoops my bad :rolleyes: ty for offsets, i cans still find quest adress and offset by myself even with tutorial :D (like i said ... IDA noob)

so this is WQing.ini

Code:
[main]
logActivities=0
[offsets]
realBaseAddress=0x00AF6DA4
SendPacketAddress=0x00659450
playerCounterOffset=0x00000900
playerIntervalOffset=0x000008DC
questFunctionOffset=0x1050
questFunctionAddress=0x007221F0
playerNameOffset=0x638
playerTransportModeOffset=0x64C
playerFlySpdOffset=0x4EC
playerFlyMountOffset=0x0000058C
playerXposOffset=0x3C
playerYposOffset=0x40
playerZposOffset=0x44
playerActionStructOffset=0x1048
baseOffset=0x1C
playerOffSet=0x34
nameLengthOffset=0xFFFFFFF8
playerTargetIdOffset=0xB60
npcIdOffset=0x11C
sortedNpcListOffset=0x50
baseListsOffset=0x1C
npcListOffset=0x24
and for catching packets using PWEDump from Vuduy
Great, with FlyWQ 2.7 and this WQing.ini its work for a few seconds... the pw client crash.

Quote:
Originally Posted by Interest07 View Post
F401 => 500, which is the number of ms between each move packet. This value won't change in general of course, but some might want to adjust it :)

Direction should really be changed I guess for appearences, but I never got around to it as it's not necessary for the bot.

Nice to see people still using this :D
Before the genesis update this have a massive use in PWBR. :handsdown:
06/23/2011 19:04 msxgames#197
Quote:
Originally Posted by Dracoyzin View Post
Great, with FlyWQ 2.7 and this WQing.ini its work for a few seconds... the pw client crash.
That is correct in your case, there is a mistake in the ini-file. Adjust this line:
Code:
playerCounterOffset=0x00000928
All should be fine now. Good luck!
06/26/2011 01:32 monstro_#198
msxgames, do you have WQing.ini generator? I play PWBR and i need configurate it.
06/26/2011 04:06 msxgames#199
I use the old findWQbotOffsets.au3. For some addresses however this generator is not valid anymore, but just skip those lines in the sourcecode and you will be fine. The remaining values need to be found by hand.
Code:
$PATH="elementclient.exe"
$FILE=FILEOPEN($PATH,16)
$DATA=FILEREAD($FILE,FILEGETSIZE($PATH))
FILECLOSE($FILE)
INIWRITE("WQing.ini","main","logActivities","0")
$SEARCH=STRINGREGEXP($DATA,"6A21"&"E8.{8}"&"8BF0"&"83C404"&"85F6"&"74.{2}"&"8A442418"&"668B4C2410"&"66C7060000"&"88461E"&"8B442408"&"66894E1A"&"D9442414"&"8B10"&"895602"&"8B4804"&"D80D.{8}"&"894E06"&"8B5008"&"8B44240C"&"89560A"&"D805.{8}"&"8B08"&"894E0E"&"8B5004"&"895612"&"8B4008"&"894616"&"E8.{8}"&"668B4C241C"&"6689461C"&"66894E1F"&"8B15(.{8})"&"6A21"&"56"&"8B4A20"&"E8(.{8})"&"56"&"E8.{8}"&"83C404"&"5E"&"C3",2)
$CALL_POS=STRINGINSTR($DATA,$SEARCH[0])/2+4194427
CONSOLEWRITE("realBaseAddress=0x"&REV($SEARCH[1])&@CRLF)
CONSOLEWRITE("SendPacketAddress=0x"&HEX(DEC(REV($SEARCH[2]))+$CALL_POS+6)&@CRLF)
INIWRITE("WQing.ini","offsets","realBaseAddress","0x"&REV($SEARCH[1]))
INIWRITE("WQing.ini","offsets","SendPacketAddress","0x"&HEX(DEC(REV($SEARCH[2]))+$CALL_POS+6))
$SEARCH=STRINGREGEXP($DATA,"D946.{2}"&"D9.{6}"&"D946.{2}"&"8B8E.{8}"&"8B96.{8}"&"8B86.{8}"&"8BBE.{8}"&"D95C244C"&"D946.{2}"&"D95C2450"&"894C2444"&"8D4C243C"&"8954243C"&"89442440"&"E8.{8}"&"D95C2414"&"8B542414"&"6A01"&"57"&"8D442444"&"52"&"50"&"68.{8}"&"8D4C245C"&"6A02"&"51"&"8D8E(.{8})"&"E8.{8}",2)
CONSOLEWRITE("playerCounterOffset=0x"&HEX(DEC(REV($SEARCH[1]))+100)&@CRLF)
CONSOLEWRITE("playerIntervalOffset=0x"&HEX(DEC(REV($SEARCH[1]))+24)&@CRLF)
INIWRITE("WQing.ini","offsets","playerCounterOffset","0x"&HEX(DEC(REV($SEARCH[1]))+100))
INIWRITE("WQing.ini","offsets","playerIntervalOffset","0x"&HEX(DEC(REV($SEARCH[1]))+24))
$SEARCH=STRINGREGEXP($DATA,"E8.{8}"&"8BB8.{8}"&"8BCB"&".{6,14}"&"E8.{8}"&"8B80(.{8})"&".{14}"&"51"&"50"&"8BCF",2)
CONSOLEWRITE("questFunctionOffset=0x"&REV($SEARCH[1])&@CRLF)
INIWRITE("WQing.ini","offsets","questFunctionOffset","0x"&REV($SEARCH[1]))
$SEARCH=STRINGREGEXP($DATA,"8B8D.{8}"&"85C9"&"74.{2}"&"3BC1"&"0F87.{8}"&"8B45.{2}"&"8BCF"&"50"&"E8(.{8})"&"85C0"&"0F85.{8}"&"8B46.{2}"&"8B4E.{2}"&"3BC1"&"0F85.{8}"&"8D48.{2}"&"83F905"&"73.{2}",2)
$CALL_POS=STRINGINSTR($DATA,$SEARCH[0])/2+4194328
CONSOLEWRITE("questFunctionAddress=0x"&HEX(DEC(REV($SEARCH[1]))+$CALL_POS+4)&@CRLF)
INIWRITE("WQing.ini","offsets","questFunctionAddress","0x"&HEX(DEC(REV($SEARCH[1]))+$CALL_POS+4))
$SEARCH=STRINGREGEXP($DATA,"8B83(.{8})8D4C243C",2)
CONSOLEWRITE("playerNameOffset=0x"&REV($SEARCH[1])&@CRLF)
INIWRITE("WQing.ini","offsets","playerNameOffset","0x"&REV($SEARCH[1]))
$SEARCH=STRINGREGEXP($DATA,"83EC.{2}"&"56"&"8BF1"&"8B86.{8}"&"C1E804"&"A801"&"74.{2}"&"C786(.{8})02000000"&"5E"&"83C4.{2}"&"C2.{4}",2)
CONSOLEWRITE("playerTransportModeOffset=0x"&REV($SEARCH[1])&@CRLF)
INIWRITE("WQing.ini","offsets","playerTransportModeOffset","0x"&REV($SEARCH[1]))
$SEARCH=STRINGREGEXP($DATA,"55"&"56"&"8BF1"&"57"&"6A03"&"50"&"8B4E.{2}"&"83C1.{2}"&"E8.{8}"&"8B6E.{2}"&"8B85.{8}"&"8BF8"&"83EF02"&"F7DF"&"1BFF"&"83E7.{2}"&"83C7.{2}"&"83F802"&"75.{2}"&"D985(.{8})"&".{10}"&"EB.{2}",2)
CONSOLEWRITE("playerFlySpdOffset=0x"&REV($SEARCH[1])&@CRLF)
INIWRITE("WQing.ini","offsets","playerFlySpdOffset","0x"&REV($SEARCH[1]))
$SEARCH=STRINGREGEXP($DATA,"51"&"56"&"57"&"8BF9"&"33F6"&"8B87.{8}"&"3BC6"&"0F84.{8}"&"39B0.{8}"&"0F84.{8}"&"53"&".{8}"&"55"&".{8}"&"8DAF(.{8})"&"8B03",2)
CONSOLEWRITE("playerFlyMountOffset=0x"&HEX(DEC(REV($SEARCH[1]))+48)&@CRLF)
INIWRITE("WQing.ini","offsets","playerFlyMountOffset","0x"&HEX(DEC(REV($SEARCH[1]))+48))
$SEARCH=STRINGREGEXP($DATA,"A1.{8}"&"8BCE"&"8B98.{8}"&"E8.{8}"&"57"&"8D8E.{8}"&"E8.{8}"&"8BCE"&"E8.{8}"&"D946(.{2})"&".{8}"&"D946(.{2})"&".{8}"&"D946(.{2})"&".{8}"&"51"&"8BCE"&".{8}"&"E8.{8}"&"8A86.{8}"&"84C0"&"75.{2}"&"8B96(.{8})"&"8B6A14"&"85ED"&"74.{2}"&"8B4500"&"57"&"8BCD"&"FF5004"&"8A4508"&"84C0"&"74.{2}"&"8B8E.{8}"&"6A00"&"6AFF"&"E8.{8}",2)
CONSOLEWRITE("playerXposOffset=0x"&REV($SEARCH[1])&@CRLF)
CONSOLEWRITE("playerYposOffset=0x"&REV($SEARCH[2])&@CRLF)
CONSOLEWRITE("playerZposOffset=0x"&REV($SEARCH[3])&@CRLF)
CONSOLEWRITE("playerActionStructOffset=0x"&REV($SEARCH[4])&@CRLF)
CONSOLEWRITE("baseOffset=0x1C"&@CRLF)
CONSOLEWRITE("playerOffSet=0x20"&@CRLF)
INIWRITE("WQing.ini","offsets","playerXposOffset","0x"&REV($SEARCH[1]))
INIWRITE("WQing.ini","offsets","playerYposOffset","0x"&REV($SEARCH[2]))
INIWRITE("WQing.ini","offsets","playerZposOffset","0x"&REV($SEARCH[3]))
INIWRITE("WQing.ini","offsets","playerActionStructOffset","0x"&REV($SEARCH[4]))
INIWRITE("WQing.ini","offsets","baseOffset","0x1C")
INIWRITE("WQing.ini","offsets","playerOffSet","0x20")
INIWRITE("WQing.ini","offsets","nameLengthOffset","0xFFFFFFF8")
$SEARCH=STRINGREGEXP($DATA,"56"&"8BF1"&"8B86(.{8})"&"85C0"&"74.{2}"&"8B0D.{8}"&"8B51.{2}"&"8BC8"&"81E100000080"&"8B52.{2}"&"75.{2}"&"8B8E.{8}"&"6A00"&"50"&"E8.{8}"&"EB.{2}",2)
CONSOLEWRITE("playerTargetIdOffset=0x"&REV($SEARCH[1])&@CRLF)
INIWRITE("WQing.ini","offsets","playerTargetIdOffset","0x"&REV($SEARCH[1]))
FUNC REV($STRING)
LOCAL $ALL
FOR $I=STRINGLEN($STRING)+1 TO 1 STEP -2
$ALL=$ALL&STRINGMID($STRING,$I,2)
NEXT
WHILE STRINGLEFT($ALL,1)="0"
$ALL=STRINGTRIMLEFT($ALL,1)
WEND
RETURN $ALL
ENDFUNC
; DeTokenise by myAut2Exe >The Open Source AutoIT/AutoHotKey script decompiler< 2.9 build(146)
07/22/2011 15:41 pwpers#200
Quote:
Originally Posted by AEBus View Post
run that with administrator rights or disable uac
fuck you bitch AEBus
07/22/2011 16:57 Smurfin#201
Quote:
Originally Posted by Dracoyzin View Post
Before the genesis update this have a massive use in PWBR. :handsdown:
PW BR got Genesis already ? PW Indo is sooo outdated, this local stupid idiot money sucker publisher still haven't announced when to have that new episode

sorry for the wording but it really fits to describe them

how is PW PH, got Genesis, too ? we're so left behind even though they already announced to send our players to compete in the upcoming tournament in China which I suppose will include race from Genesis.

They're so stupid, it's considered as generous using only that word alone next to them
07/27/2011 03:50 kulas2k2#202
nope.. some major updates last june on pw-ph. one is the ridiculous patch on 3-3, making it impossible (for some) to farm gold item.

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

:P
07/27/2011 15:42 Smurfin#203
oh i see, it's been months since we got that one, came with assassin 3 sparks and demon sage skills, but they exclude rank 9 and auction hall is not in use yet probably because they're lazy coz have to do more work daily putting items there.
07/29/2011 11:23 ranjeet#204
is this still working as of now?
07/29/2011 13:49 Interest07#205
Quote:
Originally Posted by ranjeet View Post
is this still working as of now?
Not sure, in the last few pages I have seen some updated versions being posted, but I don't know if they work with the current patch.
07/29/2011 16:08 hades0621#206
is it working on pw-ph?
07/29/2011 17:59 Interest07#207
Quote:
Originally Posted by hades0621 View Post
is it working on pw-ph?
you'd need the correct offsets, then it should work.
07/30/2011 01:37 patryn73#208
It works on PWI with some minor problems. The part where its supposed to fly up after getting a new book does not work. The camera moves up, but your character does not. This causes you to be stuck on buildings at some books.
Here are the offsets for PWI (posted by someone else in this thread):
[offsets]
realBaseAddress=0x00AF6DA4
SendPacketAddress=0x00659450
playerCounterOffset=0x00000900
playerIntervalOffset=0x000008DC
questFunctionOffset=0x1050
questFunctionAddress=0x007221F0
playerNameOffset=0x638
playerTransportModeOffset=0x64C
playerFlySpdOffset=0x4EC
playerFlyMountOffset=0x0000058C
playerXposOffset=0x3C
playerYposOffset=0x40
playerZposOffset=0x44
playerActionStructOffset=0x1048
baseOffset=0x1C
playerOffSet=0x34
nameLengthOffset=0xFFFFFFF8
playerTargetIdOffset=0xB60
npcIdOffset=0x11C
sortedNpcListOffset=0x50
baseListsOffset=0x1C
npcListOffset=0x24
08/01/2011 11:14 Zeomak#209
Hate to break it to you, but these offsets won't work. the client crashes after the charackter is added.
08/01/2011 13:48 Interest07#210
Quote:
Originally Posted by Zeomak View Post
Hate to break it to you, but these offsets won't work. the client crashes after the charackter is added.
prolly need to download this:

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

Not sure if that's still working, although I think it should be.

I've stopped support for this bot pretty much right after I created it. Which was back when the PW MS version was still alive. I've never actually used it beyond the testing phase, so I"m actually quite surprised it's been used as much hehe