Results 1 to 10 of 21

Thread: [Perl] [COD2] Nanny

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    PHP Code:
    sendGameServerCommand(-1"h \"" level.consoleName "^7: " message "\""); 
    For some reason the forum seems to remove the slash from \ when copying the code back into the textarea :S

    Just make sure to have the two \ in your code

    I might disable the complete color shit and stupid formatting in vbb editor.
    timescale 0.01

  2. #2
    Private
    Join Date
    Jul 2016
    Posts
    38
    Thanks
    0
    Thanked 19 Times in 19 Posts
    Quote Originally Posted by kung foo man View Post
    PHP Code:
    sendGameServerCommand(-1"h \"" level.consoleName "^7: " message "\""); 
    For some reason the forum seems to remove the slash from \ when copying the code back into the textarea :S

    Just make sure to have the two \ in your code

    I might disable the complete color shit and stupid formatting in vbb editor.
    (Maybe wrong that test.sh "+set consoleName $Nanny"\)

    PHP Code:
     #!/bin/bash

    sv_maxclients="32"
    fs_game="console"
    fs_homepath="/root/cod2"
    cod="/root/cod2/cod2_lnxded_1_0a"
    com_hunkMegs="256"
    config="by.cfg"
    cracked="1"
    net_port="28929"


    args=\
    "+set fs_homepath \"$fs_homepath\" "\
    "+set sv_cracked $cracked "\
    "+set fs_game $fs_game "\
    "+set net_port $net_port "\
    "+set com_hunkMegs $com_hunkMegs "\
    "+set sv_maxclients $sv_maxclients "\
    "+set fs_basepath \"$fs_homepath\" "\
    "+set consoleName $Nanny"\
    "+exec $config"


    LD_PRELOAD="/root/cod2/libcod/bin/libcod2_1_0.so" $cod $args +set g_gametype tdm +map mp_toujane 

Posting Permissions

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