Why do you need the IP address of the server so badly? If you need to connect to the server from the local machine (as you seem to be implying with the "write file, read file" suggestion), you can just use the loopback address 127.0.0.1. If you're trying to discriminate between LAN and Internet IPs, on the other hand, it might be more difficult, because sometimes even the server app itself doesn't get it right.
----- Original Message ----- From: "Predatory Kangaroo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 6:52 PM Subject: [hlcoders] Re: External Access > Yes, but first i need to actually grab that information, bear in mind that > this is a whole seperate program, not a DLL in half-life. As far as i can > see there are two options, to build in a memory-process prober and find the > address that corresponds to the server's IP address, which is no good > because the memory sector will change from computer to computer or make a > dll like metamod to dump the information to a file on certain events (eg: > CBasePlayer::Spawn or mapchange) and get the other program to read it in and > handle the information. > > Rob Wrote: > >have you looked at server_protocol.txt? You can get the IP, map and > >hostname > >without using RCON. > > > >- Rob. > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

