Results 1 to 2 of 2
  1. #1
    G4T3K33P3R's Avatar
    Join Date
    Feb 2021
    Gender
    male
    Location
    Norway
    Posts
    5
    Reputation
    10
    Thanks
    1
    My Mood
    Lurking

    Identifying local player

    Good evening gentlemen,

    I have recently started hacking CSGO and am trying to understand a way in which I can identify the local player in an online match. I created a trigger bot that was functional offline, but it assumed the local player was at position zero in the entity list. This does not appear to be the case online. As a result, I can no longer identify which team to shoot at. Is there a way using CreateInterface or netvars? Thank you for your time and assistance.

    Regards,
    G4T3K33P3R

  2. #2
    Extreme@@'s Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    3
    yes, hook engineclient at
    Code:
    ADD_INTERFACE( cl_client_t, engine, "VEngineClient014" );
    
    ADD_ADDRESS( get_local_player, "engine.dll", { "A1 ? ? ? ? B9 ? ? ? ? FF 50 14 8B 04 85 ? ? ? ? 8B 80 ? ? ? ? 40 C3" } ); /// 12

Similar Threads

  1. [HELP] How do i find Local Player Pointer?
    By klofee in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 6
    Last Post: 09-20-2010, 04:44 PM
  2. [Release] Local Player Pointer
    By ipwnuuaal5 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 09-04-2010, 03:14 PM
  3. Local PLayer Structs
    By DeadLinez in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 07-26-2010, 11:48 AM
  4. Local Player Structs
    By UnOwN CoD3R in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 07-16-2010, 11:40 PM
  5. [AssaultCube]Get local player entity
    By Retoxified in forum C++/C Programming
    Replies: 1
    Last Post: 04-04-2010, 10:24 PM