IPB

Welcome Guest ( Log In | Register )

16 Pages V « < 10 11 12 13 > »   
Reply to this topicStart new topic
> RCBot 1.4 BETA, For NS 3.0 + other stuff (GET IT :P)
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
Cheeseh
post Jul 18 2006, 06:25 PM
Post #221


Admin
*****

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



QUOTE (DeadEyeSavage @ Jul 18 2006, 06:53 PM)
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.

Your problem must be that the bot program can't find the profiles, they should be in the half-life/rcbot/botprofiles folder. You should also have all the rcbot files in half-life/rcbot. If you can't put them in that folder you can enter the folder you installed the bot (With all the folders that came with it) in rcbot_folder.ini and put that in the mod folder. smile.gif Also make sure you actually have the files i'm talking about.... You can get them here: http://filebase.bots-united.com/index.php?action=file&id=210 (Files only, no DLL files)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
guurk
post Jul 18 2006, 06:49 PM
Post #222


Newbie
*

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



Setting min_bots is no good. There are times that the bot doesn't get added to the right team. I want RCBots only on the marine side since I have WhichBot for the Alien side.

However, just having the add in the map config doesn't work either. When humans join the rcbots go away and don't come back.

I have to say that I'd also like to have the ability to allow humans to join any side they like and then just kick one of the bots on that side.

I'm thinking maybe a scripted AmxModX plugin would allow me to do things just as I like.

------------

Oh yeah, there's also a commander AI plugin for amxmodx that I'd like to know if anyone has tried.

That with the RCBot might actually give the WhichBots a run for thier money without having to have a human commander.

see: http://forums.alliedmods.net/showthread.php?p=231693
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DeadEyeSavage
post Jul 19 2006, 02:24 AM
Post #223


Member
**

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



QUOTE (Cheeseh @ Jul 18 2006, 06:25 PM)
Your problem must be that the bot program can't find the profiles, they should be in the half-life/rcbot/botprofiles folder. You should also have all the rcbot files in half-life/rcbot. If you can't put them in that folder you can enter the folder you installed the bot (With all the folders that came with it) in rcbot_folder.ini and put that in the mod folder. smile.gif Also make sure you actually have the files i'm talking about.... You can get them here: http://filebase.bots-united.com/index.php?action=file&id=210 (Files only, no DLL files)

So in the plugin.ini ia vhe to put the path for every fodler inside the rcbot folder? WHY? i didn't have to for my windows server i jsut put ns/rcbot and it worked fine. Right now the mod directory for NS is: instances/ns/ns

So i put ns/rcbot in that directory in that file. So now i have to put each fodler inside of the rcbot folder?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RR99i
post Jul 19 2006, 04:51 AM
Post #224


Member
**

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



QUOTE (MarD @ Jun 29 2006, 12:52 AM)
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

Yes, I don't think the NS developer will be focusing on NS1. But if there was anyway to get a bot to be commander, on and off. That would be great! When it's just me playing it, it's hard to have fun shooting. But when I'm playing with my brother, he will be commander on and off. But it would be so great to have a bot be commander sometimes.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DeadEyeSavage
post Jul 19 2006, 07:33 AM
Post #225


Member
**

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



yeah now rcbot stoped running again even after i put it backbefore when it was running and now its gone again! ARG!!!!!

well i think i will jsut delet allt he damn rcbot shit and start over.

P.S. I AHTE LINUX I AM SO FUCKING PISSED OFF RIGHT NOW WITH IT!!!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LordSkitch
post Jul 19 2006, 07:29 PM
Post #226


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



That's most peoples views on Linux, unless they're running something like Knoppix and never have to go to the shell for any reason.

Try your hand at Gentoo, now there's a beast laugh.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
guurk
post Jul 19 2006, 08:37 PM
Post #227


Newbie
*

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



I Love Linux tongue.gif

I have all my bots working just right now.

I've created an amxmodx plugin that monitors my bots and adds and kicks them as human players join up and drop off.

Feel free to try out my server: resonus.net (65.102.85.22)

You can set it up for yourself and get the plugin and compiled linux RCBot library from my website: http://resonus.net/index.php/Natural_Selection

Enjoy.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LordSkitch
post Jul 20 2006, 09:33 PM
Post #228


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



What distro do you run?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
IHQ-Reima[DWMH]
post Jul 21 2006, 03:03 PM
Post #229


Advanced Member
***

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



Latest dll update works great! silenced&cloaked skulk is a killer biggrin.gif Love the way they whirl around me biting smile.gif Still there is this thing that gorges dont heal the hive...atleast not that much they are supposed to... :/
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LordSkitch
post Aug 4 2006, 08:08 AM
Post #230


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



Due to popular demand (ie constant bitching) on my server, I dug around the code and found the squad stuff.

in bot_const.h I added

CODE
#define BOT_CONFIG_DISABLE_ALL_SQUADS (1<<25)


in bot_commands.cpp I added

CODE
else if ( FStrEq("disable_all_squads",arg1) )
 iConfig = BOT_CONFIG_DISABLE_ALL_SQUADS;


and in the class CBotSquad *CBotSquads :: AddSquadMember in bot.cpp I added/changed

CODE


dataStack<CBotSquad*> tempStack = m_theSquads;
CBotSquad *theSquad;

if (!gBotGlobals.IsConfigSettingOn(BOT_CONFIG_DISABLE_ALL_SQUADS))
{
 
 CBot *pBot;

that little bit there

and at the end of it

CODE
else
{
 theSquad = NULL;
 return theSquad;
}
return theSquad;
}


so now you can put in bot_config.ini

config disable_all_squads 1

and disable the squads, to keep the marines from squad whoring.



Note - It probably doesn't work right, as the code I put in is simple, and it's not fancy like Cheeseh's. But it seems to have killed the squads.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

16 Pages V « < 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 - 02:30 PM