.:: 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: 159
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: 159
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
 
BURAOT's Avatar
 
Status: Offline
Posts: 12
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
 
BURAOT's Avatar
 
Status: Offline
Posts: 12
Join Date: Jun 2017
Warning Re: RealBot r3073 - 17-10-2017

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
Re: RealBot r3073
Old
  (#5)
ExAnimo
Member
 
Status: Offline
Posts: 32
Join Date: Oct 2010
Location: Russia
Default Re: RealBot r3073 - 16-01-2018

One of favourite bots, would be the best if to fix all bugs. I didn't test this latest version, but in old there is a bug which has noticed still long ago.
If change bot config
[SKILL]
XOffset=1.90221
YOffset=1.9022
ZOffset=1.9022
to Offset = 100 for example
in the first round bots behave as it is necessary on a config, at once it is visible on imitation of jolting of hands, and in a next round headshots already again.
Please fix this bug, bot config works only for the first round.
  
Reply With Quote
Re: RealBot r3073
Old
  (#6)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,077
Join Date: Nov 2003
Location: Netherlands
Default Re: RealBot r3073 - 2 Days Ago

Good to see you where able to (re)compile it. I have been a while out of the loop, is there a need to recompile to make it work again?

Also, could you perhaps offer a pull-request for it?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
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 - 2018, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com