#plugins-dev-chat
1 messages · Page 120 of 1
serverhost-cat
I wonder what's with the secretapi release khm
guh
never
Fake
you
not me
Birds are the best
Pigeons aren't the best
Sometimes hummingbirds will come and say hello to me
Their wings are kinda loud
dogs are awesome
That's so incredibly based
So real
Real af
Happens to me too
Kitty Kitty
The Cuddle monster
Such a :3 face
cat-discussion(real
Basically what this chat usually is
Did somebody call me?
(im gonna die if i touch it)

A clingy little creature
She dosent leave you alone if you give her any amount of attention
the clingy creature can stay away from me else i die
@celest thorn how many hours do you have on SL?
1870.5 hours
I thought you would have more
nah it wasn't my server
just i was dev and was the only one who took care
until the owner destroyed it
I am in the same situation rn
you don't seem to be in the same situation in my eyes tbh
I do not know your current situation though
but Czech community takes just this one big server
8 at the best
with 7 of them being admins
hm
I hope they finish the localized server redo soon because right now its promoting monopol in smaller countries
it has been like this for ages
dead chat well
now imagine how it'll look with queues too 
Eu ususally dead (both)
NA has a great think between 10 or full player
dead chat
thing is you started. We're running 2 months and just don't have the time to be doing stuff on normal work days.
i agree , i got into PC at like 19
bc i sleep from 16 to 19
:D
You need players to take advantage of queues tbh :p
how can I check if voicemessages were sent on a radio?
oh got it
Radiovoicemessage
I just checked if the player is using radio
Eh can be done yes
but thanks
I think it has a dedicated voice message
Somewhere inside InventorySystem.Items.Radio.
Has a struct the voice message is that i think
When I am trying to save my display name and use it later this is what I get(and my name is not NOVAcolor=#855439*/color):
even better
my name is not colourly at all, but even if it were how can I prevent this and just straight up copying the name without these colour thingys
brotato just fell asleep
It scripts <> char
As you see
how could I make a gun be fully loaded after killing someone qwq
the only way I know is to patch harmony but that would not work for this scenario qwq
you are delulu
you can't have rich text in the nickname
you need to get the IPrimaryAmmoContainer module
It doesnt have at all
But somehow the displayname icludes the * and thats why that happened I think
The client appends that to signify that the display name differs from the original nickname
Hello
@thin shuttle why did you upload exiled-only plugins to the labapi plugins website 
Is that even allowed?
I don’t think so?
well, you could think of it as the plugin requires EXILED as a dependency and EXILED is a LabAPI plugin. which i dont think is a problem if other plugins have plugin dependencies
There’s no option for exiled
Right
Big dependency
iirc the rules are similar to posting plugins in https://discord.com/channels/330432627649544202/1336031121699377213
People tho will try to install it on the labapi one not on the exiled one
Because 100% someone will think “oh its a dependency” installing exiled correctly and putting exiled plugins into labapi folder
Uh
Then why is it called labapi-plugins
🗣️ 🗣️
We'll let at jesusqc decide I guess
The great question
well like i said EXILED is a LabAPI plugin, and you can think of it as having its own modules system to load its own modules. if we ban EXILED plugins we are pretty much saying that no plugin can have a module system where other devs can post their modules/extensions. which can apply to alot of things
i think the best solution would be for the website to provide away to specify that kind of thing
CC @limber silo
I do wonder who would do a modular system
It has many benefits
You don't need to install everything if you just want the most basic functionality
Yea
See SecretLabNAudio, DiscordLab
i do it for discordlab and textchat
True
Text chat???
But labapi can already load multiple plugins located in the same dll
Why would text chat need it?
Discord webhook functionality
Oh really cool
I will give a look to make warning for it
I mean its not your fault
If something like this happens
I know but it's prevent this hazard
Of people misconceptions of dependency for Exiled
can you not say exiled is a dependency via the actual dependencies selection thing? lol
No.
why no period?
You can
But you have to install the Plugin made for exiled in a way different from labapi
dead chat
You're dead
The dependency plugin has to be added as Library
and you
Yeah
dead chat
Then say something that invites people to join a conversation
dead chat again
Why is your cat mogging
Are you made of risotto
I'm trying to spawn an HEGranade but it doesnt seem to neither be pickupable nor triggerable with another HEGranade
GameObject granade = UnityEngine.Object.Instantiate(Mirror.NetworkClient.prefabs.Values.First(x => x.name.Contains("HegPickup")));
Mirror.NetworkServer.Spawn(granade);
what am I missing / doing wrong?
Pickup.Create or smth
use the labapi Grenade wrapper
or if you want it to start exploding: TimedGrenadeProjectile.SpawnActive(player.Position, ItemType.GrenadeHE, player, 0.1f);
you can't instantiate pickups this way
otherwise Pickup.Create(ItemType.Medkit, player.Position).Spawn()
just spawns it like any other item where it can be picked up
Yeah that one if you want it to be a pickup
EVEEEEEE
hi
ive probably seen the most gay stickers when working with Scpsl than anything else
How to make a person invisible like in Exiled FpcRoles.IsInvisableFor?
is that a gay sticker
Use the event PlayerValidatedVisibilityEventArgs
I consider it so
check what exiled does
the only way on labapi is via the PlayerValidatedVisibilityEventArgs
which is far easier than whatever exiled is doing, because exiled requires patches
its a girl giving a thumbs up idk
Okay its not gay
i was gonna say something but i gtg
ts gay
guh
thx
yes
that is i
i was the first one :3

thats why i said nvm 😭
hehe
aren't you just a QA?
no
that was what david said alot of time ago
david always forgets im web dev
crazy
QA, Webdev, professional gaslighter
most unknown web dev
no, there is someone more unknown
Ngl you aren't like John Webdev
most web devs dont talk publically
twix is john web dev for nw
bc they will be mocked or what?
So what the fuck are you?
they hiding in the shadows
nah
john webdev for sl?
what
so you aren't a webdev for nw?
sadge
Ambiguity between "ReferenceHub.OnPlayerRemoved" and "ReferenceHub.OnPlayerRemoved"
Does anyone know how to fix this?
I removed all dependencies except Assembly-CSharp but the error still remains
Do you have a Assembly-csharp publicized also referenced?
Nope
send/show your csproj
wtf
it does not even show any as you showed here
C# Magic
no that doesnt even supposed to happen
do you have any .props or anything like that next to the csproj or next to sln
It's strange, the file has a weight
No...
why are you gay
check again
outside of your directory too
because idk how you even managed to import those without importing it inside of csporj
you're using a bad publicizer
use BepinEx.AssemblyPublicizer with MSBuild
or just download from exiled works too
yea
😭
How?
In ExMod Nuget, Assembly-CSharp is empty
??
I think even philosopher asked the same question regarding if rocks had mass
go back sleeping
;(
so funny seeing anyone who used html tags in github broken in the website
How to spawn blood decals?
theres a network message for decals
i dont remember specifically its name
Oh okay thanks i will look it up
searching decal should give u an answer tho
ah hell nawh
I'm surprised with how many people come in here with simple questions that can be completed by typing the thing they're looking for into their code and just using Intellisense or whatever they call that pop-up menu
Want to figure out respawn timer? Start typing Re... and it'll pop up what you want
wait until you hear about visual studio
Visual studio has it too
I know because I used it
Pretty much any self-respecting IDE has it
And any good IDE should also have either a decompiler or a decompiler extension for working with dependencies but I'm unsure if visual studio has it or not
But like rider has one and it's magnificent

yesterday my classmate started typing a class name
NOTHING showed up
ctrl+space? nothing
Then they did something wrong cause visual studio has it
Can confirm VS has intellisense
It's built in
but it doesn't show automatically 😭
Class.

BRUH
Yes it does
it doesn't show when you start typing a type name
like this
when you're on a new line
Fucking hell how many times do I have to say it
did you read what i sent
you have to type the full type name just for it to show suggestions
And VS has it
i want autocomplete for types
No you don't
for type names
I don't have my laptop open I'm sitting in a hotel room in the UK
It works outside of methods too dude
It's Intellisense
This one is
You're just insane
i'm talking about inside methods
that it doesn't work
maybe something has to be really fucked up in the setup
but i know for a fact that the vs instances in my class don't show type suggestions when typing in a method
You're complaining about VS not having a feature that it has
He just showed you both inside and outside of methods
Inside
Outside
This was in a method
if you don't have it you probably just need to change your Intellisense settings
But idk how you changed it in the first place because it's enabled by default
i didn't change it
i don't even use vs
i'm just malding when i see others not having type completion
how does it not work? idk
VS has Intellisense which means type completion
School install?
yeah
My programming would be much more of a headache without it
School might have disabled it when installing VS
Oh idk then
bug? maybe
VS moment ¯_(ツ)_/¯
i was just going off what i see from others
shitting on vs
(i do that every time i get a chance)
still, visual studio doesn't have that kind of type search Rider has with double shift
i have a guess on why it might not work
cuz there was no using for the namespace of the type they wanted to use
can you try typing Culture and see if it suggests stuff
I think intellisense automatically writes using namespace if it is not there
uuummmm
show
someone wants water?
show me that it works
Listen I dislike Visual Studio for a number of reasons, but I will not diss on its intellisense
Bruh
.
You really want me to get my laptop out just so I can embarrass your ass
Cause I will unpack my suitcase and prove you wrong if you're gonna be this insistent about it
you're the 3rd person i asked soooo
do if you want
now i simply asked to show if it happens, cuz the only place i've seen it is when it did not work
Thank you sir
Culture is what
whatare your using statements
hmm
XD
so maybe it's .net version dependent?
it did not work at school in .net 8
@restive turret thanks for the assist
Dude you're overcomplicating the issue
inside method btw
okay so
as you said if you start typing Re
with absolutely no using statements
will it suggest respawning types?
that was the initial argument
😭
type Respawn
The issue isn't that it's .NET 8 or that it doesn't have Intellisense
If it didn't work at the school then either
- You're making it up
- You were wrong
- You were wrong and are making stuff up to cover yourself
- You're not wrong nor lying and the Visual Studio installation at school did something to disable Intellisense
my goodness
You're trying to claim VS is bad by proxy because "Intellisense doesn't work with .NET 8" or some bullshit but the problem is just the installation the school has if you're telling the complete and honest truth
the answer is 4
but not all of intellisense is disabled
Or the answer could be that you're misremembering something 🤷🏼
maybe cus of these
There are a lot of valid reason to hate on VS but not having Intellisense isn't one of them
okay recreate this
int.Parse("41,3535", <-- type here)

lmfao
in net8+?
and w rider i do get the culture stuff (inside a method)
either it's some sort of configuration issue or it is actually a bug
seems like another Rider W
hello eave
yes .net 8
NOTHING
we sure do love loading everything in 2 lines
Because Culture isn't available?
It's not imported
You can't do anything with it
see?
that's the issue
Rider shows it despite not being imported
because it is not a traditional enum or stuff ?
start typing Culture where i said and no suggestions
So it shows a .dll that isn't added as a dependency?
i mean the system reference exists, its just the using statement that isnt there
add using System.Globalization; and it should show (question mark)?
we're in .net 8
unless slejm disabled system references
yes
System.Globalization is part of the SDK
implicit ones
u can disable them
just a simple console app
smh
import deez.nuts
its only rly needed to do that when ur manually using newer system libraries (eg from mscorlib.dll)
so, in that one scenario it does not work
type suggestions do work for SL use-cases
my argument of "well, you won't get type suggestions in VS if you just start typing the name" is wrong because i based it off one scenario
but we did discover that vs intellisense is still worse compared to Rider (in this aspect at least)
Just enable "Show items from unimported namespaces" in VS settings and it'll work
Rider has it enabled by default, VS doesn't, iirc
💀
why isn't it enabled by default
😭😭
copium squared
so it is a configuration issue after all
thanks microsfot
Iirc
.NET 9 implicitly imports Globalization
.NET 8 doesn't
It prevents more bloat from Intellisense
it does not
no
and makes DX worse
this is net9
directx
xd
ok bro but WHERE
Whats wrong with it
Or something with global usings mentioning it
it looks so fucking horrible
doesnt mention it for me
whitemode
it WHAT
My point is .NET 8 is doing something where Globalization isn't imported but .NET 9 is
Or something similar
You enable the usings settings and it goes away
I using net9 project
do you see it?
there's no global using for that neither in net8 nor net9
slejm attached the file of implicit usings but you can't see it
I ve no problem with it
Does the example work now with the setting turned on?
it was turned on when i searched it
so it is a bug then..?
try with the setting on again and screenshit
might be because I have 2 VS code instance open?
huh
He said it was enabled already when he went into settings
VS didnt feel like it
you what that kinda explains the situation
helo
how could I make items that have set parent as the player's transform move immedietely without delay?
i guess you can try parenting the pickup
but
you have to make sure you destroy the pickup on the client too if the player leaves
dunno how well the position will sync though
it's kinda far from me
well you're cooked in first person
okay better one
recreate the model with primitives 
the main thing is I wanted it to be the items
it's even on other players
idk why it has delay
item shit
like does it have to be updated on client and server at the same time maybe
yeah primitives are smooth asf with anything parented
I mean I can live with some X delay I guess
ello
oh i thought you was asking plugin
nah
i just need a schematic compiled
Im just lazy to install that
nah i found a way to compile it
is RueI usable rn? wanna switch from HSM but not sure cuz last release is called v3.0.0-alpha.2 and desc says do NOT use this on your live production servers
2.0 works rn
idk the exact version number
but 2.x
there is 3.x but its in alpha rn and might not work
@true cedar ^
2.0 works
What's ruei's strength
probably insanity
making bubble gif rn
bad
What
i disagree
u cna use that version should mostly work
huh
just dont use animatedvalues have not tested them
it seems like im a bit don't awake
probably
use what
RueI
NOBODY GETS IT
lol
lmao
So I've been writing this wrong for a long time lol
im psure more people use hsk
hsm
idk
i tried to make ruei v3 dead simple
fully rework needed ig
have u tried v3
nah i don't use hint framework
its good i think idk
is it documented
i remember being so lazy i just instantly gave up because i didnt know how to navigate v3
btw @true cedar can u make ruei 3 load quicker

make it highest priority ty
LoadPriority.Highest pls 
whyyyy
because plugins that rely on ruei wont load reliably 
me when missing dependency
besides it makes sure that ur stuff is loaded
before stuff that uses urs
Oh !
if u dont use it in the like
on enabled thing in ur plugin
it should be fine
why is the ragdoll spawned event supplying the template instead of the created ragdoll? 😭
bug prob
I'll check if it's reported and I'll make a new issue because david will hate me if I just ping him


Transpiler patch it 
btw plugin devs
if you want to test plugins
set server to "offline mode:
so you don't need cent server auth
I know, i been swapping on it when i wanna test without internet
i have decided i will get v3 out
by the end of this month
pinky promise
pinky promiseee

bro go to your bed
hug it
and go sleepy mode
What the
bro stop if you got that in your table, you just eat it
bro you don't like rabbits??
I don't like eating rabbits
do you like horses?
like fucking hell if they are good asf
What
At this point I wouldn't be surprised if someone pointed at you and said "they're eating the cats, they're eating... they're eating the pets of the people that live there. and this is that's happening in our country, and it's a shame."
Horrified emoji
❌
bro your life is sad
i know
nah but really try other meat ngl its so good
i tried and was severely disappointed
probably not good one ig
but yea one day you will find the good butcher
butcher me timbers
zero you gotta try being nicer to people
how can I force player to turn on noclip?
Player::IsNoclipEnabled ?
idk if it has a setter
noclip enabled is there
if there is no setter, see how the noclip command works
Adminstat
you stole my moment ;(
i was about to say it
wait you can
Player::IsNoclipEnabled
is what i use
and it does force it
Silly ORANGE CAT getting TICKLE'd AGAIN in Pokemon! - EeveeSite
#pokemon #irlpokemon #pokemonbattle #funnycats #orangecats
138155
i was just watching this video lol
I don't have ig
so sad no cat video
set??? O_o
Xd
Lmao make a git issue
Grammar
slejm prd it yesterday no?
@thin shuttle ^
theres patch categories, some extra extensions and stuff
but yamato can prob say more idk
we have some NW fix
very big API but LabAPI get similar but still less big
we also integrated some non basegame API like Keycard modifying propperty in next release
some Mirror stuff
we are preventing to maximum the breaking change from NW
But yeah Beryl have the same opinion of Exiled than me
ya
i support your static-instance item props thingy statement
exiled has a place, its just not smth id use
LabAPI is better because it doesn't patch anything and its just raw base game with sprinkles of wrapper
its a mid ground between raw and high
i want the events OUT
give me raw performance
LOl

how about we make it so we can choose events we want
nothing else gets called or anything
Like i said some people use LabAPI for that reason but still use Exiled because we have DynamicPatching
and we have bigger API on some stuff
like DoorType
The most hated thing i don't like of labapi is just the DoorName
too
(not labapi's fault)
Ye i didnt know Dynamic Patching was a thing lel
ngl this song makes me cry
btw guys MARIO GALAXY REMASTERED :3
nintendo is tempting my wallet
i forgot about all of them
yeah
that also good reason to keep using Exiled if you don't want to check them manually
we have a lot of Enum for different stuff to simplify the research
What is dynamic patching
Eh that's more-so a beginner crutch
Imo
it's like not patching things we don't use
Oh dope
we keep forced patched some because it's needed in the case to fix bug for example or for some propperty than Exiled API have
I pretty much never have problems finding what I need
Everything you want tends to be pretty easy when you know what you're doing
I heard you're rolling out a dupe fix for 914
Just don't forget to remove it next update
that will not be a problem even if we do not remove it
^^
or we will see it imediatelly
by error
Eh 50/50
Depending on how you structure your transpiler it might silently fail next update and break some stuff
When your code becomes obsolete, don't rely on "Eh, it'll be fine" or "I'll see an error" because that's not always the case
yeah
I mean I trust myself to write pretty good transpilers because the ones I've written work through multiple updates (and still do work), but I know EXILED and other mainstream APIs and plugins have a bad track record with them
I took some really important tips to heart about it and it impacts how I make them
actually it's might probably doing a NRE
Transpilers breaking don't always give exceptions
The IL code can be valid, but cause issues when the surrounding code is updated
it might silently fail next update and break some stuff
hello there
yeeah
that what i said probably NRE for our case
me when NW changes a method parameter but instead of the IL not compiling it just shits itself at runtime
that funny :)
Marginally
Not funny for the people using your API
All you gotta do is just remember to remove it next update
sure
that what we do
we now have a QA server
so it's will be more easy to testing stuff with big ammount of people
game updates, theres patch on network code, patch breaks, client crashes
could you fix this Flag Enum ?
simple modify None to use 0
and keep the other as it is so no breaking change
the actual game will have 0 when nothing is enabled
instead of None
Yeah that when crash occurs it's usually a mirror stuff
other than that it's more often NRE
or spam NRE
LabAPI issues 
no that SCP:SL
issue
i did fix it in Exiled Enum
Make a request for it in LabAPI
If it's not a bug with SL then you request it in the LabAPI issues form on the github
@limber silo https://github.com/northwood-studios/LabAPI/issues/116 is this in the upcoming update?
i dont believe patchnote said so
so prob not
patchnotes don't say stuff that comes from labapi anymore afaik
you'll have to wait for jesus to release his own
maybe
tbh, not labapi specific thing
also client side reload check is gone
eh well, i know atleast some events got added and none got put in the changelog
so
yeah
i agree
ya
YES FUCK YES
No
So will the new LabAPI be rolled out on all servers or will we only be able to use it fully next update?
Next update
Labapi updates with SL
Because scp173 teleport is not synced with client so cannot be done
Wait
Idk who to tag about it so
The distance you teleport to is including the red "goto" model too?
Every player can vanish? Lol
w
So if it's released in a few days, does that means SL is too?
Client release at same time when early server come live
What does this mean
LabAPI is releasing in a few days
In order for it to be released it means SL has to have a release, no?
Early server go to live, means client go to live same time
Yes
Which means SL is getting updated
Okay
Its been that way since I joined
Server owners got a beta password
Finally something positive
I just wanted to make sure that the LabAPI update means SL update cause there is nothing in #game-announcements
Dope
Usually LabAPI update means client update too
If not just someone accidentally fucked up the xml 
if this happens for everyone then waypoints yeah
sometimes client can have mismatch of ids or stuff
So if I accidentally have a stale static WaypointToy around it could cause issues like this?
Possibly
hello world
no nuget 
no chicken nugget for you
I'm very confused cause anytime I make a WaypointToy I've destroyed it after about 15 seconds, and I only do it with a custom item
probably the client says nuh uh
sometimes it happens to me when i try to destroy schematics
they just don't disappear
Any way to fix that?
The best way i fixed it was a coroutine and sending it with a formula i invented based on the tps
and that worked
but tanks the tps so i really never used it
Lmao what did you do
i did a coroutine
but because of the amount of lovely primitive
this made the server lag
No shit
I want to fix this but these vague ideas of "I made a coroutine" aren't helpful
just delete them 1 second after deleting the item
So why did your coroutine need server TPS and cause lag
I did it because so i could delete in batches
based on tps and calculate the time for the next to batch to delete
So it's like I destroy the waypoint toy on the server, then send the object destroyed message on a delay?
No you just destroy it after 1 second
my theory on why this happens is just mirror ignoring one
and just forgetting
because else i have 0 explanation on why
So you destroy it once and then destroy it again after a delay?
Destroy Item => 1s Delay => Destroy Toy
What is the difference between the item and the toy
Ig that's the part I don't really get
Destroy is for both the same message
and idk why
if you send multiple at the same time
the client sometimes reject one
and delaying it seems to be working
Yeah but what is the WaypointToy "item"
i don't understand
you don't know the waypoint?
WaypointToys are an AdminToy, I get that
I don't understand what it means to destroy the "item" and then destroy the "toy"
So Mirror
shares a packet message
called DestroyMessage
this is called for everything that is destroyed on the server (if isServer = true it doesn't)
and so
my thinking is
you are getting the same problem as me
with sometimes the SL client saying Nuh uh
i don't destroy that
Yes I get that
but i do destroy the gun
Idk how the toys work
Gun?
I've rambled about the whole waypoint system enough heh, I don't like it
No no you misunderstand
The problem is not with item pickups
That was never the problem lmao
This is the problem
yea
and im telling you
when you destroy the Waypoint
just delay it of 1
and that should always fix the issue
ok so
.
The waypoint toys are spawned with a grenade explosion, and disappear after 15 seconds
then idk
check
how do you destroy them?
Whenever a player enters the radius, I add them to the dictionary with a new WaypointToy
If the player was already in radius I skip making it
Once the routine is finished, I go through all the dictionary values and destroy the Toys
maybe
again one of the toys is not being destroyed for the client
as i said before
when you delete alot of stuff this happens
What happens if I send an object destroy message when the object is already destroyed
So stagger deleting all of my WaypointToys?
if you are doing it all in one time
instead just
delete => 1s => loop => delete => 1s
and so on
That's so crazy that this is an issue
idk who's fault it is
but i found this as a solution
but makes lag so if the player sees them
i just say "networking skill issues"
UDP is made to be like this
you don't know if the data you are sending is going to arrive
That's really stupid
(thats why desync exist)
instead it isn't
because reliability means slower
and games wouldn't be possible
Wat
Yeah but if it's to the point where it's entirely dropping packets then something's wrong
obv but udp isn't reliable
on if the data is sent








