#dev-general

1 messages · Page 301 of 1

prisma wave
#

😭

surreal quarry
#

KotlinLang™️MC™️ by BomBardy & Brister Mitten™️

jovial warren
#

BomBary

#

get out

prisma wave
#

BomBary

surreal quarry
#

true

prisma wave
surreal quarry
#

we got baited

static zealot
prisma wave
surreal quarry
#

lmao do they all just link to random languages

static zealot
static zealot
#

took you a while

surreal quarry
#

dang its generated every time too

surreal quarry
#

thats great

prisma wave
#

ikr

static zealot
#

I was very lucky at first and got the same 3 times in a row and I thought its just broken lmao

surreal quarry
#

loppl

jovial warren
#

right, naming

#

keep going

surreal quarry
#

lol*

prisma wave
surreal quarry
#

Kolol

jovial warren
#

let's not lose focus on the task at hand

surreal quarry
#

its dockerized, i will have to implement it

jovial warren
#

Cup

unkempt tangle
#

Whats that

prisma wave
#

Docker is so good

jovial warren
surreal quarry
#

lmao

unkempt tangle
#

No

#

I dont get fooled by your crap

#

Rick roll someone else

jovial warren
surreal quarry
#

yesterday I almost ran a sql server

prisma wave
#

This guide talks about What Is Docker

jovial warren
#

it's actually not a rick roll

#

it just sends you to a random site from a list

surreal quarry
#

then realized i can use docker for dbs and got very happy

jovial warren
#

generally one of an absolutely horrendous programming language that BM seems to like

surreal quarry
#

i love that its written in F# too

#

lmao

prisma wave
#

f# is gorgeous

#

i love it

charred torrent
#

F sharp

prisma wave
#

yes

charred torrent
#

Uh

static zealot
charred torrent
#

What is that

prisma wave
#

A programming language

charred torrent
#

What is it based orr

#

Off*

prisma wave
#

Wdym?

static zealot
charred torrent
#

What compiled to

prisma wave
#

The same thing C# compiles to

static zealot
#

hmm is there a way to host maven repositories for free?

prisma wave
static zealot
#

o

prisma wave
static zealot
#

well I'll message you if I don't forget lmao

prisma wave
#

👍

ocean quartz
static zealot
#

yes.

jovial warren
#

oh hey guess what

#

I got unbanned from Paper

surreal quarry
#

yo legit question -
if i am using compileOnlyApi, an issue arises where they don't have the repo that the dependency is from, which can be solved by just having people use a proxy which has everything, but is there another solution?

jovial warren
#

aurora just told me I got unbanned

#

yay

prisma wave
#

Why were you banned

surreal quarry
#

without shading ideally

static zealot
prisma wave
#

The solution isn't nice

surreal quarry
#

what is it?

prisma wave
#

Uh

#

You need to do something with the generated pom iirc

#

Lemme try find the post I used

jovial warren
prisma wave
#

nice

surreal quarry
jovial warren
#

yeah I may or may not have posted the link and told everyone in general how I stole it from Wix lol

static zealot
#

oh

ocean quartz
#
val regex = "\\[(?<action>[^]]*)] (?<value>.*)".toRegex()
val (action, value) = regex.matchEntire("[action] value")?.destructured ?: return
static zealot
#

oh Kotlin has its own Regex. I didn't know that

surreal quarry
#

kotlin regex good

ocean quartz
#

cache the regex though

prisma wave
#

can we talk about f# more

surreal quarry
#

BM do you know where in PDM you do that pom modification if you can't find the article

prisma wave
#

well i ended up doing a shading type thing

surreal quarry
#

ah ok. i guess ill just tell people to use the proxy repo url ¯_(ツ)_/¯

prisma wave
surreal quarry
#

thanks

static zealot
#

@ocean quartz Can you give some links to docs or something for Kotlin Regex Patterns? I can't seem to find any. I'm bad at even googling 😦

steel heart
#

isnt that basically the same

#

as java

#

just enhanced lib with for kotlin

#

or smtng

prisma wave
#

^

static zealot
#

oh I see. I guess w3schools doesn't list everything about Java Regex

static zealot
#

yeah ther's nothing about patterns there.

#

oh.

#

lmao

#

it links to this https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html

#

I didn't see that first time

surreal quarry
#

lmao

ocean quartz
#

Nice conclure

obtuse pulsar
#
        meta.setDisplayName("§6§lWishing Well Wand");
        List<String> lore = new ArrayList<>();
        lore.add("§7Right-Click a block to place a wishing well trigger.");
        lore.add("§7Wishing Well Name: §l§4{name}");
#

Why do the åå's appear?

static zealot
ocean quartz
#

Don't use § for colors

static zealot
#

probably because of §

#

yeah

#

use & and then the ChatColor#translateColorCodes

#

or whatever the methods is

lunar cypress
#

no

#

just compile with the correct encoding

#

not that difficult

static zealot
#

or that

#

xD

prisma wave
#

but also don't use the section symbol

surreal quarry
#

why is something that is in my compile classpath not accessible in the project

#

can't access Hologram which is a class in hololib:core

forest pecan
#

inalidate and restar

#

:0

surreal quarry
#

did

forest pecan
#

then your just bad

static zealot
#

😮

surreal quarry
#

im not being stupid right, if its in the classpath it should be available?

lunar cypress
forest pecan
#

hes talking about the weird color symbol

lunar cypress
#

Yes and I'm asking why you're not supposed to use it

surreal quarry
#

doesn't it cause issues in certain cases

lunar cypress
#

It's... just a character

#

What do you think translateAlternateColorCodes does

forest pecan
#

no hes not using that tho

#

hes just using the character itself

lunar cypress
#

.....yes

surreal quarry
#

i mean i would assume it replaces the &3 or whatever with like ChatColor.BLAH

lunar cypress
#

And I'm asking what the problem with that is

forest pecan
#

cause it causes weird symbols..?

lunar cypress
#

No

#

That just happens if you don't compile with Utf 8

#

Which you should be doing in any case

surreal quarry
#

you gotta copy/paste it every time i guess is a downside

forest pecan
#

theres actually version compatability issue

#

i think

lunar cypress
surreal quarry
#

i guess the toString probably puts the symbol in there

lunar cypress
#

If you guessed a string with § you would be correct

lunar cypress
distant sun
#

alt 21

forest pecan
#

its just compatability

#

"Even though I don't think Minecraft will change its ways of displaying colors, however, using ChatColor, rather than § will allow for compatibility with future versions of Minecraft (if they do decide to change ChatColor implementations)."

#

hence why i said it had something to do with versions

#

also it isn't too hard to do if you use the static import though. you can just directly use the fields

#

like RED + "error"

distant sun
#

or just use kotlin extensions and make a String.color function 😄

forest pecan
#

lmao

surreal quarry
#

lol

distant sun
#

java needs that

forest pecan
#

how does kotlin add the extra method tho?

#

is that just something language wise?

surreal quarry
#

yea its extension functions

forest pecan
#

yea thats what i thought

surreal quarry
#

Idk exactly how they do it, but yes its a language thing

forest pecan
#

wouldnt want to see bytebuddy or smthing in kotlin

#

🤮

distant sun
#

iirc it compile to a static method that takes the object as first argument

#

or something like that

surreal quarry
#

yea they compile to static recievers

forest pecan
#

yeah

distant sun
#

String.color() => color(String smth)

#

nice ngl

surreal quarry
#

Yea that makes sense
It would be like StingUtilKt.color("blah")

distant sun
#

in what, ~20 days

prisma wave
#

but yes

forest pecan
#

are trees a good way to handle command nodes

#

(arguments)

surreal quarry
#

if its not declared in a top level scope i guess

static zealot
forest pecan
#

yeah

#

it was from ranboo

#

like my name btw?

static zealot
#

like a very gay name

forest pecan
#

Yeah damn

#

the name BlitzZzZzZzZ really wants me to sleep

prisma wave
#

extension functions can be in a class

surreal quarry
#

yea

#

@prisma wave do you know of a way to add repositories to the generated pom? The stuff that is in the compile classpath isn't actually available to use unless the repository is specified in the build.gradle

ocean quartz
surreal quarry
#

ye

distant sun
ocean quartz
#

Cuz groovy gradle

hallow crane
#

hover over it

distant sun
hallow crane
#

nice

surreal quarry
#

i dont think theres a fix lol

distant sun
#

fr

ocean quartz
#

Nah dw about it, it's just IntelliJ with groovy gradle

hallow crane
#

if it works leave it

surreal quarry
#

yea its working, its just not gonna like autocomplete stuff for you

unkempt tangle
#

Anyone wanna play with me ?

distant sun
#

but .. why

surreal quarry
#

idk lol

#

groovy gradle and intellij

#

¯_(ツ)_/¯

ocean quartz
#

Ask jetbrains

obtuse pulsar
#

How can I detect if an item is inside a blocks coordinate?

surreal quarry
#

manually check the x y and z

#

and world

unkempt tangle
#

use getnearbyentities

obtuse pulsar
#

i kinda wanna make a "trash bin"

#

so every item that goes within that air block, gets deleted

unkempt tangle
#
for( Entity ent : loc.getWorld().getNearbyEntities( loc, 1, 1, 1)
        {
            
        }
#

airblock?

obtuse pulsar
#

well air

#

like

#

when the items go in an airblock

#

like

#

at a coordinate in the air

unkempt tangle
#

Its always in air

#

There are no condition where its not in air

#

even if its laying on the ground

obtuse pulsar
#

if item.coords is in 43,6,32

#

yea dont mind the air thing

unkempt tangle
#
        Location loc = new Location( /* your world */, 43, 6, 32);
        for( Entity ent : loc.getWorld().getNearbyEntities( loc, 1, 1, 1))
        {

        }

obtuse pulsar
#

should i do all this in a entity move event?

unkempt tangle
#

there is no such event

obtuse pulsar
#

oh

unkempt tangle
#

you need probably make a runnable

obtuse pulsar
#

alright

unkempt tangle
#

Or use playermoveevent

obtuse pulsar
#

what if noone moves tho lol

unkempt tangle
#

Its up to you

#

A permanent running runnable is ugly

obtuse pulsar
#

yea

#

i agree

#

and btw I have an array of coordinates I want to check for, like, I have a list of "triggers" that should delete items

unkempt tangle
#

Or you can use

#

PlayerDrop and Death event

#

Make a short runnable

#

every time

#

which cancel itself

#

when item is eitehr inside the coordinate

#

or layed on ground

#

d;spigot Item#IsOnGround

ruby craterBOT
#
boolean isOnGround()```
Description:

Returns true if the entity is supported by a block. This value is a state updated by the server and is not recalculated unless the entity moves.

Returns:

True if entity is on ground.

unkempt tangle
#

sec

#
 public void test(PlayerDropItemEvent event)
    {
        Player player = event.getPlayer();
        Location forbiddenZone = new Location(player.getWorld(), 43, 6, 32);
        Location playerLoc = player.getLocation();

        if (playerLoc.distance(forbiddenZone) > 100.0)
            return;

        Item item = event.getItemDrop();

        new BukkitRunnable()
        {
            @Override
            public void run()
            {
                if (item.getLocation().distance(forbiddenZone) < 2)
                {
                    item.remove();
                }

                if (!item.isValid() || item.isDead() ||item.isOnGround())
                    cancel();
            }
        }.runTaskTimer(/* your main instance */, 1L, 1L);
    }
#

this should do it

#

oh wait

#

You probably have to adjust the distances

#

on your needs

half harness
#

arrow code 🤮

#

main 🤮 lol you edited to "your plugin instance", i saw that

#

no finals 🤮

obtuse gale
#

@ocean quartz I want to show you something I just made

#

It's incredible

#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

ocean quartz
#

Oh no

half harness
#

👀

obtuse gale
#

ad infinitum

#

Or whatever lmao

ocean quartz
#

Omg

#

That's actually beautiful

obtuse gale
#

Lmfao

unkempt tangle
#

Me?

serene cave
#

Hello

#

i am the president of the United States

#

i have come back

ocean quartz
#

Ex*

unkempt tangle
#

Am I rich?

serene cave
#

im richer

unkempt tangle
#

Who are you

serene cave
#

I am Donald Trump

unkempt tangle
#

Good for you

strange olive
#

hi

unkempt tangle
#

hui

strange olive
#

how do you edit deluxe menus?

ocean quartz
strange olive
#

okay tnx

unkempt tangle
#

Edit the yml files

serene cave
#

I have a proposal

narrow geyser
#

How to get dev role?

forest pecan
#

requires approval

narrow geyser
#

I type [Role] Develepor and it doesnt work

forest pecan
#
  1. you spelled it wrong
#
  1. you didnt read it
#
  1. you have to wait
narrow geyser
#

I can wait

forest pecan
#

it doesnt give you an automated response

#

it just dissapears after, but its submitted

lunar cypress
#

You'll probably have to wait for a long time

narrow geyser
#

It says invalid request

prisma wave
unkempt tangle
#

Dont talk to him

serene cave
#

Hello

prisma wave
#

good to see you again

half harness
#

how ya doin' donald

serene cave
#

It's nice to see young boomers around the world

unkempt tangle
#

Senpai

half harness
#

😤

unkempt tangle
#

play with me 😭

narrow geyser
serene cave
#

@prisma wave hows the rocket going

ocean quartz
narrow geyser
forest pecan
#

Matt was my request valid

narrow geyser
#

What i write

ocean quartz
#

Read the channel

ocean quartz
forest pecan
#

kk

serene cave
#

Matt

#

can you give me a burrito

narrow geyser
forest pecan
#

??

#

its literally right there...

#

read pls

ocean quartz
#

You're still not following the format, it's right there in the channel

#

Role and proof

forest pecan
#

i applied before and i was close 😔

half harness
#

i applied before and i was not close 😔

narrow geyser
#

Proof what? Applying for dev doesnt need a proof, i am not making a ban appeal

forest pecan
#

LMAO

half harness
#

read

forest pecan
#

its for "good" developers

#

developers that write good code

#

at least

narrow geyser
half harness
#

Developer (Any language):*

  • Link to Github profile with
    proof that you own it.
  • 2+ Active projects of your
    own.
  • An understanding and attempt
    at following your chosen languages'
    principles and conventions.
    *No scripting languages
forest pecan
#

how the hell will we know you

#

lmao

ocean quartz
narrow geyser
distant sun
#

how can I make an extension for Player like itemInHand

half harness
ocean quartz
half harness
narrow geyser
distant sun
#

kotlin dkim

narrow geyser
#

Ok let me apply

half harness
forest pecan
half harness
ocean quartz
distant sun
#

matt 🥺

onyx loom
narrow geyser
#

My plugin is active and public

ocean quartz
#

Lol

#

Then don't apply

half harness
serene cave
#

shit

distant sun
#

I was looking for a way to call it without () kali

ocean quartz
surreal quarry
forest pecan
onyx loom
#

infix?

distant sun
#

something like player.inventory.itemInMainHand but without inventory part so an extension

half harness
ocean quartz
#

Just fun Player.itemInHand() = inventory.itemInMainHand

forest pecan
#

does using maven be bad for applying for developer

#

lmao

narrow geyser
#

Ok i applied

#

Is it fine?

onyx loom
#

u tell us

half harness
forest pecan
#

Yeah

#

i said that ealier..

#

yikes

surreal quarry
#

whats this repo

#

?

half harness
forest pecan
#

its one he updated 3 days ago

narrow geyser
half harness
#

ah that makes sense for the empty class

surreal quarry
ocean quartz
distant sun
#

any way to do it without () matt?

narrow geyser
#

blue core is new

#

I started 2 days ago

onyx loom
#

infix i think gaby

narrow geyser
#

Please look at other projects

onyx loom
#

wait no

distant sun
#

infix is something different

onyx loom
#

ye

ocean quartz
narrow geyser
forest pecan
#

then lets look at Spiget

narrow geyser
#

Sure

forest pecan
#

naming conventions arent good

#

either

#

😐

ocean quartz
forest pecan
#

you never name a class

#

with 1 letter

half harness
#

U

narrow geyser
#

No no

#

It was a fork

onyx loom
#

holy shit u can do that matt?

narrow geyser
#

I forgot to rename it

half harness
#

🤨

narrow geyser
#

I meant Utils

onyx loom
#

extension variables 🤨

surreal quarry
#

yes lol

half harness
ocean quartz
#

Boys, Piggy will review the code, you don't have to

distant sun
#

cute matt

narrow geyser
half harness
narrow geyser
#

Search CodedByYou/Spiget

forest pecan
#

and target folder

#

xD

surreal quarry
# onyx loom extension variables 🤨
val String.colored: String
  get() = ChatColor.translateAlternateColorCodes('&', this)``` ![fingerguns](https://cdn.discordapp.com/emojis/730681133200834592.webp?size=128 "fingerguns")
onyx loom
#

id prefer a function in that case

surreal quarry
#

actually you may need to do it with the get syntax

#

i forget

distant sun
#

ty matt

ocean quartz
ocean quartz
distant sun
#

what was the shortcut for kotlin conversion of java code?

surreal quarry
#

ctrl shift k iirc

onyx loom
#

alt too

surreal quarry
#

might not be ctrl then

#

idk its some combination of those things and k

ocean quartz
#

It's all of those

onyx loom
#

all of the above

surreal quarry
#

also just found out sonatype can be used as a docker repo as well (among many other things)

#

thats pretty cool

unkempt tangle
#

omfg

#

I cant believe it

#

I asked someone to play with me

#

Gave him the anonfiles link

#

and he managed to download malware

#

And have probably used it..

half harness
#

huh?

#

you gave someone malware?

#

I'm quite confused

unkempt tangle
#

NO

#

anonfiles

forest pecan
#

the hell is that

unkempt tangle
#

has those malware advertisements

#

"Your flash player is outdated"

#

Update it

#

And he dled it instead

half harness
#

some 8 year old probably 👀

narrow geyser
#

Is my request good?

half harness
onyx loom
unkempt tangle
#

He have a mac

#

He should be fine

onyx loom
#

RIP to all the games on websites using flash 😭

unkempt tangle
half harness
#

I have adblocker and antivirus fingerguns

unkempt tangle
half harness
#

ah yes, malware = virus fingerguns

#

bm

#

nvm

unkempt tangle
#

And I thought Mac users are safe

#

for malware

half harness
#

no...

onyx loom
#

no os is safe from malware lol

surreal quarry
#

linux is as good as it will get

onyx loom
#

yup

forest pecan
#

cause who the hell would code a virus in linux

#

most likely they are a developer

onyx loom
#

iOS viruses 🙃

forest pecan
#

and developers arent easily caught

#

by viruses

onyx loom
#

developers check their programs source code before downloading something fingerguns

surreal quarry
#

apt install *

steel heart
#

hi

#

im back

forest pecan
#

lmao

#

how long was that

steel heart
#

idk like 20 min or smtng mb

prisma wave
steel heart
#

bm check my new status

#

then acknowledge it as the truth

prisma wave
#

No

half harness
onyx loom
#

cringe

half harness
#

lol

steel heart
#

Synchronized Nonblocking IO

ocean quartz
onyx loom
#

lol

#

sumo is literally the definition of 1.8 pvp

steel heart
#

dkim beat me too :[

#

hypixel pvp is rigged

half harness
onyx loom
#

but it is tho

#

higher cps = less kb and u know that

half harness
#

no

#

thats wrong except for reducing

ocean quartz
onyx loom
half harness
#

but reducing requires drag clicking

onyx loom
#

what

#

uve just said im wrong but im right

#

at the same time

half harness
#

lmao

#

i can take no kb without insane high cps

#

sumo isn't all about cps

#

1.8 pvp in general isn't all about cps

onyx loom
#

i am well aware

half harness
#

🤨

#

doesn't sound like it

distant sun
#

@ocean quartz how can I add a body to get() =?

#

adding : DataType works

#
val Player.hand: ItemStack
    get() = run {
        return if (ServerVersion.CURRENT_VERSION.isNewerThan(ServerVersion.V1_8_9)) {
            inventory.itemInMainHand
        } else {
            inventory.itemInHand
        }
    }```
surreal quarry
#

get() {} should work

distant sun
surreal quarry
#

no =

distant sun
#

ohh

surreal quarry
#

its similar to like
fun blah() {} vs fun blah() = ...

steel heart
#

val x = String => Unit =>

regal gale
#

Another would you rather play here

#

Would you rather:java final String prog = {"prepare", "begin"}; if (host) print(prog[0]); else print(prog[1]);
or

final String prepMsg = "prepare";
final String beginMsg = "begin";
if (host) print(prepMsg);
else print(beginMsg);```
ocean quartz
regal gale
#

Ternary operator ftw

#

But there's not one in kotlin :(

distant sun
#

too long for one line

prisma wave
steel heart
#

BM Calculus

#

imagine

prisma wave
#

Lmao

old wyvern
#

No, rather you would simply use the same noise generator with the same seed and pass it the actual x and z coordinates at that point.

half harness
#

MIT or GNU?

#

license

ocean quartz
#

Depends on what you want the license to do

forest pecan
#

none, GPL fingerguns

ocean quartz
#

By GNU he means GPL
And most of the times MIT > GPL

forest pecan
#

yea cause its short

#

thats one benefit

#

its not a strong one

#

but still lol

ocean quartz
#

No, because MIT means you don't have to credit

forest pecan
#

Yea

half harness
#

What's the point of a license if you can just use the work without credit 🤔

ocean quartz
#

To allow to work without credit?
If your repo doesn't have license it falls into "all rights are reserved" and you can't copy, distribute, etc

old wyvern
#

sad

ocean quartz
#

Very sad

ocean quartz
#

Oh solo learn
I think i understand why, it isn't available unless you make an account
While the other ones show up in the learn page instantly

old wyvern
#

ahh

#
While the other ones show up in the learn page instantly``` Wait no
#

wdym?

#

@ocean quartz

ocean quartz
#

Oh okay, it doesn't show on the "start learning now"
You need to go to the courses tab to see it

old wyvern
#

ah

obtuse gale
#

when making REST apis should i have like convenience endpoints, that give me data in like a different format or something? Like something i could get from somewhere else but not in the right format or whatebver?

jovial warren
prisma wave
#

?

hot hull
#

Make a new file and use listFiles ?

#

If it's a directory

jovial warren
#

yeah that doesn't work

#

not for classpath

#

already tried that

#

getResourceAsStream seems to return a JarURLConnection, but if I do available, it says 0

hot hull
#

probs a dumb question, but how I get access to RadixEngine within my src module

jovial warren
#

yeah...

#

no

#

the parent can't depend on modules

#

actually no

#

the other way around

hot hull
#

So I pressume I should add another module for my src

#

So it can then implement that

jovial warren
#

implementation project(':RadixEngine')

hot hull
#

Doesn't look like it

jovial warren
hot hull
#

Made a common module for my root, less fuckery

jovial warren
#

indeed

hot hull
jovial warren
#

I'm starting to get pissed off that scanning the classpath for files in a directory is so fucking hard

#

or just anything I try doesn't work

#

if in doubt, bring the vanilla server out

distant sun
#

whp needs a .gitignore

jovial warren
#

yeah gj

#

ya pushed .gradle, .idea and build

hot hull
#

I pushed fucking everything

#

I don't give a single fuck about it

onyx loom
#

wow

jovial warren
#

I need to read all the tag files from Mojang's data generator

#

they're separated JSON files, with a file for each tag

#

so I need to get a list of JSON files inside each tag directory and iterate over them, for each one storing it's name and deserialising it's content from JSON to an object

#

I can do the iteration and the content, I just need a way to list the files

quiet depot
#

version independent?

jovial warren
#

what? the tags? currently only supporting latest

quiet depot
#

file names

#

I just need a way to list the files

jovial warren
#

I ain't hard coding them if that's what you're implying

#

tempted to just make MineKraft use it's own formats for the files and create a conversion tool for it tbh

prisma wave
#

just get the JarFile and scan the entries in that

old wyvern
#

.mk

jovial warren
#

if I could get a File object from a directory in the JAR, I would be fine lol

#

or a Path

prisma wave
#

CodeSource

jovial warren
#

since then I can either use listFiles or walk

prisma wave
#

that's not how it works

old wyvern
#

MinElarft 🙂

prisma wave
#

Files only represent things that are actually in the File System

#

use a JarFile and loop over the entries in that

prisma wave
#

HaskellCraft

old wyvern
#

oo

#

That could be a nice challenge

jovial warren
quiet depot
#

fun fact you really want to use a jarfile over a jarinputstream

#

they have different semantics for some reason

#

(well zipfile vs zipinputstream, jar doesn't have any weird stuff afaik)

prisma wave
jovial warren
#

yeah but what do I set as the name?

prisma wave
#

wdym

jovial warren
#

or the file

#

do I need to provide it with a file object that corresponds to the file on the system?

old wyvern
#

o.o

prisma wave
jovial warren
#

how do I do that without hard coding?

prisma wave
#

god it's all in 1 file

prisma wave
jovial warren
#

one has moved ze problem

#

how does one get that?

#

nvm that

#

what do I do with JarEntry?

prisma wave
#

wdym

#

you check the name

jovial warren
#

what exactly is this going to return btw?

#

I really don't get any of this

quiet depot
#

jar entry has the name and the bytes of the file

#

iirc

jovial warren
#
  1. what will JarFile#entries return? what kind of entries? classes? resources?
  2. what kind of name? relative to JAR? absolute? just the file name?
jovial warren
#

what kind of names?

#

because just the file name ain't gonna work

#

since 1. the tags aren't all in the same folder and 2. there's no way to distinguish block tags from item tags for example other than the directory they're in

prisma wave
#

then how exactly do you expect this to work

jovial warren
#

idfk

#

I've literally tried everything

#

I've tried class loader, custom scanners, org.reflections, file paths

prisma wave
#

what i mean is

#

if you've just said you can't distinguish them, how do you expect to distinguish them

jovial warren
#

by the directory they're in

#

as I said

prisma wave
#

then just hardcode the directory names?

jovial warren
#

that's why I need the list of files in a specific directory

prisma wave
#

and check that in the JarEntry

jovial warren
#

yeah I'm doing that

#

can I do that?

prisma wave
#

yes?

jovial warren
#

so the name of the JarEntry is relative to the JAR then

#

e.g. tags/blocks/acacia_logs.json would be the name of a JarEntry that's in that path in the JAR

prisma wave
#

mhm

jovial warren
#

right, okay

#

test time

#

NO WAY

#

Alex

#

you are a literal god

#

and Piggy

#

you are also a god

#

thank you

quiet depot
#

what did i do lol

#

bm told u everything

jovial warren
#

didn't want you to feel left out xD

quiet depot
prisma wave
#

oooh

jovial warren
#

oh hey BM

#

I got to the point where I can see the chat message in console

#

still sits on joining world though and throws a bunch of NPE's seemingly for no reason

onyx loom
jovial warren
#

I dug through the source of the client and there doesn't seem to be any reason for that at all

half harness
#

r u making ur own client or smth thonking

jovial warren
#

pk is plugin message, pa is change difficulty, qg is player abilities, qv is set carried item, rw is update recipes, pn is entity event and qk is player position and look for reference

jovial warren
half harness
#

lol

jovial warren
#

these are logs from the client, I'm making the server

half harness
#

ohh

jovial warren
#

I swear I've already told you this at least twice

half harness
#

😂

jovial warren
#

you must have the memory of a goldfish with dementia after a night out

half harness
#

🤣

half harness
#

pulse

#

ur nick

forest pecan
#

you just found out?

#

lol

jovial warren
hot hull
#

something seems to be null Bardy

#

:kek:

onyx loom
#

i swear ur using kotlin

jovial warren
#

I am Kaliber

prisma wave
#

no idea

jovial warren
#

but this is on the client's end

onyx loom
#

ah

quiet depot
#

null usually causes npes

jovial warren
#

nah

#

omfg

obtuse gale
jovial warren
#

@prisma wave guess

prisma wave
#

you're not sending something the client expects

jovial warren
#

nope

quiet depot
#

ok wtf

hot hull
#

The client is stoopid

jovial warren
#

the px packet never reaches the client

quiet depot
#

hex codes fully work in dchat as far as I can tell

jovial warren
#

px = login

quiet depot
#

what are people complaining about

hot hull
#

Piggy, user error as always

jovial warren
#

a.k.a the join game packet never reaches the client

half harness
quiet depot
#

ohh wait I think I understand

#

gradients or something

onyx loom
half harness
#

uh

jovial warren
#

maybe because it also never gets the game profile packet

#

actually yes it does

forest pecan
#

Just wondering, what would the maven-compiler-plugin be in gradle

hot hull
#

no u

forest pecan
quiet depot
hot hull
#

Atleast the boiz are loyal, where as these hoes aren't

forest pecan
#

Ok ty

forest pecan
onyx loom
#

his ex kekw

hot hull
#

doesn't matter fingerguns

quiet depot
#

dude it's so easy just don't have relationships

#

problem fixed

onyx loom
#

ikr pig

forest pecan
#

just fall in love with the computer

hot hull
#

I'm a mineman again Pig

onyx loom
#

we love to hear that

forest pecan
quiet depot
#

no

forest pecan
#

oh

quiet depot
#

download more groovy

#

and go like

#
plugins {
    id 'java'
}

sourceCompatibility = JavaVersion.VERSION_1_8```
#

and that's it

#

cool kids don't set target compat

forest pecan
#

kk lol

#

im using kotlin tho

#

is that fine or no

quiet depot
#

then use the kotlin plugin

forest pecan
#

k

quiet depot
#

compilation is provided by the plugin of whatever lang ur using

hot hull
#

Gian left me on delivered on sc, I'm sadge

forest pecan
#

Yeah

quiet depot
#

frosty u need to isolate urself

onyx loom
#

frosty delete the app

quiet depot
#

all of these weird platforms

#

tiktok

#

snapchat

onyx loom
#

😂

quiet depot
#

just don't use em

forest pecan
#

its a virus

#

social media is a virus

#

dont let it take you

quiet depot
#

no

hot hull
#

bruh I'm alone all day, I need some human interaction apart from discord

quiet depot
#

discord and youtube are good

#

why tho frosty

#

alone is good

forest pecan
#

is discord considered social media

#

lmao

quiet depot
#

yes

onyx loom
#

yes

forest pecan
#

well im talking about the other ones

#

like the ones where they post a story all day and shit

quiet depot
#

wouldn't even be surprised if more people used discord than snapchat at this point

forest pecan
#

discord is just

#

better

quiet depot
#

yeah discord has more users

onyx loom
#

lol

forest pecan
#

xD

quiet depot
#

my irl friend group still uses instagram to chat with each other

#

well at least some of them

#

I've migrated a bit under half to discord

hot hull
#

We switched to discord

quiet depot
#

mind you the people that I've got using discord are the ones with pc

hot hull
#

Cause everything else is fucking shit

quiet depot
#

I'm not sure I'll ever be able to convince the xbox half of the group

hot hull
#

Shoot them.

quiet depot
#

they just don't think like normal humans

#

wait no

#

they're ps4

#

not xbox

hot hull
#

Wait this is a serious question now Piggy

#

xbox or ps4

quiet depot
#

ps4

hot hull
#

Good.

onyx loom
#

lol

#

frosty if u said bad then i wouldve shot u

quiet depot
#

i mean both are trash

unkempt tangle
#

PC master race

quiet depot
#

yes

unkempt tangle
#

But far more expensive

quiet depot
#

dude my friends play fifa on ps4 and think they've reached the pinnacle of gaming

unkempt tangle
#

XBox Series S

quiet depot
#

and i'm just like

#

you're a fucking peasant man

unkempt tangle
#

Is sooo cheap

quiet depot
#

give up

onyx loom
#

oh god

#

i hate them people

unkempt tangle
#

for the hardware components

onyx loom
#

OmG gUyS i BoUgHt ThE nEw FiFa, mEsSi HaS aN eXtRa HaiR oN HiS FaCe

unkempt tangle
#

Fifa is currently EA's only game that works

onyx loom
#

wot

unkempt tangle
#

Without lootboxes

quiet depot
#

lol there's kids at my school that play these card opening games

unkempt tangle
#

EA is screwed

onyx loom
#

fifa points?

quiet depot
#

where you literally just open cards

#

there's no game

#

it's just opening cards

#

fifa cards*

onyx loom
#

oh yeah the simulators

#

on websites and what not

unkempt tangle
#

There are also idle games

#

Where the game palys itself

#

you only invest the currency your char earned

quiet depot
#

ok cookie clicker is in a league of its own

#

cookie clicker is og and good

onyx loom
#

🙂

quiet depot
#

but just opening fifa cards on scratch

unkempt tangle
#

But at the end

quiet depot
#

i can't comprehend it

unkempt tangle
#

Everything can be fun

#

I mean some people even had fun with Cyberpunk

quiet depot
#

it's like buying everything on amazon beta with your paypal sandbox account

#

how is that fun

#

(btw amazon beta isn't actually a thing that I'm aware of, just imagine it was, I imagine they have an internal tool)

#

oh yikes that doesn't actually make too much sense because you can't use paypal on amazon can you

#

oh yeah cyberpunk, has the source been released yet?

unkempt tangle
#

GWENT was released

#

And the guy sold it

quiet depot
#

lol

#

poor cdpr

unkempt tangle
#

screw them

quiet depot
#

what did they do

unkempt tangle
#

hypocrits

#

And also using DRM solutions if they need it.

#

They even took the website now down

#

And of course countless other issues which has been revealed through the active development from Cyberpunk.

#

Acting as employee friendly, but have crunch like any other company and still tries to hid their hideous acting.

unkempt tangle
#

I'm also using WhatsApp

#

Am I a horrible person?

quiet depot
#

no you're just extraordinarily weird

jovial warren
#

nah, I just find it annoying to have to switch between apps every few minutes

unkempt tangle
#

The problematic I have. Everyone is using WhatsApp

onyx loom
#

whatsapp is good

jovial warren
#

yeah WhatsApp is good

onyx loom
#

its literally the only social media i have with my friends outside of discord

unkempt tangle
#

We have groups with students there.

onyx loom
#

discord for gaming - whatsapp for anything else

half harness
#

||I've never heard of WhatsApp||

onyx loom
#

dkim u have problems

quiet depot
#

kaliber does its featureset even compare?

unkempt tangle
#

He is deaf

onyx loom
#

no

unkempt tangle
#

Thats why he never heard anything of it.

quiet depot
#

I feel like you guys are only saying it's good because of the extremely low bar set by every other app

onyx loom
#

but its ease of access make s it worth while

quiet depot
#

like discord is probably the most featureful chat app out there

#

it's great for everything

onyx loom
#

ofc

quiet depot
#

not just gaming

#

and yet it still sucks a lot of the time

lunar cypress
#

eh

unkempt tangle
#

Telegram is actually very close to Discord.

quiet depot
#

so i'm wondering, how on earth can whatsapp be "good"

#

it must be fucking awful

lunar cypress
#

whatsapp and discord don't have the same purpose

unkempt tangle
#

indeed.

#

I'm trying to hire everyone to telegram.

#

Parents who just learned what WhatsApp is and how it works

lunar cypress
#

Don't really like Telegram, but I'm looking to migrate to something else as well

unkempt tangle
#

Will be painful to teach them something else.

#

Telegram isnt bad.

onyx loom
#

signal 🙃

unkempt tangle
#

Extremely close to Discord.

quiet depot
#

i just use imessage to talk with my parents lol

#

I think they use messenger usually

#

but fuck that

lunar cypress
#

not everybody has imessage...

onyx loom
#

imessage peepoSad

obtuse gale
#

wechat though cursed_fingerguns

unkempt tangle
#

Imessage could never have its success by limiting it for a certain brand.

#

But that's something Apple would never admit.

half harness
#

i dont like apple bc it always has its own thing instead of universal

quiet depot
#

you can still message people on android through imessage though right?

unkempt tangle
#

Even their shitty television subscription service

onyx loom
#

ye i think so

unkempt tangle
#

Will never have success

quiet depot
#

i wouldn't know, the only people I message are my parents and they both use iphones

onyx loom
#

u cant play games through imessage tho

unkempt tangle
#

Apple products are ideal devices for parents. As beginner devices

lunar cypress
quiet depot
#

oh

half harness
#

one direction

quiet depot
#

well I don't like a response anyway lel

lunar cypress
#

You don't have imessage on Android

unkempt tangle
#

Thats why no one uses it

jovial warren
#

I think so yeah

unkempt tangle
#

My parents are using Messager from Facebook, WhatsApp and Instagram

jovial warren
#

just they can't use those special thingys

quiet depot
#

yeah johnny already said you can bardy

jovial warren
#

and you can't either

unkempt tangle
#

all facebook products xD

prisma wave
#

Messenger is good

onyx loom
#

brister mitten

#

get out

quiet depot
#

but zuckerman

jovial warren
#

Facebook messenger ew

unkempt tangle
#

Senpai bai

prisma wave
#

Billion dollar company A bad, billion dollar company B good

half harness
#

wot

unkempt tangle
#

I never understood the success of Facebook

#

It's so ugly

half harness
#

it doesn't say im on intellij in discord rp 😦

quiet depot
#

it's for old people n3w0rk

hot hull
#

messenger became shit when they removed images, nicknames and other shit due to the new guideliness

unkempt tangle
#

and not comfortable to use.

hot hull
#

Which is a retarded move lmao

prisma wave
#

Since when did they remove that

onyx loom
#

using facebook unironically kek

hot hull
#

image storing should I say

unkempt tangle
#

Have anyone seen Facebook Gaming?

quiet depot
#

n3w0rk the way I see it, is that facebook is the entirety of the internet for a lot of old people

hot hull
#

You can still send images, (sometimes)

unkempt tangle
#

But previously it was used by youngs

#

Before their parents occupied it

#

and the youngs left to insta

quiet depot
#

yes

fluid crag
#

facebook was a big thing back then, catering toward teens and college students

#

then a few years pass, and a new big thing shows up (instagram/snap)

prisma wave
#

GitHub issues are the best social media

unkempt tangle
#

Snap had only a small outbreak

#

No one uses it anymore

onyx loom
#

true

quiet depot
#

everyone at my school uses snap

#

except me

unkempt tangle
#

Github release was a blessing

onyx loom
#

lets all move to github as our main social media app

#

its literally perfect, u can message people and share code 😍

quiet depot
#

how do u message people on gh?

unkempt tangle
#

Perhaps Snap is a US trend

hot hull
#

issues

onyx loom
#

issues

unkempt tangle
#

But it died

hot hull
#

:kek:

quiet depot
#

oh

onyx loom
#

🙂

unkempt tangle
#

in europe very quickly

quiet depot
#

i'm in aus

hot hull
#

n3work it didn't lol

unkempt tangle
#

It did.

hot hull
#

Where you from

prisma wave
#

Make a private repo, add the person you want to speak to, then use issues for communication

unkempt tangle
#

Everyone uses WhatsApp, Insta and TicToc

onyx loom
#

tictoc

hot hull
#

BM, even better, commit description

half harness
#

lmao