IPB

Welcome Guest ( Log In | Register )

> RCBot v1.443 Released! (Not for Sven)
RoboCop
post Jun 11 2017, 10:54 AM
Post #1


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



https://apg-clan.org/vbdownloads.php?do=dow...;downloadid=766

https://github.com/APGRoboCop/rcbotold

RCBot versions
--------------

V 1.443
=---------=

* added: linux build optimised for floating-point arithmetic and tuned for newer arch
* added: waypoint console info for adding and delete a single waypoint
* added: support for Metamod 1.19 or higher
* added: support for new Sven Co-op v5 weapons like the M16, Deagle, SporeGun and ShockRoach (not crucial)
* changed: bot_navigate.cpp line 471
* changed: RCBot compiled with HLSDK 2.3-p4 and Metamod SDK v1.21
* changed: all builds optimised for Pentium 4 SSE2 or higher processors
* fixed: extdll.h that appears to fail to compile on GCC 6+ for #ifndef min and max
* note: bot_ga.cpp appears to be unstable with BotGAValues::get(int)()

V 1.3
=---------=

* added: support for Battlegrounds mod.
* added: support for half-life deathmatch.
* added: megaHAL bot chatting [thanks pierre at racc bot (racc.bots-united.com)].
* added: new command "rcbot config chat_percent" and "rcbot config chat_reply_percent" (See commands text file)
* added: new command "rcbot config marine_auto_build". If set to 1, an infantry portal
will automatically be built nearby the command console when a bot joins the server.
* added: program does not allow clients to join if min bots has not been reached (if bots still need to join).
* added: new config command reserve_bot_slots (to configure above addition).
* added: ability to kick bots from certain team in natural selection in bot menu.
* added: ability to make a squad through squad menu.
* added: ability to return bots in squad back to formation in squad menu.
* added: more lift/elevator functionality.
* added: bots in svencoop search for weapons they need if they dont have weapon to kill gargantuas etc.
* added: improved Aliens in NS (they check out buildings under attack etc)
* added: new commands "config balance_teams" "config
* fixed: fixed NS Gorges not building much.
* fixed: bots using all weapons in DMC/all known bugs in DMC fixed.
* fixed: crash bug in natural selection attack code.
* fixed: bots now treat "func_train" entities like doors/lifts.
* fixed: bots killing themselves when waiting for commander orders in NS.
* fixed: bots join team in NS one at a time incase of crashing.
* fixed: wait_for_orders command not working in NS.

V 1.2
=---------=

All Mods
--------
* fixed: bots going out of water better.
* fixed: bots 'hearing' dead players (spectators)
* fixed: bots not moving sometimes when they cant find an objective waypoint.
* fixed: bot menus interfering with other metamod plugin menus
* fixed: bots know what buttons to press (hopefully) for doors that use 'masters'
* fixed: bots know if doors can be opened if there is an opens later waypoint through it.
* fixed: bots know buttons that can open doors that use masters.
* fixed: bug when bots re-joining server after map change if kicked.
* fixed: bug when bots not returning to server with max bots set after clients leave game.
* fixed: Waypoint visibility files reduced in size

* changed: some ladder stuff

* added: more performance commands (max_update_vision_revs, update_vision_time) see commands text file
* added: some stuck in water code
* added: bots kill self if they can't move for a while (can configure with 'bot_stuck_speed' command)
* added: update_ladder_time command for configuring bots ladder behaviour
* added: bots look for/attack enemies that killed team mates that they see die.
* added: Squad code, player can make bots join their squad, bots can create their own squads, ability to alter formation, leave squad (as leader), remove squad, remove all squads (in case of problems)
* added: classic +force_grip command from old rcbot

Sven Coop
---------
* fixed: bots not using teleports very often

Natural Selection
-----------------
* added: aliens won't melee attack electrified structures
* added: marines don't waste ammo when attacking defense chambers and resource towers (use knife or welder)

Bumper Cars
-----------
* added: bots using bombs in bumpercars
* added: bots choosing random model in bumpercars
* added: some better movement in bumpercars
* added: bots attack grunts in hunt the grunt maps

V 1.1
=---------=
* fixed: killbot command not working in metamod
* fixed: bot menu kick bot option not working
* fixed: crash bugs in task code
* fixed: weapon selection problems (when having to reload)
* fixed: problems when marines are out of ammo in NS (didnt attempt to change weapon?).
* fixed: some DMC weapon problems.
* fixed: aliens getting stuck trying to evolve in places where they cant.
* fixed: problem with some config files not loading in linux
* fixed: bots trying to use buttons too high up.
* fixed: bots shooting all enemies in svencoop and not shooting all allies.
* fixed: crashes in metamod when using other plugins. ("no meta return in args()" bug)
* fixed: crash bugs with bot chat & bot events
* fixed: bots go closer to hev/health chargers, they sometimes got stuck.
* fixed: when bots visit all enemy positions they will continue to objective.
* fixed: bots will only try to use armor chargers/pick up armor when they have less than 50 armor.
* fixed: couldn't delete waypoints that wern't visible (e.g. through walls)
* fixed: bots listening to sounds better.
* fixed: gorge behaviour, should build hives & resource towers more often
* fixed: bots staying in team their were added to after map change
* fixed: marines properly avoiding infantry portals in NS to avoid telefrag kills.
* fixed: bots shoot 'explosive only' breakables / gargantuas with RPGs or grenades,
and dont shoot them if they dont have any explosive weapons (in Svencoop)
* fixed: bots should be able to shoot barnacles in svencoop
* added: alien gorges & marines build objects as they see them.
* added: bots take cover when reloading (in svencoop)
* added: map specific configs
* added: 'unreachable' waypoint types (helps bots find cover areas)

V 1.01
=--------=

* fixed: Altered weapons config (you can also edit it) to make bots not to use
the sniper rifle too close to the enemy in SvenCoop beta 3.0.

* fixed: Small bug with bot menu (couldn't exit menu)

* fixed: Small bug where NS alien bots might try to drop their leap
weapon before attacking (which they cant do) causing them
not to shoot.

* fixed: Bug with alien bots not when they dont have any long range weapons

* fixed: fixed bot profile layout (removed [bot] from each one, not needed in this version)
and fixed repetitions of names in some profiles.

* fixed: Bug in pathfinding algorithm, causing long loops.

* fixed: error in linux_install text file.

* added: Significant reduce in CPU Usage

* added: New command "rcbot config max_path_revs" the lower the value, better CPU
performance, but takes bots slightly longer in time to find a path.

* added: Human tower waypoint, bots will crouch for a player to jump on them or jump
on a player thats already crouching nearby it. (I have added this waypoint into
the map "extension" to test it)

* added: ability to add bots to certain teams in Natural-selection using the bot menu.

V. 1.0
=--------=
General:

-: Supports Mods: NS 2.0+, SvenCoop 2.1/3.0, DMC, HL Bumpercars 1.3.
-: Seperate profile for each bot, means each bot is unique
-: New task system.
-: New bot chat system.
-: New movement code, bots can target onto enemies while moving along their path.
-: Bot reputation system allows bots to like/dislike players.
-: Hopefully a reduce in CPU usage.
-: Metamod version and normal version for windows available.
-: Seperate weapon configuration file can be edited by the user.

AI:

-: Bots remember positions of enemies and return to them if they die.
-: Bots now always jump & crouch to jump higher.
-: Bots can use lifts/doors better
-: Bots can try to run for cover if they get damaged.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Solokiller
post Jun 21 2017, 08:12 PM
Post #2


Member
**

Group: Members
Posts: 23
Joined: 17-December 16
Member No.: 2,482



I don't have much experience with RCBot, but based on what i'm seeing in the code it might be caused by m_personalGA->pick returning a CBotGAValues object that doesn't have enough values. This seems to be something called "learned data", which is stored in files that end with ".rld", so you could try removing those files and then checking if it still crashes.

Do keep in mind that using the headers from one game will make RCBot incompatible with any other game.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Jun 23 2017, 07:17 AM
Post #3


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



QUOTE(Solokiller @ Jun 21 2017, 09:12 PM) *

I don't have much experience with RCBot, but based on what i'm seeing in the code it might be caused by m_personalGA->pick returning a CBotGAValues object that doesn't have enough values. This seems to be something called "learned data", which is stored in files that end with ".rld", so you could try removing those files and then checking if it still crashes.

Do keep in mind that using the headers from one game will make RCBot incompatible with any other game.

Well that's the thing. I shouldn't toy with headers that may corrupt the bots. Also I had a couple replies from Sven Co-op vBulletin site and they users claim the existing headers are fine, but need some adjustments to the timer frequency and some other scripts from this post:-

https://forums.svencoop.com/showthread.php/...ll=1#post527689
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Solokiller
post Jun 24 2017, 09:14 AM
Post #4


Member
**

Group: Members
Posts: 23
Joined: 17-December 16
Member No.: 2,482



QUOTE(RoboCop @ Jun 23 2017, 09:17 AM) *

Well that's the thing. I shouldn't toy with headers that may corrupt the bots. Also I had a couple replies from Sven Co-op vBulletin site and they users claim the existing headers are fine, but need some adjustments to the timer frequency and some other scripts from this post:-

https://forums.svencoop.com/showthread.php/...ll=1#post527689


You should try to get their modified source code then, preferably on something like Github so you can see which changes were made.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Jul 5 2017, 07:21 AM
Post #5


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



Here is the crash log using the debug build from using RCBot in DMC:-

CODE
#0  0xf7da3418 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xf3ca6fa9 in MyTouch (pPlayer=0x816a608, this=0x971d6e8)
    at ../dmc/dlls/quake_items.cpp:877
#2  CItemAmmo::MyTouch (this=0x971d6e8, pPlayer=0x816a608)
    at ../dmc/dlls/quake_items.cpp:845
#3  0xf3ca6623 in CQuakeItem::ItemTouch (this=0x971d6e8, pOther=0x816a608)
    at ../dmc/dlls/quake_items.cpp:122
#4  0xf3d911ca in api_caller_void_args_2p(void const*, void const*) ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#5  0xf3d91b30 in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const*) ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#6  0xf3d9232c in mm_DispatchTouch(edict_s*, edict_s*) [clone .lto_priv.42]
    () from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#7  0xf78031a9 in SV_TouchLinks (ent=0xf46aeae4,
    node=0xf7c97a60 <sv_areanodes+928>) at ../engine/world.c:448
#8  0xf7803201 in SV_TouchLinks (ent=0xf46aeae4,
    node=0xf7c97a40 <sv_areanodes+896>) at ../engine/world.c:456
#9  0xf78031e3 in SV_TouchLinks (ent=0xf46aeae4,
    node=0xf7c979c0 <sv_areanodes+768>) at ../engine/world.c:458
#10 0xf78031e3 in SV_TouchLinks (ent=0xf46aeae4,
    node=0xf7c978c0 <sv_areanodes+512>) at ../engine/world.c:458
#11 0xf78031e3 in SV_TouchLinks (ent=0xf46aeae4,
---Type <return> to continue, or q <return> to quit---
    node=0xf7c976c0 <sv_areanodes>) at ../engine/world.c:458
#12 0xf78033a8 in SV_LinkEdict (ent=0xf46aeae4, touch_triggers=true)
    at ../engine/world.c:602
#13 0xf77feab6 in SV_RunCmd (ucmd=0xffffc8ac, random_seed=0)
    at ../engine/sv_user.c:1149
#14 0xf77d3c16 in PF_RunPlayerMove_I (fakeclient=0xf46aeae4,
    viewangles=0xf46aebb4, forwardmove=299.984314, sidemove=3.06950521,
    upmove=0, buttons=0, impulse=0 '\000', msec=14 '\016')
    at ../engine/pr_cmds.c:2545
#15 0xf38732b6 in CBot::RunPlayerMove (this=0xf391c950 <gBotGlobals+2108>)
    at bot.cpp:9002
#16 0xf38d1612 in CBotGlobals::StartFrame (this=0xf391c114 <gBotGlobals>)
    at globals.cpp:829
#17 0xf38bf4b4 in StartFrame () at dll.cpp:1188
#18 0xf3d91c18 in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const*) ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#19 0xf3d91fe2 in mm_StartFrame() [clone .lto_priv.63] ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#20 0xf77f9c28 in SV_Physics () at ../engine/sv_phys.c:1985
#21 0xf77f1b26 in SV_Frame () at ../engine/sv_main.c:9236
#22 0xf77b9e92 in _Host_Frame (time=0.00706320908) at ../engine/host.c:1404
#23 0xf77ba252 in Host_Frame (time=0.00706320908, iState=1,
---Type <return> to continue, or q <return> to quit---
    stateInfo=0xffffcf5c) at ../engine/host.c:1522
#24 0xf77de8dc in CEngine::Frame (this=0xf78756a0 <g_Engine>)
    at ../engine/sys_engine.cpp:245
#25 0xf77dbc43 in RunFrame (this=<optimised out>)
    at ../engine/sys_dll2.cpp:1235
#26 CDedicatedServerAPI::RunFrame (
    this=0xf7870d00 <__g_CDedicatedServerAPI_singleton>)
    at ../engine/sys_dll2.cpp:1226
#27 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766
#28 0x08049472 in main (argc=20, argv=0xffffd194)
    at ../dedicated/sys_ded.cpp:1146


I am kinda tied up with other things at home, hence the slow progress on fixing. I still continue investigating on RCBot on Sven, soon as I get the time to check the logs and how stable the bots are.

Also HL2 RULEZ guy found a solution for fixing the bots to attack in Sven:

https://forums.svencoop.com/showthread.php/...ll=1#post527751
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
RoboCop   RCBot v1.443 Released! (Not for Sven)   Jun 11 2017, 10:54 AM
Cheeseh   This is a enhancement build for Sven Co-op v5.x ...   Jun 11 2017, 12:53 PM
w00tguy123   It's cool to see someone working on this, but ...   Jun 12 2017, 12:18 AM
RoboCop   It's cool to see someone working on this, but...   Jun 12 2017, 07:36 AM
madmax2   When I get time I'll try your latest dll's...   Jun 13 2017, 12:23 AM
Solokiller   You've been asking for the headers for over a ...   Jun 13 2017, 08:06 AM
madmax2   Yes, I hear ya... I was just hoping... I think...   Jun 13 2017, 06:41 PM
RoboCop   Well from those mixed messages, I can't work o...   Jun 13 2017, 08:13 PM
Solokiller   Well i am Sam Vanheer, i made that branch. It...   Jun 14 2017, 06:51 AM
RoboCop   Well i am Sam Vanheer, i made that branch. It...   Jun 16 2017, 10:36 PM
RoboCop   Also I've been doing a stress test DMC with RC...   Jun 19 2017, 10:04 PM
Solokiller   I don't have much experience with RCBot, but b...   Jun 21 2017, 08:12 PM
RoboCop   I don't have much experience with RCBot, but ...   Jun 23 2017, 07:17 AM
Solokiller   Well that's the thing. I shouldn't toy wi...   Jun 24 2017, 09:14 AM
RoboCop   Here is the crash log using the debug build from u...   Jul 5 2017, 07:21 AM
Solokiller   I checked the code for DMC where it's failing:...   Jul 6 2017, 09:12 PM
madmax2   DMC was a supported mod... RCbot doe's work o...   Jul 7 2017, 09:14 PM
RoboCop   DMC was a supported mod... RCbot doe's work ...   Jul 8 2017, 04:37 PM
Ryusho   I admit I'm really currious how this is going,...   Sep 23 2017, 02:44 PM
RoboCop   Well recently I kinda got sidetracked when Alfred ...   Sep 25 2017, 07:25 AM
Ryusho   Thats really sad they don't seem to have any i...   Oct 15 2017, 04:21 AM
GiGaBiTe   As for v1.443-beta for Sven, Sniper and AdamR didn...   Oct 29 2017, 01:34 AM
RoboCop   Well this sucks I did ask and PM one of the Sven D...   Jun 27 2018, 05:33 PM
w00tguy123   RIP my bot babies. Their dirty chat knowledge wi...   Jul 11 2018, 03:21 AM
Solokiller   RIP my bot babies. Their dirty chat knowledge wil...   Jul 11 2018, 08:23 AM
RoboCop   Well I guess they don't want their 19 years of...   Jul 11 2018, 05:27 PM
Solokiller   They can easily make a separate repository that on...   Jul 12 2018, 01:28 PM
w00tguy123   Just curious, why does rcbot need updated headers ...   Oct 3 2018, 07:30 AM
w00tguy123   I haven't checked the bot code to see what it ...   Apr 17 2023, 10:09 AM
Gordon9999   I haven't checked the bot code to see what it...   Sep 6 2023, 04:49 PM
w00tguy123   They're fixed now! It turns out rcbot only...   Oct 15 2023, 01:02 AM


Reply to this topicStart new topic
10 User(s) are reading this topic (10 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 02:32 PM