.:: Bots United ::.  
filebase forums irc server wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps waypoints yapb

Go Back   .:: Bots United ::. > Cyborg Factory > RealBot > General Forum
General Forum Follow progress, give suggestions, reply to bug report threads here.

Reply
 
Thread Tools
RealBot r3073 Released!!
Old
  (#1)
RoboCop
vBulletin Veteran
 
Status: Offline
Posts: 73
Join Date: Feb 2013
Location: Dundee, Scotland
Default RealBot r3073 Released!! - 29-05-2017

Hello I'm pleased to say that I've managed to recompile RealBot for both Linux and Win32 builds. I gathered the src code from this github site:

https://github.com/Fundynamic/RealBot

I didn't do much apart from using HLSDK 2.3p4, Metamod SDK 1.19p37, VS2017, GCC-4.8 and did some optimisations for SSE2 code generation.

I had to do some modifications to the Makefile as it appears to be outdated but here is the newer Makefile:

Code:
CPP = gcc-4.8

#this is gcc 3.2
#CPP = gcc

ARCHFLAG = i686

METAMOD_SRCDIR = ../metamod-p-37/metamod

HLSDK_BASEDIR = ../hlsdk-2.3-p4

BASEFLAGS = -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp
#CPPFLAGS = ${BASEFLAGS} -march=i386 -O2 -w -I"../metamod" -I"../../devtools/hlsdk-2.3/singleplayer/common" -I"../../devtools/hlsdk-2.3/singleplayer/dlls" -I"../../devtools/hlsdk-2.3/singleplayer/engine" -I"../../devtools/hlsdk-2.3/singleplayer/pm_shared"
CPPFLAGS = ${BASEFLAGS} -I. -I"${METAMOD_SRCDIR}" -I"${HLSDK_BASEDIR}/multiplayer/common" -I"${HLSDK_BASEDIR}/multiplayer/dlls" -I"${HLSDK_BASEDIR}/multiplayer/engine" -I"${HLSDK_BASEDIR}/multiplayer/pm_shared"
	-march=${ARCHFLAG} -O2 -w -mtune=pentium4 -mmmx -msse -msse2 -m32 -mfpmath=sse -ffast-math 

SRC = bot.cpp \
	bot_buycode.cpp \
	bot_client.cpp \
	bot_func.cpp \
	bot_navigate.cpp \
	build.cpp \
	ChatEngine.cpp \
	dll.cpp \
	engine.cpp \
	game.cpp \
	IniParser.cpp \
	NodeMachine.cpp \
	util.cpp \

OBJ = NodeMachine.o \
	bot.o \
	bot_buycode.o \
	bot_client.o \
	bot_func.o \
	bot_navigate.o \
	dll.o \
	engine.o \
	game.o \
	util.o \
	ChatEngine.o \
	IniParser.o

realbot_mm.so: ${OBJ} ${SRC}
	${CPP} -fPIC -shared -o $@ ${OBJ} -Xlinker -Map -Xlinker realbot_mm.map -ldl
	mkdir -p Release
	mv $@ ${OBJ} realbot_mm.map Release
 
clean:
	rm -f *.o
	rm -f *.map
	rm -f *.so
	mv Release/*.so .
	rm -f Release/*
	mv *.so Release

distclean:
	rm -rf Release
	mkdir -p Release

%.o:	%.cpp
	${CPP} ${CPPFLAGS} -c $< -o $@

%.o:	%.c
	${CPP} ${CPPFLAGS} -c $< -o $@
https://apg-clan.org/vbdownloads.php...ownloadid=1135





vBulletin Webmaster since 2001
   
Reply With Quote
Re: RealBot r3073
Old
  (#2)
RoboCop
vBulletin Veteran
 
Status: Offline
Posts: 73
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: RealBot r3073 - 02-06-2017

Update: both the .o and .cpp wasn't really supposed to be in the Makefile. But unable to edit previous post. Only used .o files in Makefile.





vBulletin Webmaster since 2001
   
Reply With Quote
Re: RealBot r3073
Old
  (#3)
BURAOT
Member
 
Status: Offline
Posts: 5
Join Date: Jun 2017
Warning Re: RealBot r3073 - 14-06-2017

Bots wont diffuse/plant bomb, bots kill 1 bot team mate (1 in T 1 in CT), 1 random bot camp in base sometimes stuck

Tested with the ff:
HL 1.1.0.4~HL 1.1.2.2/CS1.0~1.6
MetaMOD/Steam/Non-Steam/Working

Last edited by BURAOT; 14-06-2017 at 13:28..
   
Reply With Quote
Re: RealBot r3073
Old
  (#4)
BURAOT
Member
 
Status: Offline
Posts: 5
Join Date: Jun 2017
Warning Re: RealBot r3073 - 1 Day Ago

Quote:
Originally Posted by BURAOT View Post
Bots wont diffuse/plant bomb, bots kill 1 bot team mate (1 in T 1 in CT), 1 random bot camp in base sometimes stuck

Tested with the ff:
HL 1.1.0.4~HL 1.1.2.2/CS1.0~1.6
MetaMOD/Steam/Non-Steam/Working
Ok sorry for double post ...
Bots now planting/diffuse the bomb

RB Issues
1. -Ive set to both off and still not working
#realbot debug print off
#realbot debug print 0
2. Headshot for RB bots are too high eventhough i set the personality to noob and still they always make 98% headshots is there any way to decrease it

Quote:
---------------
Realbot Logbook
---------------
BUILD 3073

Initializing clients..OK
Initializing memory for bots array..OK
Looking for realbot dll..OK
RBPRINT->[FUNCTION 'GAMEDLLINIT']-[Team NONE] : Notice: RealBot is installed in the correct directory.
RBPRINT->[FUNCTION 'INI_PARSE_CHATFILE']-[Team NONE] : Loading CHAT.INI

!!! Nodes table is full
After NodeMachine::load iMaxUsedNodes=4095
RBPRINT->[-]RB[-Matt-Sorum 'cNodeMachine::path_think']-[Team COUNTER] : No path; going to figure out what to do

RBPRINT->[-]RB[-Matt-Sorum 'cNodeMachine::path_think()']-[Team COUNTER] : there is a goal, no path, but we are so close already, we skip it and get the next frame a new goal
RBPRINT->[-]RB[-Matt-Sorum 'cNodeMachine::path_think']-[Team COUNTER] : No path; going to figure out what to do
   
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com