IPB

Welcome Guest ( Log In | Register )

> TF2 rcbot2 crashes again after latest update (June 7 2018 update), TF2 crashes after a few minutes of adding bots
cerberus416
post Jun 8 2018, 01:33 PM
Post #1


Member
**

Group: Members
Posts: 12
Joined: 15-September 15
Member No.: 2,410



TF2 crashes again after latest update (June 7, 2018 Update)
Map loads just fine but after a few minutes of adding bots in the game it just crashes.
I tried some maps, different gamemodes but still crashes.
I also tried the RCBot2HookInfoUpdate but there no changes in the hookinfo.ini
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
RoboCop
post Jul 23 2018, 12:03 PM
Post #2


RCBot Fan
****

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



Well actually I had some help with Ducky, The_Time and Sorry guy who have been making some tests and tiny fixes. Ducky helped me find the latest hookinfo.ini for the offsets for TF2 and they seem to work fine without the cp_ crashes for having wrong offsets. Also as for the config.ini I've added some more cvars that weren't included in the config.ini but was already inside RCBot2.

Pongo/Ducky made some fixes for VSH as well added a cvar for the Welcome Message to be turned on/off:-

https://github.com/pongo1231/rcbot2

By the way the RCBot2 appears to crash less with having the cvars set with a interval around 5-10 seconds and have no more than 10 bots for TF2; like I got for this interval (aka intermission in US English).

CODE
rcbot_bot_quota_interval 10


Plus I've had to add some SM plugin blacklist as some plugins appears to interfere or prevent the bots from working. If you know any plugins that do make the RCBot2 not operate, please let us know - as well prevent any specific plugin from being loaded by typing this in server.cfg or preferably in config.ini:-

CODE
sm plugins unload smac_cvars.smx


Also my RCBot2 are currently being experimented as they seem to crash on some TF2 maps like sd_doomsday_event and some Halloween maps. And ordinary TF2 bots DON'T work on sd_doomsday and on most halloween maps due to the complexity of those Halloween missions.

Today I've been using RCBot2 Debug build for testing some modifications like removing 'Hook FireEvent', '#include "igameevents.h"' and 'm_pButtons'. Sorry guy suggested on adding this 'IGameEventListener2' in bot_plugin_meta.cpp:-

CODE
// Fix suggested by sorry guy - [APG]RoboCop[CL]
class CMyListener : public IGameEventListener2
{
    CMyListener()
    {
        // add myself as client-side listener for all events
        gameeventmanager->AddListener(this, "round_start", false );
        gameeventmanager->AddListener(this, "post_inventory_application", false );
        gameeventmanager->AddListener(this, "teamplay_round_win", false );
        gameeventmanager->AddListener(this, "player_hurt", false );
        gameeventmanager->AddListener(this, "player_death", false );
        gameeventmanager->AddListener(this, "bomb_pickup", false );
        gameeventmanager->AddListener(this, "player_footstep", false );
        gameeventmanager->AddListener(this, "player_spawn", false );
        gameeventmanager->AddListener(this, "bomb_dropped", false );
        gameeventmanager->AddListener(this, "teamplay_overtime_begin", false );
        gameeventmanager->AddListener(this, "player_healed", false );
        gameeventmanager->AddListener(this, "player_teleported", false );
        gameeventmanager->AddListener(this, "weapon_fire", false );
        gameeventmanager->AddListener(this, "player_sapped_object", false );
        gameeventmanager->AddListener(this, "object_destroyed", false );
        gameeventmanager->AddListener(this, "teamplay_point_captured", false );
        gameeventmanager->AddListener(this, "teamplay_round_active", false );
        gameeventmanager->AddListener(this, "teamplay_capture_broken", false );
        gameeventmanager->AddListener(this, "teamplay_capture_blocked", false );
        gameeventmanager->AddListener(this, "teamplay_point_startcapture", false );
        gameeventmanager->AddListener(this, "mvm_wave_failed", false );
        gameeventmanager->AddListener(this, "mvm_wave_complete", false );
        gameeventmanager->AddListener(this, "controlpoint_starttouch", false );
        gameeventmanager->AddListener(this, "controlpoint_endtouch", false );
        gameeventmanager->AddListener(this, "teamplay_round_start", false );
        gameeventmanager->AddListener(this, "teamplay_setup_finished", false );
        gameeventmanager->AddListener(this, "bullet_impact", false );
        gameeventmanager->AddListener(this, "object_destroyed", false );
        gameeventmanager->AddListener(this, "player_builtobject", false );
        gameeventmanager->AddListener(this, "player_upgradedobject", false );
        gameeventmanager->AddListener(this, "player_changeclass", false );
        gameeventmanager->AddListener(this, "teamplay_point_locked", false );
        gameeventmanager->AddListener(this, "teamplay_point_unlocked", false );
        gameeventmanager->AddListener(this, "mvm_bomb_alarm_triggered", false );
        gameeventmanager->AddListener(this, "teamplay_flag_event", false );
        gameeventmanager->AddListener(this, "ctf_flag_captured", false );
        gameeventmanager->AddListener(this, "dod_stats_weapon_attack", false );
        gameeventmanager->AddListener(this, "dod_bomb_exploded", false );
        gameeventmanager->AddListener(this, "dod_bomb_planted", false );
        gameeventmanager->AddListener(this, "dod_bomb_defused", false );
        gameeventmanager->AddListener(this, "dod_point_captured", false );
        gameeventmanager->AddListener(this, "player_changeclass", false );
        gameeventmanager->AddListener(this, "dod_round_start", false );
        gameeventmanager->AddListener(this, "dod_round_active", false );
        gameeventmanager->AddListener(this, "dod_round_win", false );
        gameeventmanager->AddListener(this, "dod_game_over", false );
    }

    void FireGameEvent(IGameEvent* pEvent)
    {
        CBotEvents::executeEvent((void*)pEvent,TYPE_IGAMEEVENT);    
    }
};


And if you want to contact us and our RCBot2 testers who know a minor bit on C/C++ join Bots-United Discord below here:-

https://discord.gg/zCSvyyC
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


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: 27th June 2025 - 04:20 AM