#dev-general

1 messages · Page 355 of 1

heady birch
#

Yeah exactly

half harness
#

unless you're okay with 10 fps

#

don't use it

heady birch
#

Before I was using Intel HD Graphics 3000 and normal minecraft would kind of lag

half harness
#

i need a better pc 😭

heady birch
#

The 4000 seems to be a pretty good upgrade from a 3000

half harness
#

isn't it integrated though?

#

how do u upgrade that

pine fox
#

wym

half harness
pine fox
#

Kessentials

half harness
#

do you ever have the code new Kessentails() in ur code?

obtuse gale
#

in onEnable, yes

#

lol

half harness
#

remove it

heady birch
#

4000 LEFT 3000 RIGHT

half harness
#

use this

heady birch
#

Well I went from 2011 macbook to 2012 hand me down 😄

half harness
#

oooooof

#

i use optiplex 3010

heady birch
#

dell?

half harness
#

i think so

heady birch
#

yeah to be honest old tech still works pretty well these days

half harness
#

idk

#

its old

half harness
#

my pc sucks

heady birch
#

I dont know what clock speed everyone runs these days

#

4-5GHz?

half harness
#

tf

#

😮

#

me who sits with 1 ghz

heady birch
#

Raspberry pi @ 1.2GHz

half harness
#

1.10 to be exact

heady birch
#

Oh at least its 4 core tho

half harness
#

ur rpi is faster than my laptop-

#

(im not on pc rn)

oblique heath
#

clock speed really isnt the biggest factor

half harness
#

this laptop sucks though

oblique heath
#

a 2021 cpu running at 2ghz is going to perform so much better than a 4ghz pc from 1995

heady birch
#

How come?

oblique heath
#

IPC

half harness
#

IPC?

oblique heath
#

instructions per clock

half harness
#

we need google bot

oblique heath
#

better cpu architectures mean more things can happen every cycle

half harness
#

=google IPC 😍

#

wot

#

=testuisjkd

#

um

oblique heath
#

not to mention you'll get better efficiency per watt

half harness
#

=google

heady birch
#

Oh cool

#

I just always thought clock speed = exact number of instructions per second

#

Interesting

oblique heath
#

nah clock speed is cycles per second, but how many instructions happen on that cycle is independent of that

#

better architectures also mean it takes less cycles to do certain things, on top of being able to do more per cycle

#

fancy new pipelines and all that

heady birch
#

So lets say I have a cpu 1 is 2.7GHz and cpu 2 is 2.5GHz the second one could potentially out perform cpu 1 if it was newer

#

Would it have to be alot newer?

oblique heath
#

well i guess it depends, because ipc improvements from generation vary

#

on average every intel generation over the past few years has been a 5-10% ish improvement to IPC

#

but yeah 2.5 could easily be better than 2.7 in just like 2 generations or so on average

obtuse gale
#

The amount of optimization and prediction CPUs do is unbelievable

cinder flare
#

Also depends on how it can boost as well. There's a reason AMD chips are way ahead right now and it's not just because of the price. Lots of cores and really good boosting help significantly

oblique heath
#

yeah there's a whole bunch of fancy witchcraft going on to improve performance without raising clock speed

#

like fefo said, branch prediction is a big player

#

i think modern cpus can predict with like over 90% accuracy on average

#

which greatly reduces wasted time

cinder flare
#

Mmm branchless programming

jovial warren
#

anyone got any idea how I should test if my classpath += item system works?

#

all I've done is just made an addPath function that's internal that exposes addURL lol

obtuse gale
jovial warren
#

exactly how velocity does it

obtuse gale
#

Java be like "hurr durr a boolean is not an int"

pine fox
obtuse gale
static zealot
#

windows really doesn't like me today. https://i.imgur.com/jrdv1hx.png I keep ending the task from Task Manager and I open it again and its back to this. 😢

jovial warren
#

yeah you gotta register events bound to plugins

pine fox
# obtuse gale Pass `this`

Cannot resolve method 'registerEvent(com.realkyu.kessential.UpgradesEvents, com.realkyu.kessential.JoinEvent)'

ocean quartz
#

It's registerEvents(this, new UpgradesEvents())

#

And you can't have multiple in the same

jovial warren
#

I think he's registering custom events, not listeners

pine fox
#

getServer().getPluginManager().registerEvent(this, new UpgradesEvents(), new JoinEvent());

'JoinEvent(com.realkyu.kessential.Kessential)' in 'com.realkyu.kessential.JoinEvent' cannot be applied to '()'

obtuse gale
#

new JoinEvent(this)

pine fox
# obtuse gale `new JoinEvent(this)`

same
Cannot resolve method 'registerEvent(com.realkyu.kessential.Kessential, com.realkyu.kessential.UpgradesEvents, com.realkyu.kessential.JoinEvent)'

winter iron
#

registerEvents

#

s

#

at the end

obtuse gale
#

Also you can't pass multiple listeners to registerEvents either

winter iron
#

and u can only register 1 at a time

#

ye

obtuse gale
#

it's one call to registerEvents per listener

pine fox
# winter iron and u can only register 1 at a time

'registerEvents(org.bukkit.event.Listener, org.bukkit.plugin.Plugin)' in 'org.bukkit.plugin.PluginManager' cannot be applied to '(com.realkyu.kessential.Kessential, com.realkyu.kessential.UpgradesEvents, com.realkyu.kessential.JoinEvent)'

jovial warren
#

1
at
a
time

pine fox
#

oghh ok

jovial warren
#

oh also, is it just me or does anyone else get kinda scared when you see those big git trees where every branch is on a different page

obtuse gale
#

what

jovial warren
#

I kinda get scared that it just won't work lol

obtuse gale
#

OH LMAO I missed the "git" part loll

ocean quartz
#

Same xD

jovial warren
#

HAHA

obtuse gale
#

I was like "big trees".. "every branch..."... what?

jovial warren
#

this is what I mean

obtuse gale
#

classic

jovial warren
#

lol

oblique heath
#

"big"?

jovial warren
#

yeah ik they get bigger than that

#

but even having 3 branches at once scares me lol

oblique heath
#

but that's the best part about using git o.O

jovial warren
#

yeah ik

ocean quartz
#

Gotta get used to <<<<<<< HEAD

jovial warren
#

just do a sanity check

ocean quartz
#

Uh, what is that?

pine fox
#

wrong screen

obtuse gale
#

Bardy you should be dead

winter iron
#

Bro

jovial warren
winter iron
#

@pine fox read what it says

jovial warren
#

you will find that literally everywhere

winter iron
#

listener then plugin

ocean quartz
#

It's the other way around my bad, new UpgradesEvents(), this

winter iron
#

so registerEvents(listener, plugin)

jovial warren
#

Bukkit is weird

winter iron
#

is krypton as weird?

jovial warren
#

hopefully not

winter iron
#

Ok

#

ill use it when it releases then

#

u only use async tasks?

#

@jovial warren

jovial warren
#

let me put it this way

#

in Krypton, there is no such thing as the "primary thread"

winter iron
#

😮

jovial warren
#

it just doesn't exist

winter iron
#

ok

#

ok

jovial warren
#

there is an IO coroutine that at the moment handles just about everything, but it's not classified as the primary thread

winter iron
#

hmmmm

jovial warren
#

because in the future, there will no longer be a god coroutine

obtuse gale
#

can we just admire the fact that md_5 has

permissions:
  default:
  - bungeecord.command.server
  - bungeecord.command.list
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload

and

groups:
  md_5:
  - admin

as default bungeecord config..?

#

one day he's gonna join every careless network and run /end :^)

half harness
#

rip careless networks without BungeeGuard

obtuse gale
#

...

ocean quartz
#

A few plugins have something similar but for notch, one day notch will login on a server and have total power

obtuse gale
#

BungeeGuard has nothing to do with that

half harness
#

or any user

obtuse gale
#

bungeeguard forces the player to join through the proxy

half harness
#

yes

obtuse gale
#

if you don't join through that proxy then you can't run /end

jovial warren
#

BungeeGuard just stops people running their own proxies lol

half harness
#

o

#

🤦

jovial warren
obtuse gale
#

you will run /end in your proxy lmao

half harness
#

lmao

#

oop

ocean quartz
#

Dkim moment

jovial warren
#

indeed

jovial warren
#

bruh

#

I'm currently working a bit on LP Krypton, and I can't seem to be able to access kotlinx.serialization HOCON, even though I can access kotlinx.serialization JSON just fine, and I can access HOCON in my testing plugin that is depending on exactly the same version

heady birch
#

How have we gone from Java 8 to 16 in like a couple years

#

Wasnt the jump between the first like 8 versions really long inbetween

jovial warren
#

maybe Oracle have finally got their shit together

lunar cypress
#

2 new major versions each year, one lts version every 3 years

heady birch
#

What are some cool forge mods

half harness
#

1.8.9 fps booster 😎

steel heart
#

when u just inject a greater number into the client

half harness
#

what did i do

#

why is it light mode

#

how do i fix this

static zealot
#

if I want to use NMS I have to import spigot as well? Isn't there a way to import paper with nms?

half harness
#

intellij hates me today

obtuse gale
#

@static zealot

#

paperclip is the paper jar you download if you're not aware

static zealot
#

that sounds like a lot of work

obtuse gale
#

You literally have to run a single cmd

#

And it takes a fuck ton less that stupid buildtools

static zealot
#

so I can just download the jar? I don't have to build it from github right?

forest pecan
#

i jump scared myself twice

static zealot
#

do you hate yourself?

forest pecan
#

no i made a backdoor

#

app

#

it has jumpscares in it

#

lmao

old wyvern
#

Make it add itself to the registry and jumpscare at a random delay after boot

forest pecan
#

Well, it kinda already does that

#

lol

#

it edits the registry and makes it so it runs a jar file

#

at bootup

#

then it shows the jumpscare

#

then randomly between

#

0 - 1 hour

#

the jumpscare will occur again

jovial warren
#

lol

forest pecan
#

i also changed the background to something creepy

#

i also added eerie sounds that play randomly every 45 minutes

#

lmao

#

it also is a backdoor. It steals Minecraft credentials

jovial warren
#

I didn't even know among us could be backdoored lol

forest pecan
#

nah its just a name

jovial warren
#

is it a Minecraft virus?

forest pecan
#

No, its a backdoor

#

as well

#

i have a keylogger

#

basically i do this big brain thing

#
  1. i read the launcher profiles json file, send it to my server. then delete it
#

that prompts mc to log out

#

then when the user logs back in, i check in java

#

then i implement a key logger

#

cause they are logging into their account

jovial warren
#

lol

forest pecan
#

then i send the keys

#

to my server

#

lmao

#

it targets windows users

jovial warren
#

great way to get in trouble with the police

forest pecan
#

lmao

half harness
forest pecan
#

obviously im not gonna distribute this stuff

#

its just for educational purposes

jovial warren
forest pecan
#

i mean nobody is stupid enough to

  1. make a backdoor open source
  2. leak the server ip in the source code
  3. make it out of java
obtuse gale
jovial warren
#

technically not illegal until he actually steals someone's personal data without their permission though

forest pecan
#

theres no actual server either tho

jovial warren
#

how long did this take you

forest pecan
#

lmfao

#

i started today

jovial warren
#

what

forest pecan
#

yea

#

look at the number of commits

#

and the initial one

jovial warren
#

man

forest pecan
#

wrote it in 5 hours

#

lol

#

not throughout the whole thing tho

jovial warren
forest pecan
#

lmao

jovial warren
#

it'll be fuckin' next week by the time BM reviews it

#

someone here review it pls lol

#

actually, maybe I should be trying to fix the 10 million longs on player join issue

obtuse gale
#

Consider unit testing

#

Like, legitimately

jovial warren
#

yeah I'm terrible at writing tests

ocean quartz
#

Git gud then

jovial warren
#

stfu

#

man why tf is there 241k chunk sections on the heap

#

what the fuck

#

omfg

#

16 million longs

#

398 MB

stuck harbor
#

bardy why do you keep using gifs?

jovial warren
#

iwanio why do you care?

stuck harbor
#

well i

#

well uh

#

I um

jovial warren
#

exactly what I thought

#

anyway, 16 million longs 🥲

#

and GC just swooped in and took it down to 5 mil

stuck harbor
#

loooöng

jovial warren
#

sections still at 71k though

stuck harbor
#

do u use proguard?

#

it is very

#

pro

jovial warren
#

just force ran a GC and longs aren't even in the top 10 lol

#

I wanna compare this to notchian vanilla

stuck harbor
#

notch dumb

jovial warren
#

to see if I have somehow made performance worse than vanilla

stuck harbor
#

doesn't know how to name methods

jovial warren
#

man, all it gets is 1 million optionals

#

and 1 million of whatever fx is

stuck harbor
#

🤌

jovial warren
#

blockpos

old wyvern
jovial warren
#

lol

#

man, how tf do I fix this lol

#

don't even know where to start

old wyvern
#

Whats the issue?

obtuse gale
#

life

jovial warren
#

Krypton seems to allocate like 100k+ chunk sections when a player joins

#

which, in turn, allocates around 7 million longs

#

that don't disappear until I force run a GC in JProfiler

#

oh, and it gets slower and slower each time after the original join

#

actually that's JProfiler causing that, nvm

#

I meant that's JProfiler causing the slower joins

obtuse gale
#

just don't profile

#

ezpz

jovial warren
#

well it's important to see that you have 24 million Longs allocated on the heap

#

and 3.3 million byte[] (about normal)

obtuse gale
#

spark support when

jovial warren
#

man that's ez

#

actually wait

#

this relies on tick hooks, and ticking isn't a thing in Krypton yet

#

soon™️

stuck harbor
#

(soon™️)™️

#

((soon™️)™️)™️

obtuse gale
#

®️©️™️

stuck harbor
#

oi

#

'too many emojis'

#

rude dyno

jovial warren
#

may or may not have something to unveil

half harness
#

the logo is amazing

static zealot
#

is this a joke I'm missing or what? xD I don't understand

jovial warren
#

it's a W.I.P

#

just set it up now

static zealot
#

what's that logo tho?

jovial warren
#

I'll change the logo rn

static zealot
#

ohh

jovial warren
static zealot
#

is it for one of your projects?

jovial warren
#

this is the Krypton Wiki

static zealot
#

oh I see. I missed the link

#

omg what are you using to make this wiki? to much white

jovial warren
#

this is MediaWiki, the same thing Wikipedia is powered by

static zealot
#

well it looks similar but still. why not use something else?

#

to much white hurts

jovial warren
#

I'll get a dark theme

static zealot
#

hmm that's not dark for me

#

oh nvm xD

cinder flare
#

I think that's the link lmao

#

haha

static zealot
#

yeah

#

I didn't see the link was not actually to the wiki

#

and didn't read the page

cinder flare
#

Yeah you really must be tired haha

#

Go back to coding your 8 slot old man

prisma wave
jovial warren
prisma wave
#

😦

jovial warren
#

MediaWiki superior

prisma wave
#

bet its made in php or something REDUNDANT

jovial warren
#

it is

#

but MediaWiki is what Wikipedia uses lol

static zealot
#

yeah I was thinking about gitbooks but I don't feel like it would fit

#

idk why

oak raft
#

I just realized I have git bash

#

idk what that is

prisma wave
#

bash

oak raft
#

bash fingerguns

prisma wave
#

i bet it has about 1800 viruses

jovial warren
#

nah m8

#

so you think GitBook better then?

#

I guess we could use GitBook

prisma wave
#

gitbook looks nicer at least

jovial warren
#

but it's proprietary software and SaaS 😦

prisma wave
#

free for open source iirc

static zealot
#

yeah that's nice

#

you get dark theme

#

I think

#

if you get the free for os

#

license

jovial warren
#

right, screw MediaWiki then

#

applied for the OS thingy

#

doubt I'll get it, since most of them are for "established communities"

ocean quartz
#

Can always build your own with VuePress

jovial warren
#

lol

#

I ain't no web designer

#

that's what puts me off making a website

cinder flare
#

just make a stupidly bad website

#

it can kinda be a theme, ya know? like "first website wiki"

#

I mean it doesn't have to be much as long as its just docs, right?

ocean quartz
#

VuePress comes with a default design

#

It's what Pterodactyl panel uses

jovial warren
#

you mentioning websites Matt has reminded me that I still gotta make the Krypton website at some point

#

🥲

static zealot
#

is RainbowSixSeige good? I'm thinking about buying it

#

oh its at 60% off.

cinder flare
old wyvern
#

Finally got ErLang to do what I actually want it to do 🥲

static zealot
#

what's that?

#

hmm its just 8 Euros on steam. Maybe I'll buy it.

cinder flare
#

There's always a refund if you don't enjoy it!

old wyvern
half harness
#

whats a good port to listen to?

static zealot
#

yeah

half harness
#

like 25565

old wyvern
#

A language

cinder flare
half harness
#

uh

#

not 22

cinder flare
#

for what purpose lol

half harness
#

a free port

half harness
cinder flare
#

okay uh

static zealot
#

lmao

half harness
#

communicating between machines

cinder flare
#

56665

static zealot
#

6969

half harness
#

;-;

cinder flare
#

That's defo taken

old wyvern
static zealot
#

oh 42069

old wyvern
cinder flare
#

yay json

old wyvern
#

🥲

static zealot
#

was it a pain in the ass?

half harness
#

should i use port 20100

static zealot
#

I mean just take any that is not used. there's enough ports you can use

old wyvern
#

For what?

static zealot
#

just personal use I assume. maybe sending stuff from server to server on minecraft

jovial warren
#

oh btw, anyone know how to delete variants in GitBook?

static zealot
#

variants?

jovial warren
#

basically different versions of the same wiki page

static zealot
#

no idea what you mean lmaoo

jovial warren
#

@ocean quartz you know GitBook at least somewhat I think, any idea how I delete variants?

static zealot
jovial warren
#

that

ocean quartz
#

Wdym by "variants"?

static zealot
#

when you hover over one page

#

in the menu

jovial warren
#

the different branch thingies

static zealot
#

you get 3 dots

#

press them

jovial warren
#

yeah

#

I don't see a delete

#

maybe because this is a variant, not a page

static zealot
#

ugh that's strange

#

the only page I don't see a delete for is the Welcome one

ocean quartz
#

I have the delete option when clicking on the ...

static zealot
#

I can't delete the main one tho

#

make sure you're not trying to delete the main

jovial warren
#

oh ik

#

yeah I was trying to delete the main lol

static zealot
#

👍

jovial warren
#

just had to set main to the main and now I can yeet 1.0.0

static zealot
#

yeah

jovial warren
#

pog

static zealot
#

nice. now all you need is to get the OS License. and switch to dark theme lmao

cinder flare
jovial warren
#

may or may not have used MF's documentation repo as a reference

static zealot
#

to be just The official documentation for the Krypton API

#

because its what shows in embeds

#

and I think that would look better

#

idk just my opinion

jovial warren
#

GitHub Desktop time

static zealot
#

btw you can set up github so people can PR

#

oh you know

#

nvm xD

jovial warren
#

lol

#

yeah learnt that from MF

static zealot
#

xD

#

I once PRd to Matt's thing

#

he forgot to put the name of a variable. I'm very proud of my work

#

lmao

surreal quarry
#

good job

static zealot
#

yep

#

lmao

cinder flare
#

Doing the work nobody wants to do, my hero

static zealot
#

I'm just a github god

#

nothing more, nothing less

jovial warren
#

man, I've still got like 25 wiki pages or something to write lol

ocean quartz
#

Sadly the dark theme of GitBooks is very bad

static zealot
#

oh is it?

ocean quartz
#

What I have is the "dark theme"

#

All that changes is the top bar

half harness
#

lol

static zealot
#

oh wait for real?

jovial warren
#

ah I see

#

yep

static zealot
#

lmaoo

ocean quartz
cinder flare
#

bruh

static zealot
#

yeah that sucks

jovial warren
#

did anyone here get OS license on here btw?

#

or has anyone on here got OS license

static zealot
#

Matt

ocean quartz
#

Yeah?

surreal quarry
static zealot
#

you got the OS license didn't you ?

ocean quartz
#

Yeah

jovial warren
#

what are the requirements?

frail glade
#

Mfw doesn't know markdown.

jovial warren
#

man, if your 7 stars can get an open-source license then my 9 can ez

#

evening Glare

static zealot
#

make it 10

jovial warren
static zealot
#

I just did

jovial warren
#

thanks Blitz

#

man, we hit 10 stars already

ocean quartz
#

Sad that my most stared repo isn't even one I work on anymore

jovial warren
#

what is it?

ocean quartz
#

Holovid

frail glade
#

CitizenCmd?

#

Oh

jovial warren
#

31 stars

#

gj

cinder flare
#

and that's on free advertising

jovial warren
#

half of the stars for Krypton are from people I don't even know

static zealot
#

that's cool

ocean quartz
#

How ugly is this? lmao

frail glade
#

I like the colors

forest pecan
#

🥲

#

i never got more than 3 stars on a project

#

lmao

dawn hinge
#

I don't even got 1 star sad_fingerguns

jovial warren
#

@prisma wave you know how you said I don't need the runnable functions? apparently, I can't pass a Runnable to a function that takes no params and returns Unit

#

according to Kotlin

#

(for LuckPerms, which uses Runnable)

forest pecan
obtuse gale
#

Look someone know why this server tick is giving s much lag?

dawn hinge
jovial warren
#

I didn't have any more than one star on a project before Krypton lol

#

dw, you ain't alone

jovial warren
#

no cap

forest pecan
#

specific reason why i chose that place

#

lmao

dawn hinge
#

Yeah no, I'm out o_

jovial warren
#

what did I tell you BM

forest pecan
dawn hinge
#

😅

forest pecan
#

🙂

old wyvern
forest pecan
#

cause he needs to run

#

😞

jovial warren
#

LuckPerms uses runnable

half harness
jovial warren
#

() -> Unit

#

that's basically what Runnable is

old wyvern
#

Bard

jovial warren
#

takes no arguments, returns nothing

old wyvern
#

Use the runnable function when making your function then

#

It should return a Runnable

jovial warren
#

wdym?

#

oh also, is exposing the backing executor really a good idea btw?

#

probably not

jovial warren
#

how?

#

I need to pass a Runnable to a () -> Unit parameter

old wyvern
#

But seems to not part of the stdlib now that I've tried it

#

hmm

jovial warren
#

that's not what I need...

#

I need to convert from a runnable to a function, not the other way around

old wyvern
#

Then just wrap it in a function

jovial warren
#

how?

#

{ it.run() }?

old wyvern
#

{ myRunnable.run() }

#

Yes

jovial warren
#

just return SchedulerTask { scheduledTask.cancel() }?

old wyvern
#

just t::cancel ?

jovial warren
#

doesn't seem to work

#

required SchedulerTask, found KFunction0

old wyvern
#

oh wait

jovial warren
#

oh yeah, this is Kotlin, we don't have method references in the same way Java does

#

so would just be SchedulerTask { scheduledTask.cancel() } then right?

old wyvern
#

Thats not the issue

#

Its just the conversions being weird ig

low orchid
#

Hello, is there any dev that would be able to make a Damage Indicator blocker? Ofcourse you will get paid.

jovial warren
#

would what I suggested work Yugi?

old wyvern
jovial warren
#

alright

#

oh also, would you have a clue why an api dependency isn't showing on one project but it's showing on another?

#

like I can't access kotlinx.serialization HOCON in LuckPerms, but I can access it in my testing plugin

old wyvern
#

Do both of them depend on your api?

jovial warren
#

yep

#

both compileOnly, same version

old wyvern
#

Send the build.gradle of both ig

jovial warren
small fern
#

Hi! I'm not sure if this is the right place to put this but I can't find any help about this online. My friends and I were talking about how cool it would be to try to make our own hacked client but every tutorial I could find was for 1.12 or earlier. Does anyone have any resources about this that they could point me to? I have a pretty good knowledge of java so I'm not asking for the direct code, just a place to start. I have no intention to use this in any malicious way I just think it would be fun to create something like this

jovial warren
#

if it's for 1.8, good luck matey

old wyvern
#

no idea bard, try adding mavenCentral

jovial warren
small fern
#

@jovial warren was that a reply to me or someone else? lol sorry

old wyvern
jovial warren
small fern
#

trying for 1.16

jovial warren
#

try deobfuscated Mojang code as a reference for the vanilla code

#

then write patches for that with your own shit

forest pecan
#

you gotta be real experienced

#

if you wanna write a client

#

it takes a while, too

old wyvern
small fern
#

I found a whole bunch of tutorials on youtube and stuff on how to create 1.8 clients, what would make 1.16 ones be harder

jovial warren
# old wyvern You sure?

wdym am I sure? of course I'm bloody sure! I have mavenCentral() literally in the repositories block lol

old wyvern
#

Is the project on git bard?

forest pecan
small fern
#

ah lovely

jovial warren
#

still all local

#

since it's in very early development

old wyvern
#

hmm

forest pecan
#

a lot of them are horrible

jovial warren
#

trust me, there is nothing wrong with my build

small fern
forest pecan
#

and most hacks these days are mods

#

you should try with mods

#

for example, aristosis

#

is a fabric mod

old wyvern
#

Or any project tbh, is there a parent build file?

half harness
forest pecan
#

Yeah

small fern
# forest pecan and most hacks these days are mods

Yeah I was imagining something like wurst where you put it into your mods folder and it runs it with forge or fabric. (now that I looked back and what I said I kept calling it a hacked 'client' but I wasn't imagining a client at all)

half harness
#

well with most hacks ur not really hacking :p

#

you're just modding and cheating

jovial warren
#

LuckPerms has a parent build, the test plugin doesn't

small fern
#

I wouldn't use them to cheat on anything accept for my friends anarchy server

#

Partly cuz its the right thing and partly cuz I don't wanna get my self banned from hypixel

forest pecan
#

nah nah i understand

#

im creating malware

#

rn

#

so i would completely understand

small fern
#

oh thats sick

forest pecan
#

its for educational purposes

#

am i right

#

lol

old wyvern
half harness
#

like

#

harmful

#

illegal

#

malware

#

👀

small fern
#

oh thats even more sick

half harness
#

lol

static zealot
#

not illegal if its for educational purposes fingerguns

half harness
#

true

old wyvern
#

Hes doing a keylogger plus jumpscares or some shit

half harness
#

u should do discord token logger 👀

small fern
#

i made some really bad fake virus .bat files a while back

jovial warren
#

Pulse: "I'm not going to distribute it or anything"
Also pulse: makes repository publicly available on GitHub

forest pecan
#

well, use at their own risk

#

lol

#

after all, its really actually harmless atm, cause the "server" it sends the keylogging and other information to is actual to itself

#

im going to use it as a prank to my sister

jovial warren
#

lol

small fern
#

ill try to make this my last question for a while but basically, what would happen if I just made a fabric mod that auto equipped armor or something like that. If it didn't effect anything in the game world would it work to move around inventory slots and such? (on a server without my fabric mod i mean)

old wyvern
#

Yes

small fern
#

wait fr? its that easy?

old wyvern
#

Yea, but making something undetectable is another story tho

small fern
#

ahhh i see i see. well i'll be back later to share my findings but thanks for the help yall

jovial warren
forest pecan
#

you have to fake packets

old wyvern
forest pecan
#

or smthing

old wyvern
#

Yes

forest pecan
#

its not impossible, but hard

old wyvern
#

Anyway

#

gn

jovial warren
#

if it's sending packets that are anything other than the standard ones the vanilla client sends then it's detectable

#

end of story

old wyvern
#

Im not going past 3:40

jovial warren
#

lol

old wyvern
#

Barely functioning rn

jovial warren
#

yeah I'm going off as well

#

gn

old wyvern
#

gn

old wyvern
#

Not using diff packets

pine fox
half harness
pine fox
#

i need to join all the args after args[1]

half harness
#

that one line doesn't do anything

pine fox
#

oh...

#

how is it supposed to be?

half harness
#

d;string#join

ruby craterBOT
#
public static String join(CharSequence delimiter, CharSequence... elements)
throws NullPointerException```
Description:

Returns a new String composed of copies of the CharSequence elements joined together with a copy of the specified delimiter. For example, ```java

String message = String.join("-", "Java", "is", "cool");
// message returned is: "Java-is-cool"

Note that if an element is null, then "null" is added.

Returns:

a new String that is composed of the elements separated by the delimiter

Throws:

NullPointerException - If delimiter or elements is null

Parameters:

delimiter - the delimiter that separates each element
elements - the elements to join together.

pine fox
#

i have a not defined number of args

#

should i use another for?

pine fox
#

String message = String.join(" ", args[1], args[2] ,args[3]);

obtuse gale
#

@pine fox Let me repeat myself: you should use StringJoiner

pine fox
obtuse gale
#

ah okay

obtuse gale
sweet cipher
#

Does anyone want to do a code review with me? I am still learning java, but I can do my best to look at anything you want me to, and you can tell me things to look for.

sweet cipher
#

I'll have to add it. It has a lot of classes though

ocean quartz
#

Code review with you? Or review your code? thonking

sweet cipher
#

I thought code review was where I reviewed someone elses and they reviewed mine?

half harness
#

uh

sweet cipher
#

Idk

ocean quartz
#

Normally code review is you send your code and people bully you for it

half harness
#

^

sweet cipher
#

Oh okay that works for me

half harness
#

lol

sweet cipher
#

Its also just something I am working on, its nothing too serious, mostly for practice.

ocean quartz
#

The register listeners can easily be replaced by

Stream.of(
  new Listener(),
  new Listener2()
).forEach(...);

Also, you should use final more often, by more often I mean, you should use it since you never do

sweet cipher
#

Okay cool thank you, I will change that

#

I always forget to use final inside methods

ocean quartz
#

Not only inside methods

#

everywhere

sweet cipher
#

I know

#

I usually try to put them outside methods, I just forget about the ones inside methods

obtuse gale
#

but ew

#

ImmutableList.of(...).forEach(...) with guava

#

If you're on Java 9+ List.of(...)

sweet cipher
#

What about Collections.unmodifiableList()?

obtuse gale
#

It takes an existing list though, it doesn't make a list out of elements

sweet cipher
#

Oh yeah

obtuse gale
#

so you would Collections.unmodifiableList(Arrays.asList(...)) if you don't play with guava + are not on J9+

sweet cipher
#

Things made on java 8 would work on java 11 right?

ocean quartz
#

Yeah

sweet cipher
#

Okay I will just switch to java 11 then

quiet depot
#

wtf

#

@obtuse gale why would you use a list for that?

#

Stream.of is way more optimal than virtually any other solution here

#

oh wait

#

ok

#

nvm

#

my bad

obtuse gale
#

lmao

#

what did you have in mind

quiet depot
#

I forgot that the foreach on lists has different semantics to stream#foreach

obtuse gale
#

streams are weird af

#

the end operation is what drives the pipeline and I don't fully comprehend the concept

sweet cipher
#

Alright I finished adding final to everything I could see

regal gale
#

Discord API now accepts bot reply message, yey

ocean quartz
#

@sweet cipher Do you not use Gradle or any other build tool?

sweet cipher
#

I use Maven

#

I know people say gradle is better, so I will learn it later

obtuse gale
#

You have my condolences

ocean quartz
#

^
Asking because you didn't really push it to Github

sweet cipher
#

What does that mean?

ocean quartz
#

You should push build tool files as well, like pom.xml

half harness
#

commit all files besides target and .idea iirc

sweet cipher
#

oh

#

Okay I'll add those

#

Do you need them for something?

ocean quartz
#

If people want to contribute they can't because they don't have the dependencies

sweet cipher
#

Oh okay

#

I don't know if people want to contribute, its just a fun project I am working on, but I will add them

#

I added it

cinder flare
obtuse gale
#

you're laughing

#

he said he's using maven and you're laughing

cinder flare
ocean quartz
#

Found a way to have my generics stuff not be ugly!

#

Now I can just have an object initializer object TestInitializer : Initializer<TestPlugin>
And on enable I can

obtuse gale
cinder flare
ocean quartz
cinder flare
#

there's just a lot of T's going on there and I have a very basic understanding of Generics so it makes my smooth brain hurt

#

I think I just need to use generics and like lambdas more lol

ocean quartz
#

Oh you're talking about the main function, yeah that one is ugly but it's hidden you only work with the result

cinder flare
#

yeah that's what I meant

#

the result is so nice

#

just the grunt work is painful lol

ocean quartz
#

was even more horrible before

obtuse gale
#

you have to scan a jar if you want to extract many resources inside a directory

#

bruh

#

but hey translatable components are working now

cinder flare
#

internationalization is overrated anyways, let's just all speak English /s

regal gale
#

Konnichiwa

hot hull
#

Don't you love it when you accidentally push your DB user's pass to github for the second time in a row fingerguns

jovial warren
#

I mean, the client does sent its locale in client settings, so localisation is possible

cinder flare
#

/s ^

obtuse gale
#

And it renders them before sending

hot hull
cinder flare
#

ahhh that's actually kinda good

#

when you're making a standalone app, I use command line args to pass in my db stuff cause working with a file is too much work lmao

hot hull
#

kek

obtuse gale
#

System properties tho

cinder flare
#

might as well make my db stuff environment variables at this point

#

don't even need to put em in!

hot hull
#

gotta say tho, bungee api 🤢

obtuse gale
#

Don't know what you're referring to but it's wonky yea

hot hull
#

made a tags plugin which has a proxy registry for the tags, and it's a complete abomination when it comes to requesting the data

obtuse gale
#

Ah lmao

cinder flare
#

just makes you appreciate litebans and stuff even more lol

hot hull
#

litebans trash

cinder flare
#

oh?

#

i think it's quite cute

#

the web ui and all

hot hull
#

Ruan is an idiot

cinder flare
#

oof

#

what'd he do?

hot hull
#

some parts of the api just make me wanna yeet through the window

cinder flare
#

oh and it's not OS so you can't even fix it

#

that's a yikes

obtuse gale
hot hull
#

bruh sun is shinning and it's snowing :kek:

cinder flare
#

oooh I love snow!

#

and rain actually

#

get back to me when it's raining 😉

hot hull
#

I love rain so long the internet works

cinder flare
#

Wait where do you live lmao

hot hull
#

Slovenia

cinder flare
#

Oh boy

#

Your internet is dependent on weather? that's kinda a big yikes

hot hull
#

yea it's a yikes

obtuse gale
#

It's solar powered

hot hull
#

:sudoku:

jovial warren
#

I wanna make my own cross platform punishments plugin that's fully free and open-source

cinder flare
#

Let's do it bois. HelpBans

jovial warren
#

Lol

jovial warren
#

I hate that dick head

hot hull
#

kek

jovial warren
#

HelpBans would be funny lol

#

Would probably make it as abstract as something like LuckPerms

cinder flare
#

Can't be that hard eh?

jovial warren
#

So it can literally be adapted to any system

cinder flare
#

Oh man making the Luck Perms of the punishment industry would be amazing

jovial warren
#

And I would hope it would royally fuck Ruan over

cinder flare
#

Plus he'd have competition, so maybe he'd improve the shitty API

jovial warren
#

Maybe

#

But gl beating basically LuckPunishments with proprietary software

cinder flare
#

I mean, his plugin doesn't really do that much does it?

#

Just sync to a database and every server checks that database and stuff

jovial warren
#

It does quite a lot

obtuse gale
#

wElL i PaiD fOr iT sO iTs BetTeR

jovial warren
#

Yeah, in terms of the backend, it's really simple

cinder flare
#

Ah just all the custom messages and stuff is probably pretty hard, eh?

hot hull
#

people don't use it cause it's amazing, people use it cause it's basically the only plugin on the market which does so much, even if it's done shitty

jovial warren
#

Nah that's ez

cinder flare
hot hull
#

same with token enchant, absolute garbage, yet only thing on the market when it comes to what all it does

oblique heath
cinder flare
#

Well why don't we actually make better alternatives?

#

With the power of a lot of people, can't be that hard

#

He only has himself

hot hull
#

look at papi for example, hideous, yet only thing out there, ||this is a joke, don't shoot me please||

hot hull
#

papi 3 gonna come out in 2030

#

with the rate it's going so far kek

jovial warren
#

cough @quiet depot cough

jovial warren
hot hull
#

KiteBoard best

jovial warren
#

Until I make OpenBoard

#

A.k.a basically LuckBoard lol

cinder flare
#

bro is every popular paid plugin a piece of shit

#

is that what you're telling me

hot hull
#

basically

oblique heath
#

more likely than not

hot hull
#

best plugins are the freemium ones when it comes to paid stuff

cinder flare
#

you can have an open source paid plugin no?

hot hull
#

freemium yes

cinder flare
#

then you still get a little dolla dolla but you also get the benefits of not being the only person who can look at the software

#

ah I see

#

any recommendations then?

#

Cause you just threw out a few plugins I've used lmao

hot hull
#

Bardy, any eta till Niall OS' kiteboard?

#

It's been a few months since he said he would :sad:

cinder flare
#

omg imagine

#

libreboard

jovial warren
jovial warren
hot hull
#

Nah bardy you won't

jovial warren
#

Soon™️

hot hull
#

Finish Krypton hoe

cinder flare
#

send me the repo and I'll try to help a little :)

#

I feel like OpenBoard will have a bigger impact than Krypton

hot hull
#

nah

cinder flare
#

Don't get me wrong, Krypton kinda slaps, but OpenBoard is desperately needed lol

hot hull
#

if krypton performs how it's supposed to it'll be fire

cinder flare
#

if

hot hull
#

KiteBoard works perfectly fine, idk why you don't use that

jovial warren
#

Oh I will profile and benchmark until it does

cinder flare
#

Cause I already bought Featherboard :(

obtuse gale
#

Per user join

hot hull
jovial warren
cinder flare
oblique heath
#

what is Krypton anyways

obtuse gale
#

Pretty big yea

cinder flare
jovial warren
hot hull
#

Got a github with OS projects?

cinder flare
#

kinda

hot hull
#

link

cinder flare
#

i also have my real life one that has other stuff but not a ton :/

hot hull
#

this is a pain

jovial warren
#

efefury was kicked from the channel

#

xD

cinder flare
#

lmao did you see the guy who was paying $60 for a MCPE update?

#

more like $6000 lol

jovial warren
#

Lol

obtuse gale
cinder flare
#

ah yea yea

#

man, if only programming weren't so hard eh? then maybe some people would be willing to make entire plugins for a measley $20

#

that's like, 2 copies of KiteBoard lmao

hot hull
#

I mean it's not hard, there's just a lot of shit

#

People don't get that shit takes time

cinder flare
#

god damn it really do

hot hull
cinder flare
hot hull
#

Heh

cinder flare
#

though your commits are... a little less so lmao

#

you really went a and pog

hot hull
#

What repo you looking at?

cinder flare
#

Bedwars lol

hot hull
#

Yea I'm gonna start that from scratch cause it's a yikes

#

Go look at my profiles commit history and you'll see wonderful things when it comes to commit naming

cinder flare
#

oh no lol

#

if you make readable code and have some kind of issue tracker, I'll try to help you out :)

hot hull
#

I mean feel free to check out the code lol

cinder flare
#

Due to my extreme lack of experience in design patterns, I am very good at doing small things, not large things lol

obtuse gale
#

Oh I can do large things 😏

cinder flare
#

mmm hardcoded spawn locations java TEAM: [ "x:-336 y:46 z:-72", "x:-232 y:46 z:32", "x:-128 y:46 z:-72", "x:-232 y:46 z:-176"

hot hull
obtuse gale
#

Oh lovely

hot hull
#

well yea it's the players spawn locations

#

How else are you supposed to define them kek

cinder flare
#

but what if you wanted to have different maps hmm?

hot hull
#

You change the location?

#

Each arena has a defined map with it's own settings

cinder flare
#

but it could be a config file no?

hot hull
#

It is a config file

cinder flare
#

oh

hot hull
#

kek

cinder flare
#

im a little dumb don't mind me

hot hull
#

All the files you see are configurable

cinder flare
#

So what's wrong with it then?

hot hull
#

I don't like the current structure as it's not expandable enough, and some stuff is just thrown together

cinder flare
#

Yeah project design seems like, really hard

obtuse gale
#

😏

cinder flare
#

damnit

hot hull
#

You mean 6 days

#

6 days

#

till nf's album release

#

where you flying to?

cinder flare
#

the edge of the world

obtuse gale
#

Gonna see your family?

#

How are they doing?

#

Amazing

hot hull
#

That's nice

jovial warren
#

man, IJ keeps reverting my Atom OneDark back to the cursed one wtf

cinder flare
#

yeah it did that to me a few times it was weird

#

like when the background is full white but the menus are still dark

jovial warren
#

man, I gotta figure out how to allow for cancelling the login event with a message

#
data class LoginEvent(
    val username: String,
    val uuid: UUID,
    val address: InetSocketAddress
) : CancellableEvent() {

    var cancelledReason: Component = Component.empty()

    fun cancel(reason: Component) {
        isCancelled = true
        cancelledReason = reason
    }
}
```this looks too ugly
obtuse gale
#

What's wrong with that? 🤔

jovial warren
#

just seems a bit too Bukkity lol

#

not really another way I can think of though

cinder flare
#

besides my poor boy type hinting being thrown to the wind, that looks pretty concise

old wyvern
#

Make it not a cancellable event, use a different interface for this

cinder flare
#

Just throw away the whole concept of cancellable events? that's kinda bonkers

obtuse gale
#

Also consider not defaulting the reason component to empty but the actual translatable one that the vanilla server sends ^^

#

Just a suggestion

jovial warren
old wyvern
#

Instead of implementing cancellable, use something slightly similar but requiring a reason in that itself