AttackMaxDistance must be positive
Open
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
version 2025_07_14 what-will-become 2.1
XKore Mode
XKore 3
RO Server Name
Private Server
Link to RO server
its private server
Result
- in any map
- in any job or class
- maxdistance in config set to low for melee and high for hunter
attackDistance 1
attackDistanceAuto 1
attackMaxDistance 15
attackMaxRouteTime 4
attackMinPlayerDistance 2
attackMinPortalDistance 4
attackUseWeapon 1
attackNoGiveup 0
attackCanSnipe1
attackCheckLOS 1
attackRouteMaxPathDistance 20
this is for hunter config
Relevant Log Output
<img width="624" height="290" alt="Image" src="https://github.com/user-attachments/assets/83861115-301a-4eb3-9e2d-e194808405fa" />
Expected Result
i want to know if it is possible to let them attack without being hindered by this error? thanks
How to Reproduce
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the reported AttackMaxDistance validation with the supplied hunter configuration, then locate the code that reports “AttackMaxDistance must be positive.” Done should be defined by the expected behavior for the provided attack-distance settings and a regression check for the invalid-value case.
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
- Needs clarification
- Newbie friendliness
- 35/100