1. Post #1

    March 2014
    7 Posts
    Hi there guys! I have some info about C# and JS in Unity, so I want to show u how to make antichet system, ok:
    JS:
    var runspeed : float;//for example runspeed =12
    var walkspeed : float;//for example walkspeed =8
    var maxjumpHeight: float;//for example maxjumpHeight =10
    function Update () {
    speed = 12;
    walkspeed = 8:
    maxjumpHeight = 10;
    if ( runspeed > 12){
    Application.Quit();
    }
    if ( walkspeed > 9){
    Application.Quit();
    }
    if ( speed > 10){
    maxjumpHeight.Quit();
    }
    }
    Sorry but my English is very bad, but as you understand, the player has a maximum height of the jump, and maximum running speed or steps, if the speed is higher than a predetermined static function then we can close or rust, Thank you for your attention!
    Reply With Quote Edit / Delete Show Events Funny x 4Dumb x 3Late x 2Agree x 1Artistic x 1 (list)

  2. Post #2

    January 2014
    38 Posts
    What if they fall from a 20 story building? They'll be detected, so, this sucks.
    Reply With Quote Edit / Delete Bulgaria Show Events Agree Agree x 1Disagree Disagree x 1 (list)

  3. Post #3

    March 2014
    31 Posts
    thats called "Voilation" from CheatPunch already on servers, soooo a bit late buddy xD
    Reply With Quote Edit / Delete Windows 7 Austria Show Events

  4. Post #4
    keeftoasty's Avatar
    January 2014
    113 Posts
    what about aimbot and esp? i frankly dont mind the "flash" and "superman" guys but once they use that aimbot on a group of like 5 guys its an instant boner killer. ehh i guess if they are using super jump and speed hacks then they are most def using aimbot and esp. . .fuckers


    still think you got something here tho.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  5. Post #5

    March 2014
    7 Posts
    What if they fall from a 20 story building? They'll be detected, so, this sucks.
    It's not about fall, omfg, it's about heights of jump when u press SPACE

    Edited:

    thats called "Voilation" from CheatPunch already on servers, soooo a bit late buddy xD
    That not work propetly, I have my server and this guys jump so HIGH, and have VAC ban, but they continue play....that code kick them from game, and u can add the VAC ban with that

    Edited:

    what about aimbot and esp? i frankly dont mind the "flash" and "superman" guys but once they use that aimbot on a group of like 5 guys its an instant boner killer. ehh i guess if they are using super jump and speed hacks then they are most def using aimbot and esp. . .fuckers


    still think you got something here tho.
    emg, for that I must know from facepunch, how they develop and make the player aiming from weapon... and maybe we can regulate the speed of aiming on goal..

    Edited:

    And, how about bug with Large Wood Storage??? http://www.youtube.com/watch?v=29RzTu06K58
    this code can stop using that bug!
    Reply With Quote Edit / Delete Windows 8 Ukraine Show Events Agree Agree x 1 (list)

  6. Post #6

    February 2014
    36 Posts
    Hi there guys! I have some info about C# and JS in Unity, so I want to show u how to make antichet system, ok:
    JS:
    var runspeed : float;//for example runspeed =12
    var walkspeed : float;//for example walkspeed =8
    var maxjumpHeight: float;//for example maxjumpHeight =10
    function Update () {
    speed = 12;
    walkspeed = 8:
    maxjumpHeight = 10;
    if ( runspeed > 12){
    Application.Quit();
    }
    if ( walkspeed > 9){
    Application.Quit();
    }
    if ( speed > 10){
    maxjumpHeight.Quit();
    }
    }
    Sorry but my English is very bad, but as you understand, the player has a maximum height of the jump, and maximum running speed or steps, if the speed is higher than a predetermined static function then we can close or rust, Thank you for your attention!
    Just close this thread. You obviously dont understand client/server architecture. Anything enabled on the client end can be undone very easily. Hackers literally decompile the client, rework it then recompile it, or use memory locations to inject their own variables, and spoof datachecks, spoof packets for returning checksums, all sorts of things. Removing clients ability to make decisions and making those decisions on the server is the only way to remove speedhacks and etc.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 2Disagree Disagree x 1 (list)

  7. Post #7

    March 2014
    7 Posts
    Just close this thread. You obviously dont understand client/server architecture. Anything enabled on the client end can be undone very easily. Hackers literally decompile the client, rework it then recompile it, or use memory locations to inject their own variables, and spoof datachecks, spoof packets for returning checksums, all sorts of things. Removing clients ability to make decisions and making those decisions on the server is the only way to remove speedhacks and etc.
    did u work with unity 3d? if not bb
    Reply With Quote Edit / Delete Ukraine Show Events Dumb Dumb x 4Funny Funny x 1Agree Agree x 1 (list)

  8. Post #8
    Dennab
    December 2006
    1,979 Posts
    Your code is checking for stuff that can be fixed without an 'anti-chet system'. The post before yours (which you quoted and dismissed, sadly) says it all - 'Client-Server'. Why check the player's position/jump height/whatever on the client, when the server can just not give a crap and insist on the original position anyways?

    Sure, the cheater's client can think its flying somewhere in -snip-land, but all the other clients see the cheater in their real position: where the server says they are.

    Edited:

    did u work with unity 3d? if not bb
    Did you? FTR using Unity won't give you much insight on how games are designed, programmatically speaking. Just their content, levels, etc. The 'coding' in Unity is canned as -snipe-.

    Edited:

    I fixed the swearing for ya.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Agree Agree x 1 (list)

  9. Post #9

    March 2014
    7 Posts
    Your code is checking for stuff that can be fixed without an 'anti-chet system'. The post before yours (which you quoted and dismissed, sadly) says it all - 'Client-Server'. Why check the player's position/jump height/whatever on the client, when the server can just not give a crap and insist on the original position anyways?

    Sure, the cheater's client can think its flying somewhere in -snip-land, but all the other clients see the cheater in their real position: where the server says they are.

    Edited:



    Did you? FTR using Unity won't give you much insight on how games are designed, programmatically speaking. Just their content, levels, etc. The 'coding' in Unity is canned as -snipe-.

    Edited:

    I fixed the swearing for ya.
    Yep I work, with small project that all.. https://www.youtube.com/watch?v=laLxjYXn0sc
    And have much videos whose makes by me... And video tuts.
    Reply With Quote Edit / Delete Windows 8 Ukraine Show Events

  10. Post #10
    utilitron's Avatar
    December 2013
    766 Posts
    Hi there guys! I have some info about C# and JS in Unity, so I want to show u how to make antichet system, ok:
    JS:
    var runspeed : float;//for example runspeed =12
    var walkspeed : float;//for example walkspeed =8
    var maxjumpHeight: float;//for example maxjumpHeight =10
    function Update () {
    speed = 12;
    walkspeed = 8:
    maxjumpHeight = 10;
    if ( runspeed > 12){
    Application.Quit();
    }
    if ( walkspeed > 9){
    Application.Quit();
    }
    if ( speed > 10){
    maxjumpHeight.Quit();
    }
    }
    Sorry but my English is very bad, but as you understand, the player has a maximum height of the jump, and maximum running speed or steps, if the speed is higher than a predetermined static function then we can close or rust, Thank you for your attention!
    I don't care about your bad english as much as I care about your lack in understanding of how cheats work, and lack of understanding of the repercussions of your poorly thought out, Ad hoc, code.
    Reply With Quote Edit / Delete Linux United States Show Events Disagree Disagree x 2Agree Agree x 1 (list)

  11. Post #11

    February 2014
    36 Posts
    Who is doing the disagree on the posts that make sense and agreeing with a no namer spouting imagined self worth?

    Client code means nothing, these checks would all have to introduced on the server, end of discussion. Take the knowledge that utilitron, KD007, and myself have gracefully imparted on you and research the matter further to confirm our assurtations.
    Reply With Quote Edit / Delete United States Show Events Informative Informative x 1 (list)

  12. Post #12
    zloj's Avatar
    February 2014
    125 Posts
    Who is doing the disagree on the posts that make sense and agreeing with a no namer spouting imagined self worth?
    Obvious, but, click "list" and see for your self.
    Reply With Quote Edit / Delete Windows 7 Ireland Show Events Friendly Friendly x 1 (list)

  13. Post #13

    December 2013
    232 Posts
    When you slide down a steep cliff your run speed would be alot faster and youd get kicked
    Reply With Quote Edit / Delete New Zealand Show Events

  14. Post #14
    utilitron's Avatar
    December 2013
    766 Posts
    JS:
    var runspeed : float;//for example runspeed =12
    var walkspeed : float;//for example walkspeed =8
    var maxjumpHeight: float;//for example maxjumpHeight =10
    function Update () {
    speed = 12;
    walkspeed = 8:
    maxjumpHeight = 10;
    if ( runspeed > 12){
    Application.Quit();
    }
    if ( walkspeed > 9){
    Application.Quit();
    }
    if ( speed > 10){
    maxjumpHeight.Quit();
    }
    }
    By the way this is driving me crazy....
    Code:
    /**
     * Fixed: globals with camel case
     * plus there is no declaration var name : float in JS
     */
    var runSpeed = 12;
    var walkSpeed  = 8;
    var maxJumpHeight = 10;
    
    /**
     * update
     *   Checks the current value of the speed variables 
     *   If they are greater than the max allowed, kill the application.
     */
    function update()   {
       /**
         * Removed this code because setting the speed (supposed to be runspeed),
         * walkspeed, and maxjumpHeight here would negate the checks as you just 
         * overwrote the current value.
         */
        //speed = 12; 
        //walkspeed = 8:
        //maxjumpHeight = 10;
    
        if ( runSpeed > 12){
            Application.Quit();
        }
    
        if ( walkSpeed > 9){
            Application.Quit();
        }
    
        /**
         * Fixed reference to speed to maxJumpHeight
         * Fixed maxjumpHeight.Quit(); to Application.Quit();
         */
        if ( maxJumpHeight > 10){
            Application.Quit();
        }
    }
    Reply With Quote Edit / Delete United States Show Events Winner Winner x 1Funny Funny x 1 (list)

  15. Post #15

    December 2013
    156 Posts
    I loled, this is a great thread made by a junior programmer who thinks things are simple and the devs don't know shit.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Winner Winner x 1 (list)

  16. Post #16
    utilitron's Avatar
    December 2013
    766 Posts
    Here is the best anticheat. it is a 2 question survey you must answer before playing.

    Do you use cheats?
    If you used cheats, would you lie for the previous question?

    If you answered yes to the first question it is an instant ban. No one will say yes.
    If you answered no to the second question it is an instant ban.
    People who don't cheat would lie about them if they did.
    People who do cheat already lied, so it stands they would lie about lying.

    Fool proof.
    Reply With Quote Edit / Delete Linux United States Show Events

  17. Post #17
    The best and only real way to ensure there are no cheaters in your multiplayer game is to cancel development before you write a single line of code.

    Intergalactic Viking Ninja Nuns has 0% piracy! Because I abandoned the idea the same afternoon.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Zing Zing x 2 (list)

  18. Post #18
    Gold Member
    BazzBerry's Avatar
    December 2013
    247 Posts
    I sincerely hope this thread is a joke, and your dismissal of iamsteele007's post clearly shows you lack knowledge in how these things work.

    So many flaws exist with your concept - and if you truly think that Facepunch wouldn't be able to figure out the five lines of "code" you've written (which by the way are formatted improperly, so there goes all of your credibility of experience with "unity 3d" lol - which by the way means absolutely nothing considering it's used for multiple different tasks) then you're pretty ignorant.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events