Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Lib error

  1. #1
    Private
    Join Date
    Jul 2016
    Posts
    38
    Thanks
    0
    Thanked 19 Times in 19 Posts

    Question Lib error

    lib error my server 1.0 I think test.sh wrong

    by.sh
    PHP Code:
    #!/bin/bash

    sv_maxclients="32"
    fs_game="/home/cod2/Setup/Data/test"
    fs_homepath="/home/cod2/Setup/Data"
    cod="/home/cod2/Setup/Data/cod2_lnxded"
    com_hunkMegs="256"
    config="by.cfg"
    cracked="1"
    net_port="28000"


    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\" "\
    "+exec $config"

    LD_PRELOAD=/home/cod2/Setup/Data/libcod/bin $cod $args +set g_gametype tdm +map mp_toujane 

    consol
    PHP Code:
    root@host-132:/home/cod2/Setup/Data/libcod# ./by.sh cod2_1_0
    ERRORld.soobject '/home/cod2/Setup/Data/libcod/bin' from LD_PRELOAD cannot be preloaded (cannot read file data): ignored.
    CoD2 MP 1.3 build linux-i386 Jun 23 2006
    ----- FS_Startup -----
    Current languageenglish
    Current search path
    :
    /
    home/cod2/Setup/Data//home/cod2/Setup/Data/test
    /home/cod2/Setup/Data/main/iw_14.iwd (4038 files)
    /
    home/cod2/Setup/Data/main/iw_13.iwd (22624 files)
    /
    home/cod2/Setup/Data/main/iw_12.iwd (1016 files)
    /
    home/cod2/Setup/Data/main/iw_11.iwd (1462 files)
    /
    home/cod2/Setup/Data/main/iw_10.iwd (1936 files)
    /
    home/cod2/Setup/Data/main/iw_09.iwd (2142 files)
    /
    home/cod2/Setup/Data/main/iw_08.iwd (2723 files)
    /
    home/cod2/Setup/Data/main/iw_07.iwd (3384 files)
    /
    home/cod2/Setup/Data/main/iw_06.iwd (990 files)
    /
    home/cod2/Setup/Data/main/iw_05.iwd (928 files)
    /
    home/cod2/Setup/Data/main/iw_04.iwd (698 files)
    /
    home/cod2/Setup/Data/main/iw_03.iwd (26 files)
    /
    home/cod2/Setup/Data/main/iw_02.iwd (40 files)
    /
    home/cod2/Setup/Data/main/iw_01.iwd (16 files)
    /
    home/cod2/Setup/Data/main/iw_00.iwd (102 files)
    /
    home/cod2/Setup/Data/main
    /home/cod2/Setup/Data/raw
    /home/cod2/Setup/Data/raw_shared
    /home/cod2/Setup/Data/devraw
    /home/cod2/Setup/Data/devraw_shared
    /home/cod2/Setup/Data/main/localized_english_iw10.iwd (414 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw09.iwd (98 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw08.iwd (8 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw07.iwd (1014 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw06.iwd (3110 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw05.iwd (5310 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw04.iwd (6240 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw03.iwd (6580 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw02.iwd (6404 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw01.iwd (5510 files)
        
    localized assets iwd file for english
    /home/cod2/Setup/Data/main/localized_english_iw00.iwd (4764 files)
        
    localized assets iwd file for english 

  2. The Following User Says Thank You to bulent For This Useful Post:

    kubislav23 (9th February 2017)

  3. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by IzNoGoD View Post
    Code:
    LD_PRELOAD="relative/path/to/libcod2_1_3.so" $cod $args +set g_gametype tdm +map mp_toujane
    Do you even read?
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  4. #3
    Private
    Join Date
    Jul 2016
    Posts
    38
    Thanks
    0
    Thanked 19 Times in 19 Posts
    Yes but I did not understand

  5. The Following User Says Thank You to bulent For This Useful Post:

    kubislav23 (9th February 2017)

  6. #4
    Private
    Join Date
    Jul 2016
    Posts
    38
    Thanks
    0
    Thanked 19 Times in 19 Posts
    Quote Originally Posted by IzNoGoD View Post
    Do you even read?
    What exactly should be?

  7. The Following User Says Thank You to bulent For This Useful Post:

    kubislav23 (9th February 2017)

  8. #5
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    it should be the relative path to your libcod.so file.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  9. #6
    Private
    Join Date
    Jul 2016
    Posts
    38
    Thanks
    0
    Thanked 19 Times in 19 Posts
    install errors


    ./doit.sh base

    [PHP]#root@host-132:/home/cod2/Setup/Data/libcod# ./doit.sh base
    ##### Unrecognized command line option base #####
    [PHP]#


    by.sh

    [PHP]#LD_PRELOAD=/home/cod2/Setup/Data/libcod2_1_0.so $cod $args +set g_gametype tdm +map mp_toujane[PHP]#


    consol

    [PHP]#root@host-132:/home/cod2/Setup/Data/libcod# ./by.sh
    > [INFO] Compiled for: CoD2 1.0
    Compiled: Jan 17 2015 21:15:59
    > [INFO] value of closer=080e4100
    > [INFO] value of download=6572746e
    ./by.sh: line 23: 19740 Segmentation fault (core dumped) LD_PRELOAD=/home/cod2/Setup/Data/libcod2_1_0.so $cod $args +set g_gametype tdm +map mp_toujane[PHP]#

    Attachment 1260

    Attachment 1261

  10. The Following User Says Thank You to bulent For This Useful Post:

    kubislav23 (9th February 2017)

  11. #7
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Try using voron's github repo, it's way more up-to-date than kung's.

    And skip the doit.sh base step, it's deprecated.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  12. #8
    Private
    Join Date
    Jul 2016
    Posts
    38
    Thanks
    0
    Thanked 19 Times in 19 Posts
    I reinstall vps and again install libcod now work but rcon block and fake player working not block libcod

    consol

    root@host-132:~/cod2/libcod# ./server.sh
    > [LIBCOD] Compiled for: CoD2 1.0
    > [LIBCOD] Compiled Feb 9 2017 03:48:23 using GCC 4.8.4
    > [PLUGIN LOADED]
    CoD2 MP 1.0 build linux-i386 Oct 24 2005
    ----- FS_Startup -----
    Current search path:
    /root/cod2/main/OTTAMAN.iwd (93 files)
    /root/cod2/main/iw_14.iwd (4038 files)
    /root/cod2/main/iw_13.iwd (22624 files)
    /root/cod2/main/iw_12.iwd (1016 files)
    /root/cod2/main/iw_11.iwd (1462 files)
    /root/cod2/main/iw_10.iwd (1936 files)
    /root/cod2/main/iw_09.iwd (2142 files)
    /root/cod2/main/iw_08.iwd (2723 files)
    Bad rcon from 85.106.127.118:2269:
    status
    Bad rcon from 85.106.127.118:2269:
    status
    Bad rcon from 85.106.127.118:2269:
    status
    Bad rcon from 85.106.127.118:2269:
    status
    Bad rcon from 85.106.127.118:2269:
    status
    Bad rcon from 85.106.127.118:2269:
    status
    Bad rcon from 85.106.127.118:2269:
    status
    Bad rcon from 85.106.127.118:2269:

  13. The Following User Says Thank You to bulent For This Useful Post:

    kubislav23 (9th February 2017)

  14. #9
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    The rcon ratelimiter does not block invalid rcon attemts completely, it only prevents them to make an aplification attack (this indeed prevents some bruteforcing but not completely eliminates it)
    Spoiler:
    Click image for larger version. 

Name:	?????? ?????? (6).png 
Views:	56 
Size:	32.9 KB 
ID:	1262

    Also this messages will only appear only if you got developer 1 enabled. You shouldn't worry if you have a decent rcon password.
    sudo apt-get rekt

  15. #10
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Fake player blocking requires a custom script.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

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