tibiamaps / tibiamaps/tibia-map

[REQUEST] Range from selected coordinate

Open
#37 6 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

In Tibia, while in idle state, most NPCs will walk around in a random pattern however in a limited area. This area is set with a parameter on server side files for each NPC that compares the NPC start coording with N, where N is the "radius" in all directions from the starting coordinate.

For example, Cipfried, located at Rookgaard's temple (32088, 32217, 7), has a range set to 1, meaning he can only walk in the top 9 tiles from the temple (1 tile from the starting coordinate plus 8 tiles surrounding the starting coordinate).

Sem título

I believe a feature that a user could toggle a radius view of the selected point could be interesting. Perhaps not that much for the general public but fansite like TibiaWiki could benefit from that and make information richer. With that said, it should be possible for whoever is embedding the map to be able to toggle this feature via URL, similar to how one can just edit the selected coordinates.

Thank you for reading.

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 finding the code that handles selected coordinates and the existing URL options for embedded maps. The feature is done when a selected point can show its NPC walking radius and the view can be toggled through a URL parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
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.