[bfprog] Player IP Address?
Panic
panic at battlefield.no
Mon Jun 27 19:39:57 PDT 2005
David Harrison wrote:
> I've checked the wiki and it isn't documented but was wondering if
> there might be a way - I want to get a player's IP address, is this
> possible?
It is possible, and it it documented. The object bf2.PlayerManager.Player had a method called getAddress() which returns the players IP-address.
----------------------------------------------------------------------
Name: Frode Hommedal
Location: Norway
Day job: VLSI designer and programmer
Site: Battlefield.no [ http://www.battlefield.no ]
----------------------------------------------------------------------
International Game Server Operators Association [ http://igsoa.com ]
----------------------------------------------------------------------
More information about the BFProg
mailing list