i got 1 problem make the effect on 1 char seen by other char

06/18/2014 16:10 marcbacor6666#1
Anyone got any idea how to make this work.
I want the char name chicken have the curse effect all the time even if he has 0 pkpoints , or any effects i want it to show . the problem is i can see it in my monitor the effects but other players from other monitor dont see the effects im seeing.


Code:
     if (client.Entity.Name.Contains("chicken"))
            {
                _String str = new _String(true);
                str.UID = client.Entity.UID;
                str.TextsCount = 1;
                str.Type = _String.Effect;
                str.Texts.Add("curse");
                foreach (Client.GameClient Client in Kernel.GamePool.Values)
                {
                    client.SendScreen(str);
                 
                }
            }
06/18/2014 17:53 Wolfy.#2
I don't know which source is this but, are you sure you are sending the effect from the player to the other players globally? -Are you displaying it to everyone? -Have you checked the methods which are used in that source for other effects like cool effect?
06/18/2014 18:05 Spirited#3
You should NEVER hard code player characteristics.
06/18/2014 22:03 abdoumatrix#4
why u use effect instead of curse flag?

public const ulong
Cursed = 1UL << 32,
06/19/2014 12:03 marcbacor6666#5
thanks for the reply, thanks for the ideas thats all i needed :)