Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1855

Closed
Open
Created Mar 02, 2025 by LoneDevilX@LoneDevilX

Threattable bug (two bug noticed)

Summary

  1. BUG on Threat table name for specific drop https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/UsefulTips will show the name of same person @ThreatTablePlayers{limit=1;sort=HIGHEST_THREAT}. Top 1 is fine, just top 2 and 3 will be same person (if theres only two player hitting the boss)

Example: if theres only two player slain the boss: Top 1 = ABC Top 2 = YSL Top 3 = YSL (incorrect)

  1. BUG on Threat table player for droptable, putting <trigger.name> will give the reward to the top 1, putting <target.name> will show error: [18:33:46 INFO]: Can't find player with this name! ([name]) (Class -> Unknown)

Steps to reproduce

FIRST BUG:

  1. https://pastebin.com/QNnGhtkz
  2. /mm reload
  3. spawn the mob to test with survival mode
  4. If 2 player slain the boss will show Top 1 = ABC ; Top 2 = YSL ; Top 3 = YSL (incorrect) Picture : image
  5. If 3 player slain the boss will show correctly Top 1 = ABC ; Top 2 = YSL ; Top 3 = DEF Picture : image
  6. If 3 player slain the boss , one of them offline, it will exit from the ThreatTable Picture : image
  7. Then I add stuti=1/=2 https://pastebin.com/6VamvkFL, works properly.

SECOND BUG:

  1. example droptable https://pastebin.com/qnLheNKv using <target.name>
  2. /mm reload
  3. spawn mob and test with survival mode
  4. I am using as skill https://pastebin.com/6VamvkFL, it works well for Top 1 to Top 3 no matter how less player testing
  5. show error : https://pastebin.com/RQUDhN5p

OR

  1. example droptable https://pastebin.com/05VC3wHB using <trigger.name>
  2. /mm reload
  3. spawn mob and test with survival mode
  4. I am using as skill https://pastebin.com/6VamvkFL, it works well for Top 1 to Top 3 no matter how less player testing
  5. all reward will only give to TOP 1

Current behavior

FIRST BUG: the leaderboard does not show correct name. and the reward will be given to the same person (top 2 & top 3). Each of the top should have their specific reward instead of receiving two.

**SECOND BUG: **The reward is given to Top 1, and Top 2-3 does not receive any reward.

Intended correct behavior

FIRST BUG: the leaderboard should show correct sequence of name even tho its 2 player.

**SECOND BUG: **Each reward should be given to Top 1, Top 2 and Top 3. No duplicated reward given.

Server log file https://pastebin.com/Nx5A2t8K

Debug log snippet

https://pastebin.com/m4W4jZ6p

Proposed fixes

Just fix the <trigger.name> and im not sure https://pastebin.com/QNnGhtkz should works correctly before this?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking