Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[TUTORIAL] Run more than 1 server on the same machine

Status
Not open for further replies.
Sultan of Yolo
Loyal Member
Joined
May 21, 2008
Messages
1,225
Reaction score
110
Create DLL and Hook Client

PUSH Offeset Name DLL
LoadLibrerayA
JMP EntryPoint
Learn how to leech correct!

[Begin Code Cave] -- Credits: Phail/me for posting this!!!!!!!!!!!!!!!!
Code:

Go to:
004B1FE0 and replace it with:

Code:
004B1FE0     E8 6F500E00    CALL theduel.00597054
004B1FE5     81EC 50040000  SUB ESP,450
[Code Cave] -- Credits: Phail/me for posting this!!!!!!!!!!!!!!!!
Code:

Code:
0059704B   . 53 46 58 2E 64>ASCII "SFX.dll",0
00597053     60             PUSHAD
00597054     68 4B705900    PUSH theduel.0059704B                    ;  ASCII "SFX.dll"
00597059     E8 19AD267C    CALL kernel32.LoadLibraryA
0059705E     85C0           TEST EAX,EAX
00597060     75 0B          JNZ SHORT theduel.0059706D
00597062     58             POP EAX
00597063     A1 601C6400    MOV EAX,DWORD PTR DS:[641C60]
00597068     C3             RETN
00597069     61             POPAD
0059706A     CC             INT3
0059706B     CC             INT3
0059706C     60             PUSHAD
0059706D     6A 00          PUSH 0
0059706F     E8 665D287C    CALL kernel32.ExitProcess
00597074     58             POP EAX
00597075     61             POPAD
 
Joined
Jan 4, 2007
Messages
1,600
Reaction score
217
I converted the ClientHook to VC++ 2005, and now it can't compile due to the CDetour missing stuff.

A mini-tut on how to find hexadecimal (I found this myself while thinking of regedit)
Tutorial said:
Full Credit to: Linear88.

1. Start > Run > regedit
2. Right click > New > DWORD key.
3. Select the option decimal.
4. Type the number you want.
5. Press OK.
6. Copy/Remember the hexadecimal number (excluding 0x0000)
7. Delete the key (since its just useless there).
8. Done.
 
Praise the Sun!
Loyal Member
Joined
Dec 4, 2007
Messages
2,502
Reaction score
986
I converted the ClientHook to VC++ 2005, and now it can't compile due to the CDetour missing stuff.

A mini-tut on how to find hexadecimal (I found this myself while thinking of regedit)

PHP:
<?php
echo dechex("7777") . "<br />";
echo hexdec("1e1e");
?>
 
Junior Spellweaver
Joined
Oct 7, 2008
Messages
153
Reaction score
2
Anyone can post the compiled dll i cant compile it x.x
it make errrrrrrrrooooooorrrrrrrrrrrr
 
Praise the Sun!
Loyal Member
Joined
Dec 4, 2007
Messages
2,502
Reaction score
986
The different IP's are used to identify the server to change the port on the client too, if you dont use the DLL in the client it will always try to connect by the 7777 port.

There are much more ways to identify a server, without using the IP. I've done that almost a year ago.
 
Rival Gamers Owner
Loyal Member
Joined
Jul 7, 2007
Messages
962
Reaction score
161
umm compiled the dll go my second ip setup made the dll auto injecr (tested on gravity dll and worked) logged in and i get ae



used port 7778
 
Elite Diviner
Joined
Apr 23, 2006
Messages
415
Reaction score
45
Sorry but it isn't working for me.
As the detoured function is returning to the original one when it's called, it looks like the original function is replacing the parameters returned by the edited one. Sorry if i am saying poop.
 
Praise the Sun!
Loyal Member
Joined
Dec 4, 2007
Messages
2,502
Reaction score
986
Works fine, but I had this working before >.>
 
Newbie Spellweaver
Joined
Nov 25, 2007
Messages
20
Reaction score
0
i was wondering if someone can help me i dont get the client hook part
 
Extreme Coder - Delphi
Loyal Member
Joined
Sep 8, 2007
Messages
1,381
Reaction score
39
Why is this stickied ... when only 1 person has found it to work Q_Q
 
Elite Diviner
Joined
Apr 23, 2006
Messages
415
Reaction score
45
Tested it again yesterday and it worked. Looks like i made something wrong on the first time =P. Thanks Lambda.
 
Legendary Battlemage
Joined
Jan 28, 2008
Messages
695
Reaction score
53
This Dll don't works with other, like gravity dll or other.
But works perfectly.
 
Status
Not open for further replies.
Back
Top