How to create my own loader for client 5017

01/28/2018 11:06 abdeen#1
Hello guys, as title says i would like to start typing my own client loader instead of using
Quote:
CIDLoader.exe
...

actually i need to know what exactly the loader do to client to let user login using
Quote:
CIDLoader.dat
file information about serverip, port, name etc.. instead of using official one?

i know it`s shall be written in c++ language, but what exactly i need to do?
01/31/2018 14:35 Soulfly25#2
better to use the ConquerLoaderV2 which is open source. as a guide
01/31/2018 15:47 JaniQ#3
Hook the winsock api function connect and replace the socket data with your desired ones.
Code:
((struct sockaddr_in*)name)->sin_addr.S_un.S_addr = inet_addr("127.0.0.1");
((struct sockaddr_in*)name)->sin_port = 9960;
where name here is the sockaddr variable.

However if you want to add servers with their own ips names and ports you should find and call the function that does that after reading the data from the server.dat file.
02/20/2018 12:48 Xio.#4
You don't need a loader for 5017. You can simply serach for "inet_addr" in olly and NOP 2 lines containing A7 :)

Won't complain about "Server.dat is damaged" anymore, 127.0.0.1 will work fine. To add other servers with public facing IP's you simply edit server.dat, it's plaintext :P
02/22/2018 08:35 abdeen#5
Quote:
Originally Posted by Xio. View Post
You don't need a loader for 5017. You can simply serach for "inet_addr" in olly and NOP 2 lines containing A7 :)

Won't complain about "Server.dat is damaged" anymore, 127.0.0.1 will work fine. To add other servers with public facing IP's you simply edit server.dat, it's plaintext :P
in what module ?
02/22/2018 09:00 Spirited#6
Quote:
Originally Posted by abdeen View Post
in what module ?
If all you want to do is change the server name and ip, etc, then you don't need a launcher.
Just open up server.dat and put in your ip address...

Code:
[Header]
GroupAmount=1
Group1=GroupPic10

[Group1]
ServerAmount=1

Server1=Example
Ip1=192.168.1.2
Port1=9958
ServerName1=Example
HintWord1= 
Pic1=servericon80
Then start Conquer.exe with "blacknull" as a command-line argument.
Make a shortcut and add blacknull to the end of the target.
02/22/2018 09:28 Xio.#7
Quote:
Originally Posted by abdeen View Post
in what module ?
CONQUER

Quote:
Originally Posted by Spirited View Post
If all you want to do is change the server name and ip, etc, then you don't need a launcher.
Just open up server.dat and put in your ip address...

Code:
[Header]
GroupAmount=1
Group1=GroupPic10

[Group1]
ServerAmount=1

Server1=Example
Ip1=192.168.1.2
Port1=9958
ServerName1=Example
HintWord1= 
Pic1=servericon80
Then start Conquer.exe with "blacknull" as a command-line argument.
Make a shortcut and add blacknull to the end of the target.
That won't work. Conquer will still complain about "Server.dat is damaged" cause it's a local IP.
02/22/2018 10:17 abdeen#8
Quote:
Originally Posted by Spirited View Post
If all you want to do is change the server name and ip, etc, then you don't need a launcher.
Just open up server.dat and put in your ip address...

Code:
[Header]
GroupAmount=1
Group1=GroupPic10

[Group1]
ServerAmount=1

Server1=Example
Ip1=192.168.1.2
Port1=9958
ServerName1=Example
HintWord1= 
Pic1=servericon80
Then start Conquer.exe with "blacknull" as a command-line argument.
Make a shortcut and add blacknull to the end of the target.
and what if i want to make load and make conquer.exe only starts with the params i send to it ?

so none can not open game from conquer.exe, just using my modified or new loader.exe
02/22/2018 12:00 boDil#9
Quote:
Originally Posted by abdeen View Post
and what if i want to make load and make conquer.exe only starts with the params i send to it ?

so none can not open game from conquer.exe, just using my modified or new loader.exe
Then you inject a DLL into Conquer.exe that checks if the program that launched it is your "loader.exe" by passing a handle of the parent process when launching Conquer.exe, [Only registered and activated users can see links. Click Here To Register...] some of the information you'll need to do so. This can, of course, still be bypassed, just like any other technique, it's all just a matter of how much effort it takes to do so.

Of course, this DLL also must also be required by the client to actually log in to your server.
For instance, the DLL could be the one in charge of changing the encryption key in the client.
Although this is still pretty easy to bypass, it will most likely stop anyone who plays on your server.

Good luck.
02/22/2018 17:12 Spirited#10
Quote:
Originally Posted by Xio. View Post
CONQUER



That won't work. Conquer will still complain about "Server.dat is damaged" cause it's a local IP.
Yes it will because I tested it? Only rejects 127.0.0.1.