IPB

Welcome Guest ( Log In | Register )

16 Pages V « < 9 10 11 12 13 > »   
Reply to this topicStart new topic
> RCBot 1.4 BETA, For NS 3.0 + other stuff (GET IT :P)
Cheeseh
post Jun 14 2006, 06:38 PM
Post #201


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



i would just replace the unknown typedefs to void*

about the CBotStateNetMessage thing ,wheres that? (what line is it saying and any more details it gives)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
anonym001
post Jun 14 2006, 06:49 PM
Post #202


Member
**

Group: Members
Posts: 11
Joined: 22-December 04
Member No.: 461



It is bot_client.h , line 652


This is the original code , unchanged
CODE

class CBotStatedNetMessage : public CBotNetMessage
{
public:
CBotStateNetMessage(); // line 652

void init (int index) { iState = 0; m_pEdict = NULL; if ( index ) { m_pEdict = INDEXENT(index); } msg_init(); }

virtual void writeChar ( char c ) { write_char(c); iState++; };
virtual void writeByte ( int b ) { write_byte(b); iState++; };



ther error is:
bot_client.h:652: error: ISO C++ forbids declaration of `CBotStateNetMessage' with no type

I updated the compiled version (included the *void changes for the typedefs)
(the format in which i showed my changes in the previos post: file:lines OLD => NEW )
--Ano
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jun 14 2006, 06:59 PM
Post #203


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



all you have to do there is rename CBotStateMessage() constructor function to CBotStatedMessage() (Note the extra d) thats a typo on my part... although the class is never used, it was a prototype tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
anonym001
post Jun 14 2006, 07:02 PM
Post #204


Member
**

Group: Members
Posts: 11
Joined: 22-December 04
Member No.: 461



Yes, thats what i ve done. I was just wondering, why such an error does not influence the whole bot biggrin.gif
But if its never used, ok , hehe

well, lets wait for the answeres if this thing works..
cant wait for it O_o

--Ano
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jun 14 2006, 07:08 PM
Post #205


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



i'd like to see if its working biggrin.gif I can upload it somewhere for anyone who cant compile it on linux
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RR99i
post Jun 17 2006, 03:42 AM
Post #206


Member
**

Group: Members
Posts: 25
Joined: 28-July 05
From: Indiana, USA
Member No.: 608



smile.gif Hi Cheeseh. Would it be possible to make the bots, take the role of a commander? I don't want to add more that you need to do. The new waypoints are working pretty well. If you ever need me to help test RCBot, I will. I'm not very smart. But I kind of understand about installing bot programs.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MarD
post Jun 17 2006, 04:40 AM
Post #207


RCBot Fan
****

Group: Waypointers
Posts: 139
Joined: 30-September 04
From: Canada EH?
Member No.: 419



Heyyo,

Sadly, bots will never be able to command well until they add bot commanding support in NS... from what we've been told? never gonna happen. They don't care about us who love bots... we're neglected like Valve is neglecting us for HL2 bots. sad.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RR99i
post Jun 18 2006, 09:03 PM
Post #208


Member
**

Group: Members
Posts: 25
Joined: 28-July 05
From: Indiana, USA
Member No.: 608



QUOTE (MarD @ Jun 17 2006, 04:40 AM)
Heyyo,

Sadly, bots will never be able to command well until they add bot commanding support in NS... from what we've been told? never gonna happen. They don't care about us who love bots... we're neglected like Valve is neglecting us for HL2 bots. sad.gif

Man... that stinks. I was hoping for that to happen. Seeing that the developers are having trouble right now. Your right, we may never see that happen.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jun 19 2006, 10:32 AM
Post #209


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



yeah.. I need something from the NS developers to incorporate some API into the NS mod to create upgrades/buildings etc through a command chair so that the proper resources etc are used.

Whenenevr it can be done. ... I've been thinking of making a whole new bot to do commander, as a metamod plugin and have both running, so I can keep my code tidy.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
anonym001
post Jun 28 2006, 07:37 PM
Post #210


Member
**

Group: Members
Posts: 11
Joined: 22-December 04
Member No.: 461



i just tested my rcbot-linux built, and it works !!!!



--Ano
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
MarD
post Jun 29 2006, 12:52 AM
Post #211


RCBot Fan
****

Group: Waypointers
Posts: 139
Joined: 30-September 04
From: Canada EH?
Member No.: 419



QUOTE (Cheeseh @ Jun 19 2006, 03:32 AM)
yeah.. I need something from the NS developers to incorporate some API into the NS mod to create upgrades/buildings etc through a command chair so that the proper resources etc are used.

Whenenevr it can be done. ... I've been thinking of making a whole new bot to do commander, as a metamod plugin and have both running, so I can keep my code tidy.

Heyyo,

If you'd do that Cheeseh I'd probably get back into NS. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DeadEyeSavage
post Jul 14 2006, 07:10 AM
Post #212


Member
**

Group: Members
Posts: 15
Joined: 21-June 06
Member No.: 768



Mine still dose not work i am not sure where to path it sicne its a pathing problem it keeps saying badf load.

heres whats in my META plugin.ini for rbot:
CODE
linux instances/ns/ns/rcbot/dlls/rcbot_mm_i486.so


This is where the base NS folder is:
CODE
ftp://<IP REMOVED>/instances/ns/ns/


so the rcbot is in
CODE
ftp://<IP REMOVED>/instances/ns/ns/rcbot


Also do i need to make another .ini file in the base directory of the ns folder? I remember reading something about it it worked for my personal Windows server i think i tried it here but would it evne affect it?

Heres the erros from meta:
CODE
[META] ini: Begin re-reading plugins list: /usr/local/i365/instances/admin/ns/ns/addons/metamod/plugins.ini
[META] ini: Read plugin config for: AMX Mod X
[META] WARNING: ini: Skipping plugin, couldn't stat file 'instances/ns/ns/rcbot/dlls/rcbot_mm_i486.so': No such file or directory
[META] ini: Finished reading plugins list: /usr/local/i365/instances/admin/ns/ns/addons/metamod/plugins.ini; Found 1 plugins
[META] dll: Updating plugins...
[META] WARNING: dll: Failed query plugin '<rcbot_mm_i486.so>'; Couldn't open file 'instances/ns/ns/rcbot/dlls/rcbot_mm_i486.so': instances/ns/ns/rcbot/dlls/rcbot_mm_i486.so: cannot open shared object file: No such file or directory
[META] WARNING: dll: Skipping plugin '<rcbot_mm_i486.so>'; couldn't query
[META] dll: Finished updating 9 plugins; kept 1, loaded 0, unloaded 0, reloaded 0, delayed 0


if you need mroe info jsut ask i want to get this working ASAP.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jul 14 2006, 03:07 PM
Post #213


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



what is in your metamod pliguns.ini file?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DeadEyeSavage
post Jul 15 2006, 01:31 AM
Post #214


Member
**

Group: Members
Posts: 15
Joined: 21-June 06
Member No.: 768



QUOTE (DeadEyeSavage @ Jul 14 2006, 07:10 AM)
heres whats in my META plugin.ini for rbot:
CODE
linux instances/ns/ns/rcbot/dlls/rcbot_mm_i486.so

Yeah i forgot to add meta before plugins.ini. Its the first thing.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
guurk
post Jul 17 2006, 07:58 PM
Post #215


Newbie
*

Group: Members
Posts: 6
Joined: 17-July 06
Member No.: 798



New Linux Build is now available (and tested too):

Please pick up here: http://resonus.net/index.php/Natural_Selection

Direct link: http://resonus.net/images/rcbot_mm_i486.so

Here's what I did to get the build working:

CODE


Added -I./ to include line for CPPFLAGS (14)

Added return type of void to setAmmoArray in bot_weapons.h (852)
Added return type of void to setReserve in bot_weapons.h (864)

Fixed typo on line that declares a misspelt constructor of CBotStateNetMessage : bot_client.h (652)

Updated basemonster.h setting the type for Schedule_t, Task_t and CPathMonsterGoal to void* (57, 63, 64)

Fixed bot_naviagte.o to bot_navigate.o in linux makefile (16)

Added public overloaded == operator to TSObjective that compares m_iId in bot.h

 bool operator ==(TSObjective& comp) {
               return m_iId == m_iId;
       }

Changed RemoveByPointer call where final comparison is the dereferenced values so the == operator is called: generic_class.h line 983

if ( *it == *obj )

Replaced call to 'min' in megahal.cpp 1549 with <? operator usage

Removed copy call in makefile to developer's own directory


User is offlineProfile CardPM
Go to the top of the page
+Quote Post
guurk
post Jul 18 2006, 04:21 AM
Post #216


Newbie
*

Group: Members
Posts: 6
Joined: 17-July 06
Member No.: 798



Hey all!

I'm trying to figure out something here.

I have WhichBot set up for the aliens. Any new marines that join... the aliens get balanced (up to 6).

The RCBots are getting added, but theres a bug.

What I'd like to have is 6 WhichBots on aliens and 6 RCBots on Marines.

So I added config force_team 1 to the config.ini.

Oddly, even with max_bots set to 6 and min_bots set to 0, only 4 bots always join by default. I have to add them manually to get to six. (This is the same behaviour as with max_bots set to -1 and min_bots set to -1).

However, with balance on, all the bots get to the right teams just like I planned biggrin.gif.

I have also now just added specific cfg files for each of the different maps that I run that add 6 bots. This does do what I need.... just seems there may be a better way.

Oh, btw... also, you can't use rcbot addbot in the server.cfg file... it'll crash the server.

SHAMELESS PLUG
You are now welcome to try out my Linux based dedicated server with 6 Alien WhichBots and 6 Marine RCBots @ resonus.net (just enter that into your favorites).
Here's my config.ini

CODE

config commanding 0
config wait_for_orders 0
config dont_shoot 0
config chatting 0
config real_mode 0
config max_bots 6
config min_bots 0
config gorge_amount 0
config update_ladder_time 0.0
config max_path_revs 100
config max_update_vision_revs 150
config update_vision_time 0.07
config reserve_bot_slots 0
config chat_percent 15
config chat_reply_percent 20
config chat_dont_learn 0
config balance_teams 1
config marine_auto_build 1
config chat_reply_to_bots 0
config allow_botcam 0
config force_team 1
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DeadEyeSavage
post Jul 18 2006, 09:31 AM
Post #217


Member
**

Group: Members
Posts: 15
Joined: 21-June 06
Member No.: 768



sweet it works now! that helped everything this new update!

But the bots won't join...

Here is my bot_config:
CODE
config commanding 0
config wait_for_orders 1
config dont_shoot 0
config chatting 0
config real_mode 1
config max_bots 4
config min_bots 0
config gorge_amount 0.4
config update_ladder_time 0.0
# max path revs, the lower the setting
# the better CPU performance in the
# path finding algorithm, but it takes
# longer to find paths.
config max_path_revs 100
# update vision revs, time to update what
# the bot can see, as it is quite cpu
# intensive you can change these values
# depending on cpu speed.
config max_update_vision_revs 150
config update_vision_time 0.07
# dont reserve bot slots
config reserve_bot_slots 0
# bots old chat chance
config chat_percent 15
# bots reply chat chance using megahal
config chat_reply_percent 20
# keep bots learning their chatting skills
config chat_dont_learn 0
# bots try to balance teams
config balance_teams 1
# dont build ip at NS start
config marine_auto_build 0


Also it says theres no cfg for faceoff which is correct cause i never created one.(right?) But no bots join so i type rcbot addbot and i get this:
CODE
[RCBOT>] Accessing debug commands : detected dedicated server
[RCBOT>] Adding Bot...
[RCBOT>] Error: No Bot Profiles have been found that are free...
[RCBOT>] The bot command addbot returned an error!


What i don't understand is that there is NO ONE IN THE SERVER. the server is 0 (zero) out of 21. Then i change the map to faceoff and nothing... Then i get error above when i do rcbot addbot.(again)

I had this on my windows server but i don't remember how to fix it since i did fix it on my windows server..

also in my instances/ns/ns/ mod directory i put the rcbot_folder.ini in there.
This is what is in that folder:
CODE
ns/rcbot
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
IHQ-Reima[DWMH]
post Jul 18 2006, 12:11 PM
Post #218


Advanced Member
***

Group: Members
Posts: 67
Joined: 7-June 06
From: Finland
Member No.: 737



Try minbots 1

if you have like 10 player server it means then that you can have all 4 bots when there are 6 humans and max humans is 9 (minbots 1). It kicks/joins bots to suit the min/maxbots values.

Make also mapconfigs:

rcbot addbot 1
rcbot addbot 2
rcbot addbot 1
rcbot addbot 2
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jul 18 2006, 12:53 PM
Post #219


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



the force_team command is for The Specialists only. I thought about using it for all MODS but didn't have the time then because I though TS had different team selection methods.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DeadEyeSavage
post Jul 18 2006, 05:53 PM
Post #220


Member
**

Group: Members
Posts: 15
Joined: 21-June 06
Member No.: 768



QUOTE (IHQ-Reima[DWMH)
,Jul 18 2006, 12:11 PM] Try minbots 1

if you have like 10 player server it means then that you can have all 4 bots when there are 6 humans and max humans is 9 (minbots 1). It kicks/joins bots to suit the min/maxbots values.

Make also mapconfigs:

rcbot addbot 1
rcbot addbot 2
rcbot addbot 1
rcbot addbot 2

Why would that have any affect since when i type rcbot addbot it says error no "PROFILES". I can't even add bots manually...

Also i don't want any bots in the server when theres 4 people or more.

I understand how the config works cause i got it working on my windows server. Just this linux server dose not want to work...

thanks for trying tho. Anyone else?

P.S. I did try minbots one no affect.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

16 Pages V « < 9 10 11 12 13 > » 
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: 20th June 2025 - 08:40 PM