#plugins-dev-chat
1 messages · Page 218 of 1
i mean it's good that you used the new project template and then changed the framework version
what
we would be goated if we would make a TEMPLATE
that could also help
which project type did you select
wrong one 
there should be another class library template
yeah i just found it
anyway, for future projects it's better to use the .net 8+ template and then change the target frameowrk
nvm it doesnt even show unless you search for it
no
oh
Intentional merge of a feature
oh
internally: 🤯
um... guys?
?
9.1 CVSS score
What
holy ragebait
windows deployments are not affected 😭
entire sdk update for one package
Why?
newest SDK Style csproj
old one sucks
and publicizer doesnt work there
BepInEx
I just manually updated my assemblies lol
bladefacepalm emoji
The game updates like once every 6 months, give me a break 😭
not once do i see people being like "bruh this thing doesn't exist"
did you update your assemblies..?
"ah shit i have to publicize again"

me when i add one line to the csproj and change one line
(insanely difficult, incomprehensible to the human mind)
(being protogen is required for such task)
me when i already have a csproj template and I just copy paste that
interesting i saw this in build info if its set to false does it block any recording software from launching?
No publicize, no need to touch deps WeSmart
Isnt it just the flag for showing no recording£
how much is £recording
Not only all the things Roblox has been doing recently has pushed me away from their engine, I believe the platform wouldn't be a great place to grow as a developer. I'm from now on going to be using Unity, I know they also had their issues in the past but it's a super simple engine, uses an easy language which is C#, and I'm pretty familiar wit...
honestly i assumed it'd be a different kind of streaming
🙏
texture streaming?
yeah
yeah probably
Well Unity 1000x better than roblox
i agree
hes doing a good transition imo zeekers used to be a roblox dev until he switched to unity and made Lethal Company
i forgot to update my driver for 3 months and my pc just blue screened SON
lol
i honestly don't know
i think he will not focus while streaming his dev to discord
for youtube he can focus more because its just a chat but in vc it might get messy
i had no idea you can make a serializeable class up until that day
never had to make one but still
same lol
i still rewatch his 12.0 streams where he refactored 079
i was like "omg i could have saved hundreds of hours"
xD
can i get hired at nw as an intern so i can just watch people code like 12 hours a day
hi lumi
:c
but now im learning again
yay
heyo jovix
positive of being an api maintainer
true
hubert hiding the asset folder
i tried getting into unreal again last month
man :(
spent like an hour trying to figure out how to create a script
just to find out that i have to create a project as a script project to be able to create scripts
Devs streams werent behind Patreon so far
cause there is effectively no way to prevent others from joining
But we post dev stuff in dedicated channel
like in-dev
behind scenes
otherwise it was locked behind just blueprints
for the behind the scenes stuff?
lol i didn't see this
is it tier 2
imagine hubert works on Usable chairs so you can sit down in EZ
uh
you need animations & you can use box colliders to trigger the animation
vencord moment
lol
i was able to click it
game has its own interaction system
i guess on interact, you just teleport the player to the correct position and start the animation
lerping would look too weird
i don't know if they use new input system or the old one
We use the original (good) one
i really doubt the new one would be in use
considering the game is like a decade old
frrrrrrrrr
holy based
🔥
you cant make cursed stuff like this with the new system
what the hell is this
Well thats not input system?
Thats preferences
you guys need to escape the horrors of unity 6.0 that editor is so laggy
havent had issues with lag
i used like a LTS version long time ago it was so laggy i had to switch back to 2021
i couldnt really think of a better way to do it other than making so i can just save keycode as a playerpref but i couldn't actually be bothered to do that
We want to update to 6.4
whats new in 6.4?
But we had complications because of how unity changed shader compilation
well
less lag
XD
lol
and according to beryl
wait speaking of
the editor closes
why hdrp
also i think DLSS 4 is added
when you hit X button
wasnt the game on built in before 14.0
instantly
😂
it closes instead of compiling for hours
Less ram usage for indexing too
actually what would be a better way of doing this
cant wait for U6.5
now this is peak
i might use 6.4 as well

and most importantly crash fixes
i only have 16gb ram
5.8 has net8 now
because you can't spawn custom meshes
so if you can spawn triangles
it would be technically possible to make any mesh
out of quads and triangles
you still cant do custom mesh with triangles anyway
you need to deform it
the vertices
a guy in the exiled server made a plugin to import obj to the game
o
There is triangles tho
foibos made the formula a while ago
It's unoptimized tho, a triangle equals 3 quads, 6 objects total
well yeah that's kinda the limit
since you're limited to primitive shapes
nw staff doesnt know the horrors of our capabilities

xd
Wouldnt help much
when texture support smh
Considering that SL is cpu bound
yeah i played on vulkan yesterday and the game ran so well
We have no plans for supporting custom meshes/textures as of now
but it needs to compile shaders right?
I am aware, still aint stopping from asking for it
It's incredible the kind of shit Unity has made me excited about (program closes instantly when you ask it to)
hi beryl
LMAO
Personally i just love when unity does this when i have 11 hours of unsaved progress
XD
WHAT 11 hours of unsaved progress
imagine not impulsively control sing
dude i save every second even if i just move a single gameobject
Thats honestly skill issue that you dont save for 11 hours
fr
personally the rate of saving per hour decreases since time passed of last crash
roblox studio was probably the best thing to ever happen to me (got used to abyssmal dogshit)
Nowadays you have to kindly ask the program to maybe start shutting down in near future
or kill the process and ignore the consequences
🙏
Alt F4 doesnt even work sometimes 😭
i enabled end task just for that reason
alt f4 doesnt even taskkill 🥀
it just works identically to pressing the x button
wonder if there is actually a taskkill currently focused window keybind
huh thats pretty cool
didnt know this was a thing
fair
lucky i hate windows 11
i been checking my folder for a old project i worked on i found these fucking pics i made lol
like 4gb idle
security guard/???
it was the blue guard
there
no that was before pears test
i like that blue
yeah i had him in legacy
now we know who did the sonion man stole it from
i shared it with hubert few months ago
a good feature i had for legacy planned is that 173 had his parts slowly fall based on how low his HP is
until he becomes just a frame
bro is endoskeleton 😭
are the scp sl models available anywhere
raaaaaah
me when i accidentally press reimport all instead of just reimport
(still doesnt fix the issue i was having)
let us send them through mirror
please
there is already a serializer built in

Can you show me the said method?
Awesome, how does that handle all the things around it?
Who will handle it, how
How we do approach it from security standpoint?
What should be allowed, what shouldnt
It is not "just add this"
like what texutre?
There is ton of stuff behind the scene you dont see
i can imagin
i dont think the server can destoy clients pc by sending colors in an array
There is literally a todo
" // TODO allocation protection when sending textures to server.
// currently can allocate 32k x 32k x 4 byte = 3.8 GB"
Well, simply no plans as of now
If anything, reuse of already available textures in game sounds more doable
I know, primitives are surely something that can be expanded upon in many ways
But the primary goal for 15.0 is DisplayKit
So who knows what will be in the future
would be nice if we could have even low poly meshes
Only can repeat what David said
is it possible to force specific attachments on a gun
eg force a supressor on the mp7
If its a valid attachment
does not have to be valid
I meant as if exist in weapon prefab
For example you can't add the nvscope to mp5
Or the ammo counter to revolver
Lol
Y'know what funny?
Even i spawn a revo it looks like that
Wdym
type/count
can i give mp7 like 500 jph
or does it have to be the specific ammo type it supports
There is no different type like that
ohhhhhh
i thought it had like
sub-classes for ammo
so then I assume it's not possible to change armor pen and stuff right?
save it as an int
not officially, but https://github.com/AssetRipper/AssetRipper
AssetStudio my beloved
Xd
Huh
Thata
Actually a good idea
It may get messy tho so idk
Idk how i didn't think about that
@cyan crown this is new
kekw
what 😭
there's no "what," no "why," only "i'm gonna kill this stupid engine"
lmao???
why does unity always throw the most random error messages when you exit playmode
LMAO
average day of using unity
sounds about right
"you're pushing more events than popping"
mf let me expand the hierarchy 😭😭
unity somehow not unsubscribing from events when exiting playmode randomly so i have to restart the whole editor is just ?????????
like how
i'm starvin' here
ram??? is that a rainbow six siege reference???
🐏
there it is
Could it be linux skill issue?
this happened back in my windows days, too
Is this why no sl update?
partially why, yes
how can i mute the Announcer for specific players?
You can send the message to everyone but the player
I need to use Harmony?
It depends
If you want to play your annocments to eve but the player
Or all annocments
All announcements
eveil?
*everyone
Then you will need to patch it
ye
CassieAnnouncementDispatcher.PlayNewAnnouncement
instead of SendAuthenticated, call your own method to send the message
But it's a private method, can I still interact with it?
yes
harmony accepts the method name, so you can just "PlayNewAnnouncement"
or
publicize

Publicizatzon struct millions
what
Forget it, going back to bed
kek
leak 👀
67
Okay
For what that leak
For labapi
Or for one of ur plagins
Like secretnaaudio
Or command system
I still feel what im only one ur command system and helpers user

How can I figure out which plugin is preventing the server from restarting properly?
localadminlogs might have more information
like the thing that broke the process
if not, then uhhhh remove plugins 1 by 1 (or remove all and add back 1 by 1)
ok
I tried starting a project today in unity (big mistake)
- when creating the urp project unity displayed some dx12 shenanigans and shortly after that it crashed
- so i updated unity 6.4 to latest recommended version and tried creating the project once again
- it finally created the project and after loading the editor it crashed my whole pc
- so i forced the editor to use dx11 and it worked
- but i didn't change unity player settings so after doing something and then entering playmode it crashed my pc again
fuck unity and dx 12
Skill issue 
when cs
Just don't use unity
That was your first (and biggest) mistake
Probably the biggest mistake you'll ever make 
It’s time to switch to codeblock and paint 3d
*vine boom sound effect*
Well, I have to start somewhere and unity has been there for so long that for any problem I might encounter someone most likely found a solution
I won't try to create anything ambitious until 6.8 release, and if that update turns out to be shit then I will probably switch to other engine like godot
But until that time comes I will already be familiarized with editor usage
So swapping won't be a big deal
Mine diamonds 🎵
there is one more UI thingy but its not that big of a deal it rarley happens anyways
Use godot
I was gonna say use s&box but the publishing conditions are a big deal breaker
Or make your own engine xd
Wtf 
😌
willem the foe
tbh i wanna eventually make an engine
SO TRUE
@thorn escarp chop this guys hands off
wha
Am I seeing correctly, that there is no dedicated event for thrown keycard interracting with door, right
Just the ordinary OnDoorInterracted with Player and Door
Create ussue
"ussue"
Yes
I guess IL patch time then
now I need to figure out which code is the server side lol
!create image: time to use harmonypatch
I don't think
Ngl i rather have those issues then ai made ones
I highly suspicious that the last issues are made with ai
maybe
Will create a github afternoon
who knows
Weaver = modify IL
Src Gen = add text code
Mean
ur mean
YOU are a cactus
no!
Do you know where that thing triggers
I aint gonna use PlayFab lil bro
I looked through, and IF I am correct, it wires through some Permission logic and then sends a generic Interract RPC
my research died at the OnUsed callback + ClientRPC Send
Or idk
The core permission check happens in Interactables.Interobjects.DoorUtils.DoorPermissionsPolicyExtensions
also ̇KeycardItem.OnUsed` is where the RPC send happens
Y'all have 6 hours until I start playing Subnautica 2
lmao
Will check it
thaanks
I will say here or the issue where things are and how would I think will work
(if you didnt declared there)
ITS A MERRY CHRISTMASS
In the issue would be better, since it would be documented there
*Arab music intensifies*
Documented in my head
eveil is calling...
erm what the scallops
we should just automod bro at this point
skrill issue
at everyone at here
would it be possible to make some kind of honeypot channel
We are working on automated way against these scams
@grock
outsourcing the "automated" work to [insert not very developed country here]
(make discord mods inspect every message)
is there a posibility to make here some kind of forum channel that is smth like tutorials
jokes aside, you can make github gists
lurk in the channel 24/7 and send your tutorial if somebody asks
i'd be in favor of the community contributing to the labapi wiki, if only PRs existed for that
we might look into community wiki contributions at some point, no promises tho
mailing lists to send patches for the wiki
thats the point of the channel
official guides would be neat indeed, though i'm not sure if anyone should be able to post a tutorial
imo the github wiki would be a good place for these
100000 files in the repo root 
or there could be some kind of reports / votes if the tutorial is good
or it is harmfull
we'll have a plugin template in 20 years 
the wiki will also be overhauled at some point
I have a template
but not everyone wants these stuff
people are not using them probably bc they are not official
alternative solution to publicizing:
make every base-game member public
(i've just said the same thing, congrats me)
ar there could be some kind of "plugin" that does nothing but is just a wiki
huh
like
a big example plugin with a load of comments?
that can work, too
and it solves the lack-of-PR-ability problem

Does anyone know how i can prompt a player to join another server with a plugin
Since theres no queue and im tired of clicking join server i just want to make a plugin that will keep trying to put me in whatever server i wanna play
i saw chaos theory had server to server teleports in april fools
you can redirect them to another port
Iirc this has that
https://discord.com/channels/330432627649544202/1434912615116705882
it's a proxy
hm
player.Redirect
is there no easier way
or this
LabAPI, the Official Modding Framework for SCP: Secret Laboratory. - northwood-studios/LabAPI
Why can't you use another port?
cuz i dont want to join a server im hosting
Oh right
if i did i could just bypass the player limit xD
have a lobby server 
do you guys have any ideas on what would be good to implement there
My bot hashes the images and 9 times out of 10 it will delete the message
suing you for using the same name

Try the Unity AI Beta for free: https://on.unity.com/4debUCb
#Unity #UnityAI
matt
i love how they didn't say "let the AI assistant" fix the error for you
"empower your problem-solving skills with the help of the assistant"
yeah they marketed this tool as something else in the start
avg tech company?
yeah they don't want their stocks down
this is unrelated but this gif is so legendary man
this one ^
its just so funny to me i don't know why
exactly
XDDD
what is this cinema
no dynamic timestamp 
i think its just a QA not actually gonna show some stuff hopefully a release date reveal
its almost time for the next update the stars are aligned "Unity is building" 🥹
i spent few hours today looking at reflection probes in SL and its scary.
i think most of EZ uses one reflection probe in all of the rooms
i spent a few hours today looking at typescript and it's scary
Did unity just give up on this lmao
One million typos
SON
I'm not your son
Also they added this in 6.4
Unity 6.4 is here with workflow improvements, graphics updates, optimization features, and more. In this video, we cover what’s new in Unity 6.4, including Build Profiles UI improvements, improved Grid and Snap tools, Mesh LOD preview updates, Rendering Statistics improvements, ECS as a core package, and more.
Unity 6.4 is a supported release...
Mesh lod preview, i tested it with hcz/ez checkpoint and it made it look horrible i think it only works well with humans and terrain
Me and my colleague in Shanghai come across this problem often when helping customers, so we decided to dedicate a few weeks to a project aimed to improve performance when instancing characters. We call the resulting technique Animation Instancing.
Hi, where i can download official 0Harmonly.dll?
Dík
imagine having it linked in your plugin's readme

I love updating to 6.4
real?
real
Love this
Lol
you should run it in the SL project
can sombody help with adding plugins to my server im starting preffer polish languange i can speak english but its my second language
Take a look at the Wiki Article!
https://github.com/northwood-studios/LabAPI/wiki/Installing-Plugins
i did this, moved it 200 meters away, and made a custom waypoint for the area but it's still happening, is it possible that doors add like possible points of TP when exiting the pocket dimension? Because i have doors in the custom map, and the player exiting the pocket dimension spawned close to one
EDIT: I'm patching Scp106PocketExitFinder
EDIT2: I will continue tomorrow
EDIT3: I got it working excluding doors in my custom map area
-# I disabled ping
noooo 
how would i get the InventorySystem.Items.Firearms.Firearm class from a LabApi.Features.Wrappers.Item class? i want to make a new FirearmDamageHandler and i dont know how or where to get the Firearm class for the first argument
iirc this should work
if (item is FirearmItem firearm)
{
firearm.Base
}
and how would i get the penetration from that for the third argument?
i feel like it would have something to do with getting the ammo attachment and using TryGetComponent on it for something but i dont know what i would exactly do for that
if (firearm.Base.TryGetModule<HitscanHitregModuleBase>(out var hitscan))
{
hitscan.EffectivePenetration
{
ok ragdolls dont have the same hitboxes as players that was all for nothing
but thank you for helping

Is there an easy way to stop all broadcasts from showing?
but like prevent all future broadcasts
ah
patch
"we don't ever want to prevent competitive players from playing in their own scene"
what is the message for changing to a different Scene? 
How to use git pull --rebase to keep your team's commit history clean.
Command for creating the 'git pr' alias (so you can copy-paste):
git config --global alias.pr "pull --rebase"
Thank you to Bruno Paulino, Ben Freundorfer, and Jonas Geiler for reviewing drafts of this video and their feedback!
Video Contents:
0:00 - Never use git pull
0:...
so i would still continue to use git pull so i am 100% sure it's work all the time
thanks
git push --force
would 1 cube primitive be better optimized than 4 quads?
yes... kinda
do you want collision?
if you do, just use a cube
what about a cube in which like 3 or 2 sides are visible? would quads be better?
im asking these because i have a custom room with ~4000 primitives and i gotta optimize it
try it and see 
did you mean it like only 2 or 3 sides exist?
cuz if you have a cube, you can't see more than 3 sides at once
sort of like this if this makes sense
the parts in red wont be visible meaning the three outer sides arent visible
so there wont be a need to have those
these would be the quads i would need to make
definitely better to use quads here
alright
am i crazy or is this an oversight
How to check UserGroup permissions using PlayerPermissions?
Like (PlayerPermissions)UserGroup::Permission == PlayerPermissions.Something?
that doesn't work because PlayerPermissions is a flag enum
(user.permission & whatever) == whatever
((PlayerPermissions)ev.Group.Permissions).HasFlag(PlayerPermissions.KickingAndShortTermBanning)
xd
that works too
thx
np
inventoryextensions.onitemremoved?
is it called even when pickup is destroyed
im looking for an "cleanup" event
e.g when serial is freed
-# nw staff does not know how their game works? 
OnDestroy ig
but wont it be called when Pickup <-> Item change?
Half of the time people ask stuff that we aint even seen it interested in while we made plugins
np i was joking
Oh uh well yeah
But onremoved should be that, just check if the pickup is null
Or one of them is null
What will you use it for?
wdym
i have per item "component"
and the only way to keep track of them other than serial
clear it on waiting for players 
add a monobehavior to items
tbf my CustomItem system used serials for tracking and objects (not components) in a global list. Cleared on round end.
Components wouldn't work because they got destroyed on drop etc.
thats is what im using
thats why i wrote it in quotation marks
I see
I think having these "components" persist until round end won't do harm, unless you're spawning 65000 custom items
skill issue
use events to add them to the pickupű
i have a very cursed system that i tried refactoring (i gave up)
There were like maximum of 25 custom items on the map
I couldn't care less
I could have just patched the method that reapplies the item's properties on drop
and pickup
That probably would have done it
it will probably do the trick
is there an event for when the breach scanner scans a human, which i can not allow?
And if there isnt, can anyone tell me the function which handles when a human is scanned by the breach scanner so i can just prefix it?
no event currently, you can patch Scp079ScannerTracker::AddTarget
thank you!
np
is there any way to make the friendly fire tag dissapear on my server? I have a custom system that allows it for tutorials but blocks it for the same teams in the normal gameplay, so i have to keep it enabled
There's no way to disable the tag, unless you disable friendly fire as well
patch it 
Data reported to Central Servers (such as the amount of online players) must be accurate.
Good luck 
i mean if its to allow only tutorial which would be only staff hatd be fine still no?
same with like end of round
or is that not
i dunno
It would still violate the rules
i see
It's harmless
i guess i will disable it automatically when there are no tutorials
didnt do the trick 😭
memory leak is good
How can i manipulate the sessionPipe to make a dummy interact with an ISearchable ?
I don't know what you want anyway so better describe it do can help
i want to have a cleanup function when item / pickup is destoryed
destroyed not converted
What cleanup, where, how
i have a dictioanry of serial and objects
and i want to remove the serial whenever the item/pickup is destoryed
that would still not do it 
well
Well i use the OnRemoved to remove my own thing so
You can't, use method on server.
if (!searchCompletor.ValidateStart())
{
return;
}
searchCompletor.Complete();
Ah you have to get the search completor here, but basically same code
Like this ?
Its shit because some items call remove WHILE being actively used
ushort serial = 0;
if (itemBase != null)
{
CL.Debug($"serial itemBase: {itemBase.ItemSerial}", Main.Instance.Config.Debug);
serial = itemBase.ItemSerial;
}
if (itemPickupBase != null)
{
CL.Debug($"serial itemPickupBase: {itemPickupBase.NetworkInfo.Serial}", Main.Instance.Config.Debug);
serial = itemPickupBase.NetworkInfo.Serial;
}
if (serial == 0)
return;
Timing.CallDelayed(0.2f, () =>
{
var LightId = LightSerialManager.GetLightId(serial);
LightManager.RemoveLight(LightId); // with this remove we also remove from the serial.
});
but wont onremoved be called when the item is dropped?
there is no or
:(
Ye works on my thing when I checked last time
I need to make the dummy look at it ?
As what i see its not necessary. But i have a "Search not valid"
Its a InteractToy with a InteractionDuration of 0
Prob distance for it invalid
can i add decompiled scp sl code in a guide on github? adding also nw copyright
Ok fine rn
dos
Set maxDistance to float.MaxValue
you shouldnt include the entire assembly, but you can include snippets
DOS ?
tres
good idea
Huh ? lmao
quattro
The R6S operator?
Successful killed dev chat once again
As always
ham
git gud?
cuz ur EVIL
oh hey
thats cool
4k downloads on secretapi nuget
!!!!
how can i get a players preferred Attachments on a given Weapon?
AttachmentsServerHandler.ServerGetReceivedPlayerPreference
thank you again!
if you just wanna give a firearm, you can use ItemAddReason.RemoteAdmin iirc
np
is there a way i can use the UInt32 to apply Attachments to a InventorySystem.Items.Firearms.Firearm?
thank you once again!
np
Is there a way to get the default attachment code for a gun?
yes
awesome
Instead of PlayerEvents.InteractedToy and then checking if its the correct toy that i need, can i subscribe to a toys own event or sth?
could swear yes but i forgor how
oh just toyReference.OnInteracted += MyMethod;
alr
Hello, I have a question: is there a way to have labapi but use plugins via exiled? Does anyone have experience and how? Thanks
labapi is installed on every server, so if you have exiled, (most) labapi plugins will still function
Well, I have plugins that are only for exiled and I would like to use them on a server where there is only LABAPI
that's not possible
you're gonna have to look for a labapi version or alternatives (if there are any)
the servers are down?
seems like it yeah
wouldve been nice if there was a status command on the console that just opens this
make a suggestion
i dunno
buy patreon 
so true...
although
could just tell hubert

i dunno i usually just tell someone on the team in chat
woah free money???
@tacit granite
from Mr beast????
no the mods will eat the money
xd
back to regularly scheduled dev chat
someone ate the money
If i scale a player to Vector3.zero via code or ingame commands, is the player actually zero? Or does the game have some safeguard that clamps it to a tiny value?
i mean its a floating number so the precision isnt exactly... perfect
it also might not allow it from a unity pov but NW doesnt do anything to prevent it
i think 0 works just fine tho
mmmm
Why Corroding effect doesnt work via RA? 
which one is that again
is that the tp to 106
Nope. SCP-106 first attack give this effect and second tp
oh
because it doesnt set the attacker
and when attacker is null it doesnt do anything
patch Corroding::AttackerHub
Soo.. Can i give this effect with RA?
^

Ok. Are you know which method remove this effect when player use medkit?
Hmm. I thought the medkit would remove this effect
then youd not take damage in pd
which would just make it easy to just...
stay there
wait no
im wrong lmao thats done with PocketCorroding
but anyway still doesnt get removed other than leaving pd or timer running out
I will check it
Thx
but yeah i do think it should be settable within RA, but its like P99 issue so
How can I change the speed at which a player turns into a zombie? HumanCorpseDuration isn't called anywhere
its a constant
its compiled
search for 12
its in CheckBeginConditions
float num = (flag ? 0 : (this._senseAbility.DeadTargets.Contains(ownerHub) ? 1 : 0)) != 0 ? 18f : 12f;
thats also not the time it takes
thats how long until it expires
Light theme 
i believe ur looking for _completionTime in RagdollAbilityBase<T>
I'm trying to speed up the process of turning ragdolls into zombies. So that SCP-049 doesn't turn them into zombies in 12 seconds, but in a different amount of time



