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!

IRIS Online IP Converter Tool

Newbie Spellweaver
Joined
Nov 2, 2007
Messages
11
Reaction score
5
IRIS Online IP Converter Tool

this tool can convert iris login ip and port to encrypt code.
and resume a code to original ip and port.

you can use the code to start your irisclient connect to specified ip and port.

just put the code into irisclient.exe shortcut target box,like:
Code:
"d:\game\iris\irisclient.exe" 2130720833

liurui - IRIS Online IP Converter Tool - RaGEZONE Forums



View attachment IPConv.zip

IPConv - IRIS Online IP Converter Tool - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
In the Emperor name
Loyal Member
Joined
Jun 25, 2011
Messages
1,605
Reaction score
238
omg.. the port is included in the conversion? no wonder i was going crazy and never get a correct ip.....

thx a lot ^^
 
In the Emperor name
Loyal Member
Joined
Jun 25, 2011
Messages
1,605
Reaction score
238
im a little curious, how you insert the port to the encrypt code.

i understand the ip part, but cant get the port part.

thx ^^
 
Newbie Spellweaver
Joined
Nov 2, 2007
Messages
11
Reaction score
5
~you can see that in client source code~
 
Newbie Spellweaver
Joined
Nov 2, 2007
Messages
11
Reaction score
5
Okey~i must post mort posts to send pm~~
 
In the Emperor name
Loyal Member
Joined
Jun 25, 2011
Messages
1,605
Reaction score
238
dont worry, i was only curious
for my ip (10.0.0.10 to 10.0.0.20) i found a easy way that always works, convert ip then add 14400

like : 10.0.0.4 -> 167772164 , then add 14400 -> 167786564 (10.0.0.4 with port 14400)

was working on a launcher using dinamic ips (like no-ip.com / dyndns.com / etc) using "Dim hostInfo As IPHostEntry = Dns.GetHostEntry("insert server here")" but unless i got a working formula is uselles
 
Newbie Spellweaver
Joined
Nov 2, 2007
Messages
11
Reaction score
5
dont worry, i was only curious
for my ip (10.0.0.10 to 10.0.0.20) i found a easy way that always works, convert ip then add 14400

like : 10.0.0.4 -> 167772164 , then add 14400 -> 167786564 (10.0.0.4 with port 14400)

was working on a launcher using dinamic ips (like no-ip.com / dyndns.com / etc) using "Dim hostInfo As IPHostEntry = Dns.GetHostEntry("insert server here")" but unless i got a working formula is uselles

ah~~you are right~
in client,iris use constant 14400 as port

Code:
unsigned long uIP = strtoul( cmdline, NULL, 10 );
unsigned long reverseIP = ntohl( uIP );
unsigned long reversePort = htonl( 14400 );
char* loginIP = NULL;
in_addr addr; 
reverseIP ^= reversePort;
addr.s_addr = reverseIP;
loginIP = inet_ntoa( addr );
 
Back
Top