#plugins-dev-chat

1 messages ยท Page 155 of 1

hearty shard
#

lemme get my debug build rq

hearty shard
#

you remove christmas only

upper vapor
#

This works with HczTesla

icy knoll
tulip kiln
upper vapor
upper vapor
hearty shard
#

oh ax

#

its you i got my roomtype stuff from

upper vapor
#

Kek

hearty shard
#

i genuinely could not remember

#

i just woke up with the idea ๐Ÿ˜ญ

upper vapor
hearty shard
#

yes

#

will happen again

upper vapor
#

I'm suing you

hearty shard
#

not if i sue you first

tulip kiln
#

ax your code worked thanks

upper vapor
#

Np

tulip kiln
#

just replaced christmas with hallowen

upper vapor
#

-# They're all stealing it

#

-# I stole it from exiled

hearty shard
hearty shard
upper vapor
#

Inspired

hearty shard
#

uhu....

#

we love to see it

#

i have it so on debug build it auto checks for new rooms and tells me about it

upper vapor
#

Society if we had a universal room identifier enum

hearty shard
#

society if sl was removed from steam page

#

anyway

icy knoll
#

atleast for the main rooms

#

incinerator is even in there

upper vapor
#

almost

icy knoll
#

like deep corner

hearty shard
upper vapor
#

Correct

#

Can we ban cutting trees at noon

celest thorn
#

The cycle of development

celest thorn
upper vapor
#

inspired by the concept, not by the code

pallid summit
slender depot
#

Are there any events on SCP-1509 revive?

upper vapor
#

not currently
you have to patch

restive turret
#

Thats not a patch to revive

celest thorn
#

Hiiiii guysss

restive turret
#

Hi

celest thorn
restive turret
#

Just made dinner & lunch

celest thorn
slender depot
#

Is there any way to cast a Pickup into an Item?

hearty shard
#

what r u doing

restive turret
#

Add into a player or host

hearty shard
#

you gotta get rid of pickup to get the item

restive turret
#

Yes

hearty shard
#

which ig might be what theyre asking for

#

@slender depot player.AddItem(pickup);

#

or well

#

Server.Host?.AddItem(pickup);

slender depot
#

Turns out I'm an idiot

#

And I've implemented some parts of my customitem system using pickups

#

some using items

#

it all worked on holy spirit and hope

#

so I fixed it

slender depot
hearty shard
#

serials :D

slender depot
#

Exactly, plus giving item to player

slender depot
#

How to change the damage in the event Player::OnHurting?

restive turret
#
if (ev.DamageHandler is StandardDamageHandler standardDamage)
            standardDamage.Damage = damage;
oblique condor
#

Is there a way to disable emergency button on 914 and armory ect.. ?

bright vine
#

how come i don't see NightVision in status effects

upper vapor
#

we're aware

bright vine
#

so is it also intentional that it cant be used in RA either

#

only through plugins?

marble cobalt
#

Don't think plugins can use it either

bright vine
#

ah

#

okay

#

thanks

marble cobalt
#

It is present in-code, however, the effect does not get enabled

upper vapor
#

the effect is missing from the prefab so you can't use it at all

restive turret
celest thorn
upper vapor
#

or

#

networkserver.destroy

keen halo
slender depot
#

It's not a labapi question per se but did anyone else's dedicated server stop working after the update? It boots up, everything loads but I can't join it in any way

marble cobalt
slender depot
#

Nothing, literally nothing

marble cobalt
#

Are you sure there isn't any ghost processes open in the background?

slender depot
#

I'm sure

marble cobalt
#

Does it let you use commands?

slender depot
#

yep

#

Just cant join

marble cobalt
#

Does running /fs on the console work?

unique crane
#

Project mer is the last succesfully loaded plugin

slender depot
unique crane
#

And I remember seeing that it doesnt work properly with the update

#

on some server

slender depot
#

Well even after removing every plugin it still doesn't work

#

Nevermind, somehow it started working after I deleted every plugin, restarted and then added ctrl + z'ed everything

marble cobalt
slender depot
#

Thanks for all the help

mild needle
#

Sui

slow grotto
#

Odd, I just noticed a similar "Remove plugins and readd them" that fixed my client crashing connecting to my dev server (No logs on client or server as to why, even with --printStd)

#

Nearly panicked that I pushed a client crashing patch to production.

slender depot
#

Uhhhh, Turns out it's one of my plugins

#

Funny part being is that it worked on the last version and it throws no errors

slow grotto
#

"Please don't be mine, please don't be mine"

slender depot
#

it throws no errors

#

It contains no patches

#

so I have no idea what's broken

slow grotto
#

Code public?

slender depot
#

On last version it worked

#

perfectly

#

Until the updoot

slow grotto
#

Issue with backwards compatibility if it was built before patching to 1.1.4 and used

public override Version RequiredApiVersion { get; } = new Version(LabApiProperties.CompiledVersion);

?

slender depot
#

Wait

#

I'll try

upper vapor
#

@slender depot does your server hang or what's the output?

slender depot
#

Oh

#

It works

upper vapor
#

bruh

#

๐Ÿ˜ญ

slender depot
#

Added this

#

Works

upper vapor
#

check your config

#

ah

slender depot
#

Magic

upper vapor
#

that is why

celest thorn
#

Does someone remember how can you force a gun to shoot?

upper vapor
#

though we have a null check for that soooo

celest thorn
#
        foreach (ModuleBase module in firearmItem.Modules)
        {
            switch (module)
            {
                case IActionModule actionModule:
                    if (actionModule is AutomaticActionModule action)
                        action._serverQueuedRequests.Enqueue(new AutomaticActionModule.ShotRequest(action));
                    continue;
            }
        }

This doesn't really work

upper vapor
#

i think

slender depot
#

Also when SCP-1509 events?

upper vapor
#

if that doesn't exist

upper vapor
hearty shard
#

hi ax

snow ruin
#

@vast canopy ever figured out culling toy thing ?

vast canopy
#

kinda strange thing

snow ruin
vast canopy
#

i already posted somewhere here code that working

#

gimme a sec

#

cant open project rn

snow ruin
#

of the culling parent

vast canopy
#

ye

snow ruin
#

kk

#

thanks !

vast canopy
#

thats mer code

#

u can find prefab thing in it

snow ruin
#

oh right

upper vapor
upper vapor
#

this would break the rotation if the root is rotated

vast canopy
#

i stopped using culling cause of some bugs

#

so ye

#

someday i will see fog of war fix

#

but for now

upper vapor
vast canopy
vast canopy
#

so thanks

upper vapor
#

right it's that one

#

np

vast canopy
#

i could do event-handler fix for that

#

but i dont really want to

slate flume
slender depot
#

Huh?

restive turret
#

wdym huh

slender depot
#

The warns

#

from Labapi

grand flower
#

you can ignore them

slender depot
#

Alright

grand flower
#

until NW decides to fix it

celest thorn
#

Does someone know where is the RPC when micro is charging up?

#

or being used

#

found it

#

nothing else then

ashen hound
#

me when I need to revive this lol

slender depot
#

How to change the amount of HumeShield SCP-1509 gives?

sweet flax
#

w readme

pallid summit
#

Insane

upper vapor
slender depot
hearty shard
#

not labapi

#

InventorySystem.Items.Scp1509.Scp1509Item has _equippedHS

#

its private, but just publicize assembly

hybrid junco
#

bit of a random question but can you develop plugins with dotnet4.8.1?

ashen hound
#

me when networking is pain when I cant get this info on non dedicated server like proxy xd without this info knowing what index server roles behaviour is would be hard

hybrid junco
#

woooo

hearty shard
#

there are plugins using it, but majority don't

hybrid junco
#

setting up coder server with docker runner for the workspaces so need docker image for dotnet4.8 but the image that microsoft provides runs on win server 2019 at the latest but 4.8.1 runs on 2022+

#

tldr: windows server bullshittery

celest thorn
#

Hiii chat

spare zodiac
celest thorn
barren pasture
#

Since when is getting help for labapi a forum?

celest thorn
#

Pyra and Pyro Trolley

barren pasture
#

Hm?

spare zodiac
celest thorn
#

you have a question maybe ask it here

spare zodiac
#

oh I misunderstood nevermind

barren pasture
spare zodiac
#

that is Exiled no?

barren pasture
#

No, labapi

barren pasture
#

Just a custom framework

celest thorn
#

Oh i know

#

ev.Attacker maybe null

barren pasture
#

Yea

celest thorn
#

thats probably why

#

add a null check to ev.Attacker

barren pasture
#

Why would attacker be null?

spare zodiac
celest thorn
spare zodiac
#

grenades

barren pasture
#

Ah. The check literally just checks if the player is in a list, so I don't think that's the problem. Also it's disconnecting the attacker when they kill another player, so I doubt it would be null in the first place.

celest thorn
#

before that

#

if(ev.Attacker != null && Check(ev.Attacker) && ev.DamageHandler is UniversalDamageHandler udh)

#

like this

teal junco
#

some error will kick the player responsible for running the code

celest thorn
teal junco
#

Yeah

celest thorn
#

or the one who recieved the damage

#

because attacker is null

teal junco
#

its just a safety measure

#

idk the specifics on this

#

it might be relevant

celest thorn
#

its to prevent exploits

#

like for example if something happens that shouldn't happen

#

it could crash or cause memory leaks

#

thats why its implemented

crimson cedar
#

hi

#

i have a question with the spawnwaves

#

is there a way to disable them?

hearty shard
#

Check ServerEvents

crimson cedar
hearty shard
crimson cedar
#

in the RA or gameplay config?

crimson cedar
#

im just a normal

hearty shard
#

this is a chat focused on coding labapi

crimson cedar
#

bro

#

oh shi

hearty shard
crimson cedar
#

my bad

hearty shard
#

Check gameplay config tho

crimson cedar
hearty shard
#

might be smth there

crimson cedar
#

a nub

hearty shard
#

but otherwise have some create a plugin

crimson cedar
#

im just a noob

crimson cedar
#

thx :>

barren pasture
#

How do I get the labapi plugin folder for storing data?

hearty shard
#

Oh

#

2sec

#

PathManager

#

PathManager.LabApi

tired pike
# hearty shard Huh

Question. I have coding experience in C++, I want to know if it's all that difficult/is setup to actually develop plugins difficult?

#

I wouldn't imagine C# to be far off from C++

tired pike
hearty shard
hearty shard
#

im going to sleep, but that is what i usually recommend to ppl

tired pike
#

How would one test plugins?

hearty shard
#

check existing public plugins

hearty shard
tired pike
hearty shard
#

Search scp in ur steam library

tired pike
#

I've tried everything

hearty shard
tired pike
#

disabled firewall, portforward

hearty shard
#

you'll need to setup basic stuff like ra permissions

hearty shard
tired pike
hearty shard
#

you can use localhost to join

#

ok gn

tired pike
#

thanks

cyan crown
#

๐Ÿ‘ป

slate flume
#

UniversalDamageHandler is for like environmental damage

barren pasture
slate flume
#

Pit Death, SCP207

#

If you're checking for an attacker anyway, you can simplify the check

slate flume
#
if (ev.DamageHandler is AttackerDamageHandler handler)
  handler.Damage *= 1.05f;
barren pasture
#

Oh

#

Well i have to check if the attacker had the subclass anyway

#

That's what Check is

slate flume
#

How're you checking subclass?

#

If you don't mind me asking

barren pasture
#

Thats the Check function

slate flume
#

Also for future reference, the DamageHandler all handlers inherit from is StandardDamageHandler not UniversalDamageHandler

barren pasture
slate flume
#

So if you need to modify damage on a handler, do ((StandardDamageHandler)ev.DamageHandler).Damage = x;

barren pasture
#

Wait do you want to see the check code or something I'm not understanding?

slate flume
#

The cast should always be valid

slate flume
barren pasture
barren pasture
slate flume
barren pasture
slate flume
#

Which I mean works but it's a practice I'm not necessarily a fan of because if a player is destroyed, for instance, it'll still be stored as a "valid player" in your list

#

I tend to store NetworkIDs instead

#

But to each his own

upper vapor
#

.NET 8 SDK and up includes .net framework anyway

upper vapor
upper vapor
barren pasture
warped prairie
#

just turn off the wifi

#

ez

upper vapor
#

Np

#

Btw, a labapi event shouldn't cause a disconnect

#

The error gets caught if you throw

barren pasture
#

Not sure what was going on there

upper vapor
barren pasture
#

Yea idk either

slate flume
#

So quick question
Let's say I want a player to be able to speak in prox chat while they're invisible
The best way to do this would be to spawn a speakertoy with slight movement smoothing, and add a component to it that tracks player position on the server, right?

warped prairie
slate flume
#

In like

#

Any situation

#

Oddly enough

teal junco
upper vapor
#

Since when you're invisible you get teleported to like
0 4000 0

#

That's why parenting the speaker doesn't help

slate flume
#

I just wanted to check to see if there was a better way than I had hypothesized

warped prairie
#

neat i just learned tha

upper vapor
#

I guess another approach would be to hide the player with the fade effect (+player info off) but that has some complications

slate flume
#

No information is given to the client about where the player is until it's needed (theoretically)

upper vapor
#

I said it right there ๐Ÿ˜ญ

warped prairie
#

very epic

slate flume
celest thorn
#

hiii chat

celest thorn
#

I wanna ask something that i know maybe is technically impossible but how would it be possible to divide in grids the entire map in a grid to make possible placing structures in a the sims for example way

upper vapor
#

like in the bounds of the facility?

celest thorn
#

Idk i was thinking in general

upper vapor
#

the room grid already exists but i'm not sure if that's what you want

celest thorn
#

like for example placing a sofa

#

etc...

#

like that

upper vapor
#

i have no idea how sims works Kek

celest thorn
#

it divides a house or a terrain in a grid

#

to allow building

upper vapor
#

i mean

#

mathf.round(x / gridSize) * gridSize

#

check for collisions

#

boom

celest thorn
#

crazy

ashen hound
#

some progress with my generator for proxy stuff

#

soo with this I can spawn text toy for only specific player without even running a sl server only by sending proper network data via proxy

celest thorn
ashen hound
#

yeah mostly

celest thorn
#

Wait YOU MADE TEXT TOYS??

#

How did you implement the Sync List???

#

if i can ask

ashen hound
#

I just faked data mostly

celest thorn
#

How can you keep track of it and everything??

#

YEa i know that

#

but i've been trying for ages to make Client Sided TextToys

ashen hound
#

I need to fix some stuff tho because waypoints seems not working lol

#

I can say without having some experience with mirror and without debugging stuff inside editor just making this would be a pain

oblique condor
#

Hello i wanted to add some halloween candy, they are not in the new Lab version ?

icy knoll
#

not labapi

#

actually

#

halloween candy may not even be in that list

#

lol

slender depot
#

How to set player's max humeshield to the default value?

hearty shard
#

update your references

upper vapor
royal mica
upper vapor
#

or something similar

#

oh you were asking hume

slender depot
#

Yep

#

When I set it to 0, SCP-127 and SCP-1509 doesn't give the player any shield. When I did Logger.Warn(player.MaxHumeShield) I got 0

upper vapor
#

HumeShieldStat.MaxValue?

alpine glade
slender depot
upper vapor
icy knoll
#

what ax provided is a const afaik

hearty shard
alpine glade
hearty shard
slender depot
#

and I don't want that

upper vapor
#

just don't set the hume shield shrug

oblique condor
hearty shard
#

same as before

oblique condor
icy knoll
#

dedi server/SCPSL_Data/Managed

slender depot
#

So there's no way to set the player's humeshield to the default value it was before I changed it?

icy knoll
#

you can save the last value

hearty shard
slender depot
#

Yeah I noticed

slender depot
upper vapor
#

oh wait

#

IHumeShieldProvider.GetForHub

#

nevermind

#

if you set it to 0 it should remove the override

slender depot
#

it just caps it at 0

upper vapor
#

right cuz the point of scp items is the override

#

i'm very confused as well

#

did you set the regeneration rate?

slender depot
upper vapor
#

that's the issue

#

get the role template

slender depot
#

How is that the issue?

#

Like how

upper vapor
slender depot
#

ohh

upper vapor
#

and it will persist between role changes

#

which is rather bad

#

not your fault that the implementation is this way

slender depot
#

MaxHS also stays between role c hanges

upper vapor
#

but yeah, you can get the role, check if it's an IHumeShieldedRole
then ((DynamicHumeShieldController) currentRole.HumeShieldModule).RegenerationRate

#

check how labapi does it

#

instead of the player's role, use the template from PlayerRoleLoader

slender depot
#

I know there was a delay cuz I thought I could do it, but it's better to ask anyway

upper vapor
#

PlayerRoleLoader.TryGetTemplate

slender depot
#

and then?

tulip kiln
#

@worthy rune Would you be able to check if 3114 refactor changed the WriteNickname method? I'm not home and my players are saying that info flags are broken again ๐Ÿ˜ญ

upper vapor
#

it's client-side now apparently?

tulip kiln
#

It was made client side since the fix required trimming it out

#

Afaik

celest thorn
ashen hound
hearty shard
#

TryGetRoleBase<T> ig also exists if you need humeshield one specifically

ashen hound
ashen hound
celest thorn
#

Its really interesting

#

the only thing i've never done a proxy is because 1 i don't need it and second i wanna use stuff like colliders etc...

#

which would be really hard to make

celest thorn
upper vapor
#

That still has loading time

#

@ashen hound can you post the server switching video here?

upper vapor
celest thorn
ashen hound
#

I mean if you did this then uhm

upper vapor
#

Make an effect ig

#

But the functionality is there

unique crane
#

send restart message with redirect?

#

that should work

upper vapor
#

with xproxy you can skip that

spare zodiac
#

mobile phone

unique crane
spare zodiac
ashen hound
cyan crown
cyan crown
restive turret
#

Jarvis let me pull up the SCP:SL source code

hybrid junco
upper vapor
#

after you installed the .net 8 or 9 sdk you can compile to .net framework 4.8 (not 4.8.1 though)

lethal cradle
#

vs code solos anything jetbrains has

restive turret
#

Jetbeans

upper vapor
#

vs code users installing 15 extensions for proper code completion, inspections and theming:

#

don't get me wrong, vs code is fine, i just find JB tools much easier to use since they do things well out-of-the-box

restive turret
#

I only use vs code for editing many texts in txt or alike files

royal mica
#

vim xdx

restive turret
#

Nah just write the hex bytes in the file

royal mica
#

joke aside, if you setup vim properly for your usecase / get your feet wet with a beginner vim config, it is very usable tbh

royal mica
upper vapor
upper vapor
restive turret
upper vapor
restive turret
#

I lost my tactical wombat combat picture

upper vapor
#

๐Ÿ˜ญ๐Ÿ˜ญ

icy knoll
#

i never understood people who hate on jetbrains products

#

like

#

why give a fuck

upper vapor
icy knoll
#

i really dont care about if people use vs or rider, i prefer rider personally, but it's a subjective thing!

lethal cradle
upper vapor
dreamy yoke
#

Hey, how can i change the size of a TextToy? When trying to edit the Scale it simply disappears and when trying to edit the DisplaySize: nothing changes at all ๐Ÿฅ€

upper vapor
#

displaysize is 200x50 by default, that only sets the size of the text area, not the font size

true cedar
#

texttoy propaganda

hearty shard
true cedar
upper vapor
late shoal
#

Can I set the players EncryptedChannelManager to null to force a new one to be created?

hearty shard
#

why would you need this

true cedar
late shoal
# hearty shard why would you need this

Well, I have a queue system, and I want players who arent authenticated with the server to still be able to use certain commands, like switching servers or something similar... The problem is, if I create an encrypted manager and they connect to the server when a slot becomes available, they fail authenticating lmao

hearty shard
#

also no null will not create a new one

late shoal
hearty shard
#

idk the actual issue

#

so

royal mica
#

Pretty much if you are EncryptedChannel deep, you usually require to patch

upper vapor
#

You're cooked basically (gotta do some crazy workarounds)

dreamy yoke
late shoal
#

kinda complicated but it works fine

alpine glade
hearty shard
#

YOU WILL NEVER BREATHE AGAIN

#

anyway

alpine glade
tulip kiln
candid spire
#

Hello, is there any change that affects the radios?

teal junco
#

why do you ask?

#

chances are there isnt a change but if there is something specific youre doing itd be good to know

candid spire
# teal junco why do you ask?

It happens that when someone speaks on the radio in my sv, not everyone can hear each other between roles, for example, the guards cannot hear the scientists.

teal junco
#

what plugins might you have installed, i havent seen this issue base game so i assume its a mod

restive turret
candid spire
#

and another one that is to make custom sounds for Cassie at times during the game

restive turret
teal junco
#

including any custom private ones (and their purpose)

vast canopy
#

online support ice

#

๐ŸงŠ

candid spire
# teal junco can you name all plugins

Admin tools ,customcassie ( custom sounds for cassie) ,radiotemp (Change the person's nickname when speaking by blurred name) , roleplayicons (icons for classes and information) and audioplayer api and exiled dependences ,lab api

candid spire
teal junco
dark hinge
#

Hi everyone, can you tell me how to fix this error?

teal junco
#

if that doesnt work just keep removing half the plugins until you find which plugin causes it

teal junco
candid spire
teal junco
#

All plugins?

#

Damn

candid spire
#

๐Ÿ˜ฟ

teal junco
#

what about disabling exiled

#

just a thought

#

it may cause issues, possibly

unique crane
candid spire
#

okay I'll try it

unique crane
#

that there isnt implemented 1509 wrapper

teal junco
teal junco
dark hinge
unique crane
#

?

#

No?

dark hinge
#

nope

unique crane
#

No im telling you

#

it does not break it

dark hinge
#

just like a sword without abilities

unique crane
#

Show video then

dark hinge
hearty shard
#

it does not affect anything

#

it also works for me in vanilla and with plugins

#

reminder that it has a cooldown on use (you cannot use it 5 times in a row and have it spawn 5 teammates)

dark hinge
hearty shard
#

do you have exiled installed

#

or any plugins

hearty shard
#

actually

#

afaik it works on CT

#

which uses exiled

dark hinge
hearty shard
#

idk

#

try without it

unique crane
#

idk

#

Remove it and try again

hearty shard
#

wait

#

is it meant to smoke without targets?

#

as in theres no human there to actually yk

#

stab

unique crane
#

ยฏ_(ใƒ„)_/ยฏ

dark hinge
true cedar
#

ik its a marshmallow man thing but like

hearty shard
#

yea its used for that

true cedar
#

is it like

hearty shard
#

its the item used to attack

true cedar
#

the attack

#

ic

hearty shard
#

and model and stuff

#

afaik it depends on that

#

might be slightly wrong

#

oh right

#

also the attack is universal so friendly fire works

true cedar
#

oh that makes sense

hearty shard
#

oh apparently

#

if you kill someone you gain stamina

#

for SugarCrave

hearty shard
#

this is only for evil candy

#

coolll

hearty shard
restive turret
#

Muhahaha

hearty shard
south socket
#

i knew it! SL x Aliens!!!!!

alpine glade
hearty shard
alpine glade
hearty shard
alpine glade
slate flume
warped prairie
celest thorn
#

hiii

hearty shard
#

Who's that pokemon

#

That's right its the government spy known as a pigeon

slate flume
#

Didn't know you saw me post that lol

upper vapor
#

I see everything toomuchtrolling

#

@celest thorn I think I understand your pain now (to some extent)
I'm FLIRTing and this guy next to me is just radiating pure stink
Like I know I'm not the nicest perfume-scented person but like how do you achieve this

celest thorn
#

you understand my PAIN

upper vapor
#

And I don't know what's worse
If it's constant or if it comes in waves

#

Like just

#

Waves of stench every x seconds

celest thorn
#

like when they raises their ARM ๐Ÿคฎ

celest thorn
tepid sluice
#

evil spooky

#

D:

celest thorn
hearty shard
tepid sluice
tepid sluice
hearty shard
#

oh okay

celest thorn
celest thorn
spare wharf
#

how 2 reference the labapi dll in vs code?

hearty shard
#

actually

#

have you never done this before

spare wharf
#

sadly no

hearty shard
#

<Reference Include="LabAPI" HintPath="$(SL_REFERENCES)\LabAPI.dll" />

#

wait

#

actually

#

you can just use the nuget package

#

<PackageReference Include="Northwood.LabAPI" Version="1.1.4" IncludeAssets="All" PrivateAssets="All" />

true cedar
#

*v*

#

e*e

hearty shard
true cedar
hearty shard
#

DIE

teal junco
hearty shard
#

because

#

theyre...

#

a BULLY

upper vapor
#

Surely vsc has a NuGet tool

hearty shard
static meteor
#

Not without a extension

hearty shard
#

i dont use it other than as a better text editor

lethal cradle
#

god bless vsc

upper vapor
hidden horizon
#

anyway to stop 106 from regaining vigor?

hearty shard
#

probably patch it

slow grotto
#

Would cancelling that do what you need?

#

(Only when Value is greater than OldValue)

worn gull
#

How much sec is between the nuke start (Cassie announcement) and the timer start

upper vapor
#

If you start the nuke and go to warhead it should display the time until detonation with an offset

worn gull
upper vapor
#

Np

static meteor
soft depot
ashen hound
#

its spawnable

upper vapor
#

omw to make maps out of Hubert Moon

unique crane
soft depot
celest thorn
#

Can i make hubert out of huberts

sour path
worn gull
static meteor
# sour path how
            foreach (var obj in NetworkClient.prefabs)
            {
                if (obj.Value.name == "Hubert Moon")
                {
                    GameObject go = GameObject.Instantiate(obj.Value, new Vector3(0, 690, 0), Quaternion.identity);
                    NetworkServer.Spawn(go);
                    LogManager.Info("Spawned Hubert Moon");
                }
            }
worn gull
#

Oh

slender depot
#

Does anyone know how to make SCP-1509 not give any HS? I tried publicizing assembly csharp and setting the _equippedhs to 0 but it didn't work

soft depot
tulip kiln
static meteor
grand flower
#

(ignore what I sent wrong discord window)

#

Please delete that

#

That info was private and does not need to be sent publicly :c

#

@hearty shard

hearty shard
grand flower
#

tyty โค๏ธ

#

alt tabbed too fast and didnt check which discord instance I was sending it to mmLul

hearty shard
#

๐Ÿ˜ญ

grand flower
#

thankfully it's not the end of the world I just like keeping things private heh

warped prairie
#

Hubert sphere primitive when trol

static meteor
#

I think hubert moon is just the sphere but red

warped prairie
#

Evil Hubert

frail zinc
hidden horizon
#

What kind of data cannot be tracked via DNT, anything player related(name, steamid), or only steamid

stable shore
#

!csg

regal lakeBOT
static meteor
#

8.3. Server Staff, the Game Server and its Modifications must respect the Do Not Track (DNT), an
opt-out from any data processing that is not needed for gameplay or server security purposes.

hidden horizon
#

Still does not give an precise answer

static meteor
#

Any data

royal mica
#

you can only store data related to moderation if DNT is on or mandatory gameplay

stable shore
hidden horizon
static meteor
#

If its for security its allowed

royal mica
#

You can, since it is moderation related

#

That also requires the ban room to be limited to the staff team IIRC

hidden horizon
#

I mean a public ban room

stable shore
#

nope

hidden horizon
#

so every1 can see bans

stable shore
#

you cant

hidden horizon
#

alr, ty

stable shore
#

and thats generally a bad practice imo

hearty shard
stable shore
#

likely

hidden horizon
#

Not really related to the stuff im doin

teal junco
#

public bans has no reason to exist

unique crane
#

This isn't 1403 to do public hangings ๐Ÿ˜ญ

restive turret
hearty shard
barren pasture
#

Is there any way to get the ragdoll of a player that was killed by a specific player?

#

Without patching or extra variables?

hearty shard
#

.Where

#

you'll have to check for AttackerDamageHandler on the ragdolls damage handler of which idk where is

cyan crown
#

For scpsl legacy ^

slate flume
#

Any open-source plugins I can take a look at to learn plugin configs?

#

I've never had to worry about it before but I need to learn it now

teal junco
#

what exactly are you looking to learn

#

i think MapEditorReborn is a good one for if you wanna have really advanced configs with your own handling

slate flume
#

How they work

#

I've never used one before

#

I've never even editted a config before lmao

#

I have no idea the format, how to work with one in a plugin

#

Anything

#

I've never had a need for it

teal junco
#

Plugin has a generic version Plugin<TConfig>, where TConfig is a serializable data structure that contains properties

slate flume
#

Baller

teal junco
#

and generally, Plugin::Config will access the instance of TConfig that loaded with that specific plugin instance

#

for some reason it's nullable which makes me nervous but I just ignore it or throw in some checks. no issues yet...

slate flume
teal junco
teal junco
#

Anyways, so just derive Plugin<T> instead of Plugin and you should be good

slate flume
#

Let's see if I figure ts out lmao

celest thorn
#

Is it possible to reload config on labapi?

stable shore
slender depot
#

Ohhhh, The values get set to default when the item is dropped

#

Alright I know where I made a mistake

upper vapor
celest thorn
#

you came too late

#

ig

upper vapor
#

pisses me off sm

celest thorn
#

and obv say that i have problem on that code when there's no error

upper vapor
#

i'm gonna put <TreatWarningsAsErrors>true in all of your csproj files

celest thorn
upper vapor
upper vapor
drifting flame
celest thorn
upper vapor
#

right click solution
inspect code

#

also this is NOT how the build window looks like foir me

celest thorn
upper vapor
#

it also shows MSBuild output

celest thorn
#

told ya clean asf

#

if i want to make a clean stuff i would

#

and the public api for tournaments is clean too

upper vapor
#

but you don't have free will toomuchtrolling

upper vapor
#

not under maro

celest thorn
#

lol

#

development side i do everything

#

and im free

upper vapor
celest thorn
#

deciding tournaments etc... is my job

#

maro just checks and i tell her, do you like this idea

#

and she says yes or no

upper vapor
#

insane

celest thorn
#

if no i go back to a new concept

#

else i start

#

but im the one who decides tourneys and stuff

#

sometimes i make the public docs for the tourneys

#

i suggest new features for servers and stuff

#

i have a ton of free will lol

upper vapor
celest thorn
#

because she has the most relationship with nw

#

i just talk sometimes to X3J

#

just for stuff like ARG etc...

#

nothing else

upper vapor
celest thorn
upper vapor
#

ARG

celest thorn
#

this

upper vapor
celest thorn
#

so yea if the tryhards are reading, if you wanna hate someone for the tourneys ideas and preparation, hate on me don't dm maro Trolley

drifting flame
#

What if this channel was renamed to nerd chat

icy knoll
celest thorn
#

and irrelevant asf

celest thorn
#

or

#

dexters-laboratory-chat

slender depot
#

Where can I find the SCP127 item in assemblycsharp?

upper vapor
#

use the Scp127Firearm wrapper

slender depot
#

But is there a way to find how it works etc, cuz' all I saw were modules

#

I want to understand how it works to mod it better

upper vapor
#

yeah you gotta look through the module classes

#

look for types in the InventorySystem.Items.Firearms.Modules.Scp127 namespace

slender depot
#

But like how the weapon becomes the weapon, is it just a gameobject with all the modules attached?

upper vapor
#

yes

slender depot
#

Well that explains a lot

slate flume
slender depot
#

it also explains why my game kept crashing when I modified SCP127 to be a normal gun

slender depot
#

It works somehow

upper vapor
#

yeah you shouldn't do that

slate flume
#

What do you mean by that

#

There are so many ways to interpret that

slender depot
upper vapor
#

firearms are autosync items meaning the component ID matters

slender depot
#

and you can reload it

slate flume
slender depot
upper vapor
#

i have no idea

#

you gotta check yourself

#

they're auto-assigned

#

might be different per firearm

slender depot
slate flume
#

Then check when they press that keybind

slender depot
#

Time to do that

slate flume
#

It's very unintuitive

slender depot
slate flume
#

It's set to nothing be default

#

The default button is only applied when you press the little button on the setting that puts it to the default

slate flume
#

I believe it's made that way for security reasons

slender depot
#

Time to overengineer scp-127 again

upper vapor
slate flume
slate flume
slender depot
upper vapor
#

kinda weird but

#

eh

slate flume
upper vapor
slate flume
#

As plugin developers we have control over a very limited scope of things, and part of our job is making what we implement intuitive for new players joining, otherwise we're turning away 99% of the already relatively small player base

#

On top of that, afaik SCP-127 voicelines are client-sided

#

Adding to that, I don't believe you can prevent a player from inspecting a weapon

#

Meaning that even if you say it's "normal," they can play the inspect animation and see that it's not

slate flume
#

I respect the enthusiasm but it's important to stay grounded about what is/isn't possible and about what we should and shouldn't be doing to captivate a playerbase

slender depot
#

I've only now realised that you can't stop someone from inspecting an item

slate flume
#

Fire

slender depot
#

I thought there was an event for that

upper vapor
#

you can cancel them yeah
labapi has events for that

slate flume
#

So you can prevent 127 voicelines and hume shield

slender depot
#

and it'll work

#

with minimal effort

#

Wait

#

\no

slate flume
slender depot
#

I missunderstood

slender depot
celest thorn
#

please

upper vapor
#

i think

#

at least for keycards

slate flume
celest thorn
#

its sent to every player so yes you can

slate flume