#dev-general

1 messages ยท Page 228 of 1

obtuse gale
#

same

#

tbh I just hate everything that is web/browser related

lunar cypress
#

No, I didn't say.... whatever

hot hull
#

sir you confuse me

lunar cypress
#

Yes you are confused

quiet depot
#

silly boys

hot hull
#

Join fellas 1015595-664c60a4

#

AdventOfCode private leaderboard

lunar cypress
#

๐Ÿ˜ณ

distant sun
#

@lunar cypress AoC++ means you have donated?

lunar cypress
#

yes

distant sun
#

oh nice\

steel heart
#

@prisma wave I'm expecting a christmas pfp

prisma wave
#

ooh good point

onyx loom
#

christmas tf2 pfp

steel heart
#

ye

#

heavy but christmas edition

onyx loom
#

i swear everyone just puts on a hat

#

atleast piggy got some creativity

static zealot
#

not me tho

onyx loom
#

and artistic skills fingerguns

steel heart
#

I applied a filter

forest pecan
#

clown is not creativity

steel heart
#

bruh

forest pecan
#

clown is scary

#

but it not halloween anymore

steel heart
#

puls

#

did you create a fork or mirror of that api

forest pecan
#

not yet

prisma wave
steel heart
#

oh nvm sry

#

long time since I played

#

@forest pecan u ok?

forest pecan
#

wat lol

steel heart
#

your butthole doesnt hurt right

prisma wave
onyx loom
#

๐Ÿคฃ

#

amazing

steel heart
#

scary

onyx loom
#

keep it

forest pecan
#

put it on

hot hull
#

Jesus

steel heart
#

he looks sociopathological

static zealot
steel heart
#

some?

prisma wave
steel heart
#

blitz being the only artist here

static zealot
#

can't on gifs. Gifs are to outdated for Paint

prisma wave
#

lol

#

God this is hideous

static zealot
#

its beautiful what you talking about?

#

I think its time I update my pfp as well

steel heart
#

yeah its hideous

prisma wave
#

it was the best thing I could find

steel heart
#

at least more christmas vibe

#

@forest pecan thats only the api

#

bruh

#

his api is so weird

obtuse gale
static zealot
#

xD

forest pecan
#

but importing models from texturepacks

#

is so hard and ugly

steel heart
#

actually let me write some nice code for it

forest pecan
#

its actually hard

#

his code is complex

#

and lots of math

steel heart
#

considering making an entity api

#

ye

forest pecan
#

just honestly fork it

#

and make some changes to it

#

its too much work to start from scrath

steel heart
#

I cant

#

he doesnt provide the implementation

forest pecan
#

Wait wat

steel heart
#

its only the api ye

#

specified behaviour

forest pecan
#

its with mythic mobs api

#

i think

steel heart
#

fuck

#

its obsfucated lite

obtuse gale
#

and that's a linus tech tip

prisma wave
#

Explicitly specifying types ๐Ÿคฎ

obtuse gale
#

for testing purposes only

lunar cypress
hot hull
#

oh god

ocean quartz
#

Nullability ๐Ÿคฎ

obtuse gale
#

bREUH

hot hull
#

Why you using kotlin if you want shit nullable

obtuse gale
#

because being null is cool

hot hull
#

A complete waste

obtuse gale
#

to each their own

lunar cypress
#

you don't actually need those private vals first of all, so you should rather do what you're doing there in a constructor

obtuse gale
#

thank you

#

for your opinion

lunar cypress
#

Also, nulls are fine (in fact, the entire point of having good nullability is you using them)

#

But kotlin has operators just for this

#

namely ?

obtuse gale
#

I'm almost brand new to kotlin too

#

just started using it because it's close to swift

#

wait so elvis operators ?: are just a concise way of doing if not null do this else do this?

hot hull
#

Just do !! everywhere

obtuse gale
#

ok dad

lunar cypress
#
class Pixel(x: Int, y: Int, path: String) {
    val byte: Byte
    init {
        byte = File(path).takeIf { it.exists() }
            ?.let(ImageIO::read)
            ?.let { Color(it.getRGB(x, y)) }
            ?.let(MapPalette::matchColor) ?: 0
    }
}```
#

This is what I would do, based on the current specification

obtuse gale
#

that's actually really interesting

lunar cypress
#

you can do the same without let and with interim variables instead of course

obtuse gale
#

right

ocean quartz
#

null!! is a new level of cursed

static zealot
#

what in the world xD

onyx loom
#

not null null

#

not not null

obtuse gale
#

would there be any reason not to do it like this in comparison to you doing it in init{}

class Pixel(x: Int, y: Int, path: String) {
    val byte: Byte = File(path).takeIf { it.exists() }
            ?.let(ImageIO::read)
            ?.let { Color(it.getRGB(x, y)) }
            ?.let(MapPalette::matchColor) ?: 0
}
ocean quartz
#

Nah, that's fine

obtuse gale
#

I guess I could even do it another level up and remove the class

fun pixel(x: Int, y: Int, path: String): Byte = File(path).takeIf { it.exists() }
        ?.let(ImageIO::read)
        ?.let { Color(it.getRGB(x, y)) }
        ?.let(MapPalette::matchColor) ?: 0```
ocean quartz
#

Not a great idea to keep opening the file for each pixel though

lunar cypress
#

^

obtuse gale
#

yea, I was just playing around with maps, there would be optimizations to this in the future

lunar cypress
#

and converting that to a function is also good

obtuse gale
#

I'm learning! lmao

lunar cypress
#

And I'm telling you you're on the right track

#

now instead of the path you could pass a BufferedImage and the performance issue would be solved too

obtuse gale
#

yea that'd probably be better

lunar cypress
#

Or, even cooler:

fun BufferedImage.pixel(x: Int, y: Int) = ...```
obtuse gale
#

oh bet

distant sun
#

Big brain johnny

lunar cypress
#

if you're really feeling it you could overload the [] operator too

#
operator fun BufferedImage.get(x: Int, y: Int) = ...
#

image[x, y]

#

debatable

#

ok then

obtuse gale
#

wait so how would you get the BufferedImage variable

#

if you're just using BufferedImage.whatever()

lunar cypress
#

it's this

distant sun
#

Thought the method should pixel the image not to get a pixel, mb

obtuse gale
#

just getting a color to turn into a byte with the MapPalette#matchColor() method so I can draw pixels to a map

#

with MapCanvas

lunar cypress
obtuse gale
#

I'll take a peek

prisma wave
#

Consider also using knightzmc/pdm, I think you will find it helpful

obtuse gale
#
fun BufferedImage.pixel(x: Int, y: Int): Byte = MapPalette.matchColor(Color(this.getRGB(x, y)))
fun thisIsOkay() {
    val example: BufferedImage? = null
    example!!.pixel(0,0)
}

So this would be the intended use?

lunar cypress
#

yeah, that'd be how you'd use it

onyx loom
prisma wave
#

Probably

obtuse gale
onyx loom
#

the confidence. i like it

lunar cypress
#

I didn't even know matchColor existed

onyx loom
#

its better than "probably not"

lunar cypress
#

Need to integrate it there

obtuse gale
#

everything's deprecated in MapPalette which kinda sucks because they don't tell us why or what else we should use

#

but whatever

lunar cypress
#

For images I've just used drawImage

obtuse gale
#

I'm trying to make full hd images not just 128x128

lunar cypress
#

Well, my library can kind of do that too

obtuse gale
#

oh bet

lunar cypress
#

not quite yet though tbf

#

It only supports 1:1 thus far

#

I'm not sure if I want to implement image resizing algorithms and all that jazz myself, so I'm looking for another library that can already do this

obtuse gale
#

can't you kind of do that in java with graphics2d or whatever it's called

lunar cypress
#

Well the issue is mainly that in the end you still need to get it on 128x128 pixel maps

#

so the question is how you resize and crop it in such a way that you come close to the original resolution but don't need a ridiculous amount of map items to be accurate

obtuse gale
#

I guess that makes sense

lunar cypress
prisma wave
#

Making issues and PRs on your own repo is so depressing lol

obtuse gale
#

straight mood

prisma wave
#

Nobody wants to contribute ever ๐Ÿ˜”

hot hull
#

This man seriously opens issues on his own repos, now that's committment

obtuse gale
#

committment

hot hull
#

coommiittmmeenntt

frail glade
#

I mean, it's a really smart thing to do.

#

Helps you keep track of things that need to be done.

ocean quartz
#

Agree, it's a bit boring, but more organized

onyx loom
#

just dont have a buggy plugin. ez

hot hull
#

No clue what bugs are, couldn't relate

static zealot
#

if anyone wants to join

#

just join lmao

#

its just me and yugi so far

old wyvern
#

mhm

#

damn, I wanna see that. Join

#

ayy

#

@prisma wave you busy?

onyx loom
#

its always @ elara mitten come join clash, but not @ elara mitten how are u ๐Ÿ˜”

static zealot
#

xD

#

oh man

prisma wave
#

eating dinner

#

1 sec

hot hull
#

Bon appetit

#

What's the english term for that, good meal sir?

frail glade
#

He's gotta eat dinner and then he has to look at a PR for a bit.

ocean quartz
#

Definitely cheated on that one xD

#

@old wyvern Huh, so sortDecending managed to pass the last one

old wyvern
#

the last one is 0000 to 0

#

I converted it to long before printing

ocean quartz
#

Ooh okay that makes sense, i made the check cuz couldn't think of anything else

old wyvern
#

ah

static zealot
#

yes guys my code is very clean and beautiful and it almost works xD

old wyvern
#

xD

static zealot
#

wait I'm so confused. oh

#

thanks matt

#

for solving the problem for me

old wyvern
#

huh?

#

xD

static zealot
#

didn't understand what the problem was at last test case

#

lmao

old wyvern
#

ahhh

#

welp

static zealot
#

ye I can't do more tho.

forest pecan
#

haha 5th place

obtuse gale
#

da heck is that

distant sun
#

@ me when you guys finish

old wyvern
#

I exited, no one else was there

#

Shall I start a new one?

distant sun
#

sure

hot hull
#

Nice pfp Gaby

#

Yugi, where's your christmas pfp!

old wyvern
#

raichu when?

distant sun
#

we need to sign a petition for IDE integration smh

#

ty xd

old wyvern
distant sun
#

never, pika is better

old wyvern
#

Ill try to find one

old wyvern
distant sun
#

neither

steel heart
#

shiny pikachu

forest pecan
#

the christmas lights are being powered by his blood

old wyvern
#

I dont understand the concept of shiny pokemon

#

What exactly is shiny about them?

lunar cypress
#

their appearance

distant sun
#

@ocean quartz

ocean quartz
#

@ocean quartz

steel heart
#

@ocean quartz

forest pecan
#

@ocean quartz

hot hull
#

@ocean quartz

old wyvern
distant sun
#

aww shortest

old wyvern
#

And do they actually exist outside the game? like in the show?

lunar cypress
#

I'm not too familiar with the anime, but I do believe they appear there

old wyvern
#

ah might just be me misremembering

cedar zenith
#

I need some ideas to code. Iโ€™m updating my plugin from 2016 and Iโ€™m really back into it, but idk what to add to it.

#

Relatively simple stuff Iโ€™m a moderate coder

#

Not super advanced

ocean quartz
#

I need to go xD

distant sun
#

smh

#

I hate 'shortest' smh

#

who the fuck name variables 'MMM' 'AAA' 'NNN'

old wyvern
#

rename em?

distant sun
#

I did but the question still remains

steel heart
#

fuck 75%

old wyvern
#

lol

distant sun
#

hey

#

screw you yugi

old wyvern
#

๐Ÿ˜ฆ

steel heart
#

next time

#

no

#

fkn

#

shortest

distant sun
#

YOU know the sacred rule

old wyvern
#

uh?

#

oh no python?

distant sun
#

py is not allowed on shortest ๐Ÿ˜ค

old wyvern
#

oh ok sorry

distant sun
#

( sorry if this was too mean LOL )

steel heart
#

its too dangerous to be left alive

old wyvern
distant sun
#

let's try kotlin

#

tf 0?

forest pecan
#

Bro

old wyvern
#

wha

forest pecan
#

i got a 50 because i forgot

#

to test my 3rd

#

test case

old wyvern
#
if (result) {
    System.out.println(false);
} else {
    System.out.println(true);
}```
#

bruh

forest pecan
#

ikr

#

im so dumb

#

lmfao

old wyvern
#

if yes yes, else no

forest pecan
#

lol

steel heart
#

ok new one

forest pecan
#

yeah

#

new one

#

this was my first one and i was like wtf am i doing

#

lol

steel heart
#

@old wyvern

hot hull
#

That is pure comedy Pulse

steel heart
#

N

#

EW

#

O

#

NE

forest pecan
#

lmfao

#

i guess my #showcase sexy showcases are paying off

forest pecan
#

"You learn something new everyday"

forest pecan
#

they all got deleted ๐Ÿ˜ญ

old wyvern
#

oh? why?

forest pecan
#

cause they were too good

old wyvern
forest pecan
#

its a joke btw lmfao

#

i was posting horrible shitty code

#

which made a bunch of the support elves pissed

#

frosty would know lmfao

old wyvern
#

lol

forest pecan
#

lol

static zealot
#

wait

#

what the fuck

#

why 75

#

what did I miss? xD

#

omg

#

fuck

#

I forgot to check if min divides max

#

I bet that's why the 75 ๐Ÿ˜ฆ

forest pecan
#

im so dumb

static zealot
#

yes

forest pecan
#

i read the problem wrong

#

at least i got a 100

static zealot
#

lmao

forest pecan
#

๐Ÿ˜„

#

lol

static zealot
#

xD

forest pecan
#

i thought the original question

#

was asking about two characters that are the same regardless uppercase or lowercase and doesnt matter which index they are

#

so i used two loops

#

but that didnt work

#

so then i used a map

#

but that didnt work

#

then i read the question again

#

and then i found out what i was trying to do was wrong lmfao

distant sun
#

yugi: -20 characters

forest pecan
#

bruh

#

you compressed yours

#

this aint fair lmfao

distant sun
#

that's how it works

#

everyone does that on 'shortest' lol

forest pecan
#

my life is a lie

#

Ohhhh

#

thats why

distant sun
#

therefor the name angry_fingerguns

forest pecan
#

bro thats so dumb

#

lmfao

#

but that means

#

some languages

#

bruh

#

thats biased

#

lmfao

distant sun
#

why do you think we dont allow py xd

forest pecan
#
import java.util.*;import java.io.*;import java.math.*;class Solution{public static void main(String a[]){Scanner i=new Scanner(System.in);String w=i.nextLine();char[]b=w.toCharArray();for(int j=0;j<b.length;j++){if(j>b.length-1)break;if(Character.toUpperCase(b[j])==Character.toUpperCase(b[j+1]))System.out.println(true);}System.out.println(false);}}
#

@steel heart

#

KEKW

distant sun
#

or at lest some of us cough @old wyvern ๐Ÿ™„

forest pecan
#

conclure

#

you forgot that it has to be b.length-1

#

and also there is String#charAt

#

so there is no need to convert it to a char array :)

distant sun
#

for (char a : word.toCharArray())

forest pecan
#

i just used normal for loop

#

and used charat for index

static zealot
#

Gaby you rly went for that lol xd

distant sun
#

xd

static zealot
#

lmao I tried to make it at least readable

distant sun
#

im waiting for yugi

distant sun
forest pecan
#

guys pull up a usaco problem

#

lmfao

distant sun
#

usaco?

steel heart
forest pecan
#

lmfao

distant sun
#

lol nty xd

forest pecan
#

i have to do that in 2 weeks ๐Ÿ˜ญ

#

my brain hurt

distant sun
#

nice for you

old wyvern
#

welp

static zealot
#

COWVID-19 nice

old wyvern
#

js failed me

steel heart
#

f

old wyvern
#

moved to kotlin in final minute

#

welp

distant sun
#

F

forest pecan
#

lmfao

distant sun
#

nice code tbh

old wyvern
#

i was trynna make a smaller soln with regex but didnt work out

#

next round?

steel heart
#

ye

steel heart
#

fuck

#

I could have made it even shorter

#

||d
```java
import java.util.;import java.io.;import java.math.*;class Solution {public static void main(String args[]) {Scanner in=new Scanner(System.in);String string=in.nextLine(),r="";char[]a=new char[]{'a','e','i','o','u','A','E','I','O','U'};for(char c:string.toCharArray()){l:for(char b:a){if(b==c){r=r+c+"p";break l;}}r=r+c;}System.out.println(r);}}

#

dont look

old wyvern
#

uh

distant sun
#

uhhh regex ๐Ÿ˜ฆ

old wyvern
#

What did you use?

#

share code

steel heart
#

^

distant sun
#

why two maps, isnt it already a string?

old wyvern
#

no its a char

#

CharSequence's map maps with character input

jaunty sonnet
#

Is there tickets?

distant sun
#

ahh

#

no

steel heart
#

just ask

jaunty sonnet
#

So Im coding a Hub Plugin at the moment and I want to make it support PlaceholderAPI like pinger, etc

#

How can I do that?

steel heart
#

First you need PlaceholderAPI plugin as a dependency

jaunty sonnet
#

I already done that!

distant sun
steel heart
#

iirc you parse it through PlaceholderAPI.setPlaceholders(Player,String)

#

or smtng

jaunty sonnet
onyx loom
#

yes

#

simples

distant sun
#

np

#

this was the last one for me guys, cya =/

steel heart
#

cya

jaunty sonnet
#

I don't wanna make custom placeholders, how can I like import the already made placeholderAPI extentions to my plugin

#

The eCloud ones

distant sun
#

that's exactly what I linked you to

steel heart
#

PlaceholderAPI.setPlaceholders(Player,String)

forest pecan
#

@steel heart nooooooooooooooooo

#

oh

surreal quarry
#

That was so hard on an iPad

steel heart
#

this parses a string

forest pecan
#

you arent going

#

lol

#

we need more

#

clash of code

steel heart
#

1,2k

#

how

#

tf

#

did u accomplish that

forest pecan
#

i wasnt zoning off

#

i had to eat

#

and i didnt really code

#

properly

#

lmfao

steel heart
#

oo

distant sun
#

1,2k what

jaunty sonnet
#

I feel dumb rn but when I put PlaceholderAPI.setPlaceholders(Player,String), what do I type for the string?

#

Like the pinger or placeholder?

forest pecan
#

someone make a clash

distant sun
#

the string you want to set the placeholders on

surreal quarry
#

โ€œThis is a string with %some_placeholder%โ€ for example

distant sun
#

^

steel heart
#
String str = "%player_name%";
String parsed = PlaceholderAPI.setPlaceholders(Bukkit.getPlayer("Conclure"),str); //will be "Conclure"
surreal quarry
#

And it would replace %some_placeholder%

forest pecan
#

someone make a clash thing ๐Ÿ˜ญ

#

i already miss it

surreal quarry
#

You can make one

forest pecan
#

idk how 2

surreal quarry
#

Iโ€™d do it but Iโ€™m on mobile lol

forest pecan
#

lmao

steel heart
#

need to go

#

sry

jaunty sonnet
#

Ohh alr

jaunty sonnet
#

So I did this but doesn't work

            String str = "%pinger_isonline_<IP>:<PORT>%";
            String parsed = PlaceholderAPI.setPlaceholders(players,str);
        } ```
half harness
#

you've gotta clash when theres lots of ppl

surreal quarry
#

^^

forest pecan
#

ooooooooof

half harness
jaunty sonnet
#

Yes

half harness
#

ok

jaunty sonnet
#

I replaced it with my ip and I did the ip in the config

surreal quarry
#

Go on the server and do /papi parse me %that_thing% and use the placeholder youโ€™re using as well as the ip and port

#

See if it works

jaunty sonnet
#

Alright

#

It works

surreal quarry
#

Could you send how you are using parsed

jaunty sonnet
#

Ohhh, I think I got it

#

I got it to work

#

Alright, thank u James

#

@surreal quarry, can't I do if parsed.cotains("Offline") { statuscolor = ChatColor.RED; }? to check check if its offline or online to change the color depending on the status of the server

#

statuscolor is a private chatcolor veriable

#

Yup it works

prisma wave
#

clash

#

clash of

#

of code

#

?

static zealot
#

clash

#

of

#

clans

#

someone

#

?

jaunty sonnet
#

I play it lol

prisma wave
#

\๐Ÿ™‚

#

sad now

#

depressive state

#

release album with every title in lowercase.

#

black instagram profile picture

onyx loom
#

pain.

prisma wave
#

๐Ÿ˜ฆ

#

time to become a lil xan listener

onyx loom
#

๐Ÿ˜ฌ

#

edgy

prisma wave
#

yeah actually that's too far

obtuse gale
#

yes it is

#

take it back

prisma wave
#

i take it back

obtuse gale
#

ok thank you

prisma wave
#

you're welcome

obtuse gale
#

now go listen to some juice

prisma wave
#

i'd love to

onyx loom
#

rich and blind if u ever wanna be sad

obtuse gale
#

amen

prisma wave
#

rich hickey and blind ๐Ÿฅฒ

forest pecan
#

who wanna

#

do codin gam

#

wit me

prisma wave
#

yES

#

@everyone join

forest pecan
#

YES

obtuse gale
#

@clear fossilerupme

prisma wave
#

nice one

obtuse gale
#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @obtuse gale!

forest pecan
#

lol

obtuse gale
#

where can i go?

static zealot
#

what type of help?

obtuse gale
#

well with placeholder api

#

and bungeecord

static zealot
obtuse gale
#

why is floor rounding up and ceil rounding down

static zealot
#

ask there

obtuse gale
#

riddle me that

#

k

static zealot
obtuse gale
#

ignore that questions @static zealot

static zealot
#

k lmao

obtuse gale
#

I'm dyslexic on Tuesdays

prisma wave
#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @prisma wave!

forest pecan
#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

obtuse gale
#

@prisma wave I need help too

prisma wave
#

ok

obtuse gale
#

oh shi

forest pecan
#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

obtuse gale
#

I'm not special

onyx loom
forest pecan
#

I need hepl

#

I need help to

#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

forest pecan
#

need help

prisma wave
onyx loom
#

deathrace

prisma wave
#

ah yes

#

make believe is good

obtuse gale
onyx loom
#

this is why we need a music channel

obtuse gale
#

My favorite off the album is the bees knees doe

onyx loom
#

ew

obtuse gale
#

ew u

onyx loom
#

swear thats the worst song

#

let me listen to it again

obtuse gale
#

I only like the first half

#

before he switches the flow

#

it's just two songs glued together

prisma wave
#

eh

#

nah this kinda sucks

obtuse gale
#

ok

prisma wave
#

death race has a lot of mediocre songs i think

#

goodbye & good riddance is probably the best overall

obtuse gale
#

Oxy is my favorite juice wrld song

prisma wave
#

wlrd on drugs is very meh imo

#

the only good thing to come out of it is fine china

obtuse gale
#

fax

#

on another note nicki minaj made another song

#

and spotify goes another day without a dislike button

onyx loom
#

i havent heard goodbyr and good riddance in a long time

#

may have to revisit

prisma wave
#

only nicki minaj song worth listening to is majesty because of eminem's feature

obtuse gale
#

he pops off highkey

prisma wave
#

ikr

obtuse gale
#

He should've just made that a song without her

prisma wave
#

one of his best features

obtuse gale
#

I also like romans whatever with eminem too

#

roman's revenge

prisma wave
#

not heard that

#

oh actually i think i have

obtuse gale
#

it's kind of a marshall mather lp2 vibe

onyx loom
#

crazy to think juice passed almost a year ago now ๐Ÿ˜”

prisma wave
#

๐Ÿ˜”

obtuse gale
#

๐Ÿ˜”

#

and so many others too

ocean quartz
#

BM are you used to making unit tests?

obtuse gale
#

king von died a few weeks ago and xx is going on two years now

prisma wave
#

yeah i do it pretty often now

#

whenever i make a new project it's usually

  • make a decoupled class that obviously works
  • waste loads of time unit testing it even though it's literally 3 lines of logic
  • couple it, unit tests break
  • cba to do any more
ocean quartz
#

How would you do it for maybe like a parser
Like I have the input: &c*||~~__**Hello**__~~||*&#000![#111](/guild/164280494874165248/channel/111/)!
Which will turn into this:

obtuse gale
#

just check if it's a palindrome or nah

prisma wave
#

make a parser, parse, do an assertion comparing the results with a known list?

#
val parser = Parser()
val result = parser.parse("blah")

assertEquals(listOf(blah), result)
``` ?
prisma wave
obtuse gale
#

hmmm yes

prisma wave
#

If i'm making a sort of Hologram pool for reusing armor stand entities, how do you think I should handle reloading?

  1. just kill all the stands onDisable, and recreate later
  2. some wacky persistence shit that i'd rather not do
  3. just check armorstands near a location and assign them
hot hull
#

Elaborate on what you mean

prisma wave
#

when a chest is full, it gets a hologram
gonna pool the holograms so i'm not creating and destroying a ton of entities

when restart, Map<Chest, Hologram> is cleared

either remove all holos and replace, wacky serialization shit, or check near each chest for an existing hologram onEnable

#

will probably go with 1, since performance isn't really an issue onDisable

hot hull
#

Just remove and create on enable

#

It's really minuscule performance strain even with thousands, just so long you update them async

prisma wave
#

you can't can you?

#

they're Entities

#

but yeah, 1 seems the most sound

hot hull
#

Wdym you can't?

obtuse gale
#

you should probably kill them onEnable, right? ex. the server crashes and leaves armor stands where ever

hot hull
#

onDisable*

obtuse gale
#

no like kill them, then when none are existent, set them

prisma wave
#

can you rename rename entities async?

hot hull
#

Yes

prisma wave
#

o

#

TIL

hot hull
#

Only adding can't be done async

prisma wave
#

yea world modification

hot hull
#

Yes

tawdry ore
#

yo

#

whats the plugin to disable colin commands

#

like factions:fac

obtuse gale
#

syntax blocker

static zealot
#

no

#

Buster

#

stop right there

#

xD

obtuse gale
#

read that wrong

tawdry ore
#

what is it

obtuse gale
#

lmaoooo

static zealot
#

PluginHiderPlus

#

try this one mikey ^

hot hull
#

FrozenTabCompletion

static zealot
#

no thanks

obtuse gale
#

no

static zealot
#

I don't want any of your plugins anymore Frosty

#

because I have to update them myself and fix the bugs

#

lmao

obtuse gale
#

^

#

they're broken

hot hull
#

I'm feeling a strong smell of USER ERROR

static zealot
#

He had to take them down from spigot that's how bad they were

#

lmao

onyx loom
#

frosty i would have to disagree

obtuse gale
#

they should run perfectly fine on a 1.5.2 server but they don't

static zealot
#

yes

onyx loom
#

DJ converter ๐Ÿ‘€

static zealot
#

developer error

hot hull
#

Worked fine for me, so again USER ERROR

static zealot
obtuse gale
hot hull
#

Blitz, does atleast FrozenActions work as it should?

static zealot
#

no idea

#

never used

tawdry ore
#

@static zealot doesn't stop colin commands

hot hull
#

Bruh you goddamn liar

obtuse gale
#

the dev even provides a paypal link if you like it

hot hull
#

=whois @obtuse gale

compact perchBOT
#
Buster#5033
Profile

@lean arrow

ID:

697978050079621200

Created:

Apr 9 2020

Status

online Online

Linked Accounts:

**Spigot: **BusterDev

hot hull
#

Interesting

obtuse gale
#

what's this

#

don't look at my spigot

#

old news

hot hull
#

What the fuck

remote goblet
#

I hate it

#

the main issue is the fact that doesn't work

onyx loom
#

i love it!

obtuse gale
#

no it works

#

you just need to use .toString()

remote goblet
obtuse gale
#

wrong

#

incorrect

static zealot
#

xD

remote goblet
#

check the thread now EmiCool

obtuse gale
#

thank you

#

that was very festive of you

remote goblet
#

yes

#

you look like you need the reactions

obtuse gale
#

da hecc is that supposed to mean

remote goblet
obtuse gale
#

๐Ÿ˜ฉ

hot hull
#

@obtuse gale String.join(" ", your array)

#

Ez claps

obtuse gale
#

that's exactly the point I was trying to get across but those guys didn't get it

prisma wave
#

(str/join " " arr)

onyx loom
#

NO

prisma wave
#

jeez

#

No respect for your elders

hot hull
obtuse gale
prisma wave
#

Thanks

static zealot
#

why isn't there an easy way to calculate exp to levels and levels to exp? ๐Ÿ˜ฆ fuck math someone else should do it for me

obtuse gale
#
Minecraft Wiki

Experience (EXP or XP for short) can be obtained by gathering experience orbs from mining, defeating mobs and players, breeding, trading, fishing, completing advancements, and using grindstones and furnaces. Experience gained during a player's life affects the player's score on the death screen. While having no direct effect on the player charac...

static zealot
#

if only I knew to scroll down half a page

#

lmfao

obtuse gale
#

I know you have your struggles and I still accept you

#

I'm here fo ryou

static zealot
#

thank you

tawdry ore
#

How do i preload chunks

static zealot
#

use ChunkMaster, Chunky or WorldBorder

#

all those 3 are plugins you can find on spigot

tawdry ore
#

what about a 1.8 one which isn't worldborder

static zealot
#

no idea. I only ever used ChunkMaster

#

Buster just one small thing tho. I had all that I just realised. I still need to revers all that so I can get how many levels there are if you have a specific amount of EXP

#

which now that I sit here and think about it, isn't that hard. I just red a lot of posts instead which had a lot of complicated shit xD

inner osprey
#

Please @ me when replied thanks

static zealot
#
[20:55:07] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[20:55:07] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[20:55:07] [Server thread/WARN]: Perhaps a server is already running on that port?```
#

@inner osprey ^

tawdry ore
#

@static zealot how do you speed up how many chunks gen per second

static zealot
#

what plugin?

tawdry ore
#

worldborder

static zealot
#

don't they have a wiki or something? never used it

ocean quartz
#

Prolly getting a better server is the only way to speed that up

inner osprey
#

@static zealot What do I change?

static zealot
static zealot
#

in your server.proprieties

#

rn its 25590

#

try something else

inner osprey
#

Ah, needed to remove server ip lol, and yeah change port too thanks :)

static zealot
#

๐Ÿ‘

distant sun
#

The what

#

Also, mem usage improvements when ๐Ÿ˜ค

tawdry ore
#

having trouble with deluxesellwands, when i try to sell this happens in the consle

#

dm eme

static zealot
#

this channel is for development discussions.

tawdry ore
#

@static zealot check ur dms

static zealot
#

you said Yo. xD Is that suppose to mean something?

remote goblet
obtuse gale
#

SSRIs?

#

just like what I take each morning PepeHappy

#

OH MY GOD

static zealot
#

OH YOUR GOD

obtuse gale
#

IntelliJ doesn't halt the entire computer when I type Material.!!!!!!!!

#

or open the fucking file

#

yeswssss

#

and memory doesn't skyrocket

static zealot
#

what?

remote goblet
#

POGGIES

static zealot
#

I understood nothing

obtuse gale
#

you see

#

this update is good COOLFLOOSH

remote goblet
#

Do you know of the infamous

#

Material.java

static zealot
#

no I don't

#

lmao

remote goblet
#

You dont know the material class for bukkit

static zealot
obtuse gale
#

I can finally lower back the max memory usage

#

oml

#

oml oml oml

static zealot
#

I fucking hate this

#

Why doesn't Spigot just add some methods for exp calculation?

#

I have to do all this fucking math

#

I took 2 hours off to play some Tomb Raider thinking it'll be better after but nah

static zealot
obtuse gale
#

๐Ÿฅบ

obtuse gale
#

is it just me or the new release of intellij is seriously faster in literally every aspect?

ocean quartz
#

Trying it now

#

Omg the Kotlin auto complete thingy, is actually fast again
It used to be so slow

obtuse gale
#

Ye

#

And the Materials class works like any other

#

What a bliss of an update

hot hull
#

cries in 2018.3

normal talon
#

๐Ÿ™‚

hot hull
#

@distant sun Did you do day 2 part two?

#

nvm got it, I'ma 4head

distant sun
#

I forgot about aoc

#

doing it rn

hot hull
prisma wave
#

Haven't even got day 1 yet lol

hot hull
prisma wave
#

Soz

#

My code didn't work and I cba to fix it

distant sun
#

noob

hot hull
#

smh

prisma wave
#
nums.zip(nums)
.first { (a, b) -> a + b == 2020 }
.let { it.first * it.second }
.apply(::println)
#

Surely this should work

hot hull
#

fugly

prisma wave
#

typed on mobile

distant sun
#

interesting

hot hull
old wyvern
#

How does the rating on there work?

#

Like based on performance? Time taken?

hot hull
#

time taken I'd assume

old wyvern
#

Ah

obtuse gale
#

CoC anyone?

hot hull
#

Don't got a mouse rn

distant sun
obtuse gale
#

whats all this advent of code stuff ive been seeing?

distant sun
#

1 challenge / day with 2 parts

#

@hot hull post le join code

hot hull
#

Huh

obtuse gale
#

Would anyone know how to make a nice looking health system for a scoreboard, I have images for examples

distant sun
#

the join code for the leaderboard ...

hot hull
#

You're already in it

distant sun
#

..

hot hull
#

Go to leaderboards and private leaderboards and you'll see it I think

old wyvern
#

uh

#

does day 1 have multiple answers?

hot hull
#

No

distant sun
#

yes

hot hull
#

Well part 1 part 2

#

If that's what u mean

obtuse gale
#

anyone at all know how? xd

hot hull
distant sun
#

I mean, there are multiple numbers that pass the condition

old wyvern
#

yea

distant sun
#

but you have to send only 1

old wyvern
#

so trial and error the 3 possibilities?

distant sun
#

why do I feel that the input is different from user to user?

hot hull
#

Uh 2020 Yugi

old wyvern
#

hmm

obtuse gale
hot hull
#

Not 2000

old wyvern
#

ohhhh

#

damn

quiet depot
#

lel I did that too

old wyvern
#

my bad

hot hull
#

Gaby I think it's the same

quiet depot
#

but I did it manually, so not an easy typo for me

distant sun
#

no it's not frosty

quiet depot
#

more wasted time D:

old wyvern
#

xD

hot hull
#

Lol

old wyvern
#

got em

#

theres only 1

hot hull
#

I've got the two inputs on my repo Gaby, go check

old wyvern
#

phew

hot hull
#

Join fellas 1015595-664c60a4

quiet depot
#

stop sharing code

#

that ruins the point

hot hull
#

If anyone wants to join

quiet depot
#

you guys shouldn't have repos for this

hot hull
#

Piggy, don't look at it if you haven't done it

quiet depot
#

these things should be competitive and closed source

old wyvern
#

Cant they sue you for that as well?

#

I remember project euler having something like that

distant sun
#

1472 1686
1757 1983
1404 1801
1663 1890
@hot hull

old wyvern
#

only first 100 problem solutions are allowed to be publically posted

distant sun
#

aight will make it private ๐Ÿ™‚

quiet depot
#

idk if adventofcode cares, but most ctf's have strict rules against it afaik

old wyvern
#

mhm

hot hull
#

Smh

#

Stop being jealous mr manual guy

#

I'll close source when I get on pc

old wyvern
#

how hard would aoc be into a week or two?

distant sun
#

good question

quiet depot
#

hopefully not too hard because I'm starting at the end of this week

hot hull
#

We'll see Yugi

distant sun
#

@hot hull post the damn code smh

old wyvern
#

day #1 is a complete joke tho

distant sun
#

ยฏ_(ใƒ„)_/ยฏ

hot hull
#

What code Gaby

quiet depot
#

yeah lol didn't even need code

old wyvern
#

mhm

distant sun
#

for the leaderboard

hot hull
#

Join fellas 1015595-664c60a4

#

I've posted it twice now smh

quiet depot
old wyvern
#

I joined an hour ago frost

hot hull
#

Piggy, pin this instead

quiet depot
obtuse gale
#

:9

distant sun
#

:))

hot hull
quiet depot
#

put a link in the message

distant sun
hot hull
#

Smh

quiet depot
#

thx b

hot hull
#

On mobile so it takes a bit to do stuff, danke Gaby

distant sun
#

๐Ÿ™‚

lunar cypress
old wyvern
#

I see

dense lion
#

@fluid crag can you add me I tried adding but it said you have to add me

ocean quartz
#

@distant sun New update is using a lot less RAM ;o

normal talon
#

minecraft update ?

ocean quartz
#

IntelliJ update

normal talon
#

oh yea I noticed

#

it's running fast

obtuse gale
#

It's really good

hot hull
#

2018.3 reversed_fingerguns

obtuse gale
ocean quartz
#

Frosty what was the reason you can't update again?

obtuse gale
#

Matt where is your Christmas pfp

hot hull
#

Matt, potato pc

obtuse gale
#

You can use Eclipse on any low end computer cursed_fingerguns

ocean quartz
obtuse gale
#

Okay

#

Listen here

#

How about no

#

K thanks

obtuse gale
#

ye

steel heart
#

Thanks god

#

Idk but it was literally devouring my ram before

obtuse gale
#

You can now use the Material class without the whole thing halting kek

steel heart
#

Ye

#

The material class is everything but nice though

ocean quartz
obtuse gale
#

lmao

#

it really is a lot faster in every aspect

#

even closing

steel heart
#

๐Ÿ‘

obtuse gale
#

Frosty how much RAM

steel heart
#

Fefo change your name now when you can

obtuse gale
#

?

#

y

steel heart
#

Why not

obtuse gale
#

I like it

steel heart
#

Itโ€™s too short

#

Itโ€™s to simple

#

Too little of fefo

#

We need more fefo

obtuse gale
#

k gud?

steel heart
#

Omg

#

Iโ€™m dying

#

So divine

obtuse gale
#

lol

hot hull
#

@ocean quartz I physically cannot, I've told you several times already smh, if I could I would

steel heart
#

Noob

obtuse gale
#

how much RAM

hot hull
#

Ram isn't an issue

#

Well, isn't the issue

obtuse gale
#

what is thonking

#

physically cannot

hot hull
#

The cpu

obtuse gale
#

hmmm resolution

#

eh..

prisma wave
#

32 bit in 2020 ๐Ÿฅถ

steel heart
#

Yeah we use 128 bit here

hot hull
#

It's a 9 year old pc, give it a fucking break

steel heart
#

Lol

obtuse gale
#

๐Ÿ†

forest pecan
#

frosty uses 32 bit?

#

frosty go brrr

hot hull
#

My harddrive go brrrrrrrrrrrrrrrrrrrr

#

New height limit is 2048 :Oooo

forest pecan
#

softdrive

obtuse gale
hot hull
prisma wave
#

Wish

#

Wish

#

Woah*

#

Smh

hot hull
#

You shop on wish much?

prisma wave
#

Absolutely not

obtuse gale
#

I wonder why min is -2048 lol

#

it's not like you can do anything below bedrock

hot hull
#

Well you probably will be able to now

prisma wave
#

maybe super deep caves coming?

#

or massive ravines

#

or similar

steel heart
#

Super high mountains as well

obtuse gale
#

who

obtuse gale
tranquil crane
#

code go brrrrr

old wyvern
hot hull
#

It's 7am

#

Scam

old wyvern
#

๐Ÿ˜‚

hot hull
#

How are the points calculated? Cause if it is time then that's a scam

old wyvern
#

I have no idea

prisma wave
#

Paper java 11 ๐ŸŽ‰

old wyvern
#

Yup just saw