Infos for WZ Bot devlopers

10/14/2009 17:24 ACE-ppc#1
Hi,
this thread is for developers of bots for Webzen. Plz only post in here if u are a developer.

Ill describe here the way to bypass GG blocked API Calls.
Ok ... lets take a look the PostMessageW API Call.

This is the normal assembly of the first bytes of it:
Code:
7E368CCB USER32.PostMessageW     8BFF                mov     edi, edi
7E368CCD                         55                  push    ebp
7E368CCE                         8BEC                mov     ebp, esp
7E368CD0                         8B45 0C             mov     eax, dword ptr [ebp+C]
after the GG hoook it .. it will look like this
Code:
7E368CCB USER32.PostMessageW   - FF65 08             jmp GG Function    
7E368CCE                         8BEC                mov     ebp, esp
7E368CD0                         8B45 0C             mov     eax, dword ptr [ebp+C]
As u can see it overwrites the first 5 bytes to jump in the GG function that will disable to send keys to the al window.

Ok how do we bypass it ?

First we need the Address of the PostMessageW API call so lets load the needed dll and get the address of the function.
Use LoadLibrary() and GetProcAddress(), now we need to inc 5 Bytes the original address (to overjump the gg hook).
1 Problem is still left ... we need to rebuild the stack so the original function can proceed its work.
Ill show an example.
Code:
hInst = LoadLibrary("user32.dll");
DLLFunc = (DWORD)GetProcAddress(hInst, "PostMessageW") + 5; 

__declspec(naked) BOOL WINAPI __stdcall xPostMessageW(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
{
   __asm
   {
      mov  edi, edi
      push ebp
      mov  ebp, esp
      jmp [DLLFunc]
   }
}
All u have to do now is to call ur function(xPostMessageW) instead the original.

Greez ACE
10/14/2009 18:16 Palmatex#2
Nice job! Now we can owning!

Which language? C++ or VB?
10/14/2009 19:26 testacc123#3
can you please upload the .dll?? :D that would be very nice :D

and if we combinate your .dll with an old version of bot for example pixie bot or any other bot

it should work or ?
10/14/2009 19:46 ACE-ppc#4
Quote:
Originally Posted by testacc123 View Post
can you please upload the .dll?? :D that would be very nice :D

and if we combinate your .dll with an old version of bot for example pixie bot or any other bot

it should work or ?
Yes it should ... im waiting for reply of InfinityBoT .. he is testing it.
10/14/2009 19:51 testacc123#5
Quote:
Originally Posted by ACE-ppc View Post
Yes it should ... im waiting for reply of InfinityBoT .. he is testing it.
oh can you do me a favor if he replies to you can you ask him if he would combinate his bot with the dll

thanks
10/14/2009 22:01 Palmatex#6
I hope it will working
10/14/2009 22:16 testacc123#7
it must work ... its ace ppc project :D
10/15/2009 08:34 claviculae#8
I'm not really a codder but I feel that your post will be a boost towards public bots for the game. Good work.

Clav
10/18/2009 07:02 antonex#9
Hi Dudes Can Post Webzen Bot Please :(
10/18/2009 14:48 InfinityBoT#10
ok im sorry i havent replied sooner been ill and busy.. i tried connecting the dll to a working autoit bot.. no luck but i havent used dll with au3 too much in the past so again i am still learning in that area of study..

im also officially 1 yr older today so today will be partially focused on making sure i cant stand by the end of it

but over the next week il be working on writing a simple (easy to use) bot in vb or other such program .. other than au3 mainly so the dll will be attached correctly


Quote:
Originally Posted by antonex View Post
Hi Dudes Can Post Webzen Bot Please :(
1. GO AWAY AND RE READ THE 1st POST

2.nd if someone has a working bot i would highly recoment NOT releasing it. instead .. maybe give hints or code snippets to others via MAIL.. why to prove they are not leechers and have some idea of programming. give a programmer a cut of code and he will work with it to either make it better of impliment it into there own codeto make a working program.. give a leech a cut of code and he will look at you blankly and ask many questions .. basicly asking you to do it for them.

//edit

ok a few mins after writing this i made a possible breakthrough with the dll
so il carryon workin with it through the week.. hopeit fully works ^_^

///edit.. if you cant be arsed to read DONT BOTHER PUTTING tldr
10/18/2009 19:08 claviculae#11
InfinityBoT, firstly happy Birthday, wish you many more :).

As for "do not post the bot, just give the devs some hints" part. I DO NOT AGREE WITH YOU. I think that is even more selfish and leecher than saying share the boot. You have been around for a long time to know that this is a public forum where ppl release bots, for free and it is not some sort of "Dev Only" where ppl who know how to code come and chit chat for ideas.
I hope someone has created a bot for Archlord and will release it soon.


Clav
10/19/2009 04:30 ACE-ppc#12
Quote:
Originally Posted by claviculae View Post
InfinityBoT, firstly happy Birthday, wish you many more :).

As for "do not post the bot, just give the devs some hints" part. I DO NOT AGREE WITH YOU. I think that is even more selfish and leecher than saying share the boot. You have been around for a long time to know that this is a public forum where ppl release bots, for free and it is not some sort of "Dev Only" where ppl who know how to code come and chit chat for ideas.
I hope someone has created a bot for Archlord and will release it soon.


Clav
This thread is meaned only for devs ... so stop crying here.
I hope the Mod will cleanup the thread.
10/19/2009 12:09 claviculae#13
Quote:
Originally Posted by ACE-ppc View Post
This thread is meaned only for devs ... so stop crying here.
I hope the Mod will cleanup the thread.
Yes I kwo that, but I couldn't just see that guy write something like that, asking for a bot for himself and not wanting to share. Not a good way.

and as I said before, thnx to you, I hope someone will release a bot soon.

Clav
10/19/2009 13:14 testacc123#14
Quote:
Originally Posted by InfinityBoT View Post
ok im sorry i havent replied sooner been ill and busy.. i tried connecting the dll to a working autoit bot.. no luck but i havent used dll with au3 too much in the past so again i am still learning in that area of study..

im also officially 1 yr older today so today will be partially focused on making sure i cant stand by the end of it

but over the next week il be working on writing a simple (easy to use) bot in vb or other such program .. other than au3 mainly so the dll will be attached correctly




1. GO AWAY AND RE READ THE 1st POST

2.nd if someone has a working bot i would highly recoment NOT releasing it. instead .. maybe give hints or code snippets to others via MAIL.. why to prove they are not leechers and have some idea of programming. give a programmer a cut of code and he will work with it to either make it better of impliment it into there own codeto make a working program.. give a leech a cut of code and he will look at you blankly and ask many questions .. basicly asking you to do it for them.

//edit

ok a few mins after writing this i made a possible breakthrough with the dll
so il carryon workin with it through the week.. hopeit fully works ^_^

///edit.. if you cant be arsed to read DONT BOTHER PUTTING tldr

i think it would be very nice if elitepvpers.com can be the first website with a free webzen archlord bot and you can be sure that the guy who realese it will get my thanks and many other thanks
10/19/2009 15:13 ACE-ppc#15
Quote:
Originally Posted by testacc123 View Post
i think it would be very nice if elitepvpers.com can be the first website with a free webzen archlord bot and you can be sure that the guy who realese it will get my thanks and many other thanks
Sooo !!
Why do u slow down the development then ?

Before the release we need to get it working. My Bot is working but i work hard for the other developers to get her bot working. The only thing u do is cry.
So lets do our work and ull see that some of the bots are released.

Greez ACE