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
 
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
 
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