You can now download the working version: http://znation.nl/libcod/libcod2_1_3.so (only tested with rcon status)
https://github.com/M-itch/libcod/com...e757e2758eca9aPHP Code:
bot renamebot("NEW NAME");
You can now download the working version: http://znation.nl/libcod/libcod2_1_3.so (only tested with rcon status)
https://github.com/M-itch/libcod/com...e757e2758eca9aPHP Code:
bot renamebot("NEW NAME");
filthy_freak_ (5th September 2014)
filthy_freak_ (5th September 2014)
Do you mind compiling 1.0 for me? Having errors on my end due to mysql;
PHP Code:
./doit.sh base
##### COMPILE GSC_MYSQL.CPP #####
cc1plus: error: unrecognised command line option "-std=gnu++11"
Used to work in the past.PHP Code:
./cod2.Bots/cod2_lnxded: symbol lookup error: ./cod2.Bots/libcod2_1_0.so: undefined symbol: gsc_mysql_init
I just uploaded the 1.0 and 1.2 version.
http://znation.nl/libcod/
filthy_freak_ (7th September 2014)
I didn't find the isbot attribute in _teams.gsc nor in the server binary itself (with WinHex):
You might have just a mod, where the attribute player.isbot is set manually?Code:addTestClients() { wait 5; for(;;) { if(getCvarInt("scr_testclients") > 0) break; wait 1; } testclients = getCvarInt("scr_testclients"); for(i = 0; i < testclients; i++) { ent[i] = addtestclient(); if(i & 1) team = "axis"; else team = "allies"; ent[i] thread TestClient(team); } } TestClient(team) { while(!isdefined(self.pers["team"])) wait .05; self notify("menuresponse", game["menu_team"], team); wait 0.5; if(team == "allies") self notify("menuresponse", game["menu_weapon_allies"], "m1carbine_mp"); else if(team == "axis") self notify("menuresponse", game["menu_weapon_axis"], "mp40_mp"); }
timescale 0.01
Yup can confirm there is no default player.isBot function. I remember checking for this a while ago.