#general

3141 messages · Page 123 of 4

vestal jasper
#

@austere ivy

austere ivy
#

Yeah.

#

Vic?

limber knotBOT
#

paper.cam is only $10 ( ͡° ͜ʖ ͡°)

austere ivy
#

Those aren't my plugins..

#

That's not me haha.

#

This is.

#

@vestal jasper

proud dagger
austere ivy
#

I'm so confused on what this person is doing.

#

I can't tell if it's a troll or the person's just trying to market..

#

Video proof coming soon™

finite wave
#

Retrooper
Retrooper

Java Plugin Maker, Game Developer
austere ivy
#

Who am I to judge him, if he has a cool anticheat, that's cool.

#

But kinda rude to just say "ANTICHEAT TO SAVE THE WORLD IS LITERALLY BEST ANTICHEAT" and then give absolutely no pictures or images.. or anything.

#

Mainly just silly ,_,

#

He seems to have a lot of resources though, so that's good!

#

Started out with Skript, later migrated to Bukkit.

#

Seems somewhat legit.

vestal jasper
#

does it shut down the server on startup?
Imagine being able to stop 100% of cheaters
by never letting them log on in the fisrt place lul

unreal quarry
#

best anticheat ^

#

must download

#

11/10 would recommend

austere ivy
#

Wow he has a DiscordLink!

#

That's im-- wait

#

why is it 1.8 only

#

wait

#

it's not a discord bridge

#

it's a literal discord link

#

like

merry talon
austere ivy
#

./discord to get a link

#

ohhhhhh

#

I thought it'd redirect to dunder mifflin but you get what you got.

#

So far it seems he has really basic plugins, like basically bukkit wrappers. Heal yourself, set a spawn, that kinda stuff, but still cool.

merry talon
#

you act like a discord bridge would be a lot harder than a discord link

#

when all you need to do is send a POST request

austere ivy
#

But no offense to him, I highly doubt he has an anticheat that's [SAVE THE WORLD] because I think anticheats are really hard.

#

Sweepy yeah, discord bridges are like black magic to me haha xD

stiff yarrow
#

@austere ivy this reminds me on the very first public release of Heroes they wrote 'Revolutionary' to describe their own plugin no one had played yet, and lets just say revolutionary is a pretty strong word

quasi valley
#

Well sweepy I didn’t know how to do that until like half a year after I started with the bukkit api :p

austere ivy
#

How do Discord bridges work, then?

merry talon
#

yeah but if he can make a custom command he can figure out how to send a request lol

#

its literally just post to a webhook

quasi valley
#

Probably not

austere ivy
#

Because you need a Discord bot as well.

#

Webhook?

merry talon
#

if you want both ways yeah

austere ivy
#

Oh.. ooohhh

#

Yeah, it needs to be both ways.

merry talon
#

and then you just send messages back using redis or something

austere ivy
#

Something along the level of DiscordSrv?

merry talon
#

which gets harder but mc -> discord is dead simple

#

I dunno what that is

austere ivy
#

I have absolutely no experience with webhooks.. so

finite wave
#

Just use ACF

austere ivy
#

Best Discord bridge, really nice.

merry talon
#

it's a url you send a request to in the same way you would paste a url in your browser and add parameters

#

pretty easy

austere ivy
#

mc <-> discord, you got rank color translation, it's nice.

#

Oh really?

#

That seems cool, I kinda want to try to make webhooks now lol.

merry talon
#

discord makes them for you

austere ivy
#

Wow, webhooks look really simple.

#

what do I do with it now

finite wave
#

Google it pleb

merry talon
#

send a post request with the body documented on their API

#

you can test it with curl or httpie

#

a message and username is the minimum you need

#

but also make a new one because you just exposed it

austere ivy
#

¯_(ツ)_/¯

#

have fun folks

unreal quarry
#

writes a quick app to send nasty messages to brian's discord through his webhook

merry talon
#

it can ping everyone btw

austere ivy
#

ok

unreal quarry
#

never ever expose your webhooks or bot ids

austere ivy
#

do your worst.

#

It's in a private channel.

#

Can't really do anything but get my guild ID I guess, right?

unreal quarry
#

i remember there was a big server (forgot which) that put their bot on github and hardcoded the bot token in it

austere ivy
#

OOH YIKES

#

That sounds bad.

unreal quarry
#

totally used it to talk to them and was like "hi"

#

talked for a few hours to everyone. got pretty busy because i had the "bot" tag

#

lol

austere ivy
#

Alright perfect.

#

Whoever sent those messages to my server, can you tell me how you did it?

#

:)

unreal quarry
#

drew lots of attention before an admin came on and banned his own bot

vestal jasper
#

webhooks

unreal quarry
#

just to kill the token

austere ivy
#

Wow.

#

Couldn't

#

they just

unreal quarry
#

yes, but these are the same guys that put their token on github

#

not the brightest bunch

#

^_^

austere ivy
#

I just have a token file outside and read the contents of that whenever I need the token.

vestal jasper
#

or use env vars

finite wave
#

Did u remove the webhook?

merry talon
#

he did

#

use dotenv

austere ivy
#

dotenv?

limber knotBOT
#

env with a dot

finite wave
austere ivy
#

ok so

#

how do I do the webhok htin

limber knotBOT
#

htin?

austere ivy
#

thing

limber knotBOT
#

magic!

finite wave
#

Google the api @austere ivy

austere ivy
#

jan

#

if you say google

#

i CALLDE IT

limber knotBOT
#

try googling

#

try javacord if you want to use it in java ;D

merry talon
#

i don't think that's maintained

limber knotBOT
#

discord should have docs on how to do it

merry talon
#

jda is the new one

limber knotBOT
#

wat

merry talon
#

oh they made a new version

limber knotBOT
#

jda is rubbish

merry talon
#

how so?

limber knotBOT
#

had to work with that... really hated how it was structured

#

like you had no event api

#

well no proper one xD

#

isn't discord stuff usually event driven

#

you basically just extend ListenerAdapter and then override the methods...

#

wat

#

huh

#

wat

#

like

merry talon
#

that's.. how events are usually done in java

#

how do you want to do it lol

limber knotBOT
#

I want it like bukkit, lol

#

java

merry talon
#

that's what you do in bukkit

#

pretty much

limber knotBOT
merry talon
#

wut

#
public class MessageListener extends ListenerAdapter
{
    public static void main(String[] args)
            throws LoginException
    {
        JDA jda = new JDABuilder("token").build();
        jda.addEventListener(new MessageListener());
    }

    @Override
    public void onMessageReceived(MessageReceivedEvent event)
    {
        if (event.isFromType(ChannelType.PRIVATE))
        {
            System.out.printf("[PM] %s: %s\n", event.getAuthor().getName(),
                                    event.getMessage().getContentDisplay());
        }
        else
        {
            System.out.printf("[%s][%s] %s: %s\n", event.getGuild().getName(),
                        event.getTextChannel().getName(), event.getMember().getEffectiveName(),
                        event.getMessage().getContentDisplay());
        }
    }
}
#

you'd do something like that in bukkit too

austere ivy
#

ew

#

EW EW EW

#

WHAT IS THAT

limber knotBOT
austere ivy
#

those BRACES

#

nnnOOOOOO

#

I don't like seeing those braces.

#

Get it away!

limber knotBOT
#

don't worry, the 400 lines long onEvent method almost has no braces ;D

unreal quarry
#

ah, good ol' JDA

#

sadly, thats the best API we have

merry talon
#

looks like just minor differences from javacord

unreal quarry
#

for Java

limber knotBOT
#

no, javacord is better

unreal quarry
#

javacord and d4j suck

#

they really make things overcomplicated

merry talon
#

i won't use discord4j out of principle

#

their discord is full of dickheads

austere ivy
#

okay.

#

so I have my webhook link

#

how do I actually use this

merry talon
#

where do you want to use it

limber knotBOT
#

you just push json to it

austere ivy
#

I just want to send things to it

merry talon
#

from where

austere ivy
#

how would I do that phoenix

merry talon
#

java?

austere ivy
#

wherever I can, I'm 100% inexperienced with this

limber knotBOT
#

open it in the browser with the json encoded in a get request

austere ivy
#

terminal

#

whatever

limber knotBOT
#

runs

austere ivy
#

phoenix how do I do that

merry talon
#

do they support get? lol

limber knotBOT
#

I don't think so actually xD

merry talon
#

literally just

limber knotBOT
#

.g discord webhook api docs

austere ivy
#

I saw that

#

it does not answer my question

merry talon
#
curl -X POST -d '{"message": "foo"}' <url>
austere ivy
#

it shows me JSON, how do I send this json to it

#

THERE WE GO

#

curl?

merry talon
#

🤦

#

cant help ya with that one

austere ivy
#

I've seen that and had to use that before

#

but uhm

unreal quarry
austere ivy
#

well

merry talon
#

yes, what about curl

#

you probably have it already

austere ivy
#

oh huh I do

#

oh I think it was wget I was thinking about huh

merry talon
#

oh jda has support for webhooks

limber knotBOT
unreal quarry
#

thats not a webhook, tho, is it?

merry talon
#

@unreal quarry that project's an interesting concept

unreal quarry
#

look slike sending directly to channel

limber knotBOT
#

I really don't care what it's using behind it

unreal quarry
#

@merry talon it was, yeah. it was a failed attempt. too much was wrong with it.

limber knotBOT
#

it's a discord bot

merry talon
#

ah

#

well yeah if you're using the discord library already there's not much reason to use webhooks

unreal quarry
#

i made it just to be able to talk in spigot's irc from discord lol

merry talon
#

the point is you can use them anywhere

unreal quarry
#

but i dont care for their chat anymore, so i stopped caring for that bot

merry talon
#

me either

austere ivy
#

is not working

#

nevermind got it

merry talon
#

upper case X

limber knotBOT
#

now we can bruteforce the key ( ͡° ͜ʖ ͡°)

finite wave
#

@austere ivy are you serious

#

You just posted the hook again

unreal quarry
#

lmao

merry talon
#

it's missing part of it

unreal quarry
#

brian needs to take cyber security 101

finite wave
#

No it’s wrapped @merry talon

#

Oh nvm

merry talon
#

no it isn't

#

look at the top row

finite wave
#

Well he almost posted it

cosmic raft
#

lol billy

limber knotBOT
#

it's missing 7 chars

#

that's why I said bruteforce :P

finite wave
#

I see

merry talon
#

.wa 64^7

limber knotBOT
cosmic raft
#

and then there's me

merry talon
#

you can calculate all those but then you have to get around rate limit lol

limber knotBOT
#

jda

merry talon
#

you know what's fun? discord blocks certain user agents from using webhooks

#

and they don't document it anywhere

#

and you just get an html cloudflare challenge

austere ivy
#

Hey.

#

You know I purposefully did a bit to the left so you wouldn't see the url.

#

But whatever, it's in a private channel, go nuts.

merry talon
#

the rate limiting will stop that

austere ivy
#

Go nuts.

#

The * are characters that have been removed, there's 3.

potent warren
#

I once let random people call my webhook just for testing purposes...... Let's say someone just connected to Tor and started spamming the entire thing

#

xD

cosmic raft
#

@austere ivy you want -X not -x

austere ivy
#

Actually, I like you all. Now there's just one.

#

Oh wait.

jade light
#

It's not discord blocking those user agents. Cloudflare presents the challenge to known offenders/IPs it's never seen before

cosmic raft
#

-x is proxy, -X is request

austere ivy
#

gotcha kashike

merry talon
#

I already said that 😡

#

@jade light it was working for a period of time and stopped

#

if they do that, there's gotta be a way for discord to turn it off

#

because for APIs that's stupid as hell

#

also, it was a known UA

austere ivy
#

whoops

#

huh

jade light
#

Yeah I agree it's stupid, but even if you send a json accept http header they don't want bots pinging their servers

austere ivy
#

ok here's a game now:

merry talon
#

that's the point of rate limiting though -_-

austere ivy
#

with that webhook, whoever puts the 10000000th message (please put your username in the bot's id) gets a prize

#

:)

cosmic raft
#

you can take your game and go away

jade light
#

Even then, anyone could fake that ua. CF uses lots of variables to either present the test or not

austere ivy
jade light
#

I think there's a page rule, but I suspect even discord w/ rate limiting might not want excessive traffic on their expensive GCP compute instances

#

The more requests they get the more they have to pay

merry talon
#

that doesn't explain why it was working for a long time and then started getting challenged

unreal quarry
#

@austere ivy note to self, discord is pretty strict about abuse. if you have a webhook that uses too much traffic they can delete it and even delete your channel/guild.

jade light
#

While CF neatly blocks them before the bad guys get a chance

#

Well, maybe discord actually reenabled the CF challenge

merry talon
#

I don't think it's acceptable for them to do that

#

if it's that strict about user agents

austere ivy
#

wait what

merry talon
#

like, this one is pretty known

#

but it's also not very widespread

jade light
#

Again, the check isn't based only on ua

austere ivy
#

get deleted, webhook

merry talon
#

it was in my tests

jade light
#

How do you know what CF is using to determine you are a bad actor?

merry talon
#

by changing every other variable other than the UA

jade light
#

Hell, you can use googlebot as a UA and you will still get the challenge

merry talon
#

let me find the support ticket

jade light
#

CF won't tell you what variables they use

#

They want to keep it secret

merry talon
#

There's only so much information in an HTTP request

#

you can change everything

cosmic raft
#

@jade light because people will try and immitate Googlebot, it's IP-restriced for that agent iirc

merry talon
#

and I tested with just about everything

jade light
#

But if your bot is running on a VPS/dedi its IP is most likely on a warning list

merry talon
#

of course I tested different IP ranges too

#

also, other discord stuff on that machine with other UAs work

jade light
#

Well, they can also see patterns of traffic

#

Maybe the contents you're sending to discord are triggering some system

#

I'm just hypothesizing anyways

merry talon
#

contents are just user generated messages

#
Hi Sweepyoface‍,

Thanks for letting me know! I've asked the team about this as well, and just to give you a heads-up, they're currently looking into issues with Valve user agents being blocked from the API. I want to reassure you that our team is on the case and working on a fix, however, I sadly don't have an exact ETA for when a solution will be available.

I'm really sorry that we don't have an immediate solution for you, but please let me know if you have any other questions in the meantime and I'd be happy to help.

Sincerely,
Augustine
#

that was 2 months ago

#

I think it's still broken

jade light
#

It might be similar to what kash was saying about googlebot

#

Valve might use that UA for URL previews or something

merry talon
#

that UA is specific to the game server that uses it

#

see the (4000) part

#

is a steam app ID

#

it actually works without that

unreal quarry
jade light
#

If you change the steam app id by a single digit it works?

merry talon
#

yes

#

but you can't

jade light
#

Yeah

merry talon
#

in its API

jade light
#

You pass the CF test but discord needs the true id, I see

#

/shrug

merry talon
#

no that UA does get challenged by cloudflare

#

there's just no way to change the user agent in what the server's scripting language exposes

jade light
#

I get what you're saying

#

Have you contacted discord? They might be more responsive and have direct access to enterprise cf contact

merry talon
#

yeah I posted it above

unreal quarry
#

did mojang change biomes in 1.14? i'm getting some freakishly tall mountains

#

its not an amplified world, either

limber knotBOT
#

uuh that looks neat

#

not to hard to check a 1.13 world

merry talon
unreal quarry
#

seed is 995058771492057548 if anyone wants to check. mountain is at 765, 172, -1057

limber knotBOT
#

I mean you could always just proxy it through another machine

static badge
#

ah rest apis

merry talon
#

yeah that's what I ended up doing

#

but that's annoying

#

if your api is expected to return json it should do so lol

quaint rivet
cosmic raft
#

beautiful

#

BiConsumer<Consumer<Foo>, Consumer<Consumer<Bar>>>

#

my code currently ._.

finite wave
#

Why

cosmic raft
#

yes

static badge
#

mfw

golden gust
#

I wonder what the wear of kash's <> keys are

unreal quarry
#

kashike, the over engineerer

#

^_^

static badge
#

optional<optional<optional>>>

cosmic raft
#

@golden gust ask almura

languid sparrow
jade light
#

OptionalFactory

cosmic raft
#

public final class BlockContentTypeLoader extends MultiTypeContentLoader<BlockGenre, ContentBlock, ContentBlock.Builder<ContentBlock, BlockStateDefinition, BlockStateDefinition.Builder<BlockStateDefinition>>, BlockContentProcessor<ContentBlock, ContentBlock.Builder<ContentBlock, BlockStateDefinition, BlockStateDefinition.Builder<BlockStateDefinition>>, BlockStateDefinition, BlockStateDefinition.Builder<BlockStateDefinition>>> implements Witness, MultiTypeContentLoader.Translated<BlockGenre> {

limber knotBOT
static badge
#

why the generics

cosmic raft
unreal quarry
#

thats 1.13 phoenix616?

limber knotBOT
#

yes

cosmic raft
#

new class that does the same: public final class BlockLoader extends RootContentLoaderImpl<BlockType.Child, ContentBlockBuilder<?, ?, ?>> implements Listener {

unreal quarry
#

nice. just a weird accident then ^_^

#

i like it

finite wave
#

Hmmm

static badge
#

why the generics kash REEE

cosmic raft
#

required to satisfy injections

limber knotBOT
#

shattered savanna plateau is an awesome biome xD

cosmic raft
#

line 44 is the important one there

static badge
#

huh

unreal quarry
#

too bad this is on my test server. i would have made this island my home if it was on prod

#

lol

limber knotBOT
#

just copy the world

static badge
#

long time since I've seen & used in generics

unreal quarry
#

i try to avoid generics

#

when i'm forced i just <?> and ignore the yellows

#

runs

cosmic raft
#

lol

static badge
#

pfft

cosmic raft
#

another fun class

#

see if you understand what it does

static badge
#

do you want me to die of cancer

#

oh it's not generics

#

ok gimme a minute

unreal quarry
#

it contains an entry for a search on a jar

merry talon
#

yellows not acceptable

#

yellows should cause build to fail with fatal error

#

change my mind

static badge
#

is this mc assest handling

unreal quarry
#

paper wouldnt compile, then

merry talon
#

it shouldn't

unreal quarry
#

@merry talon figure out how to un-yellow this. Map<Object, Type<?>> dataTypes = (Map<Object, Type<?>>) DataConverterRegistry.a().getSchema(DataFixUtils.makeKey(SharedConstants.a().getWorldVersion())).findChoiceType(DataConverterTypes.o).types();

merry talon
#

it kind of doesn't though

unreal quarry
#

i tried, but couldnt, so just <?> it

merry talon
#

I can't without the rest of the code lol

cosmic raft
#

@static badge nope

unreal quarry
#

thats it. its a one liner

#

can be placed anywhere

static badge
#

well I can't be bothered further

merry talon
#

^ what he said

unreal quarry
#

:S

static badge
#

I got an interesting issue to solve

#

I go up 50 blocks and my tps cuts in half

unreal quarry
#

cloud renders

#

fancy clouds

limber knotBOT
#

world gen?

static badge
#

tps

#

not fps

cosmic raft
#

it takes incremental change JARs and modifies the local filesystem to match:

{
    "id": "f48193ba-e795-49c2-9a32-abce9d764158",
    "modified": [
        "assets/almura/content/block/normal/barrel/raspberry_seed_barrel.json"
    ],
    "removed": [
        "assets/almura/content/block/normal/barrel/agave_seed_barrel.json"
    ]
}

== delete assets/almura/content/block/normal/barrel/agave_seed_barrel.json, copy new version of assets/almura/content/block/normal/barrel/raspberry_seed_barrel.json out

#
$ jar tf 20171024-49c2-9a32-abce9d764158.jar 
assets/
assets/almura/
assets/almura/content/
assets/almura/content/block/
assets/almura/content/block/normal/
assets/almura/content/block/normal/barrel/
assets/almura/content/block/normal/barrel/raspberry_seed_barrel.json
assets.json
static badge
#

file system

#

wait wait wait wait wait

#

w

#

a

#

i

#

t

unreal quarry
#

probably trying to constantly spawn entities, but cant (you're in the air) so it just infini loops

static badge
#

is mc using a fucking file system for its assests

cosmic raft
#

to allow distributing one BIG jar of the initial assets, and only changed files later

#

this isn't Minecraft, my code

merry talon
#

also, sometimes yellows are unavoidable due to the lang's nature

cosmic raft
#

but minecraft does similar

merry talon
#

that makes it their problem billy

static badge
#

dude that is

#

overkill

#

you don't need a filesystem monkaS

#

oh definitely a bug

#

34 cats are taking up all of my tps

#

because I'm in some weird pathfinding zone

safe tide
#

why is git giving me a catch 22

static badge
#

well this issue is going to be fun

#

time to play

#

following the 1500 nested lambdas

merry talon
#

they're trying to pathfind to you in the air? LUL

static badge
#

yes

limber knotBOT
#

LOL

safe tide
#

it wont let me push b/c of stuff from the repo I dont have but it wont let me pull b/c of local stuff the repo deoesnt have

merry talon
#

ez fix

static badge
#

which is probably why it's nuking my tps

#

but it wont do it if I'm slightly above ground

stiff yarrow
#

its called a merge qball

limber knotBOT
#

stash, pull, unstash, push

stiff yarrow
#

or tstash

static badge
#

hold on lemme get you the distance it happens at

stiff yarrow
#

I rarely stash

unreal quarry
#
limber knotBOT
#

(DiscordBot) xkcd: Git (30 October 2015)

#

stashing makes the history cleaner imo

merry talon
#

i started stashing recently

#

its nice

stiff yarrow
#

I've stashed one time in the last two weeks

safe tide
#

It wont stash for me

merry talon
#

helpful info

static badge
#

boxing the cats in solves the tps

limber knotBOT
#

lol

static badge
#

god damn it

merry talon
#

yeah that makes it easier to know that there's no route

#

otherwise it has to traverse all the terrain

#

which it shouldn't if you're in the air but lul mojang

static badge
#

interesting

#

now it's gone away

safe tide
#

I made progress

merry talon
#

must have recalculated the path once you took the box away

safe tide
#

I got it

merry talon
#

and when you left the ground before

static badge
#

oh now it's back

merry talon
#

it bugged and didn-

static badge
#

:omegathonk:

merry talon
#

thats just retarded then

static badge
#

tps says I'm at 15 profiler says I should still be at 20

#

what is going on here

merry talon
#

cancer

stiff yarrow
static badge
#

ah it's an average

vestal jasper
#

I wish it would say the emote name and not the link to the emote

static badge
#

now my profiler agrees

#

god these fucking stream calls

merry talon
#

streams are dum

static badge
#

half of my fucking calls on this are just go damn fucking stream calls

merry talon
#

needs to be like js

static badge
#

anyways it's the pathfindergoal follow owner

#

and it's pathfinding alright

limber knotBOT
#

leaf is dum

merry talon
#

needs to just pathfind to the closest valid surface

static badge
#

and then there's more fucking stream calls

limber knotBOT
#

should just not try to find stuff when you are flying

merry talon
#

but it still needs to get as close to you as it can

static badge
#

and then MORE S TREAMS REEEEEEEEEEEEEEEEEEEEEEEE

merry talon
#

or is that not the expected behaviour

limber knotBOT
#

REEEE

merry talon
#

idfk

static badge
#

the expected behaviour is that yeah

#

get as close to me as possible

unreal quarry
#

holy shit.. cat's will track their owners if they are farther than 5 blocks away... there's no maximum set in this pathfindergoal lmao

merry talon
#

its just not stopping there

#

or something

static badge
#

yeah it's retarded

#

if you're at it billy

#

set it to 12

stiff yarrow
#

tfw cats are programmed to be dogs in Minecraft

unreal quarry
#

so, if someone has your cat's chunk loaded, and you're 30,000 blocks away... at spawn... your cat is pathfinding to you

static badge
#

well it will teleport billy

merry talon
#

wat

#

oh yeah

stiff yarrow
#

rubber banding cats pog

static badge
#

since I'm in the air

#

they can't

#

although they will follow the closest block down from me

#

since they can't be more than 12 blocks away from me

unreal quarry
#

this needs a owner.onground check in a()

static badge
#

I moved a bit and the tps resolved itself

unreal quarry
#

shit, and b() since it doesnt call super.b()

static badge
#

I have a feeling ur the pathfinder expert around here

unreal quarry
#

a() is shouldExecute(), b() is shouldContinueExecuting()

static badge
#

definitely have that feeling

unreal quarry
#

if those return true then it fires e() which is tick()

merry talon
#

if in air and not moving b() => false

#

ez

wide hazel
stiff yarrow
#

@wide hazel beautiful

austere ivy
#

Very nice, egg.

static badge
#

they stop pathfinding after a certain point though

#

still fucking look at me though

stiff yarrow
#

aside from the oil drums ruining the view Kappa

merry talon
#

is their head moving part of the pathfinding logic

#

or does it just run a trace

static badge
#

it's an ai goal

merry talon
#

actually that's a dum question

#

that part should be easy

#

well should

static badge
#

yes the math for it is as braindead as u

unreal quarry
#

look at player is a different goal

merry talon
#

but remember

unreal quarry
#

idky this goal has it too

merry talon
#

what's happening here in the first place

static badge
#

because they can't do more than one goal at a time billy?

#

is that correct or am I wrong

unreal quarry
#

they can

static badge
#

rip

unreal quarry
#

theres something extra needed to be called to block simultaneous goals from executing at same time

#

this one calls it on both MOVE and LOOK in the ctor

#

so yeah, it blocks the other look goal

#

no idea why

static badge
#

no idea why it kills all of my tps either

#

randomly it seems too

cosmic raft
#

which class?

unreal quarry
#

PathfinderGoalFollowOwner

static badge
#

the path find goal follow owner

merry talon
#

what changed here from 1.13

unreal quarry
#

looks like it needs a onGround check on the owner somewhere

static badge
#

idk if it's present on 1.13

#

I'm still looking for a way to reproduce

unreal quarry
#

otherwise its just going to spam e() because it cant teleport into the air

cosmic raft
#

someone mind pasting the class for me

merry talon
#

is it only cats or what

unreal quarry
#

this is a shared class

merry talon
#

or can you not get far enough from other mobs

unreal quarry
#

cats, wolves, um... idk what else can be "owned"

static badge
#

I don't have any wolves

merry talon
#

hostile too

static badge
#

they all died fighting the killer bunnies

merry talon
#

lul

unreal quarry
#

^_^

cosmic raft
#

cats, wolves, and parrots follow owners

unreal quarry
#

damn killer bunnies

cosmic raft
#

parrots via flying

unreal quarry
#

parrots get their own goal then

#

probably overriding this one

cosmic raft
#

it extends that one yes

static badge
#

dude the stray cats kick the bunnies asses

merry talon
#

hostile mobs don't have an owner but it's essentially the same thing no?

static badge
#

hostile mobs have a fixed range

unreal quarry
#

so yeah, i would test some wolves, too, leaf

merry talon
#

yeah

unreal quarry
#

should see the same tps lag

merry talon
#

so i assume you just cant get far enough for it to happen

static badge
#

I'll test it when I can reproduce it

merry talon
#

unless you set their range

unreal quarry
#

range is hardcoded

merry talon
#

you can definitely set activation range

cosmic raft
#

bah

#

nobody wants to paste the class, guess i'll go decompile everything myself

static badge
#

interesting

cosmic raft
#

what is

static badge
#

very

#

interesting

#

moment

cosmic raft
#

WHAT IS

unreal quarry
#

here's the instantiation of the goal for cats. uses speed 1, with a range of 5-10 being the "comfort zone". if owner is more than 10 it tries to follow until it gets 5 blocks away then stops so its not up the owner's butt

static badge
#

INTERESTING

#

might have found the cause boys

#

if I go over a TORCH

#

at a high range

merry talon
#

are you serious

static badge
#

it happens

#

yes

unreal quarry
#

wat

static badge
#

yes

merry talon
#

wtf

stiff yarrow
#

how did you discover that spotted

#

are you some kind of smart boi

static badge
#

no

merry talon
#

hold on

static badge
#

my tps was cut in half

merry talon
#

but it's still their pathfinding

#

not lighting shit?

static badge
#

and I have quite a bit of torches here

#

which is why it happened in the first place

#

note the torch is a block underneath me when I'

#

m in the air

#

lemme find the range it happens at

vestal jasper
#

the fuck

merry talon
#

they think the torch is a solid block and get confused

static badge
#

is the y my feet in f3

stiff yarrow
#

go report that shit to mojang if its legit

unreal quarry
#

yes

merry talon
#

yes

static badge
#

ok torch is at y-72

#

fuck you i moved it to 71 f3

cosmic raft
#

easiest way is to look at the torch and use the Looking at xyz

static badge
#

happens at y-82

unreal quarry
#

on line 87 its doing a block check

#

thats the 10 range i mentioned, leaf

austere ivy
#

next person to say e gets a prize

static badge
#

LUL

merry talon
#

e

austere ivy
#

sweepy!

#

your prize is:

unreal quarry
#

its going to spam e() because its failing the block check on line 87

austere ivy
#

||disappointment||

merry talon
#

fuck off

static badge
#

hold on which class

#

the owner pathfind?

merry talon
#

i want nitro

unreal quarry
#

yes

austere ivy
#

ooh uhh

static badge
#

lemme pull this up

stiff yarrow
#

whichever class it is don't share it with kashike whatever you do

austere ivy
#

just pay me 10$ to unlock Pro-E-Giveaways

#

nossr

#

can you hook me up with a discord nitro gift so I can offer it as a prize to sweepy

static badge
#

what line

#

87

#

thx

stiff yarrow
#

dindnt I already give you one brian

unreal quarry
#

kashike has access to the code ^_^

austere ivy
#

nop

cosmic raft
#

@unreal quarry if ((l < 1 || i1 < 1 || l > 3 || i1 > 3) && this.a(new BlockPosition(i + l, k - 1, j + i1))) { that line?

unreal quarry
#

better code, even

austere ivy
#

and sweepy needs one <_<

unreal quarry
#

yes

#

look at a(BlockPosition)

stiff yarrow
#

oh jesus that's some hardcore obfuscation

unreal quarry
#

its checking the block

static badge
#

uh

austere ivy
#

That looks yucky.

static badge
#

what fucking mappings are you on

#

1.13?

austere ivy
#

1.15

static badge
#

this is on 1.14

cosmic raft
#

1.14

unreal quarry
#

thats 1.14, leaf

austere ivy
#

What kinda noobs are using <1.15

unreal quarry
static badge
#

ok what class are you actually looking at

austere ivy
#

hasn't that been deprecated for a year

static badge
#

oh that one

#

I thought you said a called e

#

IT'S NOT REEEEEEEEEEEEEEEEEEEEEEEE

austere ivy
unreal quarry
#

wat?

#

i said if a() is true it spams e()

#

not that it called it

static badge
#

oh

cosmic raft
#

yeah you said it called e() which is what confused me too

unreal quarry
#

lol

austere ivy
#

:l

static badge
#

ok ok

unreal quarry
#

well, bad choice of words then

#

my bad

#

a() and b() need to be true for e() to fire

#

and e() is a tick() so it spam fires as long as a() and b() are true

austere ivy
#

what about c()

unreal quarry
#

c() fires the first time a() is true

austere ivy
#

what about d()

unreal quarry
#

d() fires when b() is false

cosmic raft
#

let's take this to #paper-dev and brian can fuck off from there

austere ivy
#

goodness gracious

merry talon
#

baited

#

again

austere ivy
#

sweepy

#

I was wondering >_>

cosmic raft
#

go wonder somewhere else

austere ivy
stiff yarrow
#

lol

#

I almost kicked him myself but I was thinking maybe that'd be too harsh

austere ivy
#

ask what c() and d() do

#

don't ask what they do you might get kicked

#

or you know, have the name "TehBrian" that earns you a path to kick-valley pretty quickly

stiff yarrow
#

its more about your weak moves brian

#

your moves are weak

austere ivy
#

:(

merry talon
#

you clearly have never met redrield

#

if you think your kicking is bad

open willow
austere ivy
wide hazel
#

Rip brian

void void
#

Is it possible by any chance to "hack" the view distance from code to have a view-distance of let's say... 20 in one specific world ?

pulsar wigeon
#

doesn't the client have a limit

void void
#

For optifine people

#

they can go up to... high values

vestal jasper
#

Opifine caps at 48

void void
#

yeah

#

so is it possible to send 20 chunks of view distance in one world

#

and the view-distance value from the spigot config in other worlds

vestal jasper
#

Doesn't paper have methods for dynamic per player view distance?

#

You could just monitor the player's location and adjust accordingly

stiff yarrow
#

lets just load 48 chunks for one dingus

void void
#

@vestal jasper what do you mean by adjust ?

#

I'm asking for POC

#

lol

stiff yarrow
#

.g POC

limber knotBOT
#

(DiscordBot) https://www.pocsports.com/ -- POC | Cycling Helmets and Apparel | Snow Helmets and Goggles: "POC is a Swedish company with a strong mission to do the best we can to possibly save lives and to reduce the consequences of accidents for gravity..."

vestal jasper
#

player teleports out of the world in questtion, you reset the view distance

#

@stiff yarrow proof of concept, he wants code

merry talon
#

thought optifine allowed 96 or something

void void
#

.g proof of concept

limber knotBOT
#

(DiscordBot) https://en.wikipedia.org/wiki/Proof_of_concept -- Proof of concept - Wikipedia: "Proof of concept (PoC) is a realization of a certain method or idea in order to demonstrate its feasibility, or a demonstration in principle with the..."

Proof of concept (PoC) is a realization of a certain method or idea in order to demonstrate its feasibility,
or a demonstration in principle with the aim of verifying that some concept or theory has practical potential. A proof of concept is usually small and may or may not b...

stiff yarrow
#

you don't have to google what proof of concept is

void void
#

😂

#

but you just did

#

¯_(ツ)_/¯

vestal jasper
#

@void void

void void
#

you're a god

#

🤚

vestal jasper
#

Source is under the Infos section

#

It doesn't do the per world thing but you should be able to figure that out :^)

void void
#

I wanted to do that by myself, the code is good to see ))

golden gust
#

worth noting said API ain't in 1.14 yet if that's what you're looking for

#

(Well, API is in there, just, it don't do much right now)

void void
#

It's for 1.8.9

#

is it in paperlib

#

?

golden gust
#

I have no idea how long ago that api was added

vestal jasper
#

Iirc it was a 1.13 addition

merry talon
#

mfw 1.8

upper flicker
#

It wasn’t a 1.13 addition

#

It’s old

vestal jasper
#

Oh

void void
#

I mean I can still look at paper code and do the trick on my side

inland bear
void void
#

@upper flicker from when exactly ?

upper flicker
#

No idea

golden gust
#

🤷

upper flicker
#

I don’t support old versions anyway

void void
#

I'll look at it

limber knotBOT
#

how do aikars flags compare with java 12 -jar ?

merry talon
#

well g1 is the default now

#

but a lot of it still applies

golden gust
#

Javas default GC flags aren't going to give you the best experience if that's what you're asking

void void
#

Is there a maven repo with TacoSpigot inside it ?

#

nevermind

#

I was scared for a second but the view distance patch is actually pretty old

#

so I have it in 1.8.8

#

💪

#

CraftPlayer#getViewDistance
CraftPlayer#setViewDistance

limber knotBOT
#

(qwerty) Coordinates Exploit : 2b2t - 33 comments, 47 points - TheTroll2001_, 1d ago

pulsar wigeon
#

if that's what i think it is, that was ruled as plugin territory

limber knotBOT
#

lol

pulsar wigeon
#

don't really know why people think it's an exploit but ok

#

"client knows where loaded entities are. news at 10"

void void
#

There's already something to fix it

limber knotBOT
#

I think that the issue on the tracker was more encompassing or something (misinformed on the level of info in there?), but 'eh

#

Simple fix I can imagine would be to not send a teleport packet if the destination is going to be out of the players view distance, but that's not something I can invest time into

potent harness
void void
#

@golden gust for PlayerChangedWorldEvent, there's only a getFrom function, I assume the player world is already set so getting the player then its world is ok ?

golden gust
#

More than likely yea

void void
#

Wanna play murder mystery ?

queen rapids
#

lol

void void
#

🤨

limber knotBOT
#

can someone please post aikars flags?

#

he made couple changes to what i have from several years back if i recall

void void
#

quick link to them

limber knotBOT
#

thank you

void void
#

np

#

can you look at my murder mystery screenshot in exchange ?

#

😂

cosmic raft
#

🗡

void void
#

@cosmic raft LOVELY

#

#

How are you my dearest ?

golden gust
#

looking under spigot for a paper method

void void
#

dear sir

#

private final Spigot spigot = new Spigot() {
[...]
public int getViewDistance() {
return CraftPlayer.this.getHandle().viewDistance;
}

    public void setViewDistance(int viewDistance) {
        ((WorldServer)CraftPlayer.this.getHandle().world).getPlayerChunkMap().updateViewDistance(CraftPlayer.this.getHandle(), viewDistance);
    }

[...]
}

#

inside CraftPlayer

golden gust
#

I can tell you 10000000% that setViewDistance is not under that spigot method

void void
#

I am litterally CTRL+Clicking the CraftPlayer inside intellij

#

so I have exactly the class overview from the jar I am using

#

🤔

void void
#

I'm on 1.8.8

golden gust
#

We haven't really bothered to move stuff around in god knows how long

#

Looks like your IDE is looking at a different version

stiff yarrow
#

yeah

#

whats your build setup

void void
#

I tried to invalidate intellij's cache

limber knotBOT
#

are there any flags needed for waterfall or do we just -jar ?

golden gust
#

But, well, we don't put stuff under spigot methods in general

void void
#

spigot-api 1.8.8 provided, my server jar provided @stiff yarrow

#

there's no nms code in spigot-api so...

golden gust
#

spigot-api

stiff yarrow
#

you don't need to provide spigot api

merry talon
#

waterfall is lightweight

golden gust
#

You're not looking at nms code

merry talon
#

default should be fine

void void
#

I am

golden gust
#

CraftPlayer is obc, not nms

void void
#

oh shit

#

its obc

golden gust
#

and obc classes implement API interfaces, such as Player

void void
#

yeah yeah

#

I'm on drugs

#

😦

austere ivy
#

<_<

void void
#

I remember why I added the api jar

stiff yarrow
#

because you're a disco dingus

void void
#

to have the javadoc

austere ivy
#

huh

stiff yarrow
#

interesting

austere ivy
#

pretty snazzy name to be honest, I'll take it.

cobalt surge
#

@static badge I thought I was the crazy cat lady...

golden gust
#

Also, adding in -api will break stuff because of the whole "multiple classes in the classpath" thing

carmine hinge
#

How stable is 1.14?

austere ivy
#

not.

carmine hinge
#

:/

#

Major issuee?

#

issues*

austere ivy
#

It's really unstable.

#

We're hoping that 1.14.1 fixes some of it.

carmine hinge
#

What's wrong?

stiff yarrow
#

many things

austere ivy
#

Expect crashes every 5-10 minutes with 30+ players, and chunk loading is abysmally slow.

stiff yarrow
#

it was a rushed release

carmine hinge
#

They delayed it so much

void void
#

I am running paper 1.14 on a survival server... I don't have "much" problems

austere ivy
#

Not enough, apparently.

carmine hinge
#

Why is everything a rushed release

void void
#

but there can be game breaking "soft-crashed"

#

@carmine hinge because 1.14 was a rushed release from mojang

carmine hinge
#

that's unusable for a sizeable server if there's crashing

void void
#

yeah

carmine hinge
#

or anything game breaking

#

ugh

void void
#

problems are coming from the vanilla server

#

the code from mojang

#

¯_(ツ)_/¯

#

1.14.2 should come very soon tho

#

that will be a playable version

#

you should know that's not the first time in minecraft history

#

I think

carmine hinge
#

how long

austere ivy
#

.. hopefully they fix the majority of problems in 1.14.1 ,_,

rare herald
#

@void void don't click inside of me

#

I'm calling the police

austere ivy
#

.. what?

rare herald
merry talon
void void
#

omg

austere ivy
#

wait what

void void
#

I'm sorry my friend

#

😭

#

omg nevermind

#

I'm really on drug

stiff yarrow
void void
#

just realised its pre2 and not .2-pre1

#

😹 😹 😹

#

@stiff yarrow 🤗

stiff yarrow
cobalt surge
#

@stiff yarrow that's a cute juice box there

stiff yarrow
#

Mojang

cobalt surge
#

Lol

void void
#

wait

#

can you send me a mojira link ?

austere ivy
#

is this how I get thick sounds or do I need sosig

#

more sosig it is

void void
#

wat

#

send preview

merry talon
#

there's a crossbow?

#

seems like a bug

austere ivy
#

it needs more sosig, thanks dada

void void
#

holy shit

#

seems like you take more drugs than me

austere ivy
#

oh shoot I know why it's not good enough

#

I forgot to put my the master chain

cosmic raft
#

dance

stiff yarrow
#

@void void can you stop mentioning your drug use every other line bruh peepoJuice

austere ivy
#

how's that looking

void void
#

mentioned it 3 times

#

today

stiff yarrow
#

that's a lot

void void
#

😠

austere ivy
#

see

#

you know you got a good master chain

void void
#

you see I don't feel good, that's one more reason to make people know its not good

#

wtf ?

austere ivy
#

when your top right looks like this

void void
#

@austere ivy 😂

austere ivy
#

that's a good master let me tell you

void void
#

not good enough

#

put more work on it

#

I believe in you

austere ivy
#

more sosig

void void
#

@stiff yarrow do you forgive me brother

austere ivy
#

Kashike who made that?

#

I’m now on my phone because my computer got really mad at me for trying to use FL and IntelliJ and Discord and that online sequencer at the same time

void void
#

what's your specs ?

stiff yarrow
#

hes got like 8GB ram

void void
#

???

#

how

austere ivy
#

kashike did you make that?

#

I have 4gb of ram

void void
#

@cosmic raft I missed you

#

I don't believe you

#

is everything running on swap on your pc ?

#

because intellij takes a lot of ram

#

I mean, you are probably at 95% memory usage all time

austere ivy
void void
#

holy

#

you really need a new pc

austere ivy
#

if you would like to help me, you can donate to the Brian fund.

void void
#

sure

#

send a link

austere ivy
#

;)

void void
#

okay

austere ivy
#

I actually signed up for that unironically because apparently if you signed up before May 7th you got "founders pricing" haha.

#

(which is a lot cheaper!)

void void
#

one min I'll log in and help you

austere ivy
#

I have a computer at home which is a Macbook like this, but it has 8gb of ram and an SSD (which is the most recent thing about the mac, I got the ssd for christmas!)

#

I'm kidding please don't put your money towards me

#

I have a nicer computer at home which has a 3210m and is very nice, I just have to use this for now since I'm out of the country.

void void
#

too late

#

I wasn't looking

#

at discord

#

-_-

austere ivy
#

what the heck no seriously don't lol

#

unironically please don't give any money to me, I have a nice computer at home and I'm not in need of it.

void void
#

¯_(ツ)_/¯

#

I click fast

#

😠

austere ivy
#

can you chargeback? I don't have any payment setup (since they don't require that for launching!) so I don't know where your money is going..

void void
#

nevermind you still need a better "move computer"

#

¯_(ツ)_/¯

austere ivy
#

hey!

#

you have a patreon account right?

void void
#

yes

austere ivy
#

hold on

#

okay how about I just donate 6$ to you and it cancels out?

#

oh wait hold on.

void void
#

I can just cancel I think

stiff yarrow
#

@austere ivy I think I had that same CPU in like 2007

austere ivy
#

Yeah, just click cancel. You haven't paid anything.

void void
#

How resource intensive is checking if an item contains an nbt tag ?

#

I think it pays at the end of the month

#

not sure

austere ivy
#

Yeah so you can just cancel.

#

Seriously I thought you were kidding, don't give me any money please.

void void
#

why did you make that patreon page so

#

🤔

austere ivy
#

Founders pricing.

#

If you make it before May 7th you get "founders pricing" which is just cheaper than if you did it later.