Skip to content

My first pull request#5

Open
APGRoboCop wants to merge 769 commits into
rcbotCheeseh:masterfrom
APGRoboCop:master
Open

My first pull request#5
APGRoboCop wants to merge 769 commits into
rcbotCheeseh:masterfrom
APGRoboCop:master

Conversation

@APGRoboCop

Copy link
Copy Markdown

I don't know if this is how you do a proper pull request, but let me know if thats how its done!

pongo1231 pushed a commit to pongo1231/rcbot2 that referenced this pull request Jun 13, 2021
We use a link to build_info to avoid regenerating every file depending on bot_const.h after every update.

Versioning based off of SourceMod.

Closes rcbotCheeseh#5.
APGRoboCop and others added 30 commits June 4, 2026 21:43
>> Add availability check for SourceMod entity-property helpers (CBotEntProp::isAvailable) and skip bot thinking until entprops are ready to prevent null-deref crashes.

>> Include entprops header in bot code.

>> Replace several function-static variables with proper stack locals (bot schedule, waypoint navigator) and make task state local/const to avoid shared state and potential bugs

>> Make CBotSchedule non-copyable to prevent double-free, and initialize CCounterStrikeSourceMod::m_hBomb via default construction instead of NULL

>> Miscellaneous small refactors and comments explaining the changes
Attempting to resolve issue #55 but requires some tests from our testers.
Make per-bot debugging usable by auto-selecting the bot the player is aiming at, and add a route-size accessor for navigator debugging
Introduce a new waypoint subcommand 'reachable' that performs a flood-fill (DFS) from the player's current waypoint following outgoing paths. The command highlights every reachable node with a green debug overlay, reports the total number of reachable nodes, and prints per-flag node reachability (useful for diagnosing CTF connectivity). It validates the player's waypoint, updates the current waypoint, and registers the command in WaypointSubcommands.
#57 : sprint was effectively dead -- it required danger >=20 AND aux power  >90, so the bot only sprinted at near-full suit power and only when the danger metric spiked (rare). One brief sprint dropped power below 90 and it never sprinted again. Sprint whenever there's an enemy (or real danger), and we hold a usable chunk of power. (m_flSuitPower resolves fine -- nested under m_HL2Local, found by the recursive prop search.)
https: //github.com/caxanga334/rcbot2/commit/8c316e0a0eebfdcfab52f676cb2adbe7f13b39e9#diff-1e8da8a2801bb6b05612a775898322d6d304300e975d705dfbc491b229eee15c
Co-Authored-By: caxanga334 <[email protected]>
This "hl2_sprintspeed" is similar to caxanga334's "hl2_normspeed" but adapted for sprinting.

Co-Authored-By: caxanga334 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants