-
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
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
-
Quote:
Originally Posted by
IzNoGoD
Code:
LD_PRELOAD="relative/path/to/libcod2_1_3.so" $cod $args +set g_gametype tdm +map mp_toujane
Do you even read?
-
Yes but I did not understand :confused:
-
Quote:
Originally Posted by
IzNoGoD
Do you even read?
What exactly should be?
-
it should be the relative path to your libcod.so file.
-
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
-
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.
-
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:
-
1 Attachment(s)
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)
Also this messages will only appear only if you got developer 1 enabled. You shouldn't worry if you have a decent rcon password.
-
Fake player blocking requires a custom script.