Thread: Anti-cheat

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed

    Anti-cheat

    Hello i made a code that checks if the player has 8 headshots and then ends the game (that is just for easy debug) i will change it later, but i get the error unknown function.

    Code:
    headShot( killId )
    {
       {
    	self.modifiers["headshot"] = true;
    
    	self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "headshot", maps\mp\gametypes\_rank::getScoreInfoValue( "headshot" ) );
    	self thread maps\mp\gametypes\_rank::giveRankXP( "headshot" );
    	self thread giveAdrenaline( "headshot" );
    	self thread maps\mp\_matchdata::logKillEvent( killId, "headshot" );
    	self.headshots += 1;
    	self sayall("lala");
    	}
    	{
    	while(1)
    			if (self.headshots == 8)
    			{
    			 level thread maps\mp\gametypes\_gamelogic::forceEnd();
    			}
       wait 1;
       }
    }
    this is in the _events.gsc, as you can see i dont know much about self. and decimals increase in c++.

    The error will be in
    Code:
    self.headshots += 1;
    i guess.
    Last edited by codGmer; 07-31-2011 at 09:08 AM.

  2. #2
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    omg....

  3. #3
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by Yamato View Post
    omg....
    Would you rather help me instead of posting this?

  4. #4
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Quote Originally Posted by codGmer View Post
    Would you rather help me instead of posting this?
    The code is REALLY REALLY REALLY messed up... lol

  5. #5
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by EpicPlayer View Post
    The code is REALLY REALLY REALLY messed up... lol
    another usefull comment

  6. #6
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    This code is so WTF as this:

    Code:
    Hackur();
    {
         { 
              yes
          }
           else({)
           no
           })
           maybe:
           {}{}{}{}{}{}{}
           +1-54+16*headshots = OMA
           }
    }

  7. #7
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Quote Originally Posted by Yamato View Post
    This code is so WTF as this:

    Code:
    Hackur();
    {
         { 
              yes
          }
           else({)
           no
           })
           maybe:
           {}{}{}{}{}{}{}
           +1-54+16*headshots = OMA
           }
    }
    Exactly, it makes no sense...

  8. #8
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    btw, the error is not

    self.headshots += 1;

  9. #9
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    I am used to Visual basic so thats maybe why. I want everytime you get a headshot a counter counts + 1 and if that value is 8(from the counter) then end the game..

    Quote Originally Posted by Yamato View Post
    btw, the error is not

    self.headshots += 1;
    So that is possible ?

  10. #10
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    Quote Originally Posted by codGmer View Post
    I am used to Visual basic so thats maybe why. I want everytime you get a headshot a counter counts + 1 and if that value is 8(from the counter) then end the game..



    So that is possible ?
    yeahh, sure, isnt better to kick the hacker that end game, lol?

  11. #11
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by Yamato View Post
    yeahh, sure, isnt better to kick the hacker that end game, lol?
    yea iknow, but it the end game is for debug only.... i will change it later.

  12. #12
    XX_Kivata_XX's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Ask yo MaMa
    Posts
    427
    Reputation
    5
    Thanks
    23
    My Mood
    Relaxed
    you need to edit it soon at possblie dude the code are Fu*^ up so yeah just telling you !
    KamenRider for Life !!!


    I Ain't Leecher

    Yeah that Right Bitches








  13. #13
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    Quote Originally Posted by XX_Kivata_XX View Post
    you need to edit it soon at possblie dude the code are Fu*^ up so yeah just telling you !
    What? i can't follow you lol, yea i know the code is Fu*^ up.

    Code:
    headShot( killId )
    {
       
    	self.modifiers["headshot"] = true;
    
    	self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "headshot", maps\mp\gametypes\_rank::getScoreInfoValue( "headshot" ) );
    	self thread maps\mp\gametypes\_rank::giveRankXP( "headshot" );
    	self thread giveAdrenaline( "headshot" );
    	self thread maps\mp\_matchdata::logKillEvent( killId, "headshot" );
    	self.headshots += 1; 
                self thread test();
       
    }
    And then this thread

    Code:
    test()
    {
     for(;;)
     {
        if (self.headshots == 8)
        {
    level thread maps\mp\gametypes\_gamelogic::forceEnd();
        }
     wait 1;
     }
    }
    Last edited by codGmer; 07-31-2011 at 09:54 AM.

  14. #14
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    I am going to say you a few BIG-> ENORMOUS-> EPIC-> FAILS¡¡¡¡¡

    Code:
    headShot( killId )
    {
       { //?
    	self.modifiers["headshot"] = true;
    
    	self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "headshot", maps\mp\gametypes\_rank::getScoreInfoValue( "headshot" ) );
    	self thread maps\mp\gametypes\_rank::giveRankXP( "headshot" );
    	self thread giveAdrenaline( "headshot" );
    	self thread maps\mp\_matchdata::logKillEvent( killId, "headshot" );
    	self.headshots += 1; // you can also do self.headshots ++; is same
    	self sayall("lala"); //for?
    	} //O_O
    	{ //wait WTF
    	while(1) //?¿?¿
    			if (self.headshots == 8)
    			{
    			 level thread maps\mp\gametypes\_gamelogic::forceEnd(); 
    			}
       wait 1;
       } //?
    }

  15. #15
    codGmer's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    lol
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Relaxed
    I am going to say you a few BIG-> ENORMOUS-> EPIC-> FAILS¡¡¡¡¡
    Not really... I made several mods.

    Look at my other post.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Request] tut for anti cheat bypassing
    By fatbox187 in forum Programming Tutorial Requests
    Replies: 1
    Last Post: 12-26-2015, 04:20 AM
  2. [Request]12 Sky 2 (has no anti cheat(e.g. punkbuster))
    By Stelthkid in forum Hack Requests
    Replies: 1
    Last Post: 02-06-2011, 06:17 AM
  3. [Request] Rune 1.00-1.03 Anti-Cheat (AntiTCCv2.3) Bypass
    By Druid in forum Anti-Cheat
    Replies: 0
    Last Post: 10-27-2009, 01:56 PM
  4. FMProtect, another anti-cheat....
    By wenddy in forum Anti-Cheat
    Replies: 2
    Last Post: 06-22-2008, 10:44 PM
  5. F**K the anti-cheat programs
    By Cr4azyPh4ntom in forum Anti-Cheat
    Replies: 1
    Last Post: 12-21-2007, 10:54 AM