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 134
    • Issues 134
    • 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
  • #905

Closed
Open
Created Aug 19, 2022 by Lollo Manzo@Lollotvkgg

Shoot mechanic spams errors in the console

Summary

Describe the bug encountered in detail.

When using the shoot mechanic with an item (like a bow) or by just using the /mm test cast command, the projectile doesn't match the options given in the configuration and a spam of errors fill the console.

Steps to reproduce

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

Create an item with the meta skill set. https://pastebin.com/asSSVgq3

Create a shoot skill with 2 more for the options onTick and onHit (neither of these options actually work like the rest). https://pastebin.com/My24itdE

Try to use the skill with the item or via command.

Current behavior

Describe what happens currently, while the bug is affecting your server.

When a player shoot a bow with a skill that uses the shoot() mechanic, the console will spam errors and the projectile will not match the configuration given in the skill file.

Intended correct behavior

Describe what you think should happen instead of the bug.

The projectile should match the options given and not spam errors in the console. And by the way, the set velocity of the projectile strangely works as it should be. (Also if you're asking, the /mm test cast command works with this skill, but still gives the errors in the console and doesn't match the options)

Server log file

Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.

https://pastebin.com/DA8h6Xv9

Debug log snippet

Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.

https://pastebin.com/2wsQCTw6

Proposed fixes

I have no idea why is this happening and how to solve it.

Edited Aug 19, 2022 by Lollo Manzo
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking