IPB

Welcome Guest ( Log In | Register )

> RC2BOTS, rc2bots for linux
luc19707
post 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 .....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
terminator_2
post 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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
luc19707   RC2BOTS   Feb 26 2007, 09:33 PM
terminator_2   I would be able to provide a test server if a linu...   Feb 26 2007, 10:23 PM
luc19707   ty terminator your da man   Feb 27 2007, 12:16 AM
Salvax   not yet, but i hope there would be . :)   Feb 27 2007, 04:53 AM
Cheeseh   The source is available for anyone who wants to co...   Feb 27 2007, 11:50 AM
Fusionhead   The source is available for anyone who wants to c...   Mar 19 2007, 04:24 AM
Salvax   there r lots of versions of Linux, for Red Hat , i...   Mar 31 2007, 02:02 PM
Fusionhead   there r lots of versions of Linux, for Red Hat , ...   Apr 14 2007, 07:16 AM
terminator_2   I use gcc :) OK, I'm taking a look at this n...   Oct 9 2007, 10:07 PM
Fusionhead   Fusionhead, I have probably made a breakthrough ...   Nov 13 2007, 08:11 PM
terminator_2   Hey T2, nice work. :) Did you get a clean compil...   Nov 19 2007, 09:26 PM
terminator_2   Cheeseh, Firstly, I can't thank you enough f...   Mar 4 2008, 10:16 PM
Fusionhead   Hey T2, nice work again. Have you checked the ste...   Mar 6 2008, 09:54 PM
terminator_2   Hey T2, nice work again. Have you checked the st...   Apr 18 2008, 08:43 PM
terminator_2   Update!!! I've sat through each c...   May 3 2008, 08:24 PM
Fusionhead   T2, I thought I'd check back here. You probab...   Dec 3 2008, 11:46 PM
terminator_2   T2, I thought I'd check back here. You proba...   Dec 4 2008, 09:46 PM
Enra   Any updates on the Linux build? I have run into t...   Apr 27 2009, 08:18 PM
Enra   OK, tracked down and fixed all Linux related probl...   Apr 29 2009, 06:08 PM
rcweed   OK, tracked down and fixed all Linux related prob...   May 2 2009, 12:16 PM
Enra   Here is the code: http://www.age-of-chivalry.com/t...   May 9 2009, 04:06 PM
rcweed   Here is the code: http://www.age-of-chivalry.com/...   May 13 2009, 01:05 AM
bir3yk   Enra Hi. Would not be able to put a working versio...   Jun 4 2009, 09:46 PM
bir3yk   I compiled RCBot2 75 release under linux dedicated...   Jun 11 2009, 08:12 AM
CaptainAdder   I compiled RCBot2 75 release under linux dedicate...   Jun 2 2013, 04:04 PM
Cheeseh   Could you share with us? he meant SVN version 7...   Jun 6 2013, 07:37 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 10:57 AM