c# freeze like ce?

05/21/2011 08:54 zhalyn#1
How can i freeze value on c# ? like ce


PHP Code:
            if ((this.StatusFlags 0x800000L) != 0L)
            {
              
               
this.StatusFlags ^= (long)CharStatus.Cyclone

            }
            else
            {
                
this.StatusFlags |= (long)CharStatus.Cyclone;
               
            } 
it hurts me badly! i tried using timer but it sucks my way!
i've tried .freeze() but it doesn't work cz i used 2008

or any tip on how to use timer so that statusflag wont refresh?
05/22/2011 01:12 pro4never#2
Simple.

The server sends you all status effect updates.

You need to store 'boosted' effects such as cyclone that you want active all the time.

When receiving a status effect update, take the value and add in the stored stateff boost before sending it to the client (proxy/packet method).
05/22/2011 04:10 shitboi#3
Also, remember to check for ghost status. else you will end up with a cycloning ghost.
05/22/2011 06:40 zhalyn#4
Quote:
Originally Posted by pro4never View Post
Simple.

The server sends you all status effect updates.

You need to store 'boosted' effects such as cyclone that you want active all the time.

When receiving a status effect update, take the value and add in the stored stateff boost before sending it to the client (proxy/packet method).

I'm just modifying the speedhack source since everytime xp comes or when my name turned into bluename , status changed :/ and when i tried adding timer on it it keeps cyclone on/off ...>.>



Quote:
Originally Posted by shitboi View Post
Also, remember to check for ghost status. else you will end up with a cycloning ghost.
yah! i have it :) yet i'm can't end my problem :(