OpenKore / OpenKore/openkore

Bug report

Open
#4,035 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Openkore version git

OpenKore what-will-become-2.1 ( version ctime:2025_06_14 )

XKore Mode

XKore 0

RO Server Name

Latam

Link to RO server

https://www.gnjoylatam.com/pt

Result
  1. Using the program while farming with the rogue, I noticed an error message on the screen. I didn't find information on the forum about this, even though there is a #FIXME warning in the CoreLogic file (829 line). Error when using the Rogue skill STEAL COIN.
  2. Error occurs when using the command 'attackSkillSlot' in the 'config.txt' file in combination with the likely names of the desired skills, which in this case are RG_STEALCOIN or Afanar (pt-br).
  3. attackSkillSlot RG_STEALCOIN {
    lvl 10
    dist 1
    sp > 10%
    stopWhenHit 0
    inLockOnly 1
    notInTown 1
    monsters SAND_MAN, HODE, FRILLDORA
  4. Result:
    Error message:
    Can't use string ("attackSkill") as a SCALAR ref while "strict refs" in use at src/AI/CoreLogic.pm line 829.

Stack trace:
Can't use string ("attackSkill") as a SCALAR ref while "strict refs" in use at src/AI/CoreLogic.pm line 829.
at src/Interface/Wx.pm line 164
Interface::Wx::mainLoop('Interface::Wx=HASH(0x63be664)') called at openkore.pl line 97
main::__start() called at start.pl line 136

Interrompido nestá linha:
AI::dequeue;

  •   			${$args->{ret}} = 'timeout' if ($args->{ret});
      		}
    

errors.txt

Relevant Log Output

Expected Result

Use Steal Coin lv10 in the monsters.
The other functions are ok, but it would be interesting to solve this one that was mentioned. I hope there is information that can help resolve this issue. I have little knowledge about the codes, but I would like to better understand what can be done.

How to Reproduce

attackSkillSlot RG_STEALCOIN {
lvl 10
dist 1
sp > 10%
stopWhenHit 0
inLockOnly 1
notInTown 1
monsters SAND_MAN, HODE, FRILLDORA

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 at src/AI/CoreLogic.pm line 829 and reproduce the failure with the reported attackSkillSlot RG_STEALCOIN configuration. Compare the failing Rogue Steal Coin case with the other attackSkillSlot functions that work. Done means the configuration can use Steal Coin level 10 against the listed monsters without the strict-refs error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.