Make your own PW Multiclient

04/15/2009 05:06 yeyetcute#1
Want to make your own multiclient? Here is my source code for a Perfect World multiclient. Feel free to modify it in any way. This is made in Visual Basic (you'll need to have visual basic installed on your computer, obviously).

[Only registered and activated users can see links. Click Here To Register...]
04/19/2009 07:29 yeyetcute#2
More than a 100 views but no replies or comments? If it works, a simple thanks would be nice. If it doesn't work, maybe we can work out some bugs.
04/21/2009 20:28 RyanH100#3
You could atleast tell us how to make one?
04/22/2009 03:15 yeyetcute#4
To make a multi-client for Perfect World (or some other games as well), what we need to do is to change the title of the window of the game, from "Element Client" to anything we want (e.g. pw1, pw, etc...). Once the title has been changed, we can now open another client (thus, the multi-client).

For the multi-client to work:
1. First, you must have opened the game (and preferrably in window mode, not in full screen mode).
2. Once you're in the login, just run the multi-client I made, and press the button (there are only two buttons on the multi-client, the X button and the more obvious Create another client button).
3. Open another client. It's that simple.

This multi-client was made in MS Visual Basic, so, you'll need MS VB to open and modify it. If you don't have MS VB, I can't help you there. I'll just post the code here so you can try to modify it in MS Office (VBA) if you don't have MS VB.

For those who have MS VB, you're in luck. Just open the project file and the multi-client will be at your disposal.

Here's the code:


Option Explicit

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SendMessageSTRING Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long

Private Const WM_SETTEXT = &HC

Private Sub cmdRename_Click()
Dim lPWHwnd As Long
Dim sCaption As String

lPWHwnd = FindWindow(vbNullString, "Element Client")
If lPWHwnd = 0 Then Exit Sub
sCaption = "pw"
SendMessageSTRING lPWHwnd, WM_SETTEXT, 256, sCaption
End Sub
05/15/2009 12:25 imak2008#5
Hi yeyet

Works very fine. And so simple. Thanks for great work. :)

Greets Imak
05/23/2009 06:53 hellbread#6
Very nice! Thank you for this! :handsdown:
05/26/2009 02:59 evoLutiion123#7
thanks a Lot DUDE! :D
06/22/2009 05:46 apoloxxx#8
THANK A LOT IT REALLY WORKs
06/26/2009 20:58 lozdy#9
Thanks alot man
06/27/2009 03:02 Smurfin#10
i've tried opening the source in visual basic pro 2008, it asked me to upgrade the source and i did, it run ok and function properly by renaming element client to pw.

the project pwmulti treeview has 4 items, such as : My Project, _UpgradeReport.htm, assemblyinfo.vb, and Form1.vb , but where can i edit/view the source you described above.

btw it's my first time with vb lol, i'm so noob :p
07/25/2009 05:03 ahliah#11
dosen't work
i click 'create a client' and nothing happens
i'm on windows vista, guess its not compatible with that
07/25/2009 07:02 Denmo93#12
It works i have vista to u must run it as admin than click again on elemen client wooow thx dude i cann kiss u !!!! Thank u man^^
07/28/2009 06:57 yeyetcute#13
Quote:
Originally Posted by Smurfin View Post
i've tried opening the source in visual basic pro 2008, it asked me to upgrade the source and i did, it run ok and function properly by renaming element client to pw.

the project pwmulti treeview has 4 items, such as : My Project, _UpgradeReport.htm, assemblyinfo.vb, and Form1.vb , but where can i edit/view the source you described above.

btw it's my first time with vb lol, i'm so noob :p
I'm not very familiar with Visual Basic Pro 2008, but I guess it's basically the same with Visual Basic 6 (which I used to create the multi-client). Try opening the code of Form1.vb, because that is where the sub-routines are.

And by the way, thanks also to those who tried and tested this multi-client. I'm glad to know that it still works, even after several patches has been made to PW.