#Collab performance fixer mod

1 messages ยท Page 1 of 1 (latest)

slender locust
#

DM me and itll wake me up to let me know someone has some feedback thanks

abstract osprey
chilly pulsar
abstract osprey
#

Optimisation of what specifically

slender locust
#

hopefully Everything including parts of the game that the player doesnt even interact with

#

im trying to fix everything

#

this is v1

abstract osprey
#

what does that mean

shut cedar
#

This jar doesn't contain any code

#

๐Ÿฅ€

abstract osprey
#

Bru

slender locust
#

its on mine

abstract osprey
#

Do we summon mods

slender locust
#

?

#

wait wtf why yeah

#

i see that

#

im taking that down something went wrong

#

should not be 426 bytes

abstract osprey
# slender locust ?

You are vague, none of what you said relates to VS2, you posted a suspicious jar and deny explanation of what specifically you did

#

๐Ÿ’€

slender locust
#

its an attempt at making a mod like modernfix not for vs2 specific

#

im just litteraly looking for someone to help me test this i have the previous version here that isnt empty

#

but this is missing like 80% of the update

abstract osprey
#

From 1.0.0 to 8.5.0?

slender locust
#

yeah i didnt change that part yet im working on having alot rewote

#

i dont want to use a large number for alpha testing

#

im going to have to redo the main class it failed to get the rest of it on the compile

#

its not empty lol its just ****ed up a bit

#

i need to fix that they arent supposed to be mock behaviors

#

the implementation is not there for those

#

ill continue to post updated files here sorry for the time of day

#

i see delta is writing a novel

#

should i just leave?

shut cedar
#

k, so this uses janino (in-memory java compiler) to compile some arbitrary line of code stored as string and execute it. While currently the code in this string does not seem to be malicious it can easily be replaced with something harmful (or it is possible that I just missed something).

Anyways seems like a giant vulnerability that allows for arbitrary code execution with a simple mixin into AdaptiveOptimization class.

#

<@&1000126578094768228> I'd take it down, given that its not related to VS and may potentially be malicious

slender locust
#

im not making arbitrary code im giving it a predefined library of stuff to pull from locking it down so it cant take input and making it change its own implementations

fleet halo
#

uhhhh

slender locust
#

but yeah

shut cedar
slender locust
#

yeah im not done making this

wintry cradle
#

seems like an openiong for viruses

slender locust
#

...

wintry cradle
#

have you done more mods then that

#

send us a proper github user to look at previous stuff aswell

slender locust
#

I did one to fix flowing fluids making the entites and the time of day lag

#

github no

#

still learning about github

wintry cradle
#

all of minecraft mods developer uses github

#

and you dont ?

slender locust
#

ill have to look that up

#

no i just started talking to people about modding..

#

this is like a second attempt

#

im happy i was able to get the first one made

obtuse onyx
#

what is going on here

#

why have I been summoned

solar flare
#

It's him

slender locust
#

lack of experience is getting me publicly executed it seems

fleet halo
obtuse onyx
#

yeah

shut cedar
slender locust
#

which is why i was against posting it in bloody showcase instead of getting one other person to work with me in DMs

#

sorry

wintry cradle
fleet halo
#

๐Ÿ˜Ÿ

slender locust
#

... i dont know what im supposed to do from here am i fine to keep trying to get this to work and get rid of the janino part or is this a canned project?

#

like im actually trying to do something..

minor vine
#

The thing is that you are pretty new on this server and posting something that can potentially harm people

#

It's incredibly easy to make malware (totally not speaking from experience)

#

Even near undetectable one

slender locust
#

understood

minor vine
#

Not your fault per se but it's in human nature to be suspicious

slender locust
#

can i get some help so im not just trying to learn everything from google and AI

#

The fact that i didnt know Janino is a potential attack vector means i need someone with some actual experience to help guide this project

minor vine
#

Making a repo for a minor mod is an overkill imo

slender locust
#

i was trying to origionally get it all in one class like this here is my source code

#

from 8.5.0

minor vine
#

I don't know much about java but it sounds like it would be a hell to maintain

slender locust
#

it worked for flowing fluids but it lacked the rest of what i wanted

minor vine
slender locust
#

Ill talk with col9kam tomorrow on the github hes in mexico im over here its all dms

#

thanks

granite jungle
slender locust
heavy wyvern
slender locust
#

One moment

#

so wheres the simple part?

#

like i said im building it right now

#

i have to do it in steps or else how do i know it functions

#

that was a test version and im still working on it no github yet so this is my office lol

#

the one available right now is simple but it fixed alot of latency i was experiencing on my modpack reguarding flowing fluids mod

#

ill post the source here for yall when i get the mod to compile successfully instead of empty

slender locust
#

Np

slender locust
#

okay so talking with him this morning we are going to leave out dynamic code generation and make that its own mod and do targeted fixes here thanks for your guidance still fixing method declarations im glad ai is a thing to read these errors to me

slender locust
#

what it was said thats not secure

#

why skull emote?

#

google cant read me the error out

#

i doubt you want to

wintry cradle
#

OH you use translate and english isn't your main language?

slender locust
#

bosnian

#

he is spanish

#

sorry i need to say that early

wintry cradle
#

you should have started with explaining that as a first thing

this probaly made it hard for both sides to really understand eachother properly

slender locust
#

it is we have to make alot of paragraphs to say what is meant

wintry cradle
#

well you are already one leg invested

you code and coding is in english latters so just continue on evolving your english and grammer
its a must my dear friend

slender locust
#

thank you sorry for the trouble i made yesterday it was unintended i was told it was successful compile so i got very excited

wintry cradle
#

my brother you got tips from a few vs2 addon's dev's so you are in a good place

#

aslong as you are a good person that dont intend to infect us with viruses just continue asking vs2 addon's developers on tips for your respectfull project

slender locust
#

i just want the game to be able to run way more mods so i can have everything i want in one modpack without my cpu overheating

#

I have to delete alot of mods to get performance

wintry cradle
#

im sure they will be more then happy to guide you on the right way to do your intended stuff

worn fjord
#

To the point of performance, I will say something I've heard from others, it's moreso what people prioritize when making mods, they focus on the actual content(which is good) and less so on optimization (see mcreator)

slender locust
worn fjord
slender locust
#

ahh that makes sense thanks
538 510 495 errors left

worn fjord
#

I see how it could get mixed up

#

Parenthetical was a general exemplification but it was structured as linesr

slender locust
#

Maybe someone can help them make it better?

worn fjord
slender locust
#

heres the current source project folder so you can see what im up to i got 480 errors left to fix

#

so no it wont compile yet im working on it

#

460 errors left

slender locust
#

Continuing compilation error fixes 380 366 322 296 262 191 errors left

slender locust
#

Im having alot of fun working on this it does take alot of time mostly because fixing one thing errors something else but im pretty optimistic on this. The errors jumped to an insane number so somewhere there is one type causing alot to be invalid and its just a good second screen time passer while I watch YouTube honestly this is not a bad side hobby kinda like making a boat or something

#

I got to figure out that one change that caused more errors today but im sure when I find it it'll get rid of those errors made like it seems to do for 100 errors Ata time. Maybe a bit too complex for a second attempt mod. But im just going to work through it and just dedicate more hours to it because there's no reason I see to go backwards and simplify it after 3 weeks working on this. I dont know but I think im gonna have to cave and buy the license so my friend can work on it with me in parallel.

#

Hopefully I can get some good use out of it doing other stuff for you guys when I get done here.

slender locust
#

found better tools i can see exactly what i have broken now

#

penguin alpha is free right now also so its much faster than SWE-1 at explaining the errors after build gradle finishes its errors out

#

windsurf itself is way faster than intellij for my fixes

slender locust
#

35 errors left

slender locust
#

is not a valid mod file need to look into it

#

im excited this can be the last errors i got

#

just a missing dependancy declaration?

slender locust
#

i guess next is to make the chunks load faster more than just stay well and fast

#

i need to add some stuff to the F3 i can now open a chest immediately after spawn with no lag i need to test the water and stuff but im gonna go eat first

#

biome locator is still too slow for me

slender locust
#

Currently out getting food will be back working on making the chunks pregenerate with the extra overhead along as it doesn't push down tps and fps to an unacceptable rate

#

1.1.3 currently runs along 550 other mods in my pack but it can always do more

slender locust
#

that feels better

slender locust
#

time to ensure more of the features are making a proper impact

slender locust
#

Okay time to go make my own mods bye

wintry cradle
#

<@&1000126578094768228>

fleet halo
heavy wyvern
#

oh you manage to make it work! nice!
how does it optimize stuff?

slender locust
#

tick distribution and memory handling optimization triggered by low tps or fps and then returning the values to normal when the situation stablizes

fleet halo
#

is this entire thing vibe coded

#

wtf lol

slender locust
#

yeah and it fixed phillips issue he was having so im on the right track thats why i call it attempt not my masterpiece of skill and labor

abstract osprey
#

Did I miss anything

slender locust
#

if you dont accept vibe coding its not going to stop me from making this i need my world to function normally anyways

#

his crash was from the factory must grow so theres another thing im going to start covering, which im happy about.

#

I actually quite like this more than bug reporting

#

i also called the wrong mod info to you

#

the thing i just talked about was my VS addon not this

#

this performance thing is not a VS addon

#

that was for flowing fluids to stop causing tick lag on entities

#

the performance patcher was the one im currently on that affects VS

fleet halo
#

i'm looking at ur code rn ๐Ÿ˜ญ

slender locust
#

yeah look into performance patcher not here for VS stuff....

#

the new showcase one

heavy wyvern
slender locust
#

this mod is trashed also cause col9kam found a better way so he is taking over this project idea

#

its also using vibe coding but maybe he knows more than me

amber bolt
#

"vibe coded performance mod" is a sentence that should give you a hint about what you guys are doing, if not then I don't even know what to say anymore

#

like

#

really

#

This thing goes beyond everything that I could logically reason about

#

and yet here we are