Results 1 to 11 of 11
  1. #1
    blackstab1337's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    159
    Reputation
    10
    Thanks
    149
    My Mood
    Amused

    Possible fix for aimbot src.

    [HTML] if (aimbot)
    {
    while (Input.GetKeyDown(KeyCode.Mouse2))
    {
    GameObject go = GameObject.FindGameObjectWithTag("Enemy");
    Vector3 target = go.transform.position;

    transform.LookAt(target);
    }
    }[/HTML]

    We were all trying to transform the transform as a position but after looking at https://docs.unity3d.com/ScriptReference/Transform.html and how it takes position rotation and scale, why not just do this (Position docs https://docs.unity3d.com/ScriptRefere...-position.html) As you can see it takes Vector 3.

    I am writing this thread and about to inject it into my game, wish me luck guys.
    E: Ok it crashes the game, but im onto something here.
    E2: After more investigation it seems that the phsyical transform.LookAt is crashing the game. Will try more things now.
    Last edited by blackstab1337; 07-29-2014 at 04:25 AM.

  2. #2
    blackstab1337's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    159
    Reputation
    10
    Thanks
    149
    My Mood
    Amused

  3. #3
    Kunii's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Norway
    Posts
    153
    Reputation
    68
    Thanks
    3,816
    You need to specify what to rotate. In this case it would be the cam. In other words, replace the 'transform' with the main cam

  4. #4
    blackstab1337's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    159
    Reputation
    10
    Thanks
    149
    My Mood
    Amused
    Quote Originally Posted by Kunii View Post
    You need to specify what to rotate. In this case it would be the cam. In other words, replace the 'transform' with the main cam
    I was trying to get player but im getting this.
    Error 25 Cannot implicitly convert type 'UnityEngine.NetworkPlayer' to 'Player'

    Can i add you on skype?

  5. #5
    Kunii's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Norway
    Posts
    153
    Reputation
    68
    Thanks
    3,816
    The network player has nothing to do with the cam.. Use Camera.main & grab the transform obj.

  6. #6
    blackstab1337's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    159
    Reputation
    10
    Thanks
    149
    My Mood
    Amused
    Quote Originally Posted by Kunii View Post
    The network player has nothing to do with the cam.. Use Camera.main & grab the transform obj.
    Ive tried both
    [HTML]

    // Camera.main.transform.LookAt(target);
    // Camera.mainCamera.transform.LookAt(target);
    [/HTML]

    They both still crash the game. I think the function is broken and we may need to manually change angles like they do in other games.

  7. #7
    Kunii's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Norway
    Posts
    153
    Reputation
    68
    Thanks
    3,816
    Well, my shit works.. But I'm not using the same func

  8. #8
    blackstab1337's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    159
    Reputation
    10
    Thanks
    149
    My Mood
    Amused
    Quote Originally Posted by Kunii View Post
    Well, my shit works.. But I'm not using the same func
    Can i hit you up on skype and ask some questions, I shot you a PM.

  9. #9
    blackstab1337's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    159
    Reputation
    10
    Thanks
    149
    My Mood
    Amused
    Quote Originally Posted by Kunii View Post
    Well, my shit works.. But I'm not using the same func
    I think i found your skype - added

  10. #10
    xiEatNoodlezx's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Location
    X:\Windows\System32
    Posts
    167
    Reputation
    10
    Thanks
    616
    My Mood
    Busy
    You could also draw it under the right camera.. that makes it work

  11. #11
    LemonLimeSoda's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    Hey kunii can you help me with my aimbot? Cause im a little confused on how to do it

Similar Threads

  1. [Discussion] possible fix for new loading bug.
    By zdarknightzpro123 in forum CrossFire Tutorials
    Replies: 16
    Last Post: 12-20-2011, 03:30 PM
  2. Possible fix for the slow patch of Crossfire
    By ryangu12 in forum CrossFire Help
    Replies: 8
    Last Post: 08-11-2010, 12:40 PM
  3. [Release] fixed download for Aimbot maker tool
    By muca85 in forum Combat Arms Hacks & Cheats
    Replies: 14
    Last Post: 11-06-2009, 06:32 AM
  4. Fix For Engine.exe problem.
    By GeoForReal in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 09-01-2008, 10:02 AM
  5. I HAVE A FIX FOR NOT VIEWING THREADS
    By sanchez in forum Trade Accounts/Keys/Items
    Replies: 1
    Last Post: 11-16-2007, 01:42 PM