RC2BOTS, rc2bots for linux |
RC2BOTS, rc2bots for linux |
luc19707 |
Feb 26 2007, 09:33 PM
Post
#1
|
Newbie Group: Members Posts: 2 Joined: 12-February 07 Member No.: 1,031 |
Hi Everidody ,,
I just want to know if it is possible to run the RC2BOT source on a linux machine?If yes can sommeone give me the link for the plugin?Because i think .dll are for windows only.......thanks you ..... |
terminator_2 |
Mar 4 2008, 10:16 PM
Post
#2
|
Member Group: Members Posts: 13 Joined: 26-February 07 Member No.: 1,057 |
Cheeseh,
Firstly, I can't thank you enough for coding the bots for HL2DM...... we play during our lunch break at work. We used to able to get 5 humans deathmatch, but were told off because of all the peronal pc's on site and therefore we looked to using the bots and now have 3 humans and 11 bots team dethmatch - 30 miunte frag fest! I have been extremely busy over the past year waypointing loads of maps (some aren't fully optimised, some are not finished.) but I was wondering if you would like them...... (if you can give me the ability to upload them somewhere then I will!). I have been using Salvax's ladder code, so some of the maps have areas for ladders. I posted some entries on the forum regarding my attempts at compiling for Linux (so I can run the bots at home), but have really now come to a stop. I can get a sample plugin to compile (from valve) using gcc and also a tool called xerces (which can convert a vcproj file). However, when I try a rcbot2 compile it fails with some errors (This is the first): - [nick@localhost linux_sdk]$ make if [ -z "/usr/bin/gcc34" ]; then echo "Compiler not defined."; exit; fi if [ ! -d . ];then mkdir .;fi cd . if [ ! -f "tier0_i486.so" ]; then ln -s ../../hl2mp/bin/tier0_i486.so .; fi if [ ! -f "vstdlib_i486.so" ]; then ln -s ../../hl2mp/bin/vstdlib_i486.so .; fi ./vcpm ../utils/HPB_Bot2/HPB_Bot2.vcproj Valve Software - vcprojtomake.exe (Feb 24 2008) make -f Makefile.mod CC=/usr/bin/gcc34 CPLUS=/usr/bin/g++34 CPP_LIB="/usr/lib/gcc/i386-redhat-linux/3.4.6/libstdc++.a /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_eh.a" BUILD_DIR=. BUILD_OBJ_DIR=./obj SOURCE_DIR=.. SHLIBLDFLAGS=-shared -Wl,-Map,mod_map.txt -Wl SHLIBEXT=so CLINK=/usr/bin/gcc34 CFLAGS=" -mtune=i686 -march=pentium3 -mmmx -O3 -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Usprintf=use_Q_snprintf_instead_of_sprintf -Ustrncpy=use_Q_strncpy_instead -UPROTECTED_THINGS_ENABLE" LDFLAGS="-lm -ldl ../../hl2mp/bin/tier0_i486.so ../../hl2mp/bin/vstdlib_i486.so mathlib_i486.a choreoobjects_i486.a tier1_i486.a" ARCH=i486 GAME_DIR=../../hl2mp MOD_CONFIG=HPB_bot2_ReleaseWin32 NAME=hpb_bot2 XERCES_INC_DIR=/usr/local/src/xerces-c_2_6_0/include XERCES_LIB_DIR=/usr/local/src/xerces-c_2_6_0/lib make[1]: Entering directory `/hl2sdk/linux_sdk' mkdir -p obj/hpb_bot2_i486/utils/HPB_Bot2 mkdir -p obj/hpb_bot2_i486/utils/HPB_Bot2/public mkdir -p obj/hpb_bot2_i486/utils/HPB_Bot2/public/tier0 mkdir -p obj/hpb_bot2_i486/utils/HPB_Bot2/tier1 /usr/bin/g++34 -w -I../utils/HPB_Bot2/../../public -I../utils/HPB_Bot2/../../public/engine -I../utils/HPB_Bot2/../../public/tier0 -I../utils/HPB_Bot2/../../public/tier1 -I../utils/HPB_Bot2/../../dlls -I../utils/HPB_Bot2/../../game_shared -DNDEBUG -mtune=i686 -march=pentium3 -mmmx -O3 -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Usprintf=use_Q_snprintf_instead_of_sprintf -Ustrncpy=use_Q_strncpy_instead -UPROTECTED_THINGS_ENABLE -o obj/hpb_bot2_i486/utils/HPB_Bot2/bot.o -c ../utils/HPB_Bot2/bot.cpp In file included from ../utils/HPB_Bot2/../../game_shared/usercmd.h:16, from ../utils/HPB_Bot2/bot.cpp:44: ../utils/HPB_Bot2/../../game_shared/imovehelper.h:20: error: use of enum `PLAYER_ANIM' without previous declaration ../utils/HPB_Bot2/../../game_shared/imovehelper.h:81: error: `PLAYER_ANIM' has not been declared In file included from ../utils/HPB_Bot2/bot.h:47, from ../utils/HPB_Bot2/bot.cpp:54: ../utils/HPB_Bot2/../../game_shared/IEffects.h:23: error: use of enum `ShakeCommand_t' without previous declaration In file included from ../utils/HPB_Bot2/bot_schedule.h:36, from ../utils/HPB_Bot2/bot.cpp:55: ../utils/HPB_Bot2/bot_genclass.h: In member function `void dataUnconstArray<T>::Remove(T)': ../utils/HPB_Bot2/bot_genclass.h:645: error: expected `;' before "it" ../utils/HPB_Bot2/bot_genclass.h:647: error: `it' was not declared in this scope make[1]: *** [obj/hpb_bot2_i486/utils/HPB_Bot2/bot.o] Error 1 make[1]: Leaving directory `/hl2sdk/linux_sdk' make: *** [mod] Error 2 It's the last few lines that I don't understand..... these are valve standard files! ..... any ideas? If you do, then we're nearer a linux compile! Any help would be appreciated! t_2 |
Lo-Fi Version | Time is now: 18th April 2024 - 10:57 AM |