#plugins-dev-chat
1 messages · Page 106 of 1
omw to recreate it without any of your unity hack shenanigans
just let me add a regular cube 😭
Cube is all we need
this is what i dislike about editors
for just primitives you have to use their components
Cube = Game done
pink prefabs are stylish but i wanna see the colors 😭
I have good reasons for it
its 100000000000000000000000000000 times easier for me to know what is going on
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
for what i need to do its faster and easier to do it in that way

🪓
So how do you make a player invisible except for items?
um
you dont 
Or you try to reproduce a bug thats very specific and might be patched at any time
^
Oh
Make player fully invis and then ig try recreating the item in some way
Pickup
My beloved
i will try to explain it the best way i can
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
Thats easier than I though
Yeah I was more-so just trying to see if the player invis without invising items was a bug or something I could do
I already understood the limb-tracking shit I just don't know how they hid the model
for the colliders
i just use the event
i forgot the name
let me search it up
^
^
I'm saying I don't understand how they hid the models WITHOUT THE ITEMS
PlayerValidatedVisibilityEventArgs
Use fade
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I already found all this out
You're correcting me on something I have corrected and answered already
im sorry
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
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
Morning 2.0
Should i go back to sleep?
yes
K, see you guys in 12ish
me when that doesn't matter as discord caches the image :3
No
Not if they havent seen it
nodeletemessages logs the messages if youve opened the channel and left it
dont have to stay in it
But if it's already loaded the image then you're cooked
well yeah but it cant if you're out of the channel
well
depends if discord replaces the link internally with theirs
then message loggers will work
Yeah cuz you would listen to message events in all channels
Weren't you just advocating for people to go to bed?
But it doesnt load the images
you'll have the link, not the image
ive seen this a few times, havent experienced it yet
Why would you have links in messages from a channel you were never in
what
It's a sine wave
had it happen to me whilst testing a discord bot i had, an image inside of an embed got cached, once i sent the same link again (but with a different image), the old image showed
To go to bed when its night yes
Skill issue
Factual
Discord search sucks ass
Which is amazing
Post search though? Mfing joke
mobile and pc discord have so many differing features
it sucks
you cant search via embed text on discord mobile, but can on pc
I do wonder something tho who’s the character in your pfp idk it reminds me of someone
And you can't (legally) make your own dc client
Tsukishiro Yanagi
😭
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
technically yanagi's sword is a katana just with a long handle
Let me try and find that character
Idk i remember one but cannot find it
guys chat is too much dead
Hi gm 3.0
are you going to bed again?
No
crazy
When will numero 4 commence
have to figure out the next breaking change first
Bruh
At 1am
can I make spawning NPCs faster?
less than 1 frame?
1 frame would be great
well not so much, I used this
I'll show you what I mean
the npc spawns in one frame
the set of other stuff obv is done after
you need to wait the components are initialized and everything
desync?
no that's just easy patch
cedmod
fyi, 0 in delay is 1 frame
the plugin made by cedric
don't need Timing.WaitForOneFrame
I'll try it without
if this won't work I'll rewrite this system to use normal dummy spawning instead of exileds one
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...)
sure
yaght
or however it's spelt
anubis CS2
yacht?
yeah
But in MEC its defined as negative infinity?
I guess it yields same result
Makes sense.. anyways
yeah idk why it goes to the next frame at 0 but ye
resolved by another monobehaviour attached to NPC
Yeah but I use it cause it makes more sense from an outside perspective
An inexperienced dev might see Timing.CallDelayed(0, action) and think the CallDelayed is extraneous and can be removed
then comment
I could just
and plus a junior dev shouldn't be removing code lol
Yes
¯_(ツ)_/¯
It makes the code more readable for an outsider looking in
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?
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
i prefer shorter but readable code
comments don't count as code to me
so
also optimised too
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
Sounds like a skill issue
how is that a skill issue? 😭
Find a better way to do it
yeah... and i do?
While keeping it readable
Then there you go
but it's not readable as you may think of it
Just because you can read it doesn't mean others can
readable to me and anyone that has more than 50 braincells
that's why i write comments
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
i usually go for the shorter variable names, i keep my variables at max 2 words
But then you have to write a comment for it and it makes it more confusing
if ur writing more than 2 words in a variable, then there is a better name for it
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
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
If you say so
¯_(ツ)_/¯
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
How to detect area
Elaborate
t's like this, but this is EX
you mean zone?
oh
Yes
lol
No
no need for the game object
Not every room has a door name
Yes
.Name is northwood name
Because Northwood doesn't have all the rooms named
there is a difference
I know
every room has a different unity name
Yes
.name grabs directly from the gameobject
Yes
Whoops I ment .name
I know
which doesn't have everything
cool
Yes, that's my point
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
Don't use Player.List use Player.ReadyList instead and 914 is a named room iirc
never use GameObject.Find
Room.Get(RoomName.Scp914) or something to that effect
Still dont understand why you even check for that
Ofc when you activate 914 then it must exists
also getting msg to send multiple times when its just gonna be duplicate
feels unnecessary
Not every chat needs to be active 24/7
Wait you're right
What is bro cooking
Make a method
Timing.NextFrame(action)
With C# 14 you can add static extension methods to classes
Ong?
That's tuff
And then the people reading it will be like "wait I don't remember thos being in MEC"
🗣️ 🗣️ 🗣️
Wait next frame to spawn
For mass appeal
Not that big of a performance impact tbf
Alot
The guy who saves nano seconds
I knew you'd be a based readable code enjoyer
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
Who knows if an earlier subscriber just destroyed it (you'll still get a ref to it) 
Ngl i don’t know any convention
I just looked how everyone names stuff
And how
And just did it
I'm also a ternary operator enjoyer
And null-coalescing enjoyer
And unnecessary parentheses hater
🗣️ 🔥 🔥
all day talking about nullables...
Insanity
Straight facts
Wha
Did unity gaslight you into not using them?
Unity is gaslighting EVERYONE
Unity is a manipulative
just never use nullables or null checks duhhh
NOT THE FISH
I love this bug
FREE THE FISH
gif is now stolen
he is just chillin with his hat..
G'day sire
How'd you do this
gum
Spawning items with same serial
Dope
i don't like gums
nice plugin!!!! 🗣️
its real!!!!!
What's it like b eing a big phat liar
Set private now
Speaking head
Ty I needed lots of colon three to make it
Neutral enough ig
meow
Where is this in findland
Finland
Sending it to my Finnish friend rn
FIND LAND????
I still can't get over this
So they m stayed
You'll pass it down as generational trauma if you decide to have kids
This whole thing can be condensed to like literally one line of code
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
Never have such wise words been uttered
They haven't responded yet so I have no way to know whether or not they're actually looking to improve their code and get good at it or if they're just using an AI
Uuuuuhhhh
Hi guys, Where can I find the API documentation?
Good question
I won't lie I've never read the LabAPI docs lmao
Not there
Such a rookie mistake
god please give me more vibe coding
I don't think they have the docs you're looking for
If you install the NuGet package, your IDE will show if you select a member
There's xml docs
Why do I need to read the docs
I make my plugins just fine
But no "designated" website for each member like we used to back in the old Java days
Bitburner has great docs
I love that game
Javadocs
You must have missed the fine print and found a teeny-tiny bug that you could've avoided by reading the docs 
Meowadocs
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?
this is a massive docs
MeowAI
Uh
Look at the source code 
Code Suggestions
Intellisense
Auto-complete
who reads docs
Who needs that when you have using NWAPI = Exiled...
You have used this emoji like 4 times in the past hour
FAX
Benchmark my toomuchtrolling emoji count
You guys are a bunch of damn nerds
You wanna know what we share?
in common
we are italians?
Bagoly mondja
-# famous Hungarian saying for "owl says"
yes..
la salsa di pomodoro nel sangue
(tomato sauce in our blood)
All i can say is "pancia cabanna"
pancia mia fatti cabanna
I made that video for nothing 😭
DNSpy and source code helps
Base SL plugin
I KNOW THIS CAT
your server cannot function without it
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)
I would've preferred to not have read any of that
Funfact atoh as an internal list of Random Fun Facts and the funniest thing is that sometimes they are uwuify shit i write
and 90% are jokes between me and maro
because who tf can read them
other than me and her
https://ratcentral.skibiditoilet.net/🐀/90q4y21z.png
AHAHHAHAHAHHAHAHHA
why i wrote this
btw this is the hairline
:333333333333
Anyone know what the default brightness value is for SL i dont really want to go and reset my settings to find out.
0
is it? i always remembered the brightness tab being lower but anyway, cheers 
That's how Fog Control works
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
Yea. But one would expect changing spectated player /spawning in also resets fog control status. But it don’t
I had players reporting to me they were getting raptured lmao
What?!
So your problem is that players spectate a player, receive the special fog, and then it never goes away?
The problem with it being inconsistent is interesting
indeed. so you dont know anyone other than me whos experienced that?
No
I don't think people fuck with fog control that much to notice
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
Skulliosis
dead chat
Reminds me of the bug where you join a game and receive like all effects
Woohoo!
Love spawning in as chaos with goggles and hat on
Yea basegame enables and disables all effects on join
Why tf 😭 😭 😭
(its not like that by along time)
That would be diabolical
But sometimes you get the spawn protection overlay for a frame
And cola overlay sometimes
Hello
Oh hope for nothing bad
Just testing
I'm fucked
What happened
According to that i am lactose sensitive

So over
Lack toes and toddler ants
I gonna hunt you
rude
Congratulations, you've successfully been identified as part of the majority of people
In Minecraft
Hunt? Yes
Manhunt?
Real
1 speedrunner (does not know what they're doing) vs 1 hunter (cannot drink milk to remove bad effects)
Real concept
Y'know what funny is that I don't drink milk like daily
You'll be fine just get some pills to help you digest lactose
Don't eat...
Get green
Doccoli
I am speechless
Boo I'm a ghost
Why is it that if I lock a door in my plugin, and then someone uses a ghostlight, the door gets permanently locked
ill be a poltergeist just to throw shit at people and not get reprimanded
I presume this is another bug I have to add to the LabAPI issues
Me piling up stuff in ghost room
just for poltergeist to throw them fucking everywhere at once
LOL
Seems like more of a base game bug
atleast you can determine if it's a poltergeist with that method
daviddd
yea
why r u david
wdym
Wrong DoorLockReason?
Can you throw cedmod
i wish
I used Door.UnlockLater
What the
my staff keep on saying it gets slower and i cant do anything about it smh
Tf is Door.UnlockLater
Idk
isolates the player or smth idk
isn't that the lightbulb?
Decontamination
There's like 8 door lock reasons
No
ah
079 lockdown then
Nope
HUH
Enum 2
let me just search for usage xd
No, but if you let it go you can be a demon
Then it'd be named like
----079
Like the other two
Dope
Do you think it is named consistently? 
No
it is here
NoPower is funny
Well, judging that Isolation is just literally WarheadDetonation, no it is not lol
Oh thats 079 die locking reason
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?
Rotate the planet
Not the player
easier
oh wait you can move between them
rip
Let us rotate players' game objects :3
let us run arbitrary code on the client
give us client side mods
and sl source code to be sure
and central servers + Ac src
because why not
Was mister boost here?
Who
scam 
🦉
ban
.
slay girl
yassssss
Door says it wants to be unlocked at another time. Try again soon
Hello chat
H
good i just finished little big planet 2
under recommendation of my friend
Nice
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
Nice
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
new nintendo game
Which one?
whatuupto
vrchat
im not gonna say what you need to do
but we understand each others
where's the bossfight in that
the fat furry who spends 24/7 hours in that game
you probably play genshin impact and ZZZ
100%

no
hi ax
wait so they only spend 3.4285714285714285714285714285714 hours in that game?
who spends double.maxvalue hours in that game
error CS0117: 'double' does not contain a definition for 'maxvalue'
so you do
do you remember all the error codes for smth like this
That was a different me, not who I am now UwU
ok
uwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuw
surprised that this isn't blocked here
fluffy smoocher is blocked though 
iwi
No
very tempting
wat da dog doin
〜(꒪꒳꒪)〜

Bye
crazy
_fuseTime
set it to max-
you can delay the exlosion by 1.07902819E+31 years
I think like 50 seconds is enough
can you get to midnight hq in that time
xd
And do what
damn fluffies
i would remind u when that approach
!remindme float.MaxValue
🚫 I couldn't understand the format of your reminder time and text.
a few hundred years?
lol
boom
Boom bitch
get out the way
!remindme
🚫 I couldn't understand the format of your reminder time and text.
!remindme 500y Skibidi toilet sigma
I will remind you of that in 500 years (<t:17534770310:f>).
i hope i die by that time
HAHAHAHHAHA
Zer0's great great great great grandchildren getting pinged by cassie in 500 years
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
except cassie doing its job
by a few million years
why can't humanity end sooner 
probably tomorrow
probably never
Wtf
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?
you realise if AudioPlayer.TryGet is false right, that means the player is null?
you're missing braces
i ate them
also you should probably not destroy the audio players
consider pooling them instead
well i also had it like this:
if (audioPlayer != null || audioPlayer)
{
if (ev.NewItem.Type != ItemType.Lantern || ev.NewItem == null || ev.Player.CurrentItem == null)
audioPlayer.Destroy();
}
same outcome
well i just want it to work without logging anything before pooling them tbh
ev.NewItem.Type throws if it's null
so NewItem is never null?
but .Type can be?
it can be null
but if you get its type
you get an NRE if the item is null
new item is null if you stop holding something
well still i have No idea why the code only Runs the function if it has this:
if (audioPlayer != null)
LabApi.Features.Console.Logger.Info(audioPlayer);
else
LabApi.Features.Console.Logger.Info("ERROR NULL");
inside of it
it doesn't make sense imo
youve fucked smth up then
or yeah this works as a method
but how the hell....
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();
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
new
Learn C#
thats the best thing you can do
i just did that tho 😭
I literally just did new and it didn't work
and now it has
sorry guys
ev.Player.Position = new Vector3(3,3,3);
yup
like its just one line you cannot really format a line
dead chat
alive chat
use vim
new Axwabo()
ai will never replace my complex disabilities
new WayToKillSomeone()
ai will never replace my shitty code
I tried "new" before coming here to ask, I assume my IDE just didn't update because it kept displaying an error 😭
I felt stupid
don't worry everyone learns from somewhere
@someone:
well new(0, 0, 0) works in C# 9 and above
private sealed class Axwabo : Femboy
{
private string _name = "Axwabo";
}
maybe your ide is stupid
Axwabo IS NOT a femboy
invalid declaration
why
why
private sealed class Axwabo : Furry
{
private FurryType Type => FurryType.Proton
}
idk if thats the name
PROTON
PROTON XDDDDDDDDDDDDDDDDDD
BRO IM NOT A FUCKING FURRY
Valve always first
protons will take over the world
trust
private class Furry : Femboy
{
private readonly _gender = "Double";
}
Double????
Crazy
double barrel shotgun
HAHAHAHHAHAHAH
yea
bro do me

and then the only nw staff that talks here and is litteraly like us
(brain damaged)
(don't take it personally david)
I am not brain damages xd
me when you tell me to brain.Damage
-# -NRE
NAh you are first on the list
You sure about that?
That msg says otherwise
ngl you spend too much time in this channel
That I cant write isnt brain damage
oh look another proton
Nobody can read my handwriting
and probably you are like us
its like that paracetamol doctor meme
we need a neutron now
You a doctor or smth?
everyone can read mine
wait
let me write something
no
guys i have bad news. i have another question.
You should become one then, your handwriting would fit right in 
private sealed class David : Northwood
{
public override bool isFurry => false;
}
Hell nah
syntax error
When you can't use external emojis 💀
why
you don't put the dot on the i
sometimes i do, sometimes i don't
i saw that
it really depends
Ah yes +>
rocket
we got another furry
Random.value < 0.5f
this channel is filling up
yes another proton
CRAZY THATS A VALUE
🗣️🗣️
thats virtual value
everything except that
David, you should make the PlayerEffectsController better
by default true
russian channel would be better
and everyone knows the horror of exiled russian channel
Lock(DoorLockReason.Whatever, false)
there would be a lotta drinking probably
oh
bro full of femboys
very intuitive
you know how many messages gets REMOVED from exiled for being straight up porn
of femboys
like a ton
You gotta get the door first
how
wait how didn't i not know that ???
Probably like Door.Get(DoorName)
BRO I REPORT THEM EVERY TIME
you know how many i care about that
i only seen one single telegram
What?
i don't
but i judge
Someone says "femboy" and "exiled" and yamato shows up
coincidence? I dont think so
fr
lurking
in the shadow
i am allowed to send a pic of me ?
/summon
if you want?
idk if it will stay up tho
you've done that already
this is NOT exiled
@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?
really femboy
most normal yamato's picture
and let's get rainbolt on the line
huh
Just check what Door.Get takes
wait Door.Get can't use DoorName ?
just use vim
no
bruh
If it doesn't take DoorName, then use Door.Get(DoorUtils.FindDoor(DoorName)) or smth
why ?
Oh no
pov death



