Posted: Wed Feb 13, 2008 10:23 am Post subject: Obtaining Client Information
I wish to know, wich client information i can get with pol, like version, hex , or whatever i can get, and how i can those informations. Could someone help me out ?
I use the .clientversion to test to see whether the player is using a pre-v5 client. In this instance it's to send a cliloc instead of normal SendSysMessage.
All I am doing is getting the client version string and finding the first character in the string, then turning it into an integer. In most cases all I want is to know if it's a v2 client, or a v4 client etc.
Alternatively, if you wanted to know the exact client version, skip all my string manipulation and just use:
var version := character.clientversion;
That might return a string like 5.0.9.1
If you want even more information, try .clientinfo which is client operating system information.
See the core-changes.txt for the information that returns.