#plugins-dev-chat

1 messages · Page 106 of 1

upper vapor
#

then

#

private with a hint of public

upper vapor
#

omw to recreate it without any of your unity hack shenanigans

#

just let me add a regular cube 😭

south socket
#

Cube is all we need

upper vapor
#

this is what i dislike about editors
for just primitives you have to use their components

south socket
#

Cube = Game done

upper vapor
#

pink prefabs are stylish but i wanna see the colors 😭

celest thorn
#

its 100000000000000000000000000000 times easier for me to know what is going on

upper vapor
#

it's not difficult to detect a MeshFilter with a mesh named "Cube"

#

though yeah it is easier as a dev to find components by type

celest thorn
#

for what i need to do its faster and easier to do it in that way

upper vapor
hearty shard
#

🪓

slate flume
#

So how do you make a player invisible except for items?

hearty shard
#

you dont Trol

#

Or you try to reproduce a bug thats very specific and might be patched at any time

slate flume
#

^

hearty shard
#

Make player fully invis and then ig try recreating the item in some way

#

Pickup

#

My beloved

slate flume
#

Hmph

#

I'll just try to make the primitives large enough to cover the limbs

celest thorn
#

every limb has a name

#

you can leverage that

#

(the only one who doesn't is SCP-106 that every limb is called Capsule)

#

but based on those name you know the limb

#

and just teleport them there

#

thats it

unique crane
#

Thats easier than I though

slate flume
#

Yeah I was more-so just trying to see if the player invis without invising items was a bug or something I could do

celest thorn
#

you guys are so skibidi

#

because animations work server side

slate flume
#

I already understood the limb-tracking shit I just don't know how they hid the model

celest thorn
#

for the colliders

celest thorn
#

i forgot the name

slate flume
#

Oh I know

celest thorn
#

let me search it up

slate flume
#

You're still missing my point

#

No don't

#

It's ValidatedVisibility

slate flume
#

^

#

I'm saying I don't understand how they hid the models WITHOUT THE ITEMS

celest thorn
#

PlayerValidatedVisibilityEventArgs

slate flume
#

I FUCKING KNOW

#

You're making me crash out

slate flume
#

I'm not fucking stupid

#

That's a bug

slate flume
#

I already found all this out

#

You're correcting me on something I have corrected and answered already

celest thorn
#

im sorry

slate flume
#

It's okay I was just getting frustrated cause I have a really hard time talking to people and getting my point across

#

I'm frustrated with myself more than you

#

It's like I have the idea of what I want to say more clearly than what I can say

#

It's like

#

Aphasia or whatever

static osprey
#

Because it lets me get around the rodents with no delete messages

#

upload to my site > post image

#

oh fuck it has someones ip in it or something

#

delete message, delete from site

#

anyone going to the chat the image wont load

#
  • file limits like someone else mentioned
restive turret
#

Morning 2.0
Should i go back to sleep?

languid temple
#

yes

restive turret
#

K, see you guys in 12ish

icy knoll
celest thorn
static osprey
#

nodeletemessages logs the messages if youve opened the channel and left it

#

dont have to stay in it

upper vapor
#

But if it's already loaded the image then you're cooked

static osprey
icy knoll
#

well

#

depends if discord replaces the link internally with theirs

#

then message loggers will work

upper vapor
slate flume
static osprey
#

you'll have the link, not the image

static osprey
upper vapor
#

Why would you have links in messages from a channel you were never in

upper vapor
icy knoll
celest thorn
static osprey
#

💔

#

discord try not to be dog shit challenge impossible

slate flume
upper vapor
#

They're (allegedly) adding cross-DM search

#

Something you can already do on mobile

celest thorn
#

Which is amazing

upper vapor
#

Post search though? Mfing joke

icy knoll
#

mobile and pc discord have so many differing features

#

it sucks

#

you cant search via embed text on discord mobile, but can on pc

celest thorn
upper vapor
#

And you can't (legally) make your own dc client

celest thorn
#

Ok so i was totally wrong

icy knoll
#

😭

celest thorn
#

Idk it reminded me of a character with a katana and with pink hair but i don’t remember the name either of the other character

#

For sure it wasn’t in ZZZ

icy knoll
celest thorn
#

Idk i remember one but cannot find it

celest thorn
#

guys chat is too much dead

restive turret
#

Hi gm 3.0

celest thorn
restive turret
#

No

celest thorn
#

crazy

upper vapor
icy knoll
upper vapor
#

Bruh

restive turret
upper vapor
#

Bon Appétit

#

11 hours remain

spare zodiac
#

can I make spawning NPCs faster?

celest thorn
spare zodiac
#

1 frame would be great

celest thorn
#

they already spawn in a frame

#

but ok

spare zodiac
#

I'll show you what I mean

celest thorn
#

the set of other stuff obv is done after

#

you need to wait the components are initialized and everything

spare zodiac
#

the despawning is easy to fix more like the spawning in this clip

celest thorn
spare zodiac
#

I don't use cedmod

#

wait you mean the RA

celest thorn
spare zodiac
#

no that's just easy patch

celest thorn
icy knoll
celest thorn
#

the plugin made by cedric

icy knoll
#

don't need Timing.WaitForOneFrame

spare zodiac
#

if this won't work I'll rewrite this system to use normal dummy spawning instead of exileds one

celest thorn
#

you know dummies are players

#

and exiled one was rewritten by me

#

so its using the DummyUtils

#

btw can anyone tell me a map from any game pvp obv (like Cod etc...)

icy knoll
#

or however it's spelt

spare zodiac
#

anubis CS2

celest thorn
icy knoll
#

yeah

restive turret
#

From siege?

#

Give me Presidential Plane from R6S

unique crane
#

I guess it yields same result

#

Makes sense.. anyways

icy knoll
#

yeah idk why it goes to the next frame at 0 but ye

restive turret
#

0 < 0.1666

#

Or whatever the delta time value at that time

spare zodiac
slate flume
#

An inexperienced dev might see Timing.CallDelayed(0, action) and think the CallDelayed is extraneous and can be removed

icy knoll
#

then comment

slate flume
#

I could just

icy knoll
#

and plus a junior dev shouldn't be removing code lol

slate flume
#

You know

#

Use timing. Waitforoneframe

icy knoll
#

well, it's negative infinity

#

so

slate flume
#

Yes

icy knoll
#

¯_(ツ)_/¯

slate flume
#

It makes the code more readable for an outsider looking in

icy knoll
#

eh well

#

usually you should code on seperate branches and then do peer reviews in the forms of PRs

#

and if someone does remove that code

#

then well

#

tell them to not?

slate flume
#

I could just write more readable code

#

😁

#

Part of my goal in writing code is to write code that doesn't need comments
I mean sometimes it's inevitable but I'm one of those people who believes code should be able to speak for itself

icy knoll
#

i prefer shorter but readable code

#

comments don't count as code to me

#

so

#

also optimised too

slate flume
#

Why can't you have readable optimized code

#

That's not a sin

icy knoll
#

because to make it readable sometimes, you have to make it 10x slower

#

which isn't optimised

#

so

#

lol

#

i.e. .Where() in a foreach

slate flume
icy knoll
#

how is that a skill issue? 😭

slate flume
#

Find a better way to do it

icy knoll
#

yeah... and i do?

slate flume
#

While keeping it readable

icy knoll
#

that's why i love optimising...

#

and i do that too...

slate flume
#

Then there you go

icy knoll
#

but it's not readable as you may think of it

slate flume
#

Just because you can read it doesn't mean others can

icy knoll
#

readable to me and anyone that has more than 50 braincells

#

that's why i write comments

slate flume
#

My whole point here is it's okay to use long variable names or things like that to make your code more readable

#

Instead of having "magic numbers" and shit

#

I'm able to avoid having to write comments on every single line of code by doing it

icy knoll
#

i usually go for the shorter variable names, i keep my variables at max 2 words

slate flume
#

But then you have to write a comment for it and it makes it more confusing

icy knoll
#

if ur writing more than 2 words in a variable, then there is a better name for it

slate flume
#

100% disagree

#

In the middle of some Python code I wrote I have this variable

#

I could abbreviate it but then I'd need even more comments explaining what it is and what it does

#

The name itself explains what the variable is

#

It's a squared normalized cross correlation

#

Or like I have some javascript code in a game that has variable names like

#

Intuitively, you can understand by reading the variable name that if you take that variable and multiply it by the number of threads, you get how much RAM is used

#

And I don't have to comment it to explain it

#

It's not any less optimized, it's just more readable

#

As a bonus, it makes it easier to make changes

icy knoll
#

well, ive never had the issue of having 2 words as variable names

#

so

#

and they are clear

#

never had a peer review ask for comments

slate flume
#

If you say so

icy knoll
#

¯_(ツ)_/¯

slate flume
#

Your code might be able to be understood when analyzing it but the point I'm getting at is you make it much easier for everyone if your code is more readable

#

Now idk the state of your codebase but that's the philosophy I prescribe to

#

If you disagree, whatever, I know at least that I have job prospects because of those kinds of philosophies

#

I mean you could write code as bad as Undertale for all I care, I just wanted to give my take on it all

unkempt ore
#

How to detect area

slate flume
unkempt ore
#

t's like this, but this is EX

icy knoll
#

you mean zone?

static meteor
#

Room::Name

#

Or gameobject.name for unnamed rooms

icy knoll
#

oh

icy knoll
slate flume
#

Yes

icy knoll
#

lol

slate flume
#

No

icy knoll
#

no need for the game object

slate flume
#

Not every room has a door name

icy knoll
#

not northwood name

slate flume
#

Yes

icy knoll
#

.Name is northwood name

slate flume
#

Because Northwood doesn't have all the rooms named

icy knoll
#

there is a difference

slate flume
#

I know

icy knoll
slate flume
#

Yes

icy knoll
#

.name grabs directly from the gameobject

slate flume
#

Yes

#

I know

icy knoll
#

works the same way

#

.Name uses nw name

slate flume
#

Yes

static meteor
#

Whoops I ment .name

slate flume
#

I know

icy knoll
#

which doesn't have everything

icy knoll
slate flume
icy knoll
#

dude u confuse me highkey

slate flume
#

You say for unnamed rooms don't use unity name, use door name

#

I say no

icy knoll
#

i said use unity name

#

not nw name

slate flume
icy knoll
#

yes

#

exactly

slate flume
#

Oh I see what you mean now

#

They weren't talking about doors so when you brought it up I assumed you meant instead of getting the room name, get the Northwood door name

#

Instead of the unity name

unkempt ore
#

e

#

Is that so?

static meteor
unique crane
#

GameObject.Find

hearty shard
slate flume
#

Room.Get(RoomName.Scp914) or something to that effect

unique crane
#

Still dont understand why you even check for that

#

Ofc when you activate 914 then it must exists

hearty shard
#

also getting msg to send multiple times when its just gonna be duplicate

#

feels unnecessary

celest thorn
#

yo what happened

#

this chat got alive for a few minutes

#

and now its dead again ;(

unique crane
#

Not every chat needs to be active 24/7

celest thorn
#

Lol

#

but its sad

#

this channel is so cool

slate flume
#

What is bro cooking

upper vapor
upper vapor
#

And then the people reading it will be like "wait I don't remember thos being in MEC"

slate flume
#

That's peak

#

Tbh I should just write my comments in latin

celest thorn
#

Wait next frame to spawn

slate flume
#

For mass appeal

upper vapor
celest thorn
#

The guy who saves nano seconds

slate flume
upper vapor
slate flume
# upper vapor Death Anti-piratesoftware to the max

I mean it was probably a bad example cause I was doing template matching for pixels and that's like a really in-the-weeds technical thing that gennerally requires a math doc to explain what I'm doing but it was the first example I thought of

#

But the naming convention allows you to follow the logic from the math doc a lot easier

upper vapor
celest thorn
#

Ngl i don’t know any convention

#

I just looked how everyone names stuff

#

And how

#

And just did it

upper vapor
#

And null-coalescing enjoyer

#

And unnecessary parentheses hater

slate flume
#

🗣️ 🔥 🔥

south socket
#

all day talking about nullables...

slate flume
#

Straight facts

upper vapor
#

Did unity gaslight you into not using them?

south socket
#

Unity is gaslighting EVERYONE

slate flume
#

Sometimes my variables want to be null

#

I can't stop them

celest thorn
south socket
celest thorn
#

NOT THE FISH

royal mica
#

I love this bug

celest thorn
#

FREE THE FISH

south socket
upper vapor
slate flume
hearty shard
#

gum

upper vapor
#

Natural occurrence

royal mica
slate flume
#

Dope

celest thorn
south socket
celest thorn
#

Please axwabo rename it

south socket
#

its real!!!!!

celest thorn
#

No furry tools

#

Only femboys tools Trolley

slate flume
south socket
#

im only fat

#

not a liar

celest thorn
#

Set private now

upper vapor
celest thorn
#

so meow tools

upper vapor
upper vapor
upper vapor
#

Finland

#

Sending it to my Finnish friend rn

south socket
upper vapor
#

I mean

#

They found land

slate flume
upper vapor
#

So they m stayed

upper vapor
slate flume
#

Idk why they did any of this

#

Wtf is "ConvertKnobStatus"

#

Doing that to print the enum?

#

It's the most vibe code shit I've seen today

halcyon folio
#

Maybe they are new to programming

#

Give em a tiny bit of slack as they learn

upper vapor
halcyon folio
#

"Practice makes perfect" as they say

#

If they refuse to learn then..

slate flume
upper vapor
cedar jungle
#

Hi guys, Where can I find the API documentation?

slate flume
halcyon folio
slate flume
#

I won't lie I've never read the LabAPI docs lmao

cedar jungle
upper vapor
cedar jungle
#

i say

#

API Documentation

celest thorn
slate flume
upper vapor
#

There's xml docs

slate flume
#

I make my plugins just fine

upper vapor
#

But no "designated" website for each member like we used to back in the old Java days

slate flume
#

I love that game

upper vapor
celest thorn
#

like look at this

upper vapor
cedar jungle
# upper vapor There's xml docs

alr, Because I'm used to reading the APIs for framework libraries, if there's no documentation for the APIs, what's the best way to see all the commands?

celest thorn
#

this is a massive docs

celest thorn
slate flume
#

Intellisense

#

Auto-complete

celest thorn
#

who reads docs

slate flume
#

^

#

Literally

celest thorn
#

i just check the code

#

axwabo knows that

upper vapor
slate flume
celest thorn
#

i love this emoji

#

or else this one

upper vapor
slate flume
#

You guys are a bunch of damn nerds

celest thorn
#

in common

cedar jungle
upper vapor
celest thorn
#

la salsa di pomodoro nel sangue
(tomato sauce in our blood)

upper vapor
celest thorn
upper vapor
#

I made that video for nothing 😭

unique crane
upper vapor
#

side effects may include occasional ":3" overloads in the console, the hosting provider hearing meows and barks, and players seeing a tiny UwU on their screen at certain intervals

#

(i'm stupid)

slate flume
#

I would've preferred to not have read any of that

celest thorn
#

and 90% are jokes between me and maro

#

because who tf can read them

#

other than me and her

upper vapor
#

hmmm

celest thorn
#

wait let me find one

#

that is not like trade secret

#

or stupid

celest thorn
#

this is a random one

upper vapor
#

where's the uwu

#

in this

celest thorn
#

there's :3

celest thorn
#

no uwu sadly

#

but alot of cat sounds

#

2 of them

celest thorn
#

why i wrote this

#

btw this is the hairline

south socket
violet basin
#

Anyone know what the default brightness value is for SL i dont really want to go and reset my settings to find out.

unique crane
#

0

violet basin
# unique crane 0

is it? i always remembered the brightness tab being lower but anyway, cheers mario_shuffle

unique crane
#

Pretty sure

#

Yea

violet basin
warped prairie
slate flume
#

Fog Control isn't RA-Only, it's how the game does Fog

#

If a spectator spectates someone, they inherent the fog control in order to see what the player they're spectating sees

warped prairie
#

I had players reporting to me they were getting raptured lmao

slate flume
#

What?!

#

So your problem is that players spectate a player, receive the special fog, and then it never goes away?

warped prairie
#

yea lol

#

not always tho, but like 50% of the time

slate flume
#

The problem with it being inconsistent is interesting

warped prairie
slate flume
#

I don't think people fuck with fog control that much to notice

warped prairie
#

yea we fuck with it pretty hard lol. ill look into it more but its a bit lower on priority for us rn lel.

#

ty tho

celest thorn
#

dead chat

upper vapor
#

Reminds me of the bug where you join a game and receive like all effects

upper vapor
#

Love spawning in as chaos with goggles and hat on

hearty shard
#

Yea basegame enables and disables all effects on join

upper vapor
hearty shard
#

it also might not be like that anymore

celest thorn
upper vapor
#

That would be diabolical

#

But sometimes you get the spawn protection overlay for a frame

#

And cola overlay sometimes

celest thorn
#

i think thats for another reason

#

on the server anything goes

#

so i know for sure

restive turret
celest thorn
restive turret
#

Hi

#

I'm currently in hospital

upper vapor
#

Bon Appétit

restive turret
celest thorn
restive turret
#

Just testing

upper vapor
#

Békéscsaba emergency station

restive turret
#

I'm fucked

crimson nova
#

What happened

restive turret
#

According to that i am lactose sensitive

crimson nova
restive turret
#

So over

upper vapor
#

Lack toes and toddler ants

restive turret
#

I gonna hunt you

crimson nova
#

rude

upper vapor
restive turret
#

In Minecraft

upper vapor
crimson nova
#

Manhunt?

upper vapor
#

Real

#

1 speedrunner (does not know what they're doing) vs 1 hunter (cannot drink milk to remove bad effects)

crimson nova
#

Real concept

restive turret
#

Y'know what funny is that I don't drink milk like daily

crimson nova
#

You'll be fine just get some pills to help you digest lactose

upper vapor
#

Don't eat things containing lactose

sinful bronze
#

Don't eat...

upper vapor
#

Photosynthesis

#

crimson nova
#

Get green

upper vapor
#

Green

crimson nova
#

Yeah like that

#

Whatever that thing is

upper vapor
#

Doccoli

crimson nova
#

I am speechless

upper vapor
#

Boo I'm a ghost

icy knoll
unique crane
#

If you die

#

can you like choose

#

what kind of ghost you will be

slate flume
#

Why is it that if I lock a door in my plugin, and then someone uses a ghostlight, the door gets permanently locked

icy knoll
slate flume
unique crane
#

Me piling up stuff in ghost room

#

just for poltergeist to throw them fucking everywhere at once

icy knoll
#

LOL

unique crane
icy knoll
#

atleast you can determine if it's a poltergeist with that method

hearty shard
#

daviddd

unique crane
#

yea

hearty shard
#

why r u david

unique crane
#

wdym

upper vapor
# icy knoll

I thought it was gonna be a Peter griffin sticker

icy knoll
slate flume
upper vapor
icy knoll
#

my staff keep on saying it gets slower and i cant do anything about it smh

unique crane
#

Tf is Door.UnlockLater

slate flume
#

This works unless something else locks the door too

hearty shard
#

wtf does isolation do again

#

i forgor

slate flume
#

Idk

icy knoll
royal mica
#

isn't that the lightbulb?

upper vapor
slate flume
#

There's like 8 door lock reasons

slate flume
hearty shard
slate flume
upper vapor
#

I think

#

F

#

Then

unique crane
#

079 lockdown then

slate flume
#

Nope

upper vapor
#

HUH

slate flume
#

Enum 2

unique crane
#

let me just search for usage xd

royal mica
#

not 1:1

#

cause that is different

restive turret
upper vapor
#

Let it go

#

Turn away and slam the door

unique crane
#

Its used during warhead

#

to open doors

restive turret
#

I mean choose to not be a ghost

#

To not have an unfinished business

slate flume
#

----079

#

Like the other two

unique crane
#

this

slate flume
#

Dope

royal mica
restive turret
#

No

restive turret
royal mica
#

Well, judging that Isolation is just literally WarheadDetonation, no it is not lol

upper vapor
#

Isn't there an isolate zones feature

#

On warhead

#

Like it locks checkpoints

restive turret
#

Oh thats 079 die locking reason

restive turret
celest thorn
#

hello chat i have a crazy question

#

has anyone played mario galaxy?

#

is it possible to do like the planet system

#

so the gravity system for planets?

restive turret
#

No

#

And wdy with the last one

unique crane
#

Rotate the planet

#

Not the player

#

easier

#

oh wait you can move between them

#

rip

upper vapor
#

Let us rotate players' game objects :3

true cedar
#

let us run arbitrary code on the client

celest thorn
#

give us client side mods

#

and sl source code to be sure

#

and central servers + Ac src

#

because why not

upper vapor
#

Was mister boost here?

restive turret
#

Who

hearty shard
upper vapor
restive turret
#

ban

mighty dawn
#

.

upper vapor
upper vapor
#

yassssss

halcyon folio
celest thorn
#

Hello chat

restive turret
#

Hi

#

Whatuupto

celest thorn
#

H

celest thorn
#

under recommendation of my friend

restive turret
#

Nice

celest thorn
#

funny enough it took me 4h and 45m the same amount of trials of the final boss for xenoblade 2

#

i made a bet with my friend and i won

#

finished the game under that amount of time

restive turret
#

Nice

celest thorn
#

really cool game sadly im grown up so its not like the best game but the child inside of me loves it :3

#

my own sackboy :3

upper vapor
celest thorn
upper vapor
#

whatuupto

celest thorn
#

ngl i need to find new games to play

tepid sluice
#

vrchat

celest thorn
#

but we understand each others

upper vapor
celest thorn
tepid sluice
#

im not playing this game

celest thorn
#

100%

hearty shard
tepid sluice
#

no

hearty shard
#

hi ax

celest thorn
#

Crazy

#

or some random mobile game

upper vapor
tepid sluice
#

but i did play arknights

#

not anymore

celest thorn
celest thorn
#

oh a mobile game

upper vapor
tepid sluice
#

lol

#

ngl i got an exam today

#

but idc

tepid sluice
#

💀

celest thorn
icy knoll
tepid sluice
upper vapor
#

uwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuw

#

surprised that this isn't blocked here

#

fluffy smoocher is blocked though Kek

celest thorn
#

:3

#

uwu

#

owo

#

nope

upper vapor
#

iwi

tepid sluice
#

QwQ

#

awa

restive turret
#

No

upper vapor
upper vapor
restive turret
#

〜⁠(⁠꒪⁠꒳⁠꒪⁠)⁠〜

upper vapor
#

the rock vine boom bass boost

#

i'm stealing that

celest thorn
#

i hope i explode

upper vapor
tepid sluice
#

i got no gif of explosion

#

💔

unique crane
celest thorn
unique crane
#

Well if your gonna suddenly explode

#

how am I gonna stop you

upper vapor
tepid sluice
#

OwO

upper vapor
#

you can delay the exlosion by 1.07902819E+31 years

unique crane
#

I think like 50 seconds is enough

upper vapor
#

can you get to midnight hq in that time

unique crane
#

xd

restive turret
#

And do what

upper vapor
tepid sluice
upper vapor
#

XDD

#

how long can cassie remind for

restive turret
#

!remindme float.MaxValue

regal lakeBOT
upper vapor
#

a few hundred years?

tepid sluice
#

lol

upper vapor
restive turret
#

Boom bitch

upper vapor
#

get out the way

celest thorn
#

!remindme

regal lakeBOT
celest thorn
#

!remindme 500y Skibidi toilet sigma

regal lakeBOT
upper vapor
#

i hope i die by that time

celest thorn
unique crane
#

Zer0's great great great great grandchildren getting pinged by cassie in 500 years

upper vapor
#

i hope humanity ceases to exist by that time

#

and the solar system will be an empty and barren place

#

with nobody to see that reminder

unique crane
#

no

#

thats too early

upper vapor
#

except cassie doing its job

unique crane
#

by a few million years

upper vapor
#

why can't humanity end sooner MTFsad

celest thorn
#

probably never

celest thorn
#

Dead chat

#

This chat dies too often

fresh zenith
#
public override void OnPlayerChangedItem(PlayerChangedItemEventArgs ev)
{
    if (!Cfg.Enable_LanternAudio) return;
    if (!Round.IsRoundStarted) return;
    if (ev.Player == null) return;
    if (AudioPlayer.TryGet($"LanternAudio-Player {ev.Player.Nickname}", out AudioPlayer audioPlayer))
        /*if (audioPlayer != null)
            LabApi.Features.Console.Logger.Info(audioPlayer);
        else
            LabApi.Features.Console.Logger.Info("ERROR NULL");*/
    if (audioPlayer != null)
    {
        if (ev.NewItem.Type != ItemType.Lantern || ev.NewItem == null || ev.Player.CurrentItem == null)
            audioPlayer.Destroy();
    }
    else
    if (audioPlayer == null || !audioPlayer && ev.NewItem.Type == ItemType.Lantern)
        LanternAudioPlayer(ev.Player);
}

Can anyone tell me WHY THE FUCK the code only works if:

if (audioPlayer != null)
            LabApi.Features.Console.Logger.Info(audioPlayer);
        else
            LabApi.Features.Console.Logger.Info("ERROR NULL");

is not commented?

icy knoll
#

you realise if AudioPlayer.TryGet is false right, that means the player is null?

fresh zenith
upper vapor
#

also you should probably not destroy the audio players
consider pooling them instead

fresh zenith
#

same outcome

fresh zenith
upper vapor
#

ev.NewItem.Type throws if it's null

fresh zenith
#

but .Type can be?

upper vapor
#

but if you get its type

#

you get an NRE if the item is null

hearty shard
#

new item is null if you stop holding something

fresh zenith
#

it doesn't make sense imo

upper vapor
icy knoll
#

youve fucked smth up then

icy knoll
fresh zenith
upper vapor
#

how about you simplify your code by a lot

#
var playerExists = AudioPlayer.TryGet(name, out var player);
if (ev.NewItem?.Type != ItemType.Lantern)
{
    if (playerExists)
        player.Destroy();
}
else if (!playerExists)
    LanternAudio();
grand flower
#

Remember to check if the item is destroyed

#

just in case

upper vapor
#

just in case nw

#

yeah

#

fair

blissful pike
#

hey guys, very small question because I have tried a bunch of stuff and still don't know how I'm meant to format this

#

trying to set the player's position

#

how

celest thorn
#

Learn C#

#

thats the best thing you can do

blissful pike
#

i just did that tho 😭

#

I literally just did new and it didn't work

#

and now it has

#

sorry guys

celest thorn
blissful pike
celest thorn
#

thats different of how you did it

#

thats how you do it

blissful pike
#

no yeah in the screenshot it was wrong but I'm saying

#

nevermind

celest thorn
random scaffold
#

dead chat

upper vapor
celest thorn
random scaffold
upper vapor
#

new Carreer()

#

new Hobby()

#

new Life()

random scaffold
#

new Axwabo()

upper vapor
#

HEY

#

my autism cannot be replicated

random scaffold
#

can

#

much humans

upper vapor
#

ai will never replace my complex disabilities

celest thorn
#

new WayToKillSomeone()

celest thorn
blissful pike
#

I felt stupid

celest thorn
#

don't worry everyone learns from somewhere

upper vapor
hearty shard
#

well new(0, 0, 0) works in C# 9 and above

random scaffold
#

private sealed class Axwabo : Femboy
{
    private string _name = "Axwabo";
}
random scaffold
random scaffold
upper vapor
#

"Axwabo" (record) cannot derive from class "femoby"

#

i'm immutable

celest thorn
# random scaffold why
private sealed class Axwabo : Furry
{
    private FurryType Type => FurryType.Proton
}

idk if thats the name

upper vapor
#

PROTON

unique crane
#

PROTON XDDDDDDDDDDDDDDDDDD

upper vapor
celest thorn
#

BRO IM NOT A FUCKING FURRY

celest thorn
upper vapor
#

protons will take over the world
trust

random scaffold
celest thorn
#

HAHAHAHHAHAHAH

random scaffold
#

yea

celest thorn
#

and then the only nw staff that talks here and is litteraly like us

#

(brain damaged)

#

(don't take it personally david)

unique crane
#

I am not brain damages xd

upper vapor
celest thorn
feral haven
celest thorn
unique crane
#

That I cant write isnt brain damage

upper vapor
unique crane
#

Nobody can read my handwriting

celest thorn
#

and probably you are like us

unique crane
#

its like that paracetamol doctor meme

upper vapor
#

we need a neutron now

feral haven
celest thorn
#

wait

#

let me write something

unique crane
blissful pike
#

guys i have bad news. i have another question.

feral haven
#

You should become one then, your handwriting would fit right in KEK

random scaffold
#
private sealed class David : Northwood
{
  public override bool isFurry => false;
}
celest thorn
#

this is my handwriting

feral haven
random scaffold
upper vapor
upper vapor
#

XDD

celest thorn
upper vapor
#

i saw that

celest thorn
#

it really depends

feral haven
#

Ah yes +>

upper vapor
#

rocket

celest thorn
#

we got another furry

upper vapor
celest thorn
#

this channel is filling up

upper vapor
unique crane
#

protogen-dev-chat

#

My beloved

upper vapor
#

🗣️🗣️

celest thorn
#

Please no

#

god no

random scaffold
celest thorn
#

everything except that

feral haven
#

David, you should make the PlayerEffectsController better

random scaffold
#

by default true

celest thorn
#

russian channel would be better

blissful pike
#

how the fuck does one unlock a door 💀

celest thorn
#

and everyone knows the horror of exiled russian channel

blissful pike
upper vapor
#

...

#

?

feral haven
upper vapor
upper vapor
celest thorn
upper vapor
#

very intuitive

celest thorn
#

you know how many messages gets REMOVED from exiled for being straight up porn

#

of femboys

#

like a ton

feral haven
blissful pike
feral haven
#

Probably like Door.Get(DoorName)

celest thorn
upper vapor
thin shuttle
celest thorn
upper vapor
#

i don't
but i judge

celest thorn
#

MORE

unique crane
#

Someone says "femboy" and "exiled" and yamato shows up

#

coincidence? I dont think so

celest thorn
#

lurking

#

in the shadow

thin shuttle
#

i am allowed to send a pic of me ?

celest thorn
#

idk if it will stay up tho

upper vapor
celest thorn
#

this is NOT exiled

feral haven
#

@unique crane If I made a pretty good Effects Controller, which is better and more usable for devs (Custom Effects and stackable effects), would you guys consider using it?

thin shuttle
random scaffold
celest thorn
#

most normal yamato's picture

upper vapor
#

and let's get rainbolt on the line

blissful pike
upper vapor
feral haven
thin shuttle
#

wait Door.Get can't use DoorName ?

random scaffold
random scaffold
thin shuttle
#

bruh

feral haven
#

If it doesn't take DoorName, then use Door.Get(DoorUtils.FindDoor(DoorName)) or smth

thin shuttle
#

why ?

upper vapor
#

pov death