bulent
8th February 2017, 18:02
lib error my server 1.0 I think test.sh wrong
by.sh
#!/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
root@host-132:/home/cod2/Setup/Data/libcod# ./by.sh cod2_1_0
ERROR: ld.so: object '/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 language: english
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
by.sh
#!/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
root@host-132:/home/cod2/Setup/Data/libcod# ./by.sh cod2_1_0
ERROR: ld.so: object '/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 language: english
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