Forums » Bugs

API Broken - GetLicenseLevel

May 28, 2017 Dread.Pirate.Roberts link
GetLicenseLevel(1,charid) always returns zero regardless of the license type requested.
May 28, 2017 raybondo link
Is the charid player visible at the time the function is called?
May 28, 2017 Dread.Pirate.Roberts link
Yes. I validated the variable is a valid. Or do you mean is the character physically visible?

I was testing against a docked character as it was a possible scenario.
May 28, 2017 Dread.Pirate.Roberts link
Tested with both undocked less than 300m apart and still returns 0 as a result
May 29, 2017 PaKettle link
try it without the charid.. should return your own level

And yes you need to be able to see them IE. within radar range / targetable.

OH and There seems to be a lot more lag issues with some functions - be sure to wait long enought to get a result back from the server before trying to use the data.