Hi people, I have been working in a script that send an addon message to work then with the interface. So the problem is that I cant do it work.
Here's the part of the script that give me problems:
Ok I will explain:
This part appears correctly when player change zone.
This part do not work cause player cant see the message anywhere (I don't know if SendAddonMessage send the player a notification or I dont know)Code:player->GetSession()->SendNotification("This works correctly. Test1"); //Notification appears correctly
This part do not appears in log so I can say that the script is not working:Code:SendAddonMessage(player, ss.str().c_str()); //Do not works
The static void SendAddonMessage() that I have was taken from a post in trinitycore forum that Rochet did. LINK #6Code:TC_LOG_INFO(LOG_FILTER_GENERAL, "[Paquete] Enviados todos"); //Do not appears in log
Thanks for your time. Eleinder.