Coder Social home page Coder Social logo

[BUG] - about genesismc HOT 109 CLOSED

A53o avatar A53o commented on August 15, 2024
[BUG] -

from genesismc.

Comments (109)

Dueris avatar Dueris commented on August 15, 2024

Damnit why is it always this bug ;-;. To explain the bug, it's a bug in the conversion of origin data types bc it changed in that update. Basically the reading is broken. Due to it being an old version there isn't much I can do, but the only fix for 0.2.1 that we found was by deleting the playerdata folder for the user who caused the error. I have a copy on my pc that I'm working on to hopefully fix this error in the next version. Just haven't pushed anything in a while lol, also been working on a new project. Anyway, 0.2.3 will have a fix if everything goes well(prob 1.20.2 maybe). Sry

from genesismc.

A53o avatar A53o commented on August 15, 2024

When do you think it will be released? I think I can do 1.20.2 it just depends on if day night PVP works on 1.20.2 bc that is the only other plugin I have or is there an older version that works on 1.20.1 that does not have this bug

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Sry I meant the file not the folder, apologies. In the logs above where the error is printed you should see something abt the player logging in with something and it's a bunch of numbers and letters separated by a dash. That's the uuid. Go to ur overworld folder, then the datapacks folder, and delete the files that match that uuid, they should be a .dat file and a .dat_old

from genesismc.

A53o avatar A53o commented on August 15, 2024

Do I have to do that for every player also when I join the server it puts me in the ground huh?

from genesismc.

A53o avatar A53o commented on August 15, 2024

Also is the error a problem the only problem I have is I spawn in the ground huh?

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Only the player that caused the error. BUT BEFORE YOU DO IT, this deletes everything for that player. Inventory, ender chest, etc. This won't delete the blocks that have been placed tho. It will delete inventory, spawn location, current location, ender chest. That's it. That's why this bug is extremely annoying lol. If u want, you can disable genesis and wait for the next update, or I can get u a build when I patch it and send it here.

The spawning in the ground I got no clue what that is lol. Been struggling to figure that one out, might be vanilla but idk. Haven't had much time to look into it lol. Been a bit busy with HighSchool and canvas(another project I'm working on)

from genesismc.

A53o avatar A53o commented on August 15, 2024

I know what deleting the player data does I haven't opened my server yet I am only opening it once I have origins I have tried the origins plug-in itself but it's just terrible and it doesn't have all the origins

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Alright, apologies, was just making sure lol. If you delete the playerdata and you are the only one that has joined, it should be fine because that error occurs during translations of other versions. Again, the issue is still weird af and extremely annoying lol.

Sry for my late replies btw, was studying for a Calculus exam lol

from genesismc.

A53o avatar A53o commented on August 15, 2024

It's ok lol

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Try deleting the playerdata tho, if the issue pursists lmk(i doubt it would happen but who knows its a weird bug)

from genesismc.

A53o avatar A53o commented on August 15, 2024

No it does not work I still get the error dose the error make a problem?

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

damn i forgot how much i hated this bug when we first found it lmao. we are gonna try 1 last thing, if it doesnt work i will try and make a build that repatches your data(will be on 1.20.2, might just be a patched 0.2.2). try downgrading the plugin to 0.1.7, join, choose an origin, then leave, change the version back to 0.2.1, then the conversion code will execute(i hope). if not then imma cry bc 0.2.1 rewrote the entire plugin for custom origins and adding all the origins lol. normally the plugin runs fine... normally... actually i think 0.2.2 has the fixes, so you could upgrade to that along with the server version to 0.2.2. it also contains lots of patches for 0.2.1. im really sorry for this issue, 0.2.1 was kinda broken lolll

from genesismc.

A53o avatar A53o commented on August 15, 2024

So do I just have to upgrade my server to Minecraft 1.20.2 and upgrade to the plugin to 0.2.2 because I can do that I think I think that would just be simpler to upgrade the server and plugin also don't worry about anything you're doing your best

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

0.1.7 may not have this bug, but some origins won't work bc they all weren't fully coded. 0.2.1 was a rly buggy version, and idk when 0.2.3 is releasing bc I have been rly busy with stuff lately so there is no ETA. Sry

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

0.2.2 should have the patch to fix things tho, so yeah, you can try upgrading your server to 1.20.2, 0.2.2.

from genesismc.

A53o avatar A53o commented on August 15, 2024

Ok well I can do that I won't close this issue until I know that it works

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Did it work?

from genesismc.

A53o avatar A53o commented on August 15, 2024

I haven't tested it yet it's 8 am right now for me so

from genesismc.

A53o avatar A53o commented on August 15, 2024

I'll get back to you once I've tested it

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Alrighty

from genesismc.

A53o avatar A53o commented on August 15, 2024

well I installed 0.2.2 but the proxy is down and the proxy owner is not home so i need to wait lol

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok its back up

from genesismc.

A53o avatar A53o commented on August 15, 2024

it works!!! but i still spawn in the ground but it may just be lag but idk

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

I'm glad it works, I can look into the spawning in the ground bug later.

from genesismc.

A53o avatar A53o commented on August 15, 2024

its not a bug its lag my server tps was 1591 ticks behind 💀

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Oop

from genesismc.

therealrelic avatar therealrelic commented on August 15, 2024

when I do /origin gui therealrelic. it says an internal error occurred while attempting to perform this command. I've already retry to reinstall the plugin.

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Could you provide your server version, server type, plugin type, and any logs you can from the server?

from genesismc.

A53o avatar A53o commented on August 15, 2024

hay is there a why to optimise this plugin bc its very laggy

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Honestly it's quite difficult due to how the plugin runs. Which part is laggy? I can try and fix it

from genesismc.

A53o avatar A53o commented on August 15, 2024

When a player joins it kills the TPS before I had the plugin the server was I have had 5 players on at once and the server was fine

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Does it stay down or does it drop for a few seconds to a minute? Also, could you provide a spark profiler report of you doing the following:

  • joining and leaving
  • running around
  • break and place blocks
  • run a few origin commands
  • activate some powers(EX: starborne fling power)
  • kill a mob or 2
  • etc
    Basically just need as many things as possible to properly diagnose the issues going on so I can know what parts of the code need optimization

from genesismc.

A53o avatar A53o commented on August 15, 2024

Pretty much everything because it just kills the TPS the server goes 1500 ticks behind or my server is just not powerful eough

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Alright yeah imma need that spark report, i will try and optimize what's causing the performance issues

from genesismc.

A53o avatar A53o commented on August 15, 2024

What's the spark report? also thx do what you can

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Download the spark plugin first
Then restart the server and run /spark profiler start
Do the things in the list I sent and try and space out the actions, make the report about 3 minutes or more. Then run /spark profiler stop and send the link it provides here

from genesismc.

A53o avatar A53o commented on August 15, 2024

Ok I'll do that when I get home

from genesismc.

A53o avatar A53o commented on August 15, 2024

here it is https://spark.lucko.me/TobHIiUBzD

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Judging by the tasks being run I'm assuming u got Enderian?

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Screenshot_20231025_194143_Chrome
Ah yes 72% thread usage sounds just fine(it's not lmfao)

from genesismc.

A53o avatar A53o commented on August 15, 2024

yep

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

And a good 71% of that is being taken up by 1 task... fun

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Oh wait I fixed this before. DID I NOT PUSH THIS!?!?!

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Anyway, it's by working with entity rendering. Enderians can't see entities and players with pumpkins on their heads, and that custom origin task is using 71% of the server thread. Hold on a few minutes imma get u a working build, try that and send another report

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok cool so is it just the Enderian

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Yeah when 0.2.2 was released that power was VERY unoptimized so it was going over every single entity in the entire world checking rendering methods

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Now it at least SHOULD be better. If not then rip

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

I'm working on my remote ide system and it's taking so long to build lmao. May be a bit longer for a more optimized build

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok its fine

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Bro github doesn't support jar file types for upload....

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Hold on I'm getting a Wetransfer.com link lmfao

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

https://we.tl/t-yUQVjs5Ovp
Use that to download the updated plugin

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok im trying it now

from genesismc.

A53o avatar A53o commented on August 15, 2024

https://spark.lucko.me/hCc95l16Yg

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok so the Enderian is still very laggy rip

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

That improved things by 10%. Progress lol

from genesismc.

A53o avatar A53o commented on August 15, 2024

lol is there a way for you to optimise that more it dose not mater how long it takes

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Probably yes, just unsure due to me having to check the renderer so often. I could lower the tps rate for that task, and I can maybe try a few other things to optimize it, but it will take some experimenting

from genesismc.

A53o avatar A53o commented on August 15, 2024

yea its fine take your time i just need something that works and it dose not mater how long it takes

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

According to the spark report it's coming from the conditioner code so imma check that out first one sec

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Found whats causing the issue. I will try and create a better way of doing this, probably with pre-class loading methods

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok take your time i dont need it any time soon

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Alrighty, I may have an optimized build working by Sunday

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

Mainly bc I am busy with stuff this week lol. Probably would be Saturday at most

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok cool get back to me when you have it

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

testing something now

from genesismc.

A53o avatar A53o commented on August 15, 2024

Ok sweet

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

https://we.tl/t-7IYVcwQ5lMa

try that. idk how its doing bc my computer is using most of its cpu on other htings and its running so many things that is basically dying lol. also spark is broken bc the css is just gone lmfao

from genesismc.

A53o avatar A53o commented on August 15, 2024

Alr I'll test it latter today

from genesismc.

A53o avatar A53o commented on August 15, 2024

um the website is brokin
Screenshot_20231029_124629

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

lmao hold on

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

https://we.tl/t-qCAo99tMRd

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

new linky

from genesismc.

A53o avatar A53o commented on August 15, 2024

ok

from genesismc.

A53o avatar A53o commented on August 15, 2024

do i need to send a spark report

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

if you want then yes, but if it clearly performs better than no. spark css also kinda bork toda lmfao

from genesismc.

A53o avatar A53o commented on August 15, 2024

didn't work

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

rip

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

aight lemme continue tryin

from genesismc.

A53o avatar A53o commented on August 15, 2024

also it just lags when i join without an origin

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

mk

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

it seems to happen this time when joining the 2 thread proccesses i setup. i will fix this one sec.

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

i actually made it worse and my server just crashed lmao

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

who knew optimization would be a pain

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

oh damn i actually optimized that code a lot. its 214% faster now lol

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

ok i can prob optimize this more but at this point its basically the renderer thats taking most of the cpu. but it is noticeably faster

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

went from abt 90% cpu usage for the renderer to abt 30%

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

i have now implemented the ActionOverTime power ticker code for intervaling, which should slow down the rate from 20 tps for that power to abt 2 tps per second for that power. that should greatly reduce cpu usage bc its not operating on the renderer until the 1/2 second has passed.

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

now optimizing the chunk distance for it, it will run in a max of 7 chunks around the plyaer instead of the entire world. if theplayer render distance is smaller than 7 chunks it will run on that distacne

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

alright i optimized it from using ~80-90% of the main thread to ~10-25%

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

https://we.tl/t-d3XXkdpgWJ

from genesismc.

A53o avatar A53o commented on August 15, 2024

Thx I will test this later today it's 8:40 am lol

from genesismc.

A53o avatar A53o commented on August 15, 2024

its much better

from genesismc.

A53o avatar A53o commented on August 15, 2024

but i still get this [23:48:42 WARN]: Can't keep up! Is the server overloaded? Running 5256ms or 105 ticks behind

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

ye that will continue to happen from time to time due to how horribly unoptimized my code is lmao. which is why i have been working on optimizing it lol

from genesismc.

A53o avatar A53o commented on August 15, 2024

ik your doing your best minecraft is just very unoptimized

from genesismc.

Dueris avatar Dueris commented on August 15, 2024

yeah. sad that folia isnt supported tho, genesis could benifete a lot form folia, but making folia 100% compatible would mean months of work. i tried doing it before and dropped the commit due to me changing so many things with everyhting still erroring bc genesis intertwines itself into all of the threads everywhere all at once, meaning every line would need to be run on a different thread. rly annoying lol

from genesismc.

A53o avatar A53o commented on August 15, 2024

i might just have to wait for months as long as a have a plugin ill be happy it dose not matter how long i wait

from genesismc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.