#plugins-dev-chat
1 messages Β· Page 98 of 1
it literally dont exist
Also this
That it is readonly doesnt mean you cant set its values
i mean special weapon
same applies for other collections
List<int> list {get;} = new List<int>()
list.Add(5);
works just fine
@unique crane I think he gets it
well
juuuust in case
The real question is why isn't there a limit_category_specialweapons @unique crane
yea
but it dont exist in gameplay

pretty sure you can add it anyway
via config
by just adding it like the others
no?
@hearty shard
thats not the point
my point was that even without it explicitly there you can add it
and itll read it
afaik
it might be ammo that does that though
The Behav Mask is funny and actually better than mine, gonna steal it (and credit the creator)
You mean add a line like limit_category_specialweapon: 8?
do u mean this
try it
i gonna test it
it rly depends
but iirc it cant still before
anyway lets see few min later
My thing is usually look at and find the NB
Can we do a betting pool
Fuckin' knew it
Dont understand shit
They'd have included it if it was possible
lmao
@tepid sluice should probably open a LabAPI issue
What
No that is a base game thingy
I guess

It might ignore SpecialWeapon
well true
Well we're about to find out
Or the client doesnt care about it
Easier to test
@tepid sluice cause I don't wanna test
if its fast then y not

if im on my old pc i wont either
Well read the config parser
Check if it actually reads it
(or understand it)
Because I'm already busy testing other shit
And you literally just tested it anyways
anyway
Both of you asking me why I don't test it myself when you're literally testing it already π
Crazy work
if i give 106 movementboost it will be overlayed to its original
I'm in bed
where this is given
i want my movementboost wouldnt overlay it
π
now 106 in my server can be jet car
But he's already testing man
Wha
Probably where it goes up from stalk
U should test too
well i give 106 15% movement boost and it overlay the original he gets after emerging
Wdym overlay?
15% + 20%
You mean a Coroutine?
ye
You could probably just emulate what the game does
Scp106ChangedSubmersionStatus
Scp106TeleportedPlayer
ill check tmr
1:28 rn
my head gonna down
yipee
Fake sync friendly fire
It's so I can allow specific teammates to damage each other with jailbirds
i have my ff enabled
cuz i have scp customrole
and deal ff by plugin
tbh i want to find a more efficient method
Ew why
So why does this role need friendly fire
I might be able to help you
There is
scp 035
could damage teammates
There's a really easy way to do this without enabling friendly fire
No
public override void OnPlayerHurting(PlayerHurtingEventArgs ev)
{
if (ev.DamageHandler is AttackerDamageHandler handler)
handler.ForceFullFriendlyFire = true;
}
Friendly fire, even if it's not on, still triggers the OnPlayerHurting event
All you have to do is tell the handler to allow friendly fire and it will
oh i just forgot that they have damagehandler


yea scp target counter is server sided
since client cant be relied on anymore
scps can no longer see all players alive due to the anti cheat now
thats gone yea
Enable FF 
patch is best though now
*Dirty bit
I fake synced FF with the clients
tbh i forgot what it was called
How does this work with 079 player count
Does 079 derive from the TargetCount or use its own system
Random.Range() 
Seems like that 079 knowns alive roles
unlike other roles
so it counts it itself
locally
So 079 count is client-side? Interesting
hey uh what does the OnPlayerEnteredHazard event? is hazard the grandma ashes?
173's shit & 106 sinkhole
939 amnestic cloud
that too
k. is there a event for entering the ashes atm?
(maybe)
i don't think so
i mean
you can patch
there are effect events
Is ashes not registered as a hazard?
and check from there
Interesting
Let me check
What was the name of that SCP
good question-
244 or smth
PlayerEffectUpdatedEventArgs
Nope
its not
i think nw could've made it a TemporaryHazard
Oh wait no
they work differently
i'm just gonna look if the player gets the freezing effect or not.
still weird its not an "Hazard" area
Nah it makes sense as soon as you watch the code
btw it has bounds
yeah use the PlayerEffectUpdatedEventArgs
Scp244DeployablePickup::CurrentBounds
you could check with the bounds or else with player effect maybe a bit better
but really depends on what you need to do
how is the effect called if i may ask? (i really need to make an wiki for all effect names etc. so i don't have to figure out how to find them ...)
How do you run 2 sl in 1 pc?
- run sl
- double click SCPSL.exe
Open SL on steam
go to the folder
SCPSL.exe -fdiscord

Crazy cause I asked this question right after they posted it
I did it for when i was old asf and that worked
WHAT IS THAT?
Oh wait it doesn't work for me
db

LOL u actually did just make that
some time ago yeah
hahah
.sound-card {
@apply relative overflow-hidden rounded-lg bg-gray-950/80 border border-gray-900 transition-all duration-300 ease-out;
backdrop-filter: blur(10px);
}

me right now
the round information on the server title is a plugin that modifies the server title right?
no
is there an scp swap plugin for labapi??
not rly, i coded my own one for my own server
hey gamers whats a good way to get the person that cuffed a person that escaped. im not seeing much in the ways of it
Make a dictionary with the person who cuffed and target
aight cool. ty
DisarmedBy
where is that contained in tho?
ev.Player.DisarmedBy in just about any LabAPI event
ok im not tripping balls but i didnt see it when it when i was looking
my bad guys
sometimes we a bit schitzophrenic around here
Word
Okay quick question
I have a black hole item
Currently I use waypoint toys to do smooth player movement but this has been having issues where one player's waypoint toy "sweeps up" another player
yeah I don't think you can do much about that
I know of three ways to do this
- Manually set player position
- Same thing but with waypoints
- Fuck with player gravity
There's gotta be a better way, right?
Unlikely with the way SL works
I'll crash out
Lock in
they can be set by the client, the purpose is for settings used for tools. e.g. primitive spawner
also they can be used for cases where you want to store the settings in a database, but you will have to deal with DNT and the fact that keybinds wont work for it
bro this musicπ
I'm trying to make it so that a capybara I spawn in is interactable. Is there a way to do this, or do I need the InteractableToy?
Yes
You need to create an intractable toy
I'd also suggest disabling collisions for the capy
is there a guide of using it
interesting, reason for disabling the collisions?
So you can click the interactable
If you make the interactable bigger then no need
any open repo about it?
InteractableToy wrapper
π
You can just look at the class
Yes
okay
Well, the wrapper has good documentation
I made a custom component set and loaded all the SL dlls into it so I can just search the item I'm curious about
One thing it doesn't mention is events dependent on search time
Nevermind
OnInteracted gets called if the search time is 0, search events otherwise
Huh
under the object browser, it has all the dlls shipped with the SL server, so I can review all of them
Idk what that means, I'm not a vs user
Ah
out of curiosity, what do you use for an IDE?
java scares me
well ig csharp and java are similar
they're both OOP if I recall correctly
π£οΈ π£οΈ π£οΈ
I have a speakertoy
Is there a way I can check if it's visible to a player?
It appears as though if I send a speakertoy message, and it's farther away, it'll sound like it's coming from (0,0,0) relative to the player
Max*
Huh
I presume that's because it got culled
So it has no source for the audio other than the player receiving the message
if it's farther than max distance it gets disabled
What
Yeah?
No NuGet?
Nah should I get it
Probably
Wait no I shouldn't
I need publicized LabAPI
I forgot what in my plugin required it but I think it was smthn with one of the toy wrappers
Publicized LabAPI 
I already did
Yes
I said no because I need publicized assembly
Nuget package no have publicized assembly
BepinEx can publicize those too
I already have publicized assembly
I don't need nuget because it have no publicized assembly and I have publicized assembly
Does that make sense
I feel like I'm going crazy explaining myself here
So just install labapi from NuGet
Publicize="true"
Boom docs
Auto update
I don't ever use nuget
I have the package
What do I do with this
I have no fucking clue
What the fuck are we doing here man
I'm just deleting it again I don't have any path forward from here
wow u guys all use hsm
They love RueI
I'm switching myself when it's finished because HSM has been having issues with glitchy hints
Could u share smth about urs cuz im planning to make a new one
HSM was lagging my server
no
so sad
I'm dead
Hi dead
i love dead people
π
i mean bro is going a bit too far into character
NOT LIKE THIS
Jim linsey
Kyle Butler
Patrick Bateman
Is duration from banning in seconds or milliseconds?
imagine if we had TimeSpans for it
it's in seconds btw
simple then lol
where is this, its probably a mistake if it doesnt tell you the units on the docs
PlayerBannedEventArgs
probably same for banning
i dont think this is the first time an event args had subpar docs
you mean TimeSpan
Expiration should be a DateTimeOffset
true, timespan would be good
give base game docs :3
there's an Expires in BanDetails
DateTime is good for that
isn't that a long?
What if the ban not expire ever?
yeah then what I have is fine lol
new DateTimeOffset(ticks)
simple as this
should be utc
so you can do new DateTimeOffset(ban.Expiration, TimeSpan.Zero)
BanIssued exists ig
i need DateTime and not DateTimeOffset rly
well
unless making a DateTimeOffset is quicker than making a TimeSpan and then making it into a DateTime
you're better with DTO
i guess you can use DateTime(ticks, DateTimeKind.Utc)
same as above
I only have seconds smh

you're doing a safe cast to a safe cast and then ignoring null
im rly dk that fpc shit
got it
what the fuck am i reading
π
bro uses .As<Class>() which is the same as as and then does as afterwards anyway????
also why do you have a switch
I trust my casts

Casting fireball
when Scp106Role::RoleType == RoleTypeId.Spectator
No shit its gonna be correct
Skill issue
Patch it in your library to troll people
would be funny

but only if Random.value < 0.01f
i do wonder something can you from a data stream of the player voice understand what they say with code like speech to text
in a simple form not like AI
you still use it, i'm not a lawyer but i'd be skeptical
BAD IDEA
I mean i just wanna check for keywords
and its a stupid idea
how much i can push my creativity
you can use models from hugging face
though that's not what zero wants
i'm not sure how uh
it would deal with a continuous stream though
I mean just yoinking github
Wait
is that capybara
XDD
kek
Please i don't think my computer can use that MUCH POWER
If I get a falldamage what handler is it?
universal
thanks
np
is it real-time though?
i mean i could just check after the player has finished
i wish there was text to speech version for free lol, wanted to do smth for my text chat plugin but none of the solutions i tested worked (even the ones ax gave me lol)
Have you tested this one ?
that's speech to text
Oh text to speech
Yea thats what we were talking lol
i know a solution
spin up a browser
create a microphone driver that gets the data from SL
use SpeechRecognition in JS
send it back to the server
real time!!!!
its not that hard
crazy
but the problem is the nano seconds
do you want to create a driver
Local AI?
not real time though, is it
Worst idea ever
ig it costs much resources
im not buying a H100
Even JUST testing would be out of my league to spend
Im asking our smart guy here
Chatgpt
And there's something actually and its pocketsphinx_continuous
and i could import it as a dll
i know a bit of a crazy solution but could work ig


Python will have code for that
david please don't do development anymore
100000%
you are banned
lmfao
did you mean
python hater
It will call native C anyways
except the for loop
Or
Or find cpp library
idk if its like you saying it sarcastically or not

Another thing i could do is
Process
just spin a new process everytime
and then from the processdata i can get the info
i forgot threads
every time...?
i know a bad solution lol
im trying to brain storm ideas
when the discards conflict
I have a solution
which is crazy
Because i need to develop it and just test around, i can spin a local program that connects to my pc and from my pc i just do the stuff with Speech and then send to the websocket
π§
much easier and server is not doing much
omg
Im crazy i know that
i love using this gif
brainrot
you are brainrot
nah
yes
hey uh how can i enable CardiacArrest as effect without damaging the player? like i just want the visuals
cancel the damage event
enable the effect and when the player gets damaged disable the damage via ev.IsAllowed = false
could just use windows too
like Phasmophobia does
windows server 
no way phasmo hosts their servers on windows
please no
already phasmo is a shit game for alot of reasons
that makes sense thne
they don't support other platforms
im sure proton would work with it
havent tried
yeah
it's rated gold
oh btw david yesterday i got to the next level
Nice
and then i died because i throwed away the fucking hammer
and a butterfly destroyed me
pushing me to those thingy with tentacles
Thats a skill issue
Stupid of me ig
im trying to beat Hard mode
Phasmo using Photon
As many other games
And I have many issues against photon so
Please tell me how to cause death to a player as if he died from a molecular destroyer?
use the DisruptorDamageHandler
and set the firing state to single
Isnt it Proton

Proton is a transition layer, like wine, made by valve
Thanks

nodders
π¦ solution
xddddd
So phasmo is no P2P
Then why are you talking about some particles and phasmo
That's what they using
ok
Oh I through you said its P2P
proton is a compatibility layer for linux
electron is a web browser wrapper
atom is (was) a text editor
photon is a networking engine
Or some shit
couldn't find anything for neutron
I made a good rant about it but its in Hungarian
Ax will translate
it's complicated
Basically its "anyone who using photon I hope they will go fucking bankrupt because of the cost of CCUs"
With much more swearing
you should set ForceFullFriendlyFire on the damage handler
and also, the client needs to think that FF is enabled
that's the most efficient way
hey uh how can i convert a ThrowableItem value from an Itemtype value? nvm got it figured
Like this?
d.playerStats.KillPlayer(new DisruptorDamageHandler(null, UnityEngine.Vector3.up, int.MaxValue));
almost
add { FiringState = FiringSingle }
ok
So in the package reference, I add a new line, that is Publicize="true"? And it'll just, publicize it?
Yep
Where u found SendFakeSyncVar?
i didnt see it in Player wrapper
thx
[Serializable]
public class VoteOption
{
public MapType MapType;
public string Bundle;
public string Map;
public Vector3 SpawnLocation;
public string picture;
}
public class VotingCollider : ServerSideComponents {
[SerializeField]
public List<VoteOption> Options = new();
}
Why the assets bundle it doesn't save??
what's VoteOption
bruh
okay nvm
what's MapType then? enum i guess
yea
try an array instead of a list
it did work before
I tried
unity does that for you
but if i didn't it didn't work
[HideInInspector]
public MapType MapType = MapType.Custom;
[HideInInspector]
public string Bundle = "";
[HideInInspector]
public string Map = "";
[HideInInspector]
public Vector3 SpawnLocation = Vector3.zero;
[SerializeField]
public MeowEditorText Text;
[SerializeField]
public MeowEditorText Picture;
[SerializeField]
[SerializeReference]
public List<VoteOption> Options = new();
i have this before, before having the MapType and other stuff it worked fine now it doesn't with the list
Nah i deleted it
add it back
it didn't work
https://ratcentral.skibiditoilet.net/π/w5a9gznk.png
if i add it no more options
You dont need to put serialize field on public stuff
I know but it didn't work
im tyring everything
join
ok
she put the serializable class in the same file as the component
nevermind, still not fixed
Off topic: The server verification email is this?: safety.compliance@scpslgame.com
Yes 
Thanks
skull issue
check your output settings
I can hear Discord's sound
okay it finally work
Revisited this later 14.3.1 turns out I was lying. It's actually around -14.504. I did some tests and it's actually 26% smaller not 28%
Don't ask why tf it's still this odd arbituary number because idk smh
I'm looking to move the first person camera, has anyone tried that already ?
was looking into player.ReferenceHub.PlayerCameraReference.transform but couldn't move anything clientside
Nop
Not possible
aw
hi majorfox
Well, thanks that'll conclude the two hours of researches :p

Hewo :3
hello furry chat
yup now it's #furry-dev-chat
so true
π£οΈπ£οΈπ£οΈ
i had an idea
VRC avatar to SL converter
probably not gonna do that though xd
rigs are alien to me
Killers did something with SL in VRC
huh
like I've seen him post video of his avatar in 914 in VRC

So I was interacting in #1406250392387457114 message
This got me curious about what the best way to launch a ragdoll would be
Any ideas?
damage handler velocity ig
I tried changing the start velocity in Hurting, Dying, and RagdollSpawning
No dice
died?ig
That's not gonna do anything but I appreciate the enthusiasm
π i just stupid
The body still just crumples over like a wet noodle
this is it
for sure
this an old plugin but the code probably still works
var handler = new CustomReasonDamageHandler(Plugin.Instance.Config.ContentGunConfig.DeathCause, float.MaxValue);
handler.StartVelocity = Plugin.Instance.Config.ContentGunConfig.Velocity.ToVector3(ev.Player.CameraTransform);
Ragdoll.TryCreate(new RagdollData(Server.Host.ReferenceHub, handler, Plugin.Instance.Config.ContentGunConfig.RagdollRoleType, ev.Player.Position, ev.Player.CameraTransform.rotation, Plugin.Instance.Config.ContentGunConfig.RagdollName, 1.0), out var ragdoll);
ragdoll.Scale = Plugin.Instance.Config.ContentGunConfig.Scale;
ragdoll.Spawn();
exiled though^ but same shit
Well what velocity are you giving it?
I would check what is average velocity given by a grenade for example
@unique crane I figured 100u magnitude would be enough to notice some kind of change lol
Basically multiply your velocity by a 500 XD
like, nothing happens?
do you have ragdoll physics off on your client or whatever setting
Does chat exist
chat
chat exist
how long does it usually take to verify your server?
Few minutes with the command?
no email needed?
There is info in your console
when you start the server
You dont need to send emails anymore
there is now a system for it
also reminder that this is labapi dev channel
probably wont have access
there is a role for server creators ?
because i dont have a channel for asking these things
you need to be verified to have access
srry for taking off topic this channel
Firstly, that you have an SCP:SL server online and active. SeeΒ here for a guide on how to create a...
this part
can i eat emails?
No
I've been told 914 sometimes breaks the Micro H.I.D.?
On rough it will be destroyed
all i was thinking about last week was making a car in SCP SL
but now that school started the last thing im thinking about is plugins
hey how could I make item model invisible, but still keep it's transform? I would like to use some models on pickups without having to delete them
yea. if you upgrade in 914 on any setting it just wont charge anymore
got fixed for next release iirc
Just be unemployed

hah
Is there a way to get the role of a player before they disconnect? Its always destroyed :/
you have to patch CustomNetworkManager::OnServerDIsconnect
Hello chat
Hello
againe another grind night for me, sleeping awaits me after i commit and push. but not yet...
chat is dead so sad
hello
how are you doing?
I just woke up
pineapples
imagine waking up..
I mean you go make people sleep forever
yes!
do you also hate NW
no
i've seen many nw staff leave once they leave all of them say that nw sucks
and its quite funny
when you leave your ex 99% of the time you are saying THE EX PARTNER sucks
same thing
Wait not sucks
you know what i mean
she?
he/she/it
not gender neutral
idk
pffffft
bruh sometimes i don't understand who tf cares lol
better?
its not that deep
those a crayons
i don't think you should eat them
there are "he"s in this world too you know π
I know
yayayayayaya
18
(GR-18)
gotta choose the gifs carefully
wtf is this chat
what do you mean
idk i blame you
honestly the best gif i've ever made
smh
roblox one is the original which rn is probably funny asf
i don't understand why the fuck everyone loves capybaras, rats are better
can i hire your dad then
huh
disagree
rats are way better bro they are smarter than most of the SL fanbase too

its the one ive been using for years
which version are you playing?
doesnt rly work anymore
microsoft nerved chickens
1.21.8
let me check
might have to actually test in fully vanilla
thank you know i have to check the new version...
but theres like sodium...
where's the lava
There are no changes
other than Intel Gen 11
but now the chickens get hit by the eggs and then just go into lava and die
someone asked the same but people said they work
and they seem to work
no updates other than new texture for chickens
well mojang broke fishing enchants by accident
so i really wouldnt put it past them
erm
Honestly is rare that mojang breaks something
fishing rod cant be enchanted
Crazy
ig they want to make you fish them?
having full lvl 30 it works afaik
enchanting table is my fav language
βπΉβ·βΈ Μ£ γͺββΈ Μ£ α· Κακκα
what the fuck happened to this chicken
jungle chicken
since when
im so confused
why are you guys always talking about other games here π
it's eve's fault this time




