Calculating updated sourcemod vtable offsets

Discussion in 'Coding' started by Thexa4, Sep 26, 2016.

  1. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    Using vtablescanner from: https://forums.alliedmods.net/showthread.php?t=146379

    This works on linux only.

    Download from: https://delftelectronics.nl/empires/tools/vtablescanner3.zip

    Instructions
    • Unzip [optionally rebuild]
    • Download empires dedicated server.
    • Copy libsteam_api.so, libtier0.so, libvstdlib.so and server.so to the Release folder
    • Open a shell in the Release folder
    • run:
      Code:
      LD_LIBRARY_PATH="./" ./vtabledump ./server.so '_ZTV10CEmpPlayer'
    • First column is the function name, second column is the windows offset, third column is the linux offset.
     
    Last edited: Mar 20, 2017
    Neoony likes this.
  2. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    Neoony likes this.
  3. Thexa4

    Thexa4 Developer Staff Member Moderator

    Messages:
    304
    Likes Received:
    98
    Trophy Points:
    0
    Uploaded version 3 to fix a problem with the offets for CommitSuicide (sm_slay)
     
    Neoony likes this.

Share This Page