Yamipa

Yamipa

3.7k Downloads

Images are invisible and can't remove or place

Agaloth opened this issue ยท 9 comments

commented

After the latest update on spigot 1.2.10, images aren't working anymore.

[15:33:42 ERROR]: Could not pass event PlayerInteractEvent to YamipaPlugin v1.2.10
java.lang.IllegalStateException: Unable to set value of field private final java.lang.Iterable net.minecraft.network.protocol.BundlePacket.a
at com.comphenix.protocol.reflect.accessors.DefaultFieldAccessor.set(DefaultFieldAccessor.java:44) ~[ProtocolLib #638.jar:?]
at com.comphenix.protocol.reflect.StructureModifier.writeInternal(StructureModifier.java:359) ~[ProtocolLib #638.jar:?]
at com.comphenix.protocol.reflect.StructureModifier.write(StructureModifier.java:322) ~[ProtocolLib #638.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeEntity.tryToSendPackets(FakeEntity.java:111) ~[YamipaPlugin-1.2.10.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.destroy(FakeImage.java:478) ~[YamipaPlugin-1.2.10.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.destroy(FakeImage.java:454) ~[YamipaPlugin-1.2.10.jar:?]
at io.josemmo.bukkit.plugin.renderer.ImageRenderer.removeImage(ImageRenderer.java:270) ~[YamipaPlugin-1.2.10.jar:?]
at io.josemmo.bukkit.plugin.commands.ImageCommand.removeImage(ImageCommand.java:270) ~[YamipaPlugin-1.2.10.jar:?]
at io.josemmo.bukkit.plugin.commands.ImageCommand.lambda$removeImage$3(ImageCommand.java:254) ~[YamipaPlugin-1.2.10.jar:?]
at io.josemmo.bukkit.plugin.utils.SelectBlockTask$SelectBlockTaskListener.handle(SelectBlockTask.java:182) ~[YamipaPlugin-1.2.10.jar:?]
at io.josemmo.bukkit.plugin.utils.SelectBlockTask$SelectBlockTaskListener.onBlockInteraction(SelectBlockTask.java:135) ~[YamipaPlugin-1.2.10.jar:?]
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[pufferfishplus-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[pufferfishplus-api-1.19.4-R0.1-SNAPSHOT.jar:git-PufferfishPlusPurpur-19]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[pufferfishplus-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent() ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent() ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[pufferfishplus-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.event.CraftEventFactory.callPlayerInteractEvent() ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.server.level.ServerPlayerGameMode.a(ServerPlayerGameMode.java) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.a(ServerGamePacketListenerImpl.java) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.util.thread.BlockableEventLoop.d(BlockableEventLoop.java) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.d(ReentrantBlockableEventLoop.java) ~[?:?]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.util.thread.BlockableEventLoop.x(BlockableEventLoop.java) ~[?:?]
at net.minecraft.server.MinecraftServer.bi(MinecraftServer.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.util.thread.BlockableEventLoop.c(BlockableEventLoop.java) ~[?:?]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java) ~[pufferfishplus-1.19.4.jar:git-PufferfishPlusPurpur-19]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassCastException: Cannot cast net.minecraft.network.protocol.BundleDelimiterPacket to net.minecraft.network.protocol.BundlePacket
at java.lang.Class.cast(Class.java:3889) ~[?:?]
at com.comphenix.protocol.reflect.accessors.DefaultFieldAccessor.set(DefaultFieldAccessor.java:41) ~[ProtocolLib #638.jar:?]
... 35 more

commented

This is my protocollib version:

[15:36:22 INFO]: ProtocolLib version 5.0.0-SNAPSHOT-638

commented

Hello @Agaloth,

Upgrading to the latest ProtocolLib dev build (642 or greater) should fix the problem.

commented

@josemmo I figured I'd type it here since it's not fixed

commented

Please provide more details about your server (version, plugins and versions).

commented

Please provide more details about your server (version, plugins and versions).

This server is running UniverseSpigot version git-UniverseSpigot-"1954a51" (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 1954a51 on ver/1.20.4-stable)
Universe-git-UniverseSpigot-"1954a51" (MC: 1.20.4)

[10:00:19 INFO]: Server Plugins (127):
[10:00:19 INFO]: Paper Plugins:
[10:00:19 INFO]: - EcoBits, FancyHolograms, MarriageMaster, RoseStacker
[10:00:19 INFO]: Bukkit Plugins:
[10:00:19 INFO]: - AdvancedRegionMarket, AdvancedVanish, ajLeaderboards, *ajStartCommands, AntiTrap, AxBoosters, AxEnvoy, AxiomPaper, AxKoth, AxSellwands
[10:00:19 INFO]: AxTrade, BedrockTextPlaceholder, BiomeChanger, BlockLocker, BlueEventsClientBukkit, BreweryX, ChatComplete, ChatSentry, Chunky, ChunkyBorder
[10:00:19 INFO]: Codex, ColoredAnvils, *CommandRegions, CommandWhitelist, CommunityGoals, CoreProtect, CustomKitGUI, CustomShopGUI, DeathLocation, DeluxeAnnounce
[10:00:19 INFO]: DeluxeCombat, DeluxeMenus, DeluxeTags, DiscordSRV, DiscordSRV-Staff-Chat, DomainStats, eco, EcoArmor, EcoEnchants, EcoItems
[10:00:19 INFO]: EcoJobs, Essentials, EssentialsHomeStack, EssentialsSpawn, FarmControl, FastAsyncWorldEdit, floodgate, FreedomChat, GroupCommands, GSit
[10:00:19 INFO]: HeadDatabase, InventoryRollbackPlus, InvisibleItemFrames, ItemCommands, ItemsAdder, JakesRTP, JetsAntiAFKPro, KixsChatGames, LeaderboardRewards, libreforge
[10:00:19 INFO]: LibsDisguises, LiteBans, LoneLibs, LuckPerms, MapTowny, MCPets, MessageSounds, ModelEngine, Multiverse-Core, MyCommand
[10:00:19 INFO]: MythicDungeons, MythicMobs, MythicMobsPAPI, NBTAPI, NightMarket, NightVision, OpenInv, PhoenixCrates, PinataParty, PlaceholderAPI
[10:00:19 INFO]: Plan, PlayerAuctions, PlayerAuctions, PlayerPoints, PlayerVaults, PlayerWarps, PlaytimeReset, PlugManX, ProtocolLib, PyroFarming
[10:00:19 INFO]: PyroFishingPro, PyroLib, QuickShop-Hikari, RankDisplay, RankupMenu, ResetVaults, RoseLoot, SafariNet, ScoreboardManager, ServerTutorialPlus
[10:00:19 INFO]: ShopSignGeyser, SignColor, spark, SpawnerShutdown, squaremap, *STN-Studios-API, SuperbVote, TAB, Tebex, Towny
[10:00:19 INFO]: TownyFlight, TownyMenu, UltimateAutoRestart, Vault, VentureChat, ViaBackwards, ViaVersion, Votifier, Vulcan, WorldGuard
[10:00:19 INFO]: WorldGuardExtraFlags, YamipaPlugin, ZNPCsPlus

Version of Yamipa: YamipaPlugin-1.3.2-SNAPSHOT.jar (wasn't working with latest release as well)

Is there a way to contact you possibly, I'll pay to get this fixed, I need it since it's quite useful for a core feature on my server @josemmo

commented

It seems to invalidate images that are placed:

[10:11:13 INFO]: [YamipaPlugin] [FakeImage] Invalidated FakeImage#(Location{world=CraftWorld{name=spawn},x=-1229.0,y=73.0,z=132.0,pitch=0.0,yaw=0.0},NORTH)
[10:11:13 INFO]: [YamipaPlugin] [ImageFile] Invalidated cached maps "10-6" in ImageFile#(FarmingVillage)

commented

UniverseSpigot is not officially supported, for a list of supported platforms see this link.

commented

This still happens

commented

[16:08:54 INFO]: [YamipaPlugin] [ImageRenderer] Player#Steyahh moved to WorldArea#(earth_nether,-10,-16)
[16:08:55 INFO]: Quifxu issued server command: /pv 1
[16:08:55 INFO]: [YamipaPlugin] [ImageRenderer] Player#*Best_Jake20 moved to WorldArea#(earth,36,7)
[16:08:55 INFO]: [YamipaPlugin] [ImageRenderer] Player#ToxSin moved to WorldArea#(spawn,-22,-12)
[16:08:55 INFO]: [YamipaPlugin] [ImageRenderer] Player#Agaloth moved to WorldArea#(spawn,-20,-2)
[16:08:55 INFO]: [YamipaPlugin] [ImageRenderer] Player#SuhhTV moved to WorldArea#(spawn,-25,-6)
[16:08:57 INFO]: [YamipaPlugin] [ImageRenderer] Player#SuhhTV moved to WorldArea#(spawn,-24,-6)
[16:08:57 INFO]: [YamipaPlugin] [ImageRenderer] Player#JustNinja02 moved to WorldArea#(earth,38,-136)
[16:08:58 INFO]: [YamipaPlugin] [ImageRenderer] Player#MysteriousGhouls moved to WorldArea#(resource,27,1)
[16:08:58 INFO]: [YamipaPlugin] [ImageRenderer] Player#NOTEJ51 moved to WorldArea#(spawn,-20,-3)
[16:08:58 INFO]: [YamipaPlugin] [ImageRenderer] Player#Agaloth moved to WorldArea#(spawn,-20,-1)
[16:08:58 INFO]: [YamipaPlugin] [ImageRenderer] Player#talety moved to WorldArea#(earth,-233,-35)
[16:08:59 INFO]: [YamipaPlugin] [ImageRenderer] Player#Agaloth moved to WorldArea#(spawn,-20,0)
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Received request to destroy FakeImage#(Location{world=CraftWorld{name=spawn},x=-1238.0,y=82.0,z=-155.0,pitch=0.0,yaw=0.0},WEST) for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872243 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872244 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872245 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872246 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872247 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872248 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872249 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872250 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872251 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872252 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872253 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872254 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872255 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872256 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872257 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872258 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872259 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872260 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872261 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872262 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872263 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872264 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872265 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872266 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872267 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872268 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872269 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872270 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872271 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872272 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872273 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872274 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872275 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872276 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872277 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872278 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872279 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872280 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872281 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872282 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872283 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872284 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872285 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872286 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872287 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872288 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872289 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872290 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872291 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872292 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872293 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872294 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872295 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872296 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872297 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872298 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872299 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872300 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872301 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Destroyed FakeItemFrame#536872302 for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [FakeImage] Received request to spawn FakeImage#(Location{world=CraftWorld{name=spawn},x=-1229.0,y=73.0,z=132.0,pitch=0.0,yaw=0.0},NORTH) for Player#Agaloth
[16:08:59 INFO]: [YamipaPlugin] [ImageRenderer] Player#Grifion moved to WorldArea#(resource,-94,43)
[16:09:00 INFO]: [YamipaPlugin] [ImageRenderer] Player#Agaloth moved to WorldArea#(spawn,-20,1)
[16:09:01 INFO]: [YamipaPlugin] [ImageRenderer] Player#VeryBeeaary moved to WorldArea#(earth,-156,-208)
[16:09:01 INFO]: Played sound minecraft:entity.villager.ambient to SuhhTV
[16:09:02 INFO]: [YamipaPlugin] [ImageRenderer] Player#Agaloth moved to WorldArea#(spawn,-20,2)
[16:09:02 INFO]: textercraft issued server command: /refund
[16:09:02 INFO]: [YamipaPlugin] [ImageRenderer] Player#JustNinja02 moved to WorldArea#(earth,39,-136)

Dissapeared one
image

After reloading:
image