SuperMartijn642 / MovingElevators

19 stars 15 forks source link

[Bug] Phasing through elevator as it goes up #152

Closed Kowantify closed 1 year ago

Kowantify commented 1 year ago

Version Info

**Are you using OptiFine? No, I'm using Rubidium

Description of the Bug Whenever going down on the elevator I don't have issues, but going up I phase through the floor every time

Steps to Reproduce Place an elevator, go up a floor, immediately phase through the floor, even on lowest blocks per tick setting

Screenshots

2023-01-28_13 44 32 2023-01-28_13 44 33 2023-01-28_13 44 34 2023-01-28_13 44 35 2023-01-28_13 44 35_2 2023-01-28_13 44 37 2023-01-28_13 44 38 2023-01-28_13 44 39 2023-01-28_13 44 39_2

Kowantify commented 1 year ago

This is happening in a quite large modpack, I'm not entirely sure what mod I have that is messing with moving entity's and so forth, but it definitely is messing with the mod, as the mod works fine with rubidium as tested

Kowantify commented 1 year ago

but when I go down the elevator it isn't smooth at all, my character stutters essentially, but when I test it by itself with some basic mods it's completely fine, is there a know mod that isn't compatible?>

SuperMartijn642 commented 1 year ago

What you're describing sounds a known issue with OptiFine. Are you sure you are not using OptiFine? As far as I know Rubidium just has performance optimizations and what you have in those screenshots looks like shaders.

If it's not OptiFine, you'll have to do some investigating to find which other mod is causing the issue.

Kowantify commented 1 year ago

100% not optifine, I've been doing modpacks for a very very long time, Optifine is trash, I've literally removed half my mods, it worked, removed the other half, it worked, I'm beyond confused, but I think it's a combo of mods that causes it, usually the motion of the elevator moving is very smooth, but it isn't anymore, What type of mod would mess with the elevator? I'll attach my mods I'm using, I tried removing 20 mods at a time to test but this is incredibly tedious and difficult to narrow down

What your seeing is "oculus" but it works just fine without the modpack, when it is just oculus and rubidium

Kowantify commented 1 year ago

This is the modpack list and the links to the curseforge pages in the modpack, I've also tested like I stated by removing half, tested, it worked, removed the other half, tested, it worked, all together, doesn't work, I'm beyond confused on what is could possibly be, hopefully this modlist will have somthing stick out as messing with moving tile entities

"To the Bat Poles!" (by EnderLanky) Ad Astra! (by AlexNijjar) Additional Enchanted Miner (by Kotori316) Advanced Chimneys (by EnderLanky) Alex's Mobs (by sbom_xela) AmbientSounds 5 (by CreativeMD) AppleSkin (by squeek502) Aquaculture 2 (by Shadowclaimer) Architectury API (Fabric/Forge) (by shedaniel) Awesome Dungeon - Forge (by jtl_elisa) Awesome Dungeon Nether edition - Forge (by jtl_elisa) Awesome Dungeon Ocean edition - Forge (by jtl_elisa) Awesome Dungeon The End edition - Forge (by jtl_elisa) Balm (Forge Edition) (by BlayTheNinth) Better Animal Models (by cybercat5555) Better Animations Collection (by Fuzs_) Better Combat [Fabric & Forge] (by daedelus_dev) Better Compatibility Checker (by Gaz_) Biomes O' Plenty (by Forstride) BlockUI (by H3lay) Bookshelf (by DarkhaxDev) Borderless Window (by SgtSalocin) Born in Chaos (by mongoose_artist) Botarium (by CodexAdrian) Camera Mod (by henkelmax) Canary (by AbdElAziz333) Catalogue (by MrCrayfish) Citadel (by sbom_xela) CleanCut (by Rongmario) Cloth Config API (Fabric/Forge) (by shedaniel) Configured (by MrCrayfish) Connectivity[Forge/Fabric] (by someaddon) Construction Wand (by ThetaDev) CorgiLib (by Corgi_Taco) CoroUtil (by Corosus) Corpse (by henkelmax) Cosmetic Armor Reworked (by LainMI) CraftPresence (by CDAGaming_) CreativeCore (by CreativeMD) Croptopia (by thethonk) Curios API (Forge) (by TheIllusiveC4) Decoration and Furniture (Forge) (by Skart2007) Diagonal Fences (by Fuzs_) Domestication Innovation (by sbom_xela) Domum Ornamentum (by OrionOnline) Dynamic Surroundings Resurrected (by theNyfaria) Easy Anvils (by Fuzs_) Enchantment Descriptions (by DarkhaxDev) Enhanced Celestials - Blood, Blue, & Harvest (Super) Moons (by Corgi_Taco) EnhancedVisuals (by CreativeMD) Entity Culling Fabric/Forge (by tr9zw) Fast Leaf Decay (by olafskiii) FastSuite (by Shadows_of_Fire) FerriteCore (Forge) (by malte0811) Fish of Thieves (by SteveKunG) ForgeEndertech (by EnderLanky) Framework (by MrCrayfish) FTB Library (Forge) (by FTB) FTB Teams (Forge) (by FTB) GeckoLib (by ThanosGecko) Global XP (by bl4ckscor3) Goblin Traders (by MrCrayfish) Grappling Hook Mod (by yyonne) Hammer Lib (by Zeitheron) Horse Expert (by Fuzs_) Hourglass (by DuckyCrayfish) HT's TreeChop (by hammertater) Incendium (by Starmute) Inventory Sorter (by cpw) inzhefop's Core (by inzhefop) Iron Chests (by ProgWML6) Iron Furnaces [FORGE] (by XenoMustache) Just Enough Items (JEI) (by mezz) Just Enough Resources (JER) (by way2muchnoise) Large Fluid Tank (by Kotori316) Large Ore Deposits (by EnderLanky) Lazy DataFixerUpper(LazyDFU) [FORGE] (by Corgi_Taco) Library Ferret - Forge (by jtl_elisa) Lucky TNT Lib (by Fleshcrafter_) Lucky TNT Mod (Too Much TNT) (by Fleshcrafter_) Macaw's Bridges (by sketch_macaw) Macaw's Bridges - Biome O' Plenty (by Samlegamer_) Macaw's Doors (by sketch_macaw) Macaw's Fences - Biomes O' Plenty (by Samlegamer_) Macaw's Fences and Walls (by sketch_macaw) Macaw's Furniture (by sketch_macaw) Macaw's Furnitures - Biomes O' Plenty (by Samlegamer_) Macaw's Lights and Lamps (by sketch_macaw) Macaw's Paintings (by sketch_macaw) Macaw's Paths and Pavings (by sketch_macaw) Macaw's Roofs (by sketch_macaw) Macaw's Roofs - Biomes O' Plenty (by Samlegamer_) Macaw's Trapdoors (by sketch_macaw) Macaw's Windows (by sketch_macaw) Magnesium/Rubidium Dynamic Lights (by TeamDeusVult) Magnesium/Rubidium Extras (by TeamDeusVult) MCA Reborn [Fabric/Forge] (by jahx_senpoopie) McJtyLib (by McJty) Mekanism (by bradyaidanc) Mekanism Generators (by bradyaidanc) Miner's Helmet (by ModdingLegacy) MineTraps (by XxRexRaptorxX) Mob Grinding Utils (by vadis365) Moonlight Lib (by MehVahdJukaar) Mouse Tweaks (by YaLTeR) Moving Elevators (by SuperMartijn642) MrCrayfish's Furniture Mod (by MrCrayfish) MT: ClaySoldiers2 [Forge] (by LazTheArtist) Multi Mine (by atomicstrykergrumpy) Multi-Piston (by H3lay) MultiBeds (by ShetiPhian) MultiCoreLib (by LazTheArtist) Nature's Compass (by Chaosyr) Neat (by Vazkii) Nosiphus Furniture Mod (by Nosiphus) Not Enough Crashes (Forge) (by NatanFudge) Nullscape (by Starmute) Nyf's Spiders (by theNyfaria) Oculus (by Asek3) Packing Tape (by gigaherz) Paintings ++ (by AbsolemJackdaw) Paladin's Furniture (by UnlikePaladin) Passthrough Signs (by Girafi) Patchouli (by Vazkii) Pipez (by henkelmax) Placebo (by Shadows_of_Fire) playerAnimator (by KosmX) Pluto (by AbdElAziz333) Polymorph (Forge) (by TheIllusiveC4) Powah! (Rearchitected) (by thetechnici4n) Puzzles Lib (by Fuzs_) Resourceful Config (by ThatGravyBoat) Resourceful Lib (by ThatGravyBoat) Rubidium (by Asek3) Rubidium Extra (by dimadencep) Rubik's Cube (by 7klima7) Saturn (by AbdElAziz333) Scalable Cat's Force (by Kotori316) SeasonHUD (by IanAnderson) Security Craft (by Geforce132) Serene Seasons (by TheAdubbz) ShetiPhianCore (by ShetiPhian) Silent Gear (by SilentChaos512) Silent Lib (silentlib) (by SilentChaos512) Silent's Gems (by SilentChaos512) Simple Voice Chat (by henkelmax) Simply Backpacks (by Flanks255) Simply Light (by Flanks255) Small Ships [Fabric & Forge] (by talhanation) Smooth Boot (Reloaded) (by AbdElAziz333) Solar Flux Reborn (by Zeitheron) Sound Physics Remastered (by henkelmax) Starlight (Forge) (by Spottedstar) Statues (by ShyNieke) Storage Labels (by MehVahdJukaar) Structory (by botanydev) Structurize (by H3lay) SuperMartijn642's Config Lib (by SuperMartijn642) SuperMartijn642's Core Lib (by SuperMartijn642) TerraBlender (Forge) (by TheAdubbz) Terralith (by Starmute) TexTrue's Rubidium Options (by TexTrue) Tom's Simple Storage Mod (by tom54541) Tool Stats (by DarkhaxDev) Tough As Nails (by TheAdubbz) Towns and Towers (by Biban_Auriu) Transparent (by Trikzon) U Team Core (by HyCraftHD) Visual Workbench (by Fuzs_) Waystones (by BlayTheNinth) Whisperwoods (by itsmeowdev) Xaero's Minimap (by xaero96) Xaero's World Map (by xaero96) YUNG's API (Forge) (by YUNGNICKYOUNG) YUNG's Better Desert Temples (Forge) (by YUNGNICKYOUNG) YUNG's Better Dungeons (Forge) (by YUNGNICKYOUNG) YUNG's Better Mineshafts (Forge) (by YUNGNICKYOUNG) YUNG's Better Ocean Monuments (Forge) (by YUNGNICKYOUNG) YUNG's Better Strongholds (Forge) (by YUNGNICKYOUNG) YUNG's Better Witch Huts (Forge) (by YUNGNICKYOUNG) YUNG's Bridges (Forge) (by YUNGNICKYOUNG) YUNG's Extras (Forge) (by YUNGNICKYOUNG) Zombie Awareness (by Corosus)

SuperMartijn642 commented 1 year ago

Moving Elevators relies on handling player movement for the elevator at the end of each tick, so most likely it would be a mod that messes with player movement in some way. The only mods that stand out to me from that are Canary and Better Animation Collection. Could be any of them though, just those two caught my attention. If it's not one of those, I can probably look into it tomorrow.

Kowantify commented 1 year ago

I removed all mods.. Issue is persising, with ONLY moving elevators installed

Kowantify commented 1 year ago

Forge Version, 43.2.4, Moving Elevators 1.3.11a, SMConfigLib: 1.1.6b, SMCoreLIb: 1.1.1a 1.19.2

No other mods installed elevator stutters, player falls through as elevator goes up

Kowantify commented 1 year ago

https://user-images.githubusercontent.com/35680697/215293424-53d03030-ffb2-4344-a6e3-2b8d92932324.mov

Ignore the incredibly low quality, had to edit it via davinci resolve to meet the 10MB cap for file uploads on github

This is with the mod only install, brand new world, all new testing, most recent forge version, and this happens

Kowantify commented 1 year ago

Forge version 43.2.0, Works Forge version 43.2.1, Works Forge Version 43.2.2, Works Forge Version 43.2.3, Works Forge Version 43.2.4, Doesn't Work

That's the problem, it is just the most recent version of forge causing an issue

SuperMartijn642 commented 1 year ago

Yup that seems to be it. Forge changed LevelTickEvent to also be fired on the client-side in 43.2.4. Moving Elevators used LevelTickEvent server-side and ClientTickEvent client-side to handle the elevator movement. Since LevelTickEvent is now also fired client-side, the elevator's movement handling got called twice every tick leading to the issues you were experiencing. A one line check does the trick for fixing it in 9fd0203118c38fad24cb769481e8de148be5b76e.

Should be fixed now in version 1.3.11b of Moving Elevators for 1.18, 1.19.2, and 1.19.3. Thanks a lot for the help and reporting the issue!

Kowantify commented 1 year ago

Thank you so much for looking into this and fixing it so fast!