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
  • #1541

Closed
Open
Created Mar 13, 2024 by Timmie@timmienl

setvarloc gives console error BUT works

Summary

When I use this setup it gives an error I discussed with Lxlp and he told me to report it because everything should be working fine

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.

[14:58:08 WARN]: [MythicMobs] ✗ Configuration Error in Mechanic variableSetLocation
[14:58:08 WARN]: [MythicMobs] --| Skill: TurretSpawn_v1 | File: /home/container/plugins/MythicMobs/skills/timmieskilltest.yml
[14:58:08 WARN]: [MythicMobs] --| Error Message: Failed to get variable registry
[14:58:08 WARN]: [MythicMobs] --| Mechanic Line: setvarloc{var=target.JumpLocation;v=@SelfEyeLocation}

Skills:

TurretSpawn_v1:
  Skills:
  - summon{type=HuntsmanTurret} @self 
  - delay 1   
  - setvarloc{var=target.JumpLocation;v=@SelfEyeLocation} @Children

TurretJump_v1:
  Skills:
  - delay 1
  - lunge{velocity=1;velocityY=1} @VariableLocation{var=caster.JumpLocation}

Mobs:

HuntsmanTurret:
  Type: ARMOR_STAND
  Pose:
    RightArm: -60,0,90
    LeftArm: -60,0,-90  
  Options:
    Small: true  
    Interactable: false    
    Invisible: true    
    Invincible: true   
    HasArms: true    
  Equipment:
  - PLAYER_HEAD HEAD
  - LEATHER_CHESTPLATE CHEST
  - LEATHER_LEGGINGS LEGS
  - LEATHER_BOOTS FEET
  - BOW HAND   
  - BOW OFFHAND
  Skills:
  - skill{s=TurretJump_v1} ~onSpawn
  - skill{s=Turret_basic_ATTACK} ~onTimer:20
  - remove{delay=600} @self ~onSpawn  

any one knows why I get the error because everying works but MM doesnt like it and trows an error <@353257382811533322>

Current behavior

It trows a server error

Intended correct behavior

Don't give a server error because everything should work fine

Server log file

https://mclo.gs/cz4YBWH

Proposed fixes

Describe what you think the issue or any potential fixes may be.

Edited Mar 13, 2024 by Timmie
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking