.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   YaPB (http://forums.bots-united.com/forumdisplay.php?f=55)
-   -   Ricobot Problem (http://forums.bots-united.com/showthread.php?t=8929)

Lilou 02-07-2011 00:15

Ricobot Problem
 
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 ? :)

Whistler 02-07-2011 05:21

Re: Ricobot Problem
 
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

Lilou 02-07-2011 13:13

Re: Ricobot Problem
 
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...

Whistler 02-07-2011 14:53

Re: Ricobot Problem
 
download the tarball one instead of the zip one for GNU/Linux:
http://prdownloads.sourceforge.net/m...ar.gz?download

Lilou 02-07-2011 19:01

Re: Ricobot Problem
 
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


Whistler 03-07-2011 00:13

Re: Ricobot Problem
 
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).

Lilou 03-07-2011 03:04

Re: Ricobot Problem
 
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

Whistler 03-07-2011 04:48

Re: Ricobot Problem
 
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?

Lilou 03-07-2011 20:26

Re: Ricobot Problem
 
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

Lilou 05-07-2011 01:53

Re: Ricobot Problem
 
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...


All times are GMT +2. The time now is 16:02.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.