tibiamaps / tibiamaps/tibia-map

exiva overlay near/far is off by one

Open
#41 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
33
Forks
21
PR merge metrics
No merged PRs in 30d

Description

From what I can tell from my own experiments, the cutoff point from near to far is 100 tiles, not 101.
i.e.
5–99 squares: to the [direction]
100–250 squares: far to the [direction]

So if I'm right, the exiva overlay is off by one. Would be good if someone else could check this too, just in case I made a mistake.

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 by reproducing the reported exiva overlay ranges and then trace the overlay's near/far distance calculation. Verify whether the cutoff is 100 tiles, as described, and update the behavior so 5–99 tiles show near and 100–250 tiles show far. Confirm the result with the same distance checks used during reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.