#[IN DEV] CVN (Cross-Version-NMS)

1 messages · Page 7 of 1

rigid saffron
#

what

woven arrow
#

with the masstester

#

you said you needed some help

rigid saffron
#

I needed help with the matcher

#

But I have a headache

woven arrow
#

yeah

rigid saffron
#

Just finish the masstester

woven arrow
#

just push your code 😭

rigid saffron
#

Code?

woven arrow
#

thought you made some changes?

rigid saffron
#

I have not written anythinf for the masstester

woven arrow
#

you said you made it work for mappings too 😭

rigid saffron
#

It's a different thing

woven arrow
#

oh

spiral onyx
#

release cvn

rigid saffron
#

can't

#

we're stuck in mappings

#

quite deep

woven arrow
#

then don't get stuck

rigid saffron
#

stuck to deep to get unstuck

#

to not get stuck you need to get unstuck first

spiral onyx
#

release cvn

woven arrow
#

@rigid saffron

#

release cvn

rigid saffron
#

no

#

unless you can fix the mapping thing

rigid saffron
#

GUYS

#

GUYS

#

IMPORTANT

#

I FIXED THE MAPPINGS

#

I FIXED IT

#

to be more specific, the mappings generator

#

everything is remapped!

#

this is grat

#

great

#

I can't believe it

#

progress!

#

@fallow sky can you believe it???

#

progress!

fallow sky
#

NO WAYYY

rigid saffron
woven arrow
#

@rigid saffron now rewrite it in kotlin

rigid saffron
woven arrow
#

you wouldn't have even run into issues if you had just used kotlin

rigid saffron
woven arrow
rigid saffron
#

@fallow sky are you dum

fallow sky
#

I learned so much since I made this 💀

fallow sky
#

not using Path#resolve ?

rigid saffron
fallow sky
#

I'll fix that x)

rigid saffron
#

new File(plugin.getTempFolder(), "cvnjar") works

rigid saffron
#

don't please

fallow sky
#

not rn

rigid saffron
#

you'll fuck my local changes

woven arrow
#

why not cvn.jar 💀

rigid saffron
#

I'll do it myself

fallow sky
#

not a file

rigid saffron
woven arrow
#

oh

fallow sky
#

WE SAID IT BOTH AT THE SAME TIME

woven arrow
#

that's dum

fallow sky
#

WE SHOULD BE TOGETHER

fallow sky
rigid saffron
rigid saffron
#

Your current remapping system is quite shchewpid

woven arrow
#

i just wanted to ga; gca; gp but that did NOT work

#

then i tried gpr and that created merge conflicts 💀

rigid saffron
#

(Lga;Lgca;Lgp;I)V

woven arrow
#

git add; git commit --amend; git push

rigid saffron
#

The fact I know the format is a big sign of brain damage

woven arrow
#

real

rigid saffron
#

Didn't Ike work with the jvm?

woven arrow
#

yea

rigid saffron
#

And I think 14 did some bytecode?

woven arrow
#

yea iirc

rigid saffron
fallow sky
rigid saffron
#

bien

woven arrow
#

you dum?

rigid saffron
#

bien means good iirc

woven arrow
#

bien is an adverb

rigid saffron
woven arrow
rigid saffron
#

bien banana

#

Or something

#

Btw Idk a single bit of french

#

I never had to learn it because I have russian as my third lang

#

And I would choose latin over french because latin makes sense and if I know latin there are less people who I can talk to so I can receive less social contact which is a great bonus

fallow sky
fallow sky
rigid saffron
#

Oh, sorry, didn't notice it'd feminine

woven arrow
#

me when gendersprache

rigid saffron
#

Gendersprache deine Mutter or something

woven arrow
#

real

rigid saffron
#

Add "deine Mutter" to the end of any sentence and it becomes offensive

junior onyx
#

writing hundreds of descriptors over and over is a sign of brain damage

rigid saffron
#

or

#

sentence my ass your mom

#

indeed

woven arrow
#

satz mein arsch deine mutter

rigid saffron
#

Duetschland

woven arrow
#

dütschland yes

rigid saffron
#

Who tf says Dütschland tho

woven arrow
#

YOU PUT DUETSCHLAND

rigid saffron
#

Yes but

#

Like

#

Who tf actually, seriously says that

woven arrow
#

what

rigid saffron
#

Have you ever heard anybody say dütschland seriously

#

And not just laughing about dialects or something

woven arrow
rigid saffron
fallow sky
#

a

#

b

#

c

#

d

#

e

#

f

#

g

#

I know the alphabet

woven arrow
#

holy shit

rigid saffron
#

@fallow sky what drugs where you on when writing this

#

it seems very strong

woven arrow
#

SKULL

#

i can just ignore these safely

#

but

#

wtf

rigid saffron
#

holy fuck I will need to rewrite like half of CVN

#

good job paulem

woven arrow
#

kek

rigid saffron
#

yeah this will be a fuckton of shit to rewrite

#

"let's make a libary for cross-version nms, with the exception that I do not know how"

#

the only thing paulem did pretty well was writing the asm code

#

good job paulem

woven arrow
#

lmao bro is not happy

rigid saffron
woven arrow
#

that's a // FIXME

rigid saffron
#

this is a swamp

#

a swamp of shit, the further you go the deeper in the shit you are

fallow sky
rigid saffron
#

where you smoking 110% marijuana or what

fallow sky
#

yeah

rigid saffron
#

this should happen by itself later

fallow sky
#

okay

rigid saffron
#

by later I mean "once needed"

#

I actually don't know how it will behave with on-startup plugins

#

might have to enable them ourselves

#

we'll see

fallow sky
#

okay

rigid saffron
#

wtf is this return value

#

some hellish shit

fallow sky
#

yeah

rigid saffron
#

this is the reason I hate tuples

#

they make no sense

fallow sky
#

humm

rigid saffron
#

code readability when tuple is used: -1000

rigid saffron
fallow sky
rigid saffron
#

all the class files?

fallow sky
rigid saffron
#

where does it extract the file

#

s

fallow sky
#

in some directories

rigid saffron
#

asm-remap

#

hmm

fallow sky
#

every directories are in the main file

rigid saffron
#

maybe if we add an UUID we can multithread this

#

you wouldn't want to wait for it to linearily handle 20 cvn plugins lol

fallow sky
#

oh yeah great

#

there is already a uuid generated for cvn-plugin-uuid

rigid saffron
#

which is absolutely useless and already deleted!

#

great job paulem!

#

btw did you know

#

bro wtf

#

right when I need to write the boilerplate code my copilot dies

spiral onyx
#

L

woven arrow
#

imagine depending on copilot for boilerplate

rigid saffron
#

mf are you serious

woven arrow
#

kekw

rigid saffron
#

and don't you fucking dare mention kotlin

#

I will burn you alive, witch

woven arrow
#

htis isn't even related to kotlin

rigid saffron
#

constructors my friend

woven arrow
#

if you're tryna make getters, there's an IJ shortcut :kekw:

rigid saffron
#

constructors

woven arrow
#

same with constructors afaik

woven arrow
#

what

#

did you not know

#

💀

rigid saffron
#

no

rigid saffron
#

I wrote them manually my whole life

coral gyro
#

nerd

rigid saffron
#

are you fucking kidding me

woven arrow
rigid saffron
#

why did I not know this

woven arrow
#

dum dum

coral gyro
#

i let my neuralink write em

rigid saffron
#

at this point I could be using vscode with no difference

woven arrow
#

based

#

just use vim bro

rigid saffron
#

fr

coral gyro
#

^

rigid saffron
#

I did once

#

manually importing classes ftw

woven arrow
#

you know there's LSPs right

rigid saffron
#

language server p...lugins?

coral gyro
#

buddy used plain vim 💀

rigid saffron
#

yeah?

#

why

woven arrow
#

protocol

#

💀

#

BRO

coral gyro
#

💀

woven arrow
#

you can literally do the same htings as in IJ

coral gyro
#

just use nano then

woven arrow
#

with LSPs

#

^

rigid saffron
woven arrow
#

well, most stuff

#

IJ is a bit different in that regards

rigid saffron
#

brother

woven arrow
#

take e.g. rust

rigid saffron
#

I was using plain vim and 3% of IJ my whole life wtf

woven arrow
#

you even have ✨errors✨

rigid saffron
woven arrow
#

💀

#

you are stupid

rigid saffron
#

seems like y'all have a skill issue and can't code like real men

woven arrow
rigid saffron
#

Imma download netbeans instead of using this awful IJ

woven arrow
#

frostalf pilled

rigid saffron
#

lol

woven arrow
#

like tf bro

#

why not fucking use this

rigid saffron
#

what's that

woven arrow
#

AUTOCOMPLETE

rigid saffron
#

autoco-- what?

woven arrow
#

bro is actually silly and doesn't want this stuff

rigid saffron
#

no why would I want this weird shit

woven arrow
#

like this is fucking great

woven arrow
#

real

spiral onyx
#

and ctrl+o & ctrl+i

spiral onyx
coral gyro
woven arrow
#

no idea

woven arrow
spiral onyx
#

and you may imagine what happens

coral gyro
spiral onyx
#

ctrl+shift+t saves the day

spiral onyx
woven arrow
spiral onyx
woven arrow
#

delete word

spiral onyx
#

oh so same thing

coral gyro
#

ctrl+w erases a word?

spiral onyx
#

yes

woven arrow
#

that doesn't sound like vim

spiral onyx
#

in isnert mode

woven arrow
#

oh

coral gyro
#

ah i always use ciw or diw

woven arrow
#

diw ❤️

spiral onyx
#

i refer to https://vim.rtorr.com/ literally every day to reduce my mouse usage lol

woven arrow
#

for IJ at least

spiral onyx
#

ctrl-w is easier though, as in less finger stretching

#

one hand vs two hands

coral gyro
#

ctrl-w ctrl-w takes me to the next window

#

🤡

rigid saffron
#

Ctrl w closes my current tab in firefox

woven arrow
#

yeah

rigid saffron
#

I wish windows was fully usable without a mouse

woven arrow
#

laughs in arch

spiral onyx
spiral onyx
#

what can you not do wout a mouse

rigid saffron
rigid saffron
spiral onyx
#

fr?

#

damn

woven arrow
#

skull

#

i use terminal, ranger, fff or thunar

rigid saffron
#

Your selection can sometimes vanish

#

And you're fucked

spiral onyx
#

lmao

rigid saffron
#

The terminal is better in that regard but usually I forget how to use it

#

Used to be a terminal sweat, now an explorer enjoyer

woven arrow
#

how can you forget a simple cd or an ls

rigid saffron
woven arrow
#

REAL

#

IMAGIENEE

rigid saffron
#

Idk why that happened lmao

#

I kinda forgot I'm in build already

bold trout
rigid saffron
#

What do ya guys think of writing a little library that will be shaded in CVN that users can depend on to get some utilities when working with NMS and CB

rigid saffron
#

We should add in the logs, whenever CVN errors loading a plugin "Please do not contact the authors of the plugin and instead contact the authors of CVN"

woven arrow
#

that is brilliant

rigid saffron
#

Then we won't be hated

bold trout
#

ideally if theres a cvn error the author fucked up

rigid saffron
#

true

rigid saffron
#

@fallow sky did you have to make your MappingsDownloader so bad

#

I think I will rewrite it to be a proper library and then merge it with SMD

#

hope yo uhave nothing against that

#

actually

#

I think I can just put it in the plugin

#

doubt that needs a whole lib

#

can you fucking not add a space bar before every single one of your exclamation marks

bold trout
#

checkstyle thought

rigid saffron
#

I'm gonna die if I have to work with this code

woven arrow
#

lmao

#

pov me seeing my code from 2y ago

rigid saffron
#

but this is code from like a month ago

woven arrow
#

kekw

fallow sky
#

I learned a lot since I wrote that

rigid saffron
#

@fallow sky why

fallow sky
rigid saffron
#

lol

#

can I remove it

woven arrow
#

LMAO

fallow sky
#

yeah

rigid saffron
#

I hope nobody minds if I drop a few unchecked io exceptions lol

rigid saffron
#

iirc they are just RuntimeExceptions but for IOExceptions

woven arrow
#

what the fuck.???

rigid saffron
#

Lol

rigid saffron
woven arrow
#

that is so fucking cursed

rigid saffron
#

why

rigid saffron
#

PAULEEEEEEEEEEEEEM WHYYYYYYYYYYYYYYYYYY

#

what the fuck is this for

woven arrow
#

bro 💀

rigid saffron
#

I don't even think it gets saved

#

literal wasted space

fallow sky
#

it's for creating the main folder 🤓

rigid saffron
#

no?

#

getDataFolder().mkdir() my friend

bold trout
#

Smartest paulem moment

fallow sky
fallow sky
#

Just edit everything that is "hey bro why in the world you did that ?"

fallow sky
#

@rigid saffron can you commit your changes on github please ?

rigid saffron
#

Later

fallow sky
#

okay

rigid saffron
#

I'm in a car rn and my laptop is a bit far away

fallow sky
#

and is all the code actually working ?

rigid saffron
#

No

#

Not yet

fallow sky
rigid saffron
#

Extraction code is fucking up but it's mostly working

#

Warning: it's pretty messy

fallow sky
#

We'll see that 👍

rigid saffron
#

It's almost fully working

rigid saffron
#

It now successfully does most of the stuff

#

All that's left to do is to fix the remapping (it isn't much just a small issue) and I'll push

rigid saffron
#

Minor mapping issue, I suspect I can fix that in one or two debugging sessions

fallow sky
#

oh okay

rigid saffron
#

I think I might be lacking a classpath

rigid saffron
#

it works

#

but not on all versions I think

#

because of mojmaps

#

that would require some modification of the gradle ploogin

#

mmm my favourite

#

merge conflict

#

oh my gosh can't believe it finally pushed+

#

@woven arrow please leave a comment

woven arrow
#

git skill issue

#

smh

rigid saffron
#

no

#

not git related

#

what do you think of cvn finally working

woven arrow
#

took you a while

#

too long actually

#

means i can start working on the mass tester testing functionality next week

#

will be able to start on saturday lmao

rigid saffron
woven arrow
#

hard to mass test something that isn't working

rigid saffron
#

well, are you fucking dumb?

woven arrow
#

???

rigid saffron
#

you could've just written the mass tester and walked away, we'd test it on place

woven arrow
#

rigid saffron
#

now we have to wait five quintillion more years until the stars align once again

woven arrow
#

write it yourself then

#

i'm away next week

#

i was planning on doing a server list ping request to the currently running server and if that MOTD is correct, it says "test passed" and moves on to the next versio

#

n

woven arrow
#

and if it didn't work, it'll read stderr and write that to logs

rigid saffron
#

that's interesting

woven arrow
#

need to make sure it actually works no?

rigid saffron
#

well can't you do that with like any plugin tho?

woven arrow
#

wdym

rigid saffron
#

you don't need CVN to test the mass tester do you

#

"testing the mass tester" hmm

#

that sounds interesting

woven arrow
#

i mean

#

that would just be successful everywhere

#

need to make sure failure works

rigid saffron
#

then write something that fails on purpose lol

woven arrow
#

if (Random.nextInt() % 2 == 0) server.setMotd(...)

rigid saffron
#

indeed

woven arrow
#

but i always had a reason to procrastinate on it

#

and now i don't

#

but i am away for 5 days

rigid saffron
#

I'm literally in fucking croatia lmao

woven arrow
#

and you have a decent laptop

#

my laptop explodes when i run intellij

rigid saffron
#

I played wot on it for 30 minutes and my battery died 💀

woven arrow
#

ok but the fact that it even runs

#

if you can't launch IJ how would the masstester work

#

BT takes 30 min for each version

rigid saffron
#

btw

#

I had tried writing a mass mapping generator before

#

it had some good additions to the already existing mass tester

#

might drop it somewhere for your use

woven arrow
#

idk anything about mappings

#

can't help ya with that

rigid saffron
#

well

#

you don't need to

#

that project is useless but it does some hash and version checking to ensure it only builds each version one time and then reuses

#

this includes cases where 1.8.4 for example builds 1.8.8

fallow sky
rigid saffron
#

btw older versions are pieces of shit

#

we'd want to download the mappings ourselves

fallow sky
#

hummm maybe ?

rigid saffron
#

it is easy (thank god we have smd) but still such a bruh

fallow sky
#

I'll work on a gradle plugin for directly making what is done at runtime, at build

woven arrow
#

btw if you ever need a maven repo i gotchu

fallow sky
#

So plugin-1.8.8, plugin-1.9 etc.

rigid saffron
#

that's great

#

cvn is maven'd

fallow sky
rigid saffron
#

understandable

fallow sky
rigid saffron
#

that we have a maven repo in our hands

#

to publish stuff

fallow sky
#

oh yeah

#

here come the full power of publishing

woven arrow
#

yea i'll set it up and give you credentials to it rq

fallow sky
fallow sky
#

I'll push the credentials on github

woven arrow
#

based

#

gimme 2mins

rigid saffron
#

lmao

fallow sky
#

(that's 0 🤓)

woven arrow
fallow sky
rigid saffron
#

oh fuck

#

this means I'll have to version the gradle plugin

#

well, I still need to finish it off

woven arrow
#

paulem friend me rq

fallow sky
#

I never published to maven repo x)

#

but well, I'll learn, that shouldn't be difficult

fallow sky
woven arrow
#

just this ```kt
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])

        artifact(tasks["sourcesJar"]) {
            classifier = "sources"
        }
    }
}

repositories {
    maven {
        name = "cvn"
        url = uri("https://maven.radsteve.net/cvn")

        credentials {
            username = System.getenv("RAD_MAVEN_USER")
            password = System.getenv("RAD_MAVEN_TOKEN")
        }
    }
}

}

fallow sky
#

WE ARE NOT IN KOTLIN 🗣️

woven arrow
#

tasks.register<Jar>("sourcesJar") {
from(sourceSets.main.get().allSource)
archiveClassifier.set("sources")
}

#

oh do you use groovy

fallow sky
#

but yeah, I already saw that in fabric mods

#

when doing rewriting

fallow sky
woven arrow
#

yea

#

gni 💀

rigid saffron
#

yeah

#

old times

fallow sky
#

we're old 👴

rigid saffron
#

lol

#

what did gni stand for again

woven arrow
#

i have those saved under diff names

rigid saffron
#

great nms interface or what

woven arrow
#

glboal nms infra

#

i think

fallow sky
woven arrow
rigid saffron
#

why tf do you have them all

#

are you thanos collecting the stones or something

woven arrow
#

why not ¯_(ツ)_/¯

fallow sky
woven arrow
#

i have so much shit ngl

#

no fucking clue what haxmod is

rigid saffron
#

tar

#

ntar

fallow sky
#

wth

rigid saffron
#

I see ntar

woven arrow
#

i think that was an attempt of me writing a fly cheat

#

ntar mentioned!?!?!?!?!?

fallow sky
woven arrow
#

bc i saw liveoverflow's vid about it

rigid saffron
#

fuck my internet is slow

woven arrow
#

lmaoooo

#

i love vim

rigid saffron
#

can't believe pulling a fucking git repo will use up all the possible bandwidth

fallow sky
#

is my code actually good ?

woven arrow
#

💀

rigid saffron
#

what the fuck is that

woven arrow
# fallow sky is my code actually good ?
if(block.getBlockData() instanceof MultipleFacing multipleFacing) {
    this.multipleFacing = multipleFacing;
} else {
    throw new IllegalArgumentException("Block data is not a multiple facing");
}
#

there ya go

rigid saffron
#

how is pulling a fucking repository so bad on my network

woven arrow
woven arrow
fallow sky
woven arrow
#

:concern:

rigid saffron
#

hrvatski telekom 👍

woven arrow
woven arrow
#

do you not

bold trout
#

artifact(tasks.sourcesJar)

woven arrow
#

doesn't work for me

bold trout
#

wait i responded to the wrong message

woven arrow
#

kekw

#

i just ```kt
tasks.register<Jar>("sourcesJar") {
from(sourceSets.main.get().allSource)
archiveClassifier.set("sources")
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])

        artifact(tasks["sourcesJar"]) {
            classifier = "sources"
        }
    }
}

repositories {
    maven {
        name = "radPublic"
        url = uri("https://maven.radsteve.net/public")

        credentials {
            username = System.getenv("RAD_MAVEN_USER")
            password = System.getenv("RAD_MAVEN_TOKEN")
        }
    }
}

}

#

for packed ^

#

(packed mentioned!?!?!?!?!?!?)

rigid saffron
#

fuck I don't have 1.17

bold trout
#

no shadow?!?!

woven arrow
rigid saffron
#

does anybody know from what version spigot started not mapping members?

woven arrow
bold trout
#

this.artifact(tasks.kotlinSourcesJar)

#

ez

woven arrow
#

didn't know that was a thing

#

cannot be bothered to change it

woven arrow
bold trout
fallow sky
#

does that help ? UwU

woven arrow
bold trout
#
    dependsOn(tasks.dokkaJavadoc)
    from(tasks.dokkaJavadoc.flatMap { it.outputDirectory })
    archiveClassifier.set("javadoc")
}```
woven arrow
bold trout
#
this.artifact(tasks.named("dokkaJavadocJar"))```
woven arrow
#

idk man i don't need that

#

i'm built diff

bold trout
#

smh

fallow sky
#

guys are arguying about maven publish 💀

rigid saffron
#

btw

#

this reminds me

#

don't we want to write some javadoc

woven arrow
#

imagine writing docs

#

couldn't be me

rigid saffron
#

I mean, I wouldn't want to read somebodies spaghetto, especially if it has no docs

fallow sky
#

iirc we can generate javadoc automatically

rigid saffron
woven arrow
#

wtf

fallow sky
#

there's a thing to generate the full javadoc of a source code

#

with comments etc.

#

like spigot

woven arrow
rigid saffron
fallow sky
#

just the javadocs

woven arrow
#

no shit

rigid saffron
#

I'm saying we would want to javadoc our shit

#

for future readers and contributors

fallow sky
woven arrow
#

i can always host shit iyw

rigid saffron
#

oh btw

fallow sky
#

I can write the doc

#

x)

rigid saffron
#

no

#

french guy

#

you ain't writing the docs

#

when you can't even write the code

fallow sky
#

I can write the doc in french

#

when the english one is finished

rigid saffron
#

no

#

at this point we better call zbll to write them in japanese

rigid saffron
fallow sky
spiral onyx
#

i just took a massive shit

woven arrow
#

here, have that giffed

spiral onyx
#

predictable

#

too predictable even

woven arrow
#

yup

spiral onyx
#

im having fun so much fun

fallow sky
woven arrow
#

skull

#

get your outdated ass outta here

fallow sky
#

but well, no choice

fallow sky
bold trout
#

Pdc was added in 1.14.4

fallow sky
bold trout
#

probably because chunks didnt have pdc in 1.14

#

pdc existed but not everything had it

fallow sky
#

maybe

#

well, then I can't support below 1.16.3

fallow sky
spiral onyx
#

you killed a thread

#

fucking monster

fallow sky
#

x)

fallow sky
#

my plugin would be perfect for CombustMC

spiral onyx
fallow sky
#

STACKOVERFLOW 🔥

spiral onyx
#

upload it to google drive and send here

#

i wanna see it with my own eyes

fallow sky
#

x)

#

see by yourself : 🤣

spiral onyx
#

right that works too

#

ultimate zip bomb

fallow sky
#

yeah

#

with one file

#

haters will say that my plugin isn't working correctly

spiral onyx
#

yeah my notepad++ crashed after 2 seconds of trying to load it

fallow sky
#

💀

spiral onyx
#

it loaded

spiral onyx
fallow sky
#

Guys, CVN 🗣️🗣️🗣️

rigid saffron
#

Ik

#

I'm working on the gradle ploogin

fallow sky
#

"niquel" like we say in french

rigid saffron
#

Sounds like n word

fallow sky
rigid saffron
#

@fallow sky you've successfully done asm before right?

#

or was it unsuccessful

fallow sky
rigid saffron
#

geol?

bold trout
#

im guessing it was y2k by chance

fallow sky
#

exactly

fallow sky
rigid saffron
#

I often see him in fabric mc

fallow sky
#

x)

rigid saffron
#

Sometimes I say hi to him

fallow sky
#

(and he doesn't respond)

rigid saffron
#

Lol

fallow sky
#

I confirm that cb renaming was sucessful

#

(from 1.17.1 plugin to 1.18.2 server)

#

but wait

rigid saffron
#

ooo

fallow sky
#

there was a bug with new naming

#

it works on old versions

rigid saffron
#

hmm

#

I'll see later

#

Maybe I can do something

fallow sky
#

k

rigid saffron
#

I need to remap all strings for reflection, yk

#

Because private fields and stuff yk

fallow sky
#

I know x)

#

that was that (CustomRemapper.java)

spiral onyx
rigid saffron
rigid saffron
fallow sky
rigid saffron
#

lol

#

It now actually works too

#

I can't believe it was as simple as changing two lines in the mapping merger lmao

fallow sky
#

so everything works ???

#

(except asm for new cb location)

rigid saffron
#

Almost

fallow sky
rigid saffron
#

There is some issue in the gradle plugin when it comes to remapping

#

I need to use the mapping merger there too

fallow sky
#

oh okay

rigid saffron
#

Because classpathio

fallow sky
#

okay, I'm ready for CVN

rigid saffron
#

Neat

rigid saffron
#

okay cvn gradle plugin now correctly remaps

fallow sky
#

SO

fallow sky
rigid saffron
#

well, not quite

#

I'm currently trying to make it work with non-mojmapped envs as well as older versions

fallow sky
#

oh okay

rigid saffron
#

I have very slow internet currently (on vacation in crotia rn) and cloning the builddata repo (the one with spigot mappings) is taking years

#

even sending messages takes a while lol

fallow sky
#

looks logical x)

rigid saffron
fallow sky
#

gl 👍

fervent swan
#

Add some documentation 😈

#

Which every developer loves making

rigid saffron
rigid saffron
#

@fallow sky are the intermediary mappings for older versions server or client mappings?

fallow sky
#

it's server

#

bruh wtf is this

rigid saffron
#

lol

rigid saffron
#

@fallow sky I have severly underestimated the amount of work

#

I have the issue rn that classes in old mappings are in the root directory (not net/minecraft/server/1_12_R01 or similar)

#

And the issue is that the package mappings only provider net/minecraft/server, no version identifier tho

fallow sky
#

bruh wtf

rigid saffron
#

@floral zephyr Are you

fallow sky
#

YEAH

floral zephyr
rigid saffron
#

neat

#

Make a spigot account and verify yourself or something, don't be a white guy

floral zephyr
#

eh

#

I'm not white

#

Doen

#

Doen

#

Done

rigid saffron
#

Neat

#

Are you gonna work on cvn or are you gonna just watch us suffer

floral zephyr
#

well

#

I'll watch for a while

#

I have no ducking clue about cvn so

#

or just give me something to do

fallow sky
#

YEAH

rigid saffron
#

@woven arrow do you think this is safe

    private static boolean isRelocated(File jarFile) throws IOException {
        try (JarFile jar = new JarFile(jarFile)) {
            Enumeration<JarEntry> entries = jar.entries();

            while (entries.hasMoreElements()) {
                JarEntry entry = entries.nextElement();
                String name = entry.getName();


                if (name.startsWith("net/minecraft/server/1_")) {
                    return true;
                }

                if (name.startsWith("net/minecraft/server/") && !name.startsWith("net/minecraft/server/1_")) {
                    return false;
                }
            }
        }

        return false;
    }
rigid saffron
#

not yet

fallow sky
#

okay

rigid saffron
#

paulem, do you have a selfbot

fallow sky
#

then touch it

woven arrow
rigid saffron
fallow sky
#

we're connected

rigid saffron
#

._.

fallow sky
#

we should be together 🤓

rigid saffron
#

no

#

fuck you french guy

fallow sky
woven arrow
woven arrow
rigid saffron
#

it's not minecraft

#

it's spigot/bukkit

#

md_5 I will hurt you

woven arrow
fallow sky
woven arrow
#

he didn't even add the sticker did he

#

so tagging him will kinda be useless

rigid saffron
#

md_5 bruh

#

v1_12_R1

woven arrow
#

what is this

#

i swear this can't be worse than com.destroystokio.paper vs io.papermc.paper

fallow sky
woven arrow
#

what

fallow sky
#

||nothing||

rigid saffron
#

another email sent out to md_5

woven arrow
#

lmaoooo

rigid saffron
#

it's funny only for us

#

md_5 already absolutely hates responding to my emails

woven arrow
#

fr tho

rigid saffron
#

my outbox

woven arrow
#

lmfao

rigid saffron
#

he is lagging I think

rigid saffron
#

We guys should make a website for ccn

#

Cvn*

#

And sometimes later also use https://adrinth.com/ (once it's publicly available)

#

Is anybody good at webdev? If not, I could do that, I have a friend who is good at webdev, he wouldn't work for us but he'll answer all my questions and help me

fallow sky
rigid saffron
#

you are great at mobile web design

fallow sky
#

I prefer desktop for web desing

#

I can much better than my website I think

rigid saffron
#

your website looks like it's made for phones

#

certainly not for pc

fallow sky
#

we can't really compare a presentation website with a doc

#

@rigid saffron it's a doc right ?

rigid saffron
#

no

#

a doc is javadoc

#

or a wiki page

#

this is like a proper website

#

with our team

#

and description

#

and links

#

and all that stuff

fallow sky
#

hum okay

#

maybe ask your friend then

rigid saffron
#

lol

fallow sky
# rigid saffron lol

I can do that, but I don't want you to blame me about some bad work that I can do

rigid saffron
#

lmao

woven arrow
#

i can always host shit btw

rigid saffron
#

thanks raddy

bold trout
woven arrow
#

i am!!!!

bold trout
#

cant believe you abandonded us for like 4 days

woven arrow
#

mb

#

😔

rigid saffron
#

@woven arrow btw you still gotta finish the meuhs tester

woven arrow
#

i got home like 2h ago

#

let me rest bro

rigid saffron
#

ok

#

but

#

here's a list of suggestions:

woven arrow
#
  • get the fuck up
#
  • and do shit
rigid saffron
#
  • make it take in a directory from which it will copy files into all server folders
  • make a seperate folder for each buildtools version
  • before running buildtools, use smdownloader to pull the builddata repo and ensure the mc version in the info.json matches the one of the version that is being built
  • add some flags so you can run it without going through the buildtools step, a flag so you can run the servers without the constant monitoring (maybe with manual control) and similar
rigid saffron
#

Also, iirc idea is such:
It runs a test, while it's running motd is something like "Running tests...", if it succeeds it writes something like "Tests passed!", if it fucks up it writes "Tests failed!", if it passes the tester continues, if not it prints the Syserr and stops, right?

fallow sky
#

Rip rad, I'm with you

rigid saffron
#

md_5 is so fucking based

#

I write him a whole official email like it's a letter to the british emperor, in reponse I get the type of message you'd see on discord

#

Such a fucking based person

#

Yep that was exactly what I was searching for, thanks md_5

#

Everybody should thank md_5 for making this project not die in the first week

rigid saffron
woven arrow
#

yours faithfully lmaooo

rigid saffron
#

I always write emails like that

#

Besides joke emails

woven arrow
rigid saffron
#

Yes

#

shitbarn00 reference

woven arrow
#

!

rigid saffron
#

Also, I love how nobody cares that I use microsoft outlook as my main email provider lol

woven arrow
#

ms outlook kinda sucks ngl

#

what the hell

#

oh the size is 9px

#

instead of 16px

rigid saffron
fallow sky
fallow sky
#

I don't know how to work on mappings so I can't help you 🤓☝️

rigid saffron
#

around 95% of visible code is experimental and hasn't been tested yet

#

it's also an utter mess

#

we need somebody to clean up code after me lol

woven arrow
coral gyro
#

not using Path and Files, weird

rigid saffron
#

last time I used Files gradle complained

#

so Imma not do that k?

#

amazing

Exception in thread "main" java.lang.IllegalStateException: java.lang.IllegalStateException: Missing mapping for Mapping{type=FIELD, name='A', className='net/minecraft/class_124', descriptor='Z'} in spigot
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
rigid saffron
#

Fixed everything

#

Debugging software that is running on hopes and prayers is hard

#

And practically all of cvn is running like that

woven arrow
#

sounds like i should not hire you then

#

if you only write shitty code

rigid saffron
#

My code isn't shitty

#

It works

woven arrow
rigid saffron
#

I have already tested it, dw

#

It's working absolutely great

#

Besides the remapping part

#

I fucked up the mapping files somewhere

woven arrow
#

rust people use those all the time and i hate it

rigid saffron
woven arrow
#

still

rigid saffron
#
Document document = DocumentBuilderFactory.newInstance()
    .newDocumentBuilder()
    .parse(cbPom);
``` do you want it like this
rigid saffron
#

Understandable

#

Is there a shortcut for "Inline variable"

woven arrow
rigid saffron
#

Thanks

#

Mmm my internet died

#

Love it

fallow sky
#

So everything works ???

rigid saffron
#

not quite

#

It is still fucked but it is close to working

coral gyro
#

so thats a no sir

fallow sky
rigid saffron
#

Lol

rigid saffron
#

does this look right

#

@woven arrow what do you think

woven arrow
#

i have no fucking clue

#

what that even is

#

and does

rigid saffron
#

a remapped plugin

#

sir you've been working with CVN for like a month already

woven arrow
#

i told you idk anyhting about mappings

rigid saffron
#

well, this is intermediary

#

to be more specific, 1.12.2 intermediary

#

and it is quite different from newer versions intermediary because, well, yeah

#

also, I think we should make some app of our own to look at mappings

#

because we have a few mappings that aren't really a thing on mappings.dev or similar sites

fallow sky
#

Wait

#

@rigid saffron so for legacy versions (before mojmaps) you translate from spigot mappings to intermediary ones and then to Spigot ones ?

#

This is not another mapping rather than spigot right ?

rigid saffron
#

ye

fallow sky
#

Okay okay

#

The detection of the used mapping is not automatic I think ?

rigid saffron
#

no

rigid saffron
#

@fallow sky can you help me rq?

#

1.12.2 specifically

fallow sky
rigid saffron
#

I'm in croatia with nonexistant internet rn

fallow sky
#

I haven't the things needed installed

rigid saffron
#

Lol

#

Well, I'm gonna be here for anothee week

#

So you have a week

fallow sky
#

Okay 👍

#

Will be good in the evening

rigid saffron
fallow sky
rigid saffron
#

Neither in croatia, I just said it because yes

#

Also, when

fallow sky
#

I'm going to eat rn

rigid saffron
#

k

rigid saffron
#

Paul

#

It's midnight

fallow sky
#

"in the night"

#

so wait 😌

#

remapping is taking an infinite time

rigid saffron
fallow sky
rigid saffron
#

is it empty

#

oh btw

#

oh nvm

#

Is it empty tho

#

I think smd might be fried

#

Can you clone spigotmappingdownloader and try running it as a standalone?

#

With flags --version 1.12.2

fallow sky
#

okay

fallow sky
rigid saffron
#

--version 1.12.2 --spigot too iirc, that should generate mappings

#

I was on the beach sry

#

and check if the generates dir is empty or not

fallow sky
#

okay 👍

rigid saffron
#

anything?

fallow sky
rigid saffron
#

hmm weird

#

That is precisely the same thing that is done by cvn

fallow sky
rigid saffron
#

Did you also pull smd again? Or did you nog jave it before

rigid saffron
#

Weird

#

Can you try pulling all dependencies again and rebuilding cvn?

fallow sky
#

huh

rigid saffron
#

Mapping merger, smd and stuff

#

Posting all to maven local

#

Then pulling cvn and building it

fallow sky
#

okay I'll do that

rigid saffron
#

And then try using that instrad of what I provided

fallow sky
#

k

#

I'm with my cousin

#

so maybe not for now x)

#

he wants to play rocket league with me

fallow sky
#

okay here we go

#

@rigid saffron little problem with cvn remapper plugin ?

#

forget, I published mappings merger first, working

#

NOT WORKING 🗣️

rigid saffron
#

Idk why

fallow sky
#

also, there is [18:18:03] [Server thread/WARN]: org.eclipse.jgit.api.errors.JGitInternalException: Destination path "craftbukkit" already exists and is not an empty directory

rigid saffron
#

that is weird

#

because I am handling that

fallow sky
#

huh

rigid saffron
#

ah god

#

Why is everything broken

#

It wasn't broken before

#

But I broke it

fallow sky
#

we are so close...