Find the answer to your Linux question:
Results 1 to 5 of 5
Hey all, i wanrt to install an anti fake clinet filter for my ET server. "aluigi.altervista.org/patches/playerslimitermax.zip" copy of the readme.txt ----------------- 3) Usage on Linux ----------------- How to use: - ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    3

    Can t compile the source code.


    Hey all,

    i wanrt to install an anti fake clinet filter for my ET server.
    "aluigi.altervista.org/patches/playerslimitermax.zip"
    copy of the readme.txt

    -----------------
    3) Usage on Linux
    -----------------

    How to use:
    - dump the beginning (NOT the whole) of the join packet to filter in
    the packet.dat file which must be located in the folder of the game.
    this is probably the most confusing part of the configuration because
    not all the people know what is the join packet or how much of its
    bytes are needed to dump, so I have included some examples like those
    for the games based on the Quake 3 engine, Medalof Honor and
    Battlefield 2/2142 (so if you want to test BF2 rename the file
    bf2_bf2142_packet.dat as packet.dat and put it in the game's folder).

    - compile the source code:
    gcc -o myproxocket.so myproxocket.c -shared -ldl

    - copy myproxocket.so in the folder of the game

    - everytime you want to load the plugin you must execute:
    export LD_PRELOAD=./myproxocket.so

    . restart your server and test it with the needed fake players

    Now i have the problem that i can t compile the source code, i don t know much about linux and c cause i am a newbie.

    It would be great if somone can explian me how to install this on my server and how to compile the source code.
    Or if someone could compile the code for me and sent me
    file.

    I hoppe someone have time to help me.

    Thx in advance.

    Regards

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    What error messages do you get when you try to compile?

  3. #3
    Just Joined!
    Join Date
    Aug 2012
    Posts
    3
    oh fast answer

    i don t get an error message
    the piont is i siply have no idea how to compile it (om my pc is runing windows) only on the server i have linux and now my problem is i don t know how to compile it

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    Working from a computer that runs linux,
    you issue the command

    Code:
    gcc -o myproxocket.so myproxocket.c -shared -ldl
    and it will compile.

  6. #5
    Just Joined!
    Join Date
    Aug 2012
    Posts
    3
    k thx it s compiled now

    now i have problems with the next step

    when i try this:
    - everytime you want to load the plugin you must execute:
    export LD_PRELOAD=./myproxocket.so

    i get no reaction from server and it doesn t works
    $ export PRELOAD0=./myproxocket.so

    or when i write EXPORT
    i get this: -sh: EXPORT: command not found

    so how do i perform the last step ?

Posting Permissions

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