#plugins-dev-chat
1 messages ยท Page 212 of 1
meh
Like Radio.List[0].Serial
serial stays the same
Yes
slime boy
can you add IDoorPermissionRequester to the wrappers for item lel
wait
no
While in under ItemSys it well be Info.ItemSerial or something
IDoorPermissionProvider for Item
??
IDoorPermissionRequester for door, lockers, generators, etc
What
Why??
cuz basegame item is a provider of permissions
Eve want to block player hands
ok but
for plugins?
rn theres
public bool HasDoorPermission(IDoorPermissionRequester requester, DoorPermissionCheck checkFlags = DoorPermissionCheck.Default)
public bool HasDoorPermission(Door door, DoorPermissionCheck checkFlags = DoorPermissionCheck.Default)
=> player.HasDoorPermission(door.Base, checkFlags);
and then this
why not just...
have it so the wrapper also has the interface
basegame never uses the wrapper
but plugins
do
๐ญ๐ญ
The interface doesn't just have one method in it
So guh
hell yeah
And this also doesn't make sense since WHERE THE FUCK do you get the player
extension method
Eve
Contribute to obvEve/SecretAPI development by creating an account on GitHub.
THAT'S FOR THE PLAYER GIRL
Slejm want to detonate u Eve
and not the item
You saying add it to the item
JUST USE ITEM.BASE
ok but
why use labapi
when i can use basegame
๐ฅ
I AM using basegame
the entire point was to add more to the wrapper

and ur right
its not just 1 method from the interface
its 2 getters
๐ญ
well depends on interface but still, one of them has a method and a getter
but still
I dont see the point ngl
ok then whatever
Since it will call the base anyway
public float ExactState => this.Base.GetExactState();
in Door

what about these
ask david then
theyre also just base calls
Idc if its in or not
the entire labapi is ๐ญ
@hearty shard does it suffice you if I do like
IDoorPermissionRequester Requester => this.Door;
i mean the main thing was to just allow calling extension with just the door and nothing else needed
this adds the same as .Base call
ig
But stuff like this can easily replaceable
Meh suggestion was to avoid it, but if its not happening its not happening
public override void OnPlayerDying(PlayerDyingEventArgs ev)
{
if(ev.DamageHandler.DeathScreenText == DeathTranslations.Unknown.DeathscreenTranslation)
return;
if (ev.Attacker != null)
{
DbPlayer dbAttacker = ev.Attacker.GetDatabase();
dbAttacker.StatsData.Kills.AddOrUpdate(
ev.Player.Role,
1,
(key, count) => count + 1
);
if (ev.DamageHandler is FirearmDamageHandler firearmHandler)
{
ItemType weapon = firearmHandler.WeaponType;
var weaponKills = dbAttacker.StatsData.WeaponsKills.GetOrAdd(
weapon, _ => new ConcurrentDictionary<RoleTypeId, int>()
);
weaponKills.AddOrUpdate(ev.Attacker.Role, 1, (_, count) => count + 1);
if (firearmHandler.Hitbox == HitboxType.Headshot)
{
var weaponHeadshots = dbAttacker.StatsData.WeaponsHeadshots.GetOrAdd(
weapon, _ => new ConcurrentDictionary<RoleTypeId, int>()
);
weaponHeadshots.AddOrUpdate(ev.Attacker.Role, 1, (_, count) => count + 1);
}
}
}
_roundDeaths++;
if (ev.Attacker != null)
_roundKills++;
DbPlayer dbPlayer = ev.Player.GetDatabase();
dbPlayer.StatsData.Deaths.AddOrUpdate(
ev.Player.Role,
1,
(key, count) => count + 1
);
base.OnPlayerDying(ev);
}
Really strange, but i don't know why Firearm doesn't count the micro???
Micro, Disruptor and Jailbird have their own damage handlers
well, jailbird isn't a firearm
i know for jailbird but thought that they all inheritated from Firearm because you know THEY are firearm
All damage stuff need to be rewritten
Rewrite damage
just making sure, i read CSG over a couple times and i am allowed to do this correct?
in the context of a gamemode server i have, karma is the points you get or lose depending on who you kill (friendly, or not).
fair enough
for gameplay
why does it kick/ban you for losing karma
๐ญ
not good enough at the game and ur getting banned
oh you said friendly or not
yeah that feels like smth to enforce rules and stuff
does gunning down the entire unarmed class d horde in 914 affect your karma
its TTT
Trouble in Terrorist Town
basically mafia/warewolf but better
*(gameplay moderation btw)
lol
for this gamemode FF is required lol
Is there a way to set a player's role and skipping the whole "YOU ARE (role)" pop up
No
Go use your nw badge to make the devs add a flag
On the rolespawn
It is technically gameplay moderation, as it is a core part of the time. You need official resposne tho
I mean when i was developing gamemode for tournaments
We required some stuff to be saved and so on
We asked and it was fine
To display them
But probably because they were official tournaments
there is a sugestion inside the labapi log
repo*
And you will probably have to wait until thw next update
It's been requested for a very long time
@lyric dagger Obliterate please
Gone
evaporated
It's generally a bad practice to create nested types imo
The Hungarian language shows 
How is the jailbird a firearm
I'm trying to do that ๐ญ
The current system has so many edge cases tho
and the other one
Does it shoot bullets?
No
Does it inherit from Firearm? Also no
Particle Disruptor
Well idk about that
The damage handler is separate bc
Because idk ๐ญ
Because of the death anim
Pickup pickup = Pickup.Create(ItemType.SCP500, t.position, Quaternion.Euler(0, 0, 40));
Rigidbody rigidbody = pickup.Rigidbody;
rigidbody.isKinematic = true;
rigidbody.useGravity = false;
rigidbody.detectCollisions = false;
rigidbody.constraints = RigidbodyConstraints.FreezeAll;
Button = pickup;
pickup.Spawn();
Has anyone tried spawning items? Do you know why an item won't spawn?
I checked the position, it is correct, but the item is not there
maybe clientside prediction of item's position does something wonky
if you want to create buttons, just use InteractableToy in combination with Cylinder Primitive
there's no item prediction in the client
the items move if the server says so
Try and check by clicking F3 + F4 if mirror screamed at you
or else try to spawn it and then set the rigidbody stuff
with a delay of a frame or 0.5
(usually always works for me)
You could try setting network spawn to false
is there going to be any major updates to LabAPI for 15.0?
most likely
but ig that's something the labapi team or programmers should answer
Yes, something with canvas
Interface
๐ฅถ
(as of now cassie events are broken and so on, so i hope it will)
what is canvas?
Like custom HUD
๐ฎ
Idk if fixed or not but I guess it did
no its not
I mean
As future
ohh ok
Most of them requires full rewrite on some system
Not loading
avg linkedin meme
Well we fix some thing and it breaks atleast 99 others
But ye I hope some major changes can be sent out
lol
I have a ton of that already
can you guys just give us a compiled build
and that works 
we put it on the server
i mean if its not events related
Have fun referencing stuff that doesnt exist
true
Funny when most of the times I see a good suggestion I immidietly jump to it and try to solve it
Singlehandedly postponing 15.0

how i imagine you working on the SL code
Well im pretty familiar with some of the stuff now
Yes
All of your plugins will in fact
break
Damn
๐ฅupdate
Looks like y'all are dragging me back to my socially crippling C# addiction
Ur all FIRED
Anyone know if/how it could be possible to make a human player play their third person "picked up an item" animation?
yes
This i think
OverlayAnimationsSubcontroller subcontroller;
if (!(player.ReferenceHub.roleManager.CurrentRole is IFpcRole currentRole) ||
!(currentRole.FpcModule.CharacterModelInstance is AnimatedCharacterModel
characterModelInstance) ||
!characterModelInstance.TryGetSubcontroller<OverlayAnimationsSubcontroller>(out subcontroller))
{
// Non-animated character model speaking
return;
}
// Hardcoded value, this SearchCompleteAnimation in the array
subcontroller._overlayAnimations[1].OnStarted();
subcontroller._overlayAnimations[1].SendRpc();
oh neat
why does speakertoy not play any audio when isSpatial is set to true
@thorn escarp hacked acc
!softban 299640485658492932 Account compromised; change your password.
Done. Enough chaos.
Gone
wrong position?
idk, i decided to switch to your very totally understandable first try API XD
its totally easy
ngl
after using audioplayer API for 3 years, i was struggling bc i was trying to read the documentation and was overcomplicating it
the examples page:
no?
PJ gave me a reality check and just sent this:
var _player = SecretLabNAudio.Core.AudioPlayer.Create(AudioPlayerPool.NextAvailableId, SpeakerSettings.Default).WithSpatial().WithMinDistance(1).WithMaxDistance(9).WithVolume(1);
_player.UseFile(path, true);
_player.Speaker.Position = parent.position;
um
having Pools is so good for memory
ontop of that i used the nuget which is the 1.0 so that added much more confusion to me lol
AudioPlayer.CreateDefault(position)
.WithMaxDistance(9)
.UseFile(path, true)
yeah you gotta tick pre-release cuz
v2 is still not released fully

yes, have a stroke looking at my code ๐ญ๐คฃ
don't tell me that these files are shorter than 30 seconds
no
okay
๐คฆโโ๏ธ
all of them combined add up to 9 min
okay that's something
i plan on shuffling them later
this is insane
true
my longest was 2 minutes
i am gonna summon KPG to my servers again -_-
oh you work for KPG
no
i'm sorry for your loss
???
that server is ass
they did something on my servers for a game night or smth
at least i was told by one of thier community engagement ppl
dafq
what?
isn't this like raid?
lol=
KPG raiding other servers is new

its a gamemode server
they could argue that your server is accessible to the public, therefore anyone can join
Wtf
its nice that people actually play my server
you did automatically streamline them?
that would explain it -.-
if they are files?

you are missing Like EVERYTHING
I NOTICED XD XD
what do you think happens when "UseFile" or "EnqueueFile" is called
The audio gets loaded in ram
and then played
๐ญ
it was never like that
you hallucinate a lot of things 
huh
i was talking about mp3 files and so on
i remember you needed to specify if you wanted them not to be loaded but rather streamlined
this is better -.-
you guys aren't with twilight hosting or am i wrong?
yeah you either had to use ShortClipCache or create a WaveStream
nope
Legion
I remembered incorrectly
it would appear i have broken it.
what
"i have broken sl"
-# -a lot of people
nah that crown goes to me
and we all know
schizophrenia and me are like besties :3
alright chat, on todays episode of debugging on an API i have Zer0 Idea of using. Lets see what the fuck i broke ๐ญ
check LA logs
what is broken
wait
why tf the volume is 1
100f?
isn't the volume
oh i forgot
volume is 1 = 100%
omg
this is the start:
[2026-04-25 07:02:44.866 +00:00] [STDOUT] NotSupportedException: No factory registered for file type .ogg
[2026-04-25 07:02:44.866 +00:00] [STDOUT] at SecretLabNAudio.Core.FileReading.AudioReaderFactoryManager.GetFactory (System.String fileType) [0x00015] in <143769befb8b4decb99a5a0a2acc90ad>:0
probably because you never worked with audio 
no code
that's for the dumb end users
i'm talking about code
what the
yea
well that doesn't really make sense
cuz then you gotta multiply by 0.01 every time
we know
reading the readme is very difficult for a lotta ppl
TRUE
a guy dmed me
asking about meowdebugger
and saying "Why it doesn't work"
he installed the exiled version on labapi
thank god i specify -EXILED
that's called incompetence
to be fair, im the type of person to just read the code...
but no i've seen people never read like everyone i know doesn't know how to read
they just ask me
๐คฆโโ๏ธ
i dont USUALLY read the documentation
i can't do anything atp
this is true
that's not my fault
fantastic idea
force license acceptance and include the readme in the license 
AHAHAHAHHAAHHA
(they are just gonna click OK/accept)
when ive been coding all day with like one 10 min break over the course of 14 hours you cant blame me
The hit IDE made by Jetbrains, Intellij IDEA ?
FUCK JAVA
LEAVE JAVA THERE
java makes me want to cease existence
well uh
I love Java. I use Kotlin
then you also have different problems
i've been doing a 3D model all days and coding at the same time
alapozott
minecraft modding software
one of my friends: "i don't like C# because it reminds me of java"
lets go back to assembly
๐ญ๐ญ
bro people hate doing IL patching, do you think they wanna do assembly kek
but still work with it
IL PATCHING IS SO EASY
skill issue
like damn
you just gotta know some stuff
ok time to make LabAPI assembly compat layer
I had ENOUGH of assembly 2 days ago
- flow control
- labels
- locals
- structs shenanigans
we debugged code for 1 hour
on some shrimple device
to find out
both where I was sitting
and the pc next to me
let me show you something
AHAHAHAHHAHAHAHHA
some resistor was slightly off, and the button ids were different from the manual
*audible pain*
what in the actual fuck am i looking at
XD
oh thats like me with the scale I needed to integrate into the system, after 2 weeks of serial connection not working, the connector just broke of randomly. Turns out most of the pins digintegrated already and were held on by like 2-3 pins
Decompiled Il2CPP code
:3
this is just for calling a random on unity

this is why i like DNSpy
the website or the code
me when dnspy is not available on linux
Code
this is machine code
but
you hit F5
on ida
True man do c++
when when ILSpy with my little eye
and then they kill themself after seeing templates
๐ญ
nd you see this :3
il2cpp is not that obfuscated actually
I assume that was compiler optimizer generated and that is why it is called like that
yeah i don't wanna use the CLI
i need to be more family friendly
ilspy is gui what
no it was use to just fuck with people
more than that
where is the gui
hueh
ugly ahh
yo david
i am now experiencing High ping
yo zero
can we do a megaproject
it works though
null
what
decompile an entire c# game in Il2CPP from C#

all assembly no pseudocode
F5 not allowed
i remember i used to code in comic sans for some reason
exactly
is it better @celest thorn
much better
lmfao
average wpf moment
just remove wpf already
also i still can't find the linux version of the gui
do i dotnet run ilspy.dll on the fricking self-contained one?
Curse of Remote Admin
i'm decompiling a malware
and i get shutdown by sl
its already dogshit the code, i don't wanna see the client one
else i will cry
me when plugin issues arise
i mean it should be really optimized
because it goes like through 2 compilations
so
C# IL > C++
so much rubberbanding now ๐ญ
skill issue
time to use meowdebugger profiler
Ngl i'm moving on from naming shit with meow
like
or percussive i cant spell
HintServiceMeow
that is ass
i know
thats why i use RueI
else i'm finding you
i was just listing another plugin with meow in the name lol
MrrrrpNet?
Elysium ( or ih-LIZ(H)-ee-ษm), otherwise known as the Elysian Fields (Ancient Greek: แผจฮปฯฯฮนฮฟฮฝ ฯฮตฮดฮฏฮฟฮฝ, ฤlรฝsion pedรญon), Elysian Plains or Elysian Realm, is a conception of the afterlife that developed over time and was maintained by some Greek religious and philosophical sects and cults. It was initially separated from the Greek...
AND NOT because its something i love from a franchise i love
nope
WAIT
WIKIPEDIA
I need to ask for updating wikipedia
they don't have Xc2
there
I call upon thee, righteous entity of erasure. Divine General of Existence. JERMA.
idk why i was thinking of this

where do you think i got Divine general from lol
OHHH
Ahahahha
i know you will do good use of my gif
lars does not appreciate this message.
idfc about lars
hope he stays mad

@upper vapor i love how my ping drops once all of the music stops lol
F3+F4
can you do that for me :3
send what you see on the screen
what does f3+f4 do?
ig nope
Opens game logs
usually when you lag alot
its because mirror shits itself
or you send too much stuff (server sends alot)
although there is no lag right now, which is nice.
oh
do you ever destroy/pool the speakers
are there any other hidden key combinations i should know about
until the player dies no.
at least for that instance specifically
if you type .quit smoking
in the console it opens up a secret menu
when the round ends the plugin does a soft restart
i think i know that one
you should remove it
it just closes the game right
im gonna make it loop all of the clips. so nuh
no they added in 14.0.0 that it opens a new menu
try it
its an easter egg
oh
based on your code it looks like the audio player stays in the same position
i'm not sure how that works
thats a really cool new menu
obv it works only in the facility scene
Me when i add Denuvo and VMP to my GameAssembly.dll
forgot to add the parent, so it wasnt moving with the player
and it also plays audio for every player
you know denuvo as rn an HVB
so
who cares
aware
i can reconstruct the game and play it
ight
Shit solution anyway
tbh its the only way
No
Like duh ye?
do i just Loop(true) to repeat the queue? or is that clip specific
I still have no idea how this actually happens
just patch it duh
yea
Patching your ass
damn
It's on client
.
@upper vapor

mb, didnt see the reply
i answered but you deleted the message 
it's clip-specific
all furries obv
-# queue backed by a list
Lmao
well guess i will settle for this:
suffer while looking at my code
have you tried
Foreach
lmao
you can just do a for loop around the foreach loop
5 hour long
Just.. take all file names from the folder and load them all
ngl i love this dude
me when the fruity app
me when the non-flatpak version of audacity crashes when i change the volume
i don't like paying 2k for doing anything
even existing
oh wait
ida is the same
hmmm
my bad
ableton is like 2k, fl is like 100
Ida is actually more
FL is free
the only caveat is that you can't reopen saved projects in the trial
lol?
so the most basic feature ever
i could not live without Sytrus
i did for this
i've never made music
yeah, but i like people suffering when they look at my code
let me send my old custom 914 API here
914 and API
don't go very well togheter
they do
Hey ax
How is the damage poc
going really well
Oh
i blame it on that

When that shit ends?
oh that's nice
2-3 week or so i believe
4-6 of may is the written part
then the oral part in june (idk when)
4-es 6-os mentioned
gl
Kill me
ty
sorry not sorry, Reece's
i'll definitely pass with the lowest marks at least 
idrc tbh
yeah i'm not even gonna read that
Ngl i fucked up math, and history too
HISTORY???
how can you fuck up that
the latter one i understand
I still have no idea how did I pass the history one
sorry that i don't remember what flavor was jรณzsi bรกcsi's shit at 3:30 am in 1421
The vocal part not the written one
I genuinely said something like "the husband of king Mathew"
AHAHHAHAHHAHA

The teacher had the same reaction 
^ teacher
Nah he laughed
lol
mind you, look at how i code. then realize this:
that's not even a lot
everyone started laughing because it was so stupid
its only a 1/4 of what V1 was, and it has a majority of the features

XD XD XD
you did refactor a few stuff i assume
can we make a new C#
few? i started a new project
and recoded everything
and call it C SL
kotline
miami kotline
๐ฅ
SL#
/seasel/
same wavelength ig
imagine how shitty mod making would be if namespaces didnt exist
namespaces are needed
blud is not a knower
C:
every language has their thing to call
me when random cryptic types in the global namespace
Yea except that
exactly
im gonna install a crypto miner on your pc, and send anything its made into the recycling bin
good luck doing that with my goofy ahh nvidia drivers
and i don't have a recycling bin
crazy enough i knew a czech who ratted a guy and stole an entire machine and his server
and then started crypto mining his pc
broski
but you love rats
i love rats :3
Zer0Two is the rat
SL uses 100% of my VRAM and fucks up discord's rendering
Qt-based apps just straight up don't launch
skissue
whatsapp car remix
opera doesnt allow audio sharing with google meet in screenshares unless its a tab, my gf is watching me struggle (its long distance cry abt it)
long distance can be painful tbh
I don't
crazy
ur also NW 
That doesn't really mean anything
my conclusion is: it's not worth looking for a romantic relationship
to each thier own
indeed
when the hell did SL?????
i thought they were moving to a newer unity version starting with like, 20## not the brand new pretty crappy unity 6 lol
and a lot of issues
also, 202x.x is not really supported
that would be correct
why do you have like every single editor version
thats the very top of my project list
*opens unity*
accurate
different times and OS installs
most of these i wanted to actually get into and finish but i dont have that motivation let alone discipline
this is crazy
but about the kpg thing, i was told by bren mb
they were having issues with the .shop command
i wonder why lol
https://steamcommunity.com/id/prodNexa/
is this u
no shit ๐
Me when i upload into git and forget about it
i dont like setting up git for unity projects, takes too long
rip storage
Unity already take lot of time so
especially when running on an HDD not SSD
ventoy is based
had to setup dual boot somehow
there is another TB drive you cant see bc its used for my ubuntu install
I just dump my stuff into private GitHub repo that i ain't need anymore but wanna keep it
i just have my own home server
My 1TB hdd is filled with projects that never getting touched again
Spaghetti
meeowww~ meeow~ mrrp :3
i'm about to pull up to your steam game

you have steam lobby open
biggest mistake of your life
Good luck joining to 127.0.0.1:7778
rip
lol
nope connected to someone's ip
dont leave
no?
server host
i'm back
@ someone?
exiled contributor raiding a server before SL 15.0
i love when servers have exiled
so people just come up to me asking if i'm nw
for no reason
Lmao
me and maro sometimes get targetted
With his aim I'm not surprised
yea no she is crazy
but still to this day i think she was the perfect candidate to run tournaments because she knows the inside out of this game
in terms of mechanics and bugs
i know how to make stuff happen 
me when dumbasses
Just get bigger drives /s
did some cleanup
Is it possible to spawn empty ragdolls that will stand like normal players?
I want to make a stent for role-changing, and I'm wondering if it's possible to do without NPC spawns
Iirc it's possible to freeze the ragdoll for the client from the server's side so maybe you could spawn and freeze it immediatelly
yeah it is: Ragdoll::Freeze()
@restive turret @upper vapor whats your guys thoughts on unity 6.3 LTS ?
i haven't tried it
I think only feature i like is the ability to customize the editor more
Other then they upgraded nvidia package to dlss 4
Not looking good from internal testing
some Unity bug causes issues
but editor is better
:(
i agree
i think 6.2f is a good choice for now, Also there is a github repo that opens the ability for developers to adjust the editor more
914 will be in 15.0 no ?
nope
you need a collider for raycasting to work
you can create a new empty gameobject, add a collider, set isTrigger to true, change its layer to something idk, and finally, pass QueryTriggerInteraction.Collide to the raycast method
I will try, thanks 
np
@upper vapor oh golly oh gosh i wish there was a way to do custom UIs
Stage event recorded at 2026.01.31
Times:
0:00 - Start
0:50 - Recap of 2025
1:55 - 2:40 - Builds for host early
2:55 - 4:05 - Polaris update
4:25 - 15.0 started in development
4:55 - DisplayKit!
6:42 - DiplayKit example code.
8:55 - DisplayKit available time (Soon)
9:10 - Clickable UI talk
10:10 - Questions from the Stage
11:32 - "Get Sopfie'd...
that's all i can say
clickable UI would change SL. removing most needs for client side commands imo.
clickable ui would basically make the game a browser
the thing is, if i had a clickable UI. i would actually be able to make a Shop UI
it needs to be able to be done in secrecy, so other players wouldnt be able to see the person buying something
other players can't see your hints nor your own future DisplayKit elements






