mIRC Home    About    Download    Register    News    Help

Print Thread
#29153 11/06/03 04:15 PM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
Don't know if you also get this problem but $serverip doesn't work right for me.

in my case i am connect to an UnderNet server that has ip 129.27.9.247

but it i type //echo ip $serverip i get 247.9.27.129

notive that the ip is "upside down"

anyone gets also this error?

#29154 11/06/03 04:21 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063


If it ain't broken, don't fix it!
#29155 11/06/03 07:06 PM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
strange, i made a search and it didn't came with any results...
thanks anyway

#29156 11/06/03 08:13 PM
Joined: Dec 2002
Posts: 3,127
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
when you do a search, try setting it to "all forums" and expand the date range for the most results


ParaBrat @#mIRCAide DALnet
#29157 11/06/03 08:17 PM
Joined: Mar 2003
Posts: 50
C
Babel fish
Offline
Babel fish
C
Joined: Mar 2003
Posts: 50
I suppose until it gets fixed you could just do something like:

alias servip {
tokenize 46 $serverip
return $+($4,.,$3,.,$2,.,$1)
}

#29158 12/06/03 12:38 AM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
hello,
i made that.
after that i went search again and the only $serverip topics i found were the related with this thread...

maybe i am needing some glasses smile

ups i was searching in this week threads... sorry

Last edited by tontito; 12/06/03 12:40 AM.
#29159 21/06/03 07:52 PM
Joined: Dec 2002
Posts: 155
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 155
There's also a small $serverip bug that sould be looked upon.

When you connect to a server through a proxy, $serverip returns the IP address of the proxy, and not the IP address of the server itself.

In this case, it should store the IP address which mIRC sent to the proxy, and then instead of checking the IP address of the remote host to which the mIRC socket is currently connected to when you call the identifier, it should return that stored value.


Link Copied to Clipboard