Thanks for trying to help,test g_game.getLocalPlayer():getVocation():getId()
Thanks for trying to help,Where exactly are you calling g_game.getLocalPlayer():getVocation()?
It may be that the local player has not yet been initialised.
Thanks for trying to help,vocation isn't sent to the client - that came in a later protocol version
yes, in the otclient source there is this function, however, apparently, the data is not sent to itdoes your source have this function?
void ProtocolGame::sendBasicData()