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

Go Back   .:: Bots United ::. > Cyborg Factory > YaPB
YaPB Yet another POD-Bot flavor by Whistler and Jeefo Counter-Strike

Reply
 
Thread Tools
Ricobot Problem
Old
  (#1)
Lilou
S-RFT Leader
 
Status: Offline
Posts: 6
Join Date: Jul 2011
Location: Germany
Default Ricobot Problem - 02-07-2011

Hey folks,

we are trying to add bots on our servers and searched and found the so called "Ricobot" Whistler (Yapb) made, for the Half Life 1 Mod "Ricochet.

Well it works good with metamod and i can add bots, though not all commands work which are listed in the readme.txt.

The main problem is, the bots seem to be slow. Kinda like having their own "gravity", cause with normal gravity "800" they seem to jump like it is set on e.g. "500".

We have found the line "f_max_speed" which we edited and we will test it after compiling, which is difficult enough cause there are missing files coming from HLSDK.

Well maybe someone has "the" idea or something that can help us fixing that "gravity" problem.

I also tried all other bots that are available here. None worked.

I hope my english is good enough to understand.

Greets.

Lilou

Edit: We tried to compile but over 2000 lines errors occured making it impossible to compile though ;x.
Starting with these lines:

#pragma warning (disable : 4710) // function not inlined
#include <string.h>
#include <ctype.h>
#include "extdll.h"
#include "dllapi.h"
#include "h_export.h"
#include "meta_api.h"
#include "enginecallback.h"
#include "cbase.h"
#include "entity_state.h"

those are missing and 2000 lines more...it seems like broken sourcecodes...

We don't know what to do now...I hope someone can help us maybe Cheeseeh ?

Last edited by Lilou; 02-07-2011 at 01:47.. Reason: Tried to compile
  
Reply With Quote
Re: Ricobot Problem
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Ricobot Problem - 02-07-2011

download HLSDK at http://metamod.sourceforge.net/files/sdk/
and metamod source code at http://prdownloads.sourceforge.net/m...c.zip?download

set the include directory for the vc6 project and compile
  
Reply With Quote
Re: Ricobot Problem
Old
  (#3)
Lilou
S-RFT Leader
 
Status: Offline
Posts: 6
Join Date: Jul 2011
Location: Germany
Default Re: Ricobot Problem - 02-07-2011

Thank you for your quick reply,

but as i said, we have tried to compile it with our HLSDK.
But we will try that way too to be sure.

Thanks, i will tell you later if it was a success or not.

So we are stuck now.

Edit: We compiled with HLSDK (HL part) and its ok but the metamod part gets errors:

Code:
In file included from /home/gebruiker/ricochet2/metamod-1.19/metamod/osdep.h:91,
                 from /home/gebruiker/ricochet2/metamod-1.19/metamod/dllapi.h:81,
                 from bot.h:46,
                 from bot.cpp:37:
/home/gebruiker/ricochet2/metamod-1.19/metamod/types_meta.h:153: error: expected unqualified-id before ‘do’
/home/gebruiker/ricochet2/metamod-1.19/metamod/types_meta.h:153: error: expected unqualified-id before ‘while’
/home/gebruiker/ricochet2/metamod-1.19/metamod/types_meta.h:159: error: expected unqualified-id before ‘while’
In file included from /home/gebruiker/ricochet2/metamod-1.19/metamod/osdep.h:93,
                 from /home/gebruiker/ricochet2/metamod-1.19/metamod/dllapi.h:81,
                 from bot.h:46,
                 from bot.cpp:37:
/home/gebruiker/ricochet2/metamod-1.19/metamod/mreg.h:125: error: expected constructor, destructor, or type conversion before ‘;’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/mreg.h:157: error: ‘REG_STATUS’ does not name a type
/home/gebruiker/ricochet2/metamod-1.19/metamod/mreg.h:241: error: ‘REG_STATUS’ does not name a type
In file included from /home/gebruiker/ricochet2/metamod-1.19/metamod/osdep.h:95,
                 from /home/gebruiker/ricochet2/metamod-1.19/metamod/dllapi.h:81,
                 from bot.h:46,
                 from bot.cpp:37:
/home/gebruiker/ricochet2/metamod-1.19/metamod/log_meta.h:151: error: expected unqualified-id before ‘do’
/home/gebruiker/ricochet2/metamod-1.19/metamod/log_meta.h:151: error: expected unqualified-id before ‘while’
In file included from /home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:81,
                 from bot.h:48,
                 from bot.cpp:37:
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:535: error: expected initializer before ‘*’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:537: error: expected initializer before ‘*’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:895: error: expected initializer before ‘*’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:897: error: expected initializer before ‘*’ token
In file included from bot.h:48,
                 from bot.cpp:37:
/home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:187: error: expected unqualified-id before ‘do’
/home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:187: error: expected unqualified-id before ‘while’
/home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:191: error: expected unqualified-id before ‘while’
/home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:223: error: expected constructor, destructor, or type conversion before ‘;’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:287: error: ‘META_FUNCTIONS’ has not been declared
/home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:295: error: ‘META_FUNCTIONS’ has not been declared
The RC part we tried well as i said we get over 2000 errors...

Last edited by Lilou; 03-07-2011 at 01:41..
  
Reply With Quote
Re: Ricobot Problem
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Ricobot Problem - 02-07-2011

download the tarball one instead of the zip one for GNU/Linux:
http://prdownloads.sourceforge.net/m...ar.gz?download
  
Reply With Quote
Re: Ricobot Problem
Old
  (#5)
Lilou
S-RFT Leader
 
Status: Offline
Posts: 6
Join Date: Jul 2011
Location: Germany
Default Re: Ricobot Problem - 02-07-2011

Using the tarball was a great help, errors now are reduced to this last error:

Code:
 
In file included from /home/gebruiker/ricochet2/metamod-1.19/metamod/meta_api.h:41,
from bot.h:48,
from bot.cpp:37:
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:268: error: expected initializer before ‘*’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:269: error: expected initializer before ‘*’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:448: error: expected initializer before ‘*’ token
/home/gebruiker/ricochet2/metamod-1.19/metamod/engine_api.h:449: error: expected initializer before ‘*’ token
  
Reply With Quote
Re: Ricobot Problem
Old
  (#6)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Ricobot Problem - 03-07-2011

try the hlsdk-2.3-p3.tar.gz which is an updated version which defined sequenceEntry_s/sentenceEntry_s structs (rather than hl_sdk_v23_source.exe).
  
Reply With Quote
Re: Ricobot Problem
Old
  (#7)
Lilou
S-RFT Leader
 
Status: Offline
Posts: 6
Join Date: Jul 2011
Location: Germany
Default Re: Ricobot Problem - 03-07-2011

We compiled it thanks to you.

Now we know that f_max_speed is not that what we want. Edited and now the Bots won't move but the speed of them stay "low".

We have no clue why they are so slow. hmmm
  
Reply With Quote
Re: Ricobot Problem
Old
  (#8)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Ricobot Problem - 03-07-2011

might be problem with CPUs much faster than 2004... dunno, haven't been doing anything HL related for more than 5 years
maybe KWo (POD-Bot mm dev) could be a better person to ask about this

or try lowering the fps_max cvar for the server?
  
Reply With Quote
Re: Ricobot Problem
Old
  (#9)
Lilou
S-RFT Leader
 
Status: Offline
Posts: 6
Join Date: Jul 2011
Location: Germany
Default Re: Ricobot Problem - 03-07-2011

Well we noticed something interessant.

Compiling on 64bit System (Linux) is quite impossible and compiling with 32Bit and trying to run it on a 32bit based Gameserver works fine, but running it on a 64 bit (compiled on 32 bit) doesn't work at all.

The Bots keep being slow weirdly.

It seems that coming to compiling 64bit is not downwardly compatible with 32bit.

Well it seems we have to get some 32 bit based gameserver or no bots. hmmm
  
Reply With Quote
Re: Ricobot Problem
Old
  (#10)
Lilou
S-RFT Leader
 
Status: Offline
Posts: 6
Join Date: Jul 2011
Location: Germany
Default Re: Ricobot Problem - 05-07-2011

Well we found out that it works good with 64bit too, it was our Server...i guess its something with the dedicated on which it lies...
  
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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com