Hi guys i recenlty joined to this website so i tried to add manually the ANTICHEAT.DIFF  ( i took it from this website here is the link ->
https://forums.oregon-core.net/viewtopic.php?id=476      )
I Followed everything from the Anticheat.diff    and controled it for 2-3 times

But i have some errors with it ... sad


http://prntscr.com/bclw6e  - > first error

and when i put   

if (GetPlayer()->m_forced_speed_changes[force_move_type] > 0); 
it gives me error only on  " if "

if i don't put   "   ;   "  it gives me more than 1 error like these -> http://prntscr.com/bcm0f1

and when i delete all this   

if (GetPlayer()->m_forced_speed_changes[force_move_type] > 0)
                            {
                                --GetPlayer()->m_forced_speed_changes[force_move_type];
                                if (GetPlayer()->m_forced_speed_changes[force_move_type] > 0)
                                    return;
                            }


It doesn't give me any error ?
So what to do ?

if (GetPlayer()->m_forced_speed_changes[force_move_type] > 0)
                            {
                                --GetPlayer()->m_forced_speed_changes[force_move_type];
                                if (GetPlayer()->m_forced_speed_changes[force_move_type] > 0)
                                      {
                                       return;
                                       }
                            }

Maybe this will work ? O.o

Baynar wrote:

if (GetPlayer()->m_forced_speed_changes[force_move_type] > 0)
                            {
                                --GetPlayer()->m_forced_speed_changes[force_move_type];
                                if (GetPlayer()->m_forced_speed_changes[force_move_type] > 0)
                                      {
                                       return;
                                       }
                            }

Maybe this will work ? O.o

No, it always show me error on  " if "   
and the error is " expected a declaration "

I will leave it without this code, and it's working fine tongue