Godely
Member
- Joined
- Aug 19, 2007
- Messages
- 233
- Reaction score
- 19
Code:
#ifdef __WORLD_SERVERS__
int worldId = g_config.getNumber(ConfigManager::WORLD_ID);
if(IOLoginData::getInstance()->getGuidByNameEx2(guid, worldId, receiver)){
if(Player* player = g_game.getPlayerByName(receiver)){
if (player->worldId != worldId){
return false;
}}
}
#endif
It's not working, and a player from one server can send Parcel to another server. Can someone help me with that?
Thanks!