mIRC Home    About    Download    Register    News    Help

Print Thread
#774 10/12/02 12:21 AM
Joined: Dec 2002
Posts: 54
S
Babel fish
OP Offline
Babel fish
S
Joined: Dec 2002
Posts: 54
dunno if its a bug but if i do

//echo -a $serverip
it returns the ip of the server sorta backwards

if the ip is 123.321.245.0 for real the $serverip returns 0.245.321.123 , it did the same on several ppl his pc's, asked a few to test it

#775 10/12/02 12:28 AM
Joined: Dec 2002
Posts: 18
S
Pikka bird
Offline
Pikka bird
S
Joined: Dec 2002
Posts: 18
What OS? mIRC version? Sounds like a missing ntoh().

#776 10/12/02 12:44 AM
Joined: Dec 2002
Posts: 54
S
Babel fish
OP Offline
Babel fish
S
Joined: Dec 2002
Posts: 54
Windows XP pro company edittion
with mIRC 6.03

#777 10/12/02 12:46 AM
Joined: Dec 2002
Posts: 266
Z
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
I am not quite sure how mIRC retrieves the IP of the server (dns?) but your server might be reverse resolving, to sort of mask their IP, have you tried it on other servers? Because I haven't heard much about this issue on DALnet.


You won't like it when I get angry.
#778 10/12/02 12:48 AM
Joined: Dec 2002
Posts: 18
S
Pikka bird
Offline
Pikka bird
S
Joined: Dec 2002
Posts: 18
It would also help if you could provide the IP of the server as well. Obviously, 123.321.245.0 is not a valid IP address.

#779 10/12/02 12:58 AM
Joined: Dec 2002
Posts: 54
S
Babel fish
OP Offline
Babel fish
S
Joined: Dec 2002
Posts: 54
lol that ip wasnt a real ip, was just for an example, forgot to mention that sorry:)

i tried it on 2 servers, both did the same

#780 10/12/02 01:03 AM
Joined: Dec 2002
Posts: 2
D
Bowl of petunias
Offline
Bowl of petunias
D
Joined: Dec 2002
Posts: 2
I get the same thing with version 6.03.
My undernet Server's IP is 216.152.77.10

//echo -a $serverip
10.77.152.216

#781 10/12/02 01:08 AM
Joined: Dec 2002
Posts: 155
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 155
Yes, it is a bug which was reported the first or second day the latest version was released, but since everything got destroyed, you might not know that.

You can always use

alias serveripfix {
if (!$isid) { halt }
return $+($gettok($serverip,4,46),$chr(46),$gettok($serverip,3,46),$chr(46),$gettok($serverip,2,46),$chr(46),$gettok($serverip,1,46))
}

#782 12/12/02 06:35 AM
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Yup, Someone posted this before everything got destroyed.... The Author's name is unknown, Sorry...

Way cleaner IMHO...

; To fix a bug in mIRC 6.03
sip { tokenize 46 $serverip | return $+($4.,$3.,$2.,$1) }



NaquadaBomb
www.mirc-dll.com

Link Copied to Clipboard