Bestiary Session Analyzer for Tibia extracts monster kill data from your hunting log, calculates your kill rate, and estimates the time required to complete a Bestiary entry. This allows you to evaluate and improve your hunting efficiency for faster Bestiary completion.
- Extracts and processes hunting session logs.
- Calculates session duration and kill rates.
- Matches killed monsters with Bestiary data.
- Estimates remaining kills and time needed to complete Bestiary entries.
- Displays results in a dynamic table with real-time updates.
- Supports manual input for total kills to adjust calculations.
-
Load Bestiary Data:
The script loadsbestiary_data.json
, which contains monster names, kill requirements, and charm points. -
Extract Log Data:
- Parses the hunting log to extract session duration and killed monsters.
- Identifies relevant kill counts and correlates them with Bestiary entries.
-
Match Bestiary Data:
- Compares extracted monsters with Bestiary data.
- Computes remaining kills, estimated time for completion, and charms per hour.
-
Update Remaining Time:
- Users can input their total kills, and the system recalculates the remaining time and charms per hour.
-
Display Results:
- Outputs a structured table containing creature names, kill counts, estimated time to completion, and charm efficiency.
- Download or clone the repository.
- Ensure
bestiary_data.json
is available in the same directory. - Open
index.html
(or relevant UI) in a web browser. - Copy and paste your hunting session log into the designated input field.
- Click "Process Log" to analyze your session.
- Paste your session log into the input field.
- Click "Process Log" to process the log.
- The system will display a table with:
- Monster names (linked to the Tibia Wiki).
- Kills recorded in the session.
- Kills needed for Bestiary unlock.
- Estimated time remaining based on kill rate.
- Manually enter your total kills in the respective field.
- Click "Update Remaining Time" to refresh calculations.
- Click "Clear Inputs" to reset manual entries and revert to default calculations.
The Bestiary data file should contain an array of objects in the following format:
[
{
"Name": "Rotworm",
"Kills to Unlock": 500,
"Charms": 25
},
{
"Name": "Cyclops",
"Kills to Unlock": 1000,
"Charms": 50
}
]
- Loads and stores Bestiary data from
bestiary_data.json
.
- Extracts session duration and killed monsters from the user-provided log.
- Matches killed monsters with Bestiary entries.
- Computes remaining kills, estimated time, and charms per hour.
- Updates calculations when users enter total kill counts.
- Resets all user inputs and recalculates default values.
- Displays results in a formatted table.
Your hunting session log should resemble the following:
Session: 1:30h
Killed Monsters:
250x Rotworm
500x Cyclops
Looted Items:
Creature | Charm Points | Session Kills | Total Kills | Kills to Unlock | Kill Rate | Kills Left | Time Remaining | Charms per Hour |
---|---|---|---|---|---|---|---|---|
Rotworm | 25 | 250 | (user input) | 500 | 2.78 kills/min | 250 | 1.5 hr | 16.67 charms/hr |
Cyclops | 50 | 500 | (user input) | 1000 | 5.56 kills/min | 500 | 1.5 hr | 33.33 charms/hr |
- If a monster does not exist in
bestiary_data.json
, it will be ignored. - Time estimates assume consistent kill rates throughout the session.
- Charms per hour depend on the total Bestiary completion time left.
- Implement progress tracking across multiple sessions.
- Support advanced filtering and analytics for optimized hunting strategies.
This project is open-source and free to use. Contributions are welcome.