Simple script to detect what client player is using.
Originally requested here. Some bug fixes and testing was done after that.
Result of detection shown to player on first spawn. This behavior could be changed to something more useful, however.
Available admin commands:
/client_info <#playerid/playername> - get info about what client player is using
/clin - alias of /client_info
[script] detectclient
Attachments
cool idea!^^
-
IAmYourFriend
Global Moderator
- Posts: 103
- Joined: Fri Nov 16, 2012 8:58 pm
-
Great work!
If i see it right, a 0.75 client is the assumed fallback value when no version data is sent. This results in 0.75 being shown as the used client even when running 0.76 (or any other version). In case of using this script on a non-0.75-server i'd suggest to change the fallback number in line 144 accordingly, or rewrite the "formatted_client_info" function to show something like "running Ace of Spades (Voxlap)" without mentioning the client version (or, if even possible, figuring out a version somehow using pyspades internal version infos).
Moved topic over to Approved ‹ Miscellaneous
If i see it right, a 0.75 client is the assumed fallback value when no version data is sent. This results in 0.75 being shown as the used client even when running 0.76 (or any other version). In case of using this script on a non-0.75-server i'd suggest to change the fallback number in line 144 accordingly, or rewrite the "formatted_client_info" function to show something like "running Ace of Spades (Voxlap)" without mentioning the client version (or, if even possible, figuring out a version somehow using pyspades internal version infos).
Moved topic over to Approved ‹ Miscellaneous
Who is online
Users browsing this forum: No registered users and 22 guests