Results 1 to 10 of 50

Thread: CodeCallback_PlayerCommand(args) does not work

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private First Class
    Join Date
    Mar 2016
    Posts
    134
    Thanks
    48
    Thanked 11 Times in 10 Posts
    I installed libcod and i have a problem , i am stuck at step 6.
    I started cod2 server with libcod and everything ok. But how i'll keep it running ??? Any commands for that ? i tried screen didn't work i think.
    screen command is for server without libcod. But mine is with , what to do ? If tmux command is running can you give me how to write it ?

  2. #2
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    Quote Originally Posted by suck000 View Post
    I installed libcod and i have a problem , i am stuck at step 6.
    I started cod2 server with libcod and everything ok. But how i'll keep it running ??? Any commands for that ? i tried screen didn't work i think.
    screen command is for server without libcod. But mine is with , what to do ? If tmux command is running can you give me how to write it ?
    The easiest way is proably to create a simple shell script (name it 'myserver.sh'), put in your cod2 dir and then launch it from the screen e.g 'screen sh myserver.sh'

    PHP Code:
    #!/bin/bash

    export LD_PRELOAD="$HOME/cod2_1_0/libcod2_1_0.so" # Point to your lib

    PARAMS="+set fs_game myserver +set dedicated 2 +set net_port 28960 +exec config.cfg" # Your server launch options

    "./cod2_lnxded" "$PARAMS"

    exit 
    sudo apt-get rekt

  3. The Following User Says Thank You to voron00 For This Useful Post:

    suck000 (19th March 2016)

Posting Permissions

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