CrabAI Sentry Behavior Stuck In A Loop When Sweeping Up And Down

Open
#314 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
game-dev

Research direction

Start by finding the Crab sentry behavior and tracing how it sets the aim range while sweeping; compare that limit with the adjusted range used when the Crab is tilted. Reproduce with a Gatling Turret in sentry mode on a ramp, then verify it completes upward and downward sweeps without getting stuck.

Written by the indexing model from the issue text.

Description

bug

Description
When ACrab In Sentry Mode And Sweep Up Or Down It May Stuck
Because In Sentry Behavior Is Giving A Not Adjusted AimRange Limit

Image

When ACrab Is Tilt Up Or Down AimRange Limit Will Adjusted On That Too
But In Sentry Behavior Is Giving A Not Adjusted AimRange Limit
So When It Sweep Up Or Down And Reach The Adjusted AimRange Limit
But Sweep Only Stop When It Reach Not Adjusted AimRange Limit
So It Just Stuck In The Loop

To Reproduce

  1. Build A Ramp
  2. Put A Gatling Turret On Ramp
  3. Gatling Turret In Sentry Mode
  4. It Stop Moving After Try To Sweep Up Or Down

Version
6.2.2

Dominant language
C++
Stars
329
Forks
47
Avg merge
4d 18h
Merged PRs (30d)
12

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cortex-command-community/Cortex-Command-Community-Project

All issues in cortex-command-community/Cortex-Command-Community-Project

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.