Updating Tags & Clilocs - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Updating Tags & Clilocs (/Thread-Updating-Tags-Clilocs) |
Updating Tags & Clilocs - Oxtar - 12-19-2012 12:55 AM Well i came across a problem that is not user friendly. I'll explain the essential. Once a player log in for the first time, he has to choose over 2 factions. A NPC with a gump. Once he make his choice, his stats, tag and events are set, and he gets Tele to a location. 2 players from the same faction, cannot attack/cast spells or use pets to hurt each other. My problem comes from the moment they choose their faction. Here are the issues. - The player can't attack anything - The player can still cast spells - The player's clilocs (showing his faction) is missing. The only fix i found is to delog and relog. Then everything is fine. Is there a way to update the clilocs and the tags to the client without logging out and in? RE: Updating Tags & Clilocs - Gil Amarth - 12-19-2012 01:30 AM You can refresh the tooltip of a character or item with resendtooltip, this command refresh the client of everyone nearby. But the tags... they donĀ“t need to relog to function okay, so there is something wrong in your scripts. RE: Updating Tags & Clilocs - Oxtar - 12-19-2012 01:45 AM Yeah, that's what i assumed. I wonder if it comes from adding the event to the player. Nevermind, it comes from the core script.... |