MAC-ADDRESS
MAC-ADDRESS
hi , i want to compile the server to show MAC-ADDRESS on client-connecting . how can i do it?
-
Stealth
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
In theory, you can get the MAC address, because that is what all routing is done by.
If Unreal can get the MAC from the OS is a different question. Chances are, if there were a way to get the MAC from the OS would take more resources and slow the server more than it is nesassary to just to display one more bit of useless information to the clients. Getting a MAC, however, can be a useful thing if you were intending to actually use it for something (like static server bans).
I do not think there is a way for Unreal the get the MAC address from the OS.
If Unreal can get the MAC from the OS is a different question. Chances are, if there were a way to get the MAC from the OS would take more resources and slow the server more than it is nesassary to just to display one more bit of useless information to the clients. Getting a MAC, however, can be a useful thing if you were intending to actually use it for something (like static server bans).
I do not think there is a way for Unreal the get the MAC address from the OS.
i wanna use it for banning , of course... the MAC-ADDRESS is already exists it the packet recieved by the server (with dest port , src port , ip and the rest) , but i don't know where's the code for the actual full packet (after decode) .
btw , maybe i'm confused about the concept (MAC-ADDRESS) , maybe it's another data , but anyway i need to know where do i have the full decoded packet data (with headers) on the server functions
btw , maybe i'm confused about the concept (MAC-ADDRESS) , maybe it's another data , but anyway i need to know where do i have the full decoded packet data (with headers) on the server functions
It's not possible.
The server can't know the mac address of the client. That's how the internet works.
It could only get the mac address if it were in the same LAN - but there such a feature is pretty useless, because you most probably know all the clients...
Oh and:
You are aware: The mac address can be changed too...
The server can't know the mac address of the client. That's how the internet works.
It could only get the mac address if it were in the same LAN - but there such a feature is pretty useless, because you most probably know all the clients...
Oh and:
You are aware: The mac address can be changed too...
Right, it's only possible on a network without any l3 routing (read: routers), so typically a LAN with some hubs/switches etc.
This site has a nice overview of how to do it by OS.
Exactly, and it's easy too...You are aware: The mac address can be changed too...
This site has a nice overview of how to do it by OS.