OpenKore / OpenKore/openkore

[bug] Task SitStand infinity looping

Open
#3,346 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug need info
Dominant language
Perl
Stars
1.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

this was fixed in SitStand.pm changing from:

unless ($self->{mode} eq 'sit' xor $self->{actor}{sitting}) {

to:

unless ($self->{mode} eq 'sit' xor $char->{sitting}) {

my guess is, this task receive a copy of $char var and not a $char reference

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start in SitStand.pm and inspect how the task checks the character's sitting state while handling the sit/stand mode. Reproduce or review the reported infinity loop, then verify that the task retains and checks the current character state so it exits the loop correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
game-dev
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.