IPB

Welcome Guest ( Log In | Register )

2 Pages V  1 2 >  
Reply to this topicStart new topic
> 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
Cheeseh
post Jun 11 2017, 12:53 PM
Post #2


Admin
*****

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



QUOTE(RoboCop @ Jun 11 2017, 11:54 AM) *

This is a enhancement build for Sven Co-op v5.x

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

https://github.com/APGRoboCop/rcbot1

Known bugs:
>> Bots won't attack nor select better weapon when in combat for Sven Co-op v5.x
>> Opposing Force bots are immobilised and they tend to crash when they 'Hear sounds' from
CBot::HearSound(eSoundType, Vector, edict_s*) ()
pfnEmitSound(edict_s*, int, char const*, float, float, int, int) ()


Any help for testing or pointing out the dodgy src code from GitHub will be very much appreciated to assist the bots to behave better in Sven Co-op v5!

RCBot versions:
--------------
V 1.443_beta2
=---------=

added: support for Sven Co-op v5 for both Win32 and Linux builds
added: support for Opposing Force DeathMatch and CTF
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
changed: RCBot compiled with HLSDK 2.3-p4 and Metamod SDK v1.21
changed: all builds optimised for Pentium 4 SSE2 or higher processers

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.

pinned 2 wink.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
w00tguy123
post Jun 12 2017, 12:18 AM
Post #3


Advanced Member
***

Group: Members
Posts: 69
Joined: 9-March 07
Member No.: 1,069



It's cool to see someone working on this, but I'm not sure the attack bugs can be fixed without help from the SC devs. Some headers are needed last I remember?

Even then, bots might break more often now that SC is a stand-alone game (they can edit the engine code). Metamod might also stop working in the future.

Anyway, nice job. It'd be great to see the bots working again.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Jun 12 2017, 07:36 AM
Post #4


RCBot Fan
****

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



QUOTE(w00tguy123 @ Jun 12 2017, 01:18 AM) *

It's cool to see someone working on this, but I'm not sure the attack bugs can be fixed without help from the SC devs. Some headers are needed last I remember?

Even then, bots might break more often now that SC is a stand-alone game (they can edit the engine code). Metamod might also stop working in the future.

Anyway, nice job. It'd be great to see the bots working again.

Well when I joined Sven Discord channel and posted this release on their forums, its like they didn't show any interest on our latest RCBot. I wasn't sure of Sniper or any of the Sven devs are willing to help.

As for Metamod, I had to use the official Metamod-p-37 from Hullu but had to rename the /dlls/server.so as /dlls/hi_i386.so for Linux.

And I did recompile a Standalone version of RCBot just in case Metamod won't work for SC v5.

Saddly I'm no C++ professional, but at least I only know just enough to use MSVC++/VS2017 and Linux GCC - as well have it optimised for newer CPUs with SSE2.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Jun 13 2017, 12:23 AM
Post #5


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



When I get time I'll try your latest dll's, see what happens, thanks... smile.gif

I think the headers we need are cbase.h & basemonster.h, I believe one of these has to do with the enemy classes (friend or foe)?

Cheeseh also asked sniper for this last time he tried:

enum Ownership is missing
definition VAR_CUSTOM in entvartype_s is missing
undefined non pointer class CStringMap

I think Sniper may be the only one on the team that can help with this? If they are near another update (been about 1.5 months since last one), like within days, it's unlikely he will respond. This won't be a priority. The SC forums is not the best way to get in touch with sniper. Someone will need to ask him on discord (which I still don't have).

If another update is near, it might be best to try contacting him just after next update?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Solokiller
post Jun 13 2017, 08:06 AM
Post #6


Member
**

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



You've been asking for the headers for over a year, it doesn't matter if they're close to an update or not, it's not going to happen.
I'm just going to give you what you need:

CODE

enum Ownership
{
OWNERSHIP_AUTO = 0, //Automatic ownership
OWNERSHIP_YES, //Ownership
OWNERSHIP_NO //No ownership
};

typedef enum entvartype_s
{
VAR_CUSTOM = 8
} entvartype_t;


Reverse engineered from their Linux server library, with a little guess work involved, and the old Angelscript documentation that contains the Ownership enum.

I made the CStringMap class so i can give you that:
https://www.dropbox.com/s/kjt4mvmywcl5tnv/C...ingMap.rar?dl=0

I don't know if you can compile it without additional code from them though.

Don't expect any help from the team. They seem to want to drop support for anything Metamod related, and RCBot would require the constant releasing of their code. They don't want to release their stuff so it's unlikely that you'll ever get that.

Keep in mind that due to recent changes RCBot may crash, so try to update bare pointers to EHANDLE where needed to try to fix that.

What kind of problems are you experiencing with Metamod-P?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Jun 13 2017, 06:41 PM
Post #7


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



QUOTE
You've been asking for the headers for over a year, it doesn't matter if they're close to an update or not, it's not going to happen.


Yes, I hear ya... I was just hoping... I think Sniper may only release headers to Cheeseh, as he has done that for years. And not to just anyone that asks... I've only tried about twice this last year (He did do it once, but not the 2nd time)... but you could be correct...

I'll defer to Cheeseh & Robocop to comment on what you have provided...

Thanks Solo... smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Jun 13 2017, 08:13 PM
Post #8


RCBot Fan
****

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



Well from those mixed messages, I can't work out which solution to try out. Even though I'm trying to research on how to fix RCbot2 for TF2 along hosting my 16 vB site and running 60 servers for [APG].

Anyway, those src codes for RCBot1 were found as support for SC 4.5 and I had to add the new Sven v5 weapons for RCBot1. I have spotted out some modifications judging where Sven Viking, AdamR and Sniper have their src code comments provided which was added around 2010.

I've also reported to Hullu/Jussi Kivilinna from Metamod-P in Github on maybe allowing Sven Co-op v5 as he did devise Metamod-P.

https://github.com/jkivilin/metamod-p/issues/2

The Sven Co-op fans from the SC forums said that the Vanheer Metamod-P-39 lags more than the latest official version of MM-p-37 - and it does from where I experienced from my server. And the Jonnyboy version seems to have the similar issues as Vanheer, but I've not tried the JonnyBoy Metamod-P versionbefore.

As for the Standalone version of RCBot1 I had to ensure that detect server.so or server.dll from /dlls.

I may not been here for long but will Sniper only help on supporting RCBot1 more than just a tad - like making some kind of dividend? I know that Sven Co-op team are non-profit organisation and would appreciate maybe a recurring donation; seeing their game in Steam Store is Free To Play. But I don't know much on the history and relationship between RCBot and Sven.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Solokiller
post Jun 14 2017, 06:51 AM
Post #9


Member
**

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



Well i am Sam Vanheer, i made that branch. It's the only one that works properly with Sven Co-op, so the lag could be caused by their own changes. If there are problems with my build i can fix them as well.

The SC team really needs to revert the changes made to the engine interfaces, those are what requires the use of a custom build in the first place. Then the original Metamod-P builds should work with it, provided no other compatibility issues exist.

If you can convince them of that, great. I tried and they didn't go for it, and the general consensus is that they don't support third party mods. People have tried to get help to update AMX mod from the team and they haven't been that willing. If you can find a way to convince them (and Sniper specifically) then you should be able to get it done, but i wouldn't count on it.

EDIT: I didn't realize that you'd posted an issue on the Metamod-P repository, i've commented there: https://github.com/SamVanheer/Metamod-P-CMake/issues/4
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Jun 16 2017, 10:36 PM
Post #10


RCBot Fan
****

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



QUOTE(Solokiller @ Jun 14 2017, 07:51 AM) *

Well i am Sam Vanheer, i made that branch. It's the only one that works properly with Sven Co-op, so the lag could be caused by their own changes. If there are problems with my build i can fix them as well.

The SC team really needs to revert the changes made to the engine interfaces, those are what requires the use of a custom build in the first place. Then the original Metamod-P builds should work with it, provided no other compatibility issues exist.

If you can convince them of that, great. I tried and they didn't go for it, and the general consensus is that they don't support third party mods. People have tried to get help to update AMX mod from the team and they haven't been that willing. If you can find a way to convince them (and Sniper specifically) then you should be able to get it done, but i wouldn't count on it.

EDIT: I didn't realize that you'd posted an issue on the Metamod-P repository, i've commented there: https://github.com/SamVanheer/Metamod-P-CMake/issues/4


Well my friend Hullu appears to accepted my request for allowing support for the official Metamod-P version to support Sven v5. But I will continue to investigate and keep our eyes open.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Jun 19 2017, 10:04 PM
Post #11


RCBot Fan
****

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



Also I've been doing a stress test DMC with RCBot. I've loaded DMC with GDB as well running it on -debug and I found this crash from my Linux shell:-

CODE
Program received signal SIGSEGV, Segmentation fault.
0xf395d37b in CBotGAValues::get(int) ()
   from /home/desktop/steamcmd/hlds_l/rcbot/dlls/rcbot_mm.so
(gdb) bt
#0  0xf395d37b in CBotGAValues::get(int) ()
   from /home/desktop/steamcmd/hlds_l/rcbot/dlls/rcbot_mm.so
#1  0xf3983e7c in CPerceptron::setWeights(CBotGAValues*, int, int) ()
   from /home/desktop/steamcmd/hlds_l/rcbot/dlls/rcbot_mm.so
#2  0xf392240f in CBot::SpawnInit(int) ()
   from /home/desktop/steamcmd/hlds_l/rcbot/dlls/rcbot_mm.so
#3  0xf3924f56 in CBot::Think() ()
   from /home/desktop/steamcmd/hlds_l/rcbot/dlls/rcbot_mm.so
#4  0xf397bd0d in CBotGlobals::StartFrame() ()
   from /home/desktop/steamcmd/hlds_l/rcbot/dlls/rcbot_mm.so
#5  0xf397103f in StartFrame() ()
   from /home/desktop/steamcmd/hlds_l/rcbot/dlls/rcbot_mm.so
#6  0xf3d0b619 in ?? ()
   from /home/desktop/steamcmd/hlds_l/./dmc/addons/metamod/dlls/metamod.so
#7  0xf77f6c28 in SV_Physics () at ../engine/sv_phys.c:1985
#8  0xf77eeb26 in SV_Frame () at ../engine/sv_main.c:9236
#9  0xf77b6e92 in _Host_Frame (time=0.00706341583) at ../engine/host.c:1404
#10 0xf77b7252 in Host_Frame (time=0.00706341583, iState=1,
    stateInfo=0xffffbccc) at ../engine/host.c:1522
#11 0xf77db8dc in CEngine::Frame (this=0xf78726a0 <g_Engine>)
    at ../engine/sys_engine.cpp:245
#12 0xf77d8c43 in RunFrame (this=<optimised out>)
    at ../engine/sys_dll2.cpp:1235
---Type <return> to continue, or q <return> to quit---
#13 CDedicatedServerAPI::RunFrame (
    this=0xf786dd00 <__g_CDedicatedServerAPI_singleton>)
    at ../engine/sys_dll2.cpp:1226
#14 0x080498cc in main ()
(gdb)


I've not bothered with testing Sven just yet. Also here is the lest of Metamod addons I've used for my DMC server:-

CODE

] meta list
Currently running plugins:
[  1] Adminmod, v2.50.61-beta2 (MM), Jun 18 2017, by Alfred Reynolds & RoboCop <robocop@lycos.co.uk>, see www.adminmod.org
[  2] LogDaemon, v1.0.0.7, 2015/11/30, by Will Day <willday@metamod.org>, Tim Thelin, <Kndroc@hotmail.com>, Pieter de Zwart,
[  3] RCBot For Half-Life, v1.443_mm, Jun  4 2017, by Cheeseh (cheeseh@bots-united.com), see http://rcbot.bots-united.com
3 plugins

] meta version
Metamod v1.21.1-am  2013-09-26 (5:13)
by Will Day <willday@metamod.org>
   http://www.metamod.org/
compiled: Sep 26 2013, 17:09:41 -0500 (optimized)


Also does this rcbot crash logs mean anything or have any clues to you?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Solokiller
post Jun 21 2017, 08:12 PM
Post #12


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 #13


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 #14


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 #15


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
Solokiller
post Jul 6 2017, 09:12 PM
Post #16


Member
**

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



I checked the code for DMC where it's failing: https://github.com/ValveSoftware/halflife/b..._items.cpp#L841

My guess is the player class is being provided by RCBot and it doesn't have that method in it.
I don't think it was designed to work with DMC, i'm not quite sure about that. If the bot works with vanilla HL then it should be fine, it would just need special handling for DMC.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Jul 7 2017, 09:14 PM
Post #17


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



DMC was a supported mod...

RCbot doe's work on DMC & HLDM, with the old rcbotbeta (v1.441b) on windows. They do attack and I just observed them using several weapons on my old Sierra/WON install. They could have specific dmc code, dmc is listed as mod_id=7 in the weapons.ini file. But I think rcbot just uses the HLDM (player vs player) code for dmc.

I'm not sure if I ever tried rcbot for HLDM or DMC on steam? How long does it take to crash?
When I get some time, I can test rcbot HLDM/DMC on steam/windows... but not a long stress test...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Jul 8 2017, 04:37 PM
Post #18


RCBot Fan
****

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



QUOTE(madmax2 @ Jul 7 2017, 10:14 PM) *

DMC was a supported mod...

RCbot doe's work on DMC & HLDM, with the old rcbotbeta (v1.441b) on windows. They do attack and I just observed them using several weapons on my old Sierra/WON install. They could have specific dmc code, dmc is listed as mod_id=7 in the weapons.ini file. But I think rcbot just uses the HLDM (player vs player) code for dmc.

I'm not sure if I ever tried rcbot for HLDM or DMC on steam? How long does it take to crash?
When I get some time, I can test rcbot HLDM/DMC on steam/windows... but not a long stress test...

Well I'm sure if it's just DMC that is unstable with this latest beta build. I found various types of crashes coming from DMC that doesn't seem to include the quake_items.cpp:-

CODE
Program received signal SIGSEGV, Segmentation fault.
0xf38ea518 in WaypointFindPath (pPath=0xffffbba0, path_index=0xffffbb9c,
    waypoint_index=-1, team=-1) at waypoint.cpp:1086
1086             if ((*pPath)->index[*path_index] != -1)  // found a path?
(gdb) bt
#0  0xf38ea518 in WaypointFindPath (pPath=0xffffbba0, path_index=0xffffbb9c,
    waypoint_index=-1, team=-1) at waypoint.cpp:1086
#1  0xf38a6f57 in BotNavigate_FindPathFromTo (iFrom=-1, iTo=68, iTeam=-1)
    at bot_navigate.cpp:1728
#2  0xf38a72ab in BotNavigate_UpdateWaypoint (
    pBot=0xf392ab64 <gBotGlobals+59984>) at bot_navigate.cpp:1202
#3  0xf384885b in CBot::Think (this=0xf392ab64 <gBotGlobals+59984>)
    at bot.cpp:3542
#4  0xf38d1605 in CBotGlobals::StartFrame (this=0xf391c114 <gBotGlobals>)
    at globals.cpp:820
#5  0xf38bf4b4 in StartFrame () at dll.cpp:1188
#6  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
#7  0xf3d91fe2 in mm_StartFrame() [clone .lto_priv.63] ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#8  0xf77f9c28 in SV_Physics () at ../engine/sv_phys.c:1985
#9  0xf77f1b26 in SV_Frame () at ../engine/sv_main.c:9236
#10 0xf77b9e92 in _Host_Frame (time=0.00706122583) at ../engine/host.c:1404
#11 0xf77ba252 in Host_Frame (time=0.00706122583, iState=1,
    stateInfo=0xffffcf5c) at ../engine/host.c:1522
#12 0xf77de8dc in CEngine::Frame (this=0xf78756a0 <g_Engine>)
    at ../engine/sys_engine.cpp:245
---Type <return> to continue, or q <return> to quit---
#13 0xf77dbc43 in RunFrame (this=<optimised out>)
    at ../engine/sys_dll2.cpp:1235
#14 CDedicatedServerAPI::RunFrame (
    this=0xf7870d00 <__g_CDedicatedServerAPI_singleton>)
    at ../engine/sys_dll2.cpp:1226
#15 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766
#16 0x08049472 in main (argc=20, argv=0xffffd194)
    at ../dedicated/sys_ded.cpp:1146
(gdb)

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

Program received signal SIGSEGV, Segmentation fault.
0xf389cf44 in CBotGAValues::get (this=0x84083a0, iIndex=15) at bot_ga.cpp:108
108        return m_theValues[iIndex];
(gdb) bt
#0  0xf389cf44 in CBotGAValues::get (this=0x84083a0, iIndex=15)
    at bot_ga.cpp:108
#1  0xf38dd344 in CPerceptron::setWeights (this=0x939e658, vals=0x84083a0,
    iFrom=15, iNum=8) at perceptron.cpp:85
#2  0xf3842bbe in CBot::SpawnInit (this=0xf393421c <gBotGlobals+98568>,
    bInit=0) at bot.cpp:1680
#3  0xf38461e2 in CBot::Think (this=0xf393421c <gBotGlobals+98568>)
    at bot.cpp:2934
#4  0xf38d1605 in CBotGlobals::StartFrame (this=0xf391c114 <gBotGlobals>)
    at globals.cpp:820
#5  0xf38bf4b4 in StartFrame () at dll.cpp:1188
#6  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
#7  0xf3d91fe2 in mm_StartFrame() [clone .lto_priv.63] ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#8  0xf77f9c28 in SV_Physics () at ../engine/sv_phys.c:1985
#9  0xf77f1b26 in SV_Frame () at ../engine/sv_main.c:9236
#10 0xf77b9e92 in _Host_Frame (time=0.00779089006) at ../engine/host.c:1404
#11 0xf77ba252 in Host_Frame (time=0.00779089006, iState=1,
    stateInfo=0xffffcf5c) at ../engine/host.c:1522
#12 0xf77de8dc in CEngine::Frame (this=0xf78756a0 <g_Engine>)
    at ../engine/sys_engine.cpp:245
---Type <return> to continue, or q <return> to quit---
#13 0xf77dbc43 in RunFrame (this=<optimised out>)
    at ../engine/sys_dll2.cpp:1235
#14 CDedicatedServerAPI::RunFrame (
    this=0xf7870d00 <__g_CDedicatedServerAPI_singleton>)
    at ../engine/sys_dll2.cpp:1226
#15 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766
#16 0x08049472 in main (argc=20, argv=0xffffd194)
    at ../dedicated/sys_ded.cpp:1146
(gdb)


As you can see the crashes also occur from the waypoint.cpp and the bot_ga.cpp.

And for Sven I will need to do a debug test with that now and hope the players won't mind me using Debug mode that would impact the servers performance.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ryusho
post Sep 23 2017, 02:44 PM
Post #19


Member
**

Group: Members
Posts: 37
Joined: 25-December 08
Member No.: 1,436



I admit I'm really currious how this is going, IT's one of the few reasons I have not 'upgraded' to the latest Sven Coop, is that RCBot has, as far as I have known not been upgraded or updated to it, and I am more then willing to try to help test, or try to waypoint maps for it, although I sadly do not know enough about programming/coding to be able to actually help with some of the more in depth stuff.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Sep 25 2017, 07:25 AM
Post #20


RCBot Fan
****

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



Well recently I kinda got sidetracked when Alfred Reynolds had updated the HLDS Engine in 7th of July this year. Some of my players had reported that RCBot v1.442 for DMC crashes a bit more on this latest engine. I'm currently running v1.442 on Debug mode. I noticed that my DMC crashes with this quake_items.cpp error on v1.442 which isn't fully supported for Sven - unlike v1.443:-

CODE
Protocol version 48
Exe version 1.1.2.3/Stdio (dmc)
Exe build: 09:10:05 Jul  7 2017 (7561)

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

Program received signal SIGSEGV, Segmentation fault.
0xf7da3418 in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) bt
#0  0xf7da3418 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xf3ca6019 in MyTouch (pPlayer=0x8d731e8, this=0x8823368)
    at ../dmc/dlls/quake_items.cpp:877
#2  CItemAmmo::MyTouch (this=0x8823368, pPlayer=0x8d731e8)
    at ../dmc/dlls/quake_items.cpp:845
#3  0xf3ca5693 in CQuakeItem::ItemTouch (this=0x8823368, pOther=0x8d731e8)
    at ../dmc/dlls/quake_items.cpp:122
#4  0xf3d853b1 in api_caller_void_args_2p(void const*, void const*) ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#5  0xf3d84844 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  0xf3d8827e in mm_DispatchTouch(edict_s*, edict_s*) ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#7  0xf7803209 in SV_TouchLinks (ent=0xf46aeae4,
    node=0xf7c978e0 <sv_areanodes+544>) at ../engine/world.c:448
#8  0xf7803261 in SV_TouchLinks (ent=0xf46aeae4,
    node=0xf7c978c0 <sv_areanodes+512>) at ../engine/world.c:456
#9  0xf7803243 in SV_TouchLinks (ent=0xf46aeae4,
    node=0xf7c976c0 <sv_areanodes>) at ../engine/world.c:458
#10 0xf7803408 in SV_LinkEdict (ent=0xf46aeae4, touch_triggers=true)
    at ../engine/world.c:602
#11 0xf77feb16 in SV_RunCmd (ucmd=0xffffc7b0, random_seed=0)
---Type <return> to continue, or q <return> to quit---
    at ../engine/sv_user.c:1149
#12 0xf77feabc in SV_RunCmd (ucmd=0xffffc8b0, random_seed=0)
    at ../engine/sv_user.c:950
#13 0xf77feabc in SV_RunCmd (ucmd=0xffffc9b0, random_seed=0)
    at ../engine/sv_user.c:950
#14 0xf77feabc in SV_RunCmd (ucmd=0xffffca5c, random_seed=0)
    at ../engine/sv_user.c:950
#15 0xf77d3c76 in PF_RunPlayerMove_I (fakeclient=0xf46aeae4,
    viewangles=0xf46aebb4, forwardmove=0, sidemove=0, upmove=0, buttons=0,
    impulse=0 '\000', msec=255 '\377') at ../engine/pr_cmds.c:2545
#16 0xf389f691 in CBot::RunPlayerMove() ()
   from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so
#17 0xf38eb660 in CBotGlobals::StartFrame() ()
   from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so
#18 0xf38e0a6f in StartFrame() ()
   from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so
#19 0xf3d85285 in api_caller_void_args_void(void const*, void const*) ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#20 0xf3d8478f in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const*) ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
#21 0xf3d87dae in mm_StartFrame() ()
   from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so
---Type <return> to continue, or q <return> to quit---
#22 0xf77f9c88 in SV_Physics () at ../engine/sv_phys.c:1985
#23 0xf77f1b86 in SV_Frame () at ../engine/sv_main.c:9236
#24 0xf77b9ec2 in _Host_Frame (time=0.0292917266) at ../engine/host.c:1404
#25 0xf77ba282 in Host_Frame (time=0.0292917266, iState=1,
    stateInfo=0xffffce2c) at ../engine/host.c:1522
#26 0xf77de93c in CEngine::Frame (this=0xf78756a0 <g_Engine>)
    at ../engine/sys_engine.cpp:245
#27 0xf77dbca3 in RunFrame (this=<optimized out>)
    at ../engine/sys_dll2.cpp:1235
#28 CDedicatedServerAPI::RunFrame (
    this=0xf7870d00 <__g_CDedicatedServerAPI_singleton>)
    at ../engine/sys_dll2.cpp:1226
#29 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766
#30 0x08049472 in main (argc=20, argv=0xffffd064)
    at ../dedicated/sys_ded.cpp:1146
(gdb)


As for v1.443-beta for Sven, Sniper and AdamR didn't appear to show any interest or enthusiasm with those upgraded bots. They didn't share their headers or any tips on how to make those bots be more adapted for Sven v5. I'm guessing they don't want the bots nor the Metamod Addons to be supported for Sven nowadays.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

2 Pages V  1 2 >
Reply to this topicStart new topic
5 User(s) are reading this topic (5 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th November 2024 - 10:15 AM