Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Sightjacker 1.08

  1. #11
    Codesaurus Skarma's Avatar
    Join Date
    Apr 2009
    Location
    Columbus, OH
    Posts
    227

    Re: Sightjacker 1.08

    Yea, that's right I forgot to change the bool on/off. GetAsyncKeyState returns the state of the key as a signed short, whether it's up or down. Low bit is positive and is set when the key is up, which the &0x0001 checks for. High bit is negative and is set when the key is down, to check for it you would &0x8000 with the result. If you weren't to do any AND operations, it would just check if a value was returned or not, if the key was up or down.
    Reply With Quote

  2. #12

    Re: Sightjacker 1.08

    EDIT:

    If the function succeeds, the return value specifies whether the key was pressed since the last call to GetAsyncKeyState, and whether the key is currently up or down. If the most significant bit is set, the key is down, and if the least significant bit is set, the key was pressed after the previous call to GetAsyncKeyState. However, you should not rely on this last behavior
    Ok I meant the last behavior but it's not reliable so bleh :P
    Last edited by CrAsHOvErRide; October 27th, 2009 at 02:31 PM.
    Reply With Quote

  3. #13
    HA10 Limited's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    7,800

    Re: Sightjacker 1.08

    Setting camera_control 1 doesnt home in on enemies, it will float off into the distance to the outside of map...
    Reply With Quote

  4. #14
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Sightjacker 1.08

    I think it goes to 0 0 0 if you didn't set a location before you turned it on. I think the only reason it crashes is because it leaves dev-mode on.
    Reply With Quote

  5. #15
    Codesaurus Skarma's Avatar
    Join Date
    Apr 2009
    Location
    Columbus, OH
    Posts
    227

    Re: Sightjacker 1.08

    Quote Originally Posted by Limited View Post
    Setting camera_control 1 doesnt home in on enemies, it will float off into the distance to the outside of map...
    DUH. It was an example as I labeled it, so others could understand how the call can be used.
    Reply With Quote

  6. #16
    Computer geek
    Join Date
    Sep 2009
    Posts
    57

    Re: Sightjacker 1.08

    TeeKup, Just go into a server and enable Alldev or something, then press the tilde (~) key and type the following: (As Con has said, but he left out the Developer Mode part)

    camera_control 1

    Then to change players type:

    camera_set_first_person (unit (list_get (players) 1))

    1 being the player number. You would change that to search through players..Example:
    camera_set_first_person (unit (list_get (players) 1))
    camera_set_first_person (unit (list_get (players) 2))

    (But just press the up arrow to bring it up, then backspace)

    To turn it off, type:

    camera_control 0

    HTH
    Reply With Quote

  7. #17
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Sightjacker 1.08

    You can do that, but it's really annoying and doesn't have all the features that sight jacker does, such as displaying the player name.
    Reply With Quote

  8. #18
    Computer geek
    Join Date
    Sep 2009
    Posts
    57

    Re: Sightjacker 1.08

    Quote Originally Posted by chrisk123999 View Post
    You can do that, but it's really annoying and doesn't have all the features that sight jacker does, such as displaying the player name.
    I haven't tested it but after you type that, you could probably say something like:

    print (list_get (players) %playerid%)

    %playerid% being 0-15 (what you used for the camera_set_first_person)

    Also, if the person you're watching stands still for a moment, it will display their name at the top of the screen
    Reply With Quote

  9. #19
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Sightjacker 1.08

    People don't often stand still. Plus, it doesn't help you find the right person after they die...
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •