#plugins-dev-chat

1 messages Β· Page 5 of 1

stuck peak
#

short hallway that is collapsed

unique crane
#

with the collapsed.. roof

stuck peak
#

has like rubble in it

hearty shard
#

david im gonna strangle you

stuck peak
#

you used to be able to climb in

unique crane
#

and one light

stuck peak
#

but stupid someone added a collider

hearty shard
unique crane
#

Just list all of the unsafe rooms tbh

hearty shard
#

true

unique crane
#

Hcz pit, hcz waterfall room

hearty shard
stuck peak
#

RAGEY wow you hate swimming

hearty shard
#

thats what the raycast gets

#

i think

stuck peak
unique crane
#

Most likely will but

stuck peak
#

you mean old 939 chamber/testroom?

unique crane
#

Yea

stuck peak
#

ah makes sense

hearty shard
#

test room

unique crane
#

The mostly infinite hole

stuck peak
#

I wish the pillar colliders were still there

hearty shard
#

thats like where 90% of ppl manage to die

stuck peak
hearty shard
#

Oh

#

that one

#

i forgot it existed

#

amazing name

stuck peak
#

awesome

hearty shard
#

😎

stuck peak
#

nitpick but it's a field

#

and private

#

oh but readonly

hearty shard
#

dont question it

icy knoll
#

i was about to say what is evac shelter but it's that room with broken gates with loads of random ragdolls inside

stuck peak
#

was going to mention the capitalization but

hearty shard
#

this is what my IDE wants and honestly i dont care enough

hearty shard
stuck peak
#

the wiki doesn't have an entry on squeaks

hearty shard
#

r u a squeaker

stuck peak
#

no

#

opposite

hearty shard
#

how deep is your voice

stuck peak
#

shrujj idk

hearty shard
#
/// <summary>
        /// Gets whether a room is safe to teleport to. Will consider decontamination, warhead, teslas & void rooms.
        /// </summary>
        /// <param name="room">The room to check.</param>
        /// <returns>Whether the room is safe to teleport to.</returns>
#

where tf is the docs broken here

#

line 3 apparently?

#

😭

#

am i blind

stuck peak
#
/// <summary>
/// Gets whether a room is safe to teleport to. Will consider decontamination, warhead, teslas and void rooms.
/// </summary>
/// <param name="room">The room to check.</param>
/// <returns>Whether the room is safe to teleport to.</returns>
hearty shard
#

o

upper pike
#

How come & affects it despite being in a comment?

hearty shard
#

why was that it

#

😭

stuck peak
#

just affects the parsing of the doc text

upper pike
#

Ah

hearty shard
#

xert r u crazy

stuck peak
#

scrajj why

hearty shard
#

why not

stuck peak
#

I am yes

#

YesYes been to psych wards

hearty shard
#

i love this

#

me when i add more effects to the prefab PI_teehee

stuck peak
#

uhh

#

all I know is that if your client adds holiday effects but the server doesn't then everything breaks

stuck peak
#

probably

unique crane
#

yea

hearty shard
#

ive said it before

#

holiday has to be server sided

stuck peak
#

me when I tried joining a stable build in Unity when I was on the xmas branch

hearty shard
#

and just synced to client

stuck peak
unique crane
#

ahah grenades finally fixed

unique crane
#

Why would I cry about that

upper pike
hearty shard
upper pike
#

Make player 1 suffer some more

hearty shard
#

can we explode david

#

yes? lovely!!

unique crane
#

nu

hearty shard
#

awh

stuck peak
#

just realized a song I liked is apparently a jojo song now

hearty shard
#

what..

stuck peak
#

oh nvm different jojo innerpeace

icy knoll
hearty shard
stuck peak
#

no I like it again

#

not the anime innerpeace

icy knoll
#

never watched it

#

my gf wants me to but im like "no"

stuck peak
#

only anime you have to watch is Death Parade

#

RAGEY unity stop fucking crashing

icy knoll
stuck peak
#

I wish

hearty shard
#

erm

stuck peak
#

ugh I need updated assembly

unique crane
#

U can use the killer's generator

stuck peak
#

yeah true

unique crane
#

very good tool

stuck peak
#

it didn't work last time I checked it out

#

I forgot the issue

unique crane
#

it works on my machine

#

Β―_(ツ)_/Β―

#

Also if your output assembly has 0 bytes then it didnt compile successfully

ashen hound
#

gib issues xd

#

I will fix them

stuck peak
#

worked this time shrujj

#

I wanted to add cli args though but never got around to it

ashen hound
#

its on scpsl repo

stuck peak
#

I know I just never got around to it

hearty shard
#
[2025-02-14 14:29:47.550 +01:00] [STDOUT] NullReferenceException: Object reference not set to an instance of an object
[2025-02-14 14:29:47.550 +01:00] [STDOUT]   at LabApi.Features.Wrappers.Warhead.OnMapGenerated () [0x00023] in <c20488a5a42a492c931d89475bee91cb>:0
[2025-02-14 14:29:47.551 +01:00] [STDOUT]   at (wrapper delegate-invoke) <Module>.invoke_void()
[2025-02-14 14:29:47.551 +01:00] [STDOUT]   at MapGeneration.SeedSynchronizer.GenerateLevel (System.Boolean generateFacility) [0x000fd] in <9b41e261b6f7438da74257a46de84807>:0
[2025-02-14 14:29:47.551 +01:00] [STDOUT]   at MapGeneration.SeedSynchronizer.Awake () [0x0011e] in <9b41e261b6f7438da74257a46de84807>:0
#

whoops

#

moment

#

teehee?

stuck peak
#

StartScenarios is null

icy knoll
#

nameless broke smth again

#

smh

hearty shard
#

istg im gonna crash out

#

[2025-02-14 14:32:07.308 +01:00] [STDOUT] NullReferenceException: Object reference not set to an instance of an object
[2025-02-14 14:32:07.308 +01:00] [STDOUT] at SecretAPI.Features.CustomPlayerEffect+<CreateObjects>d__9.MoveNext () [0x00073] in <e6798b22440f4a4ab9e9a275b559550b>:0
[2025-02-14 14:32:07.308 +01:00] [STDOUT] at MEC.Timing.Update () [0x0043c] in <718f9eff97134aaf9a9513bc8463fe92>:0
[2025-02-14 14:32:07.309 +01:00] [STDOUT] UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)

#

omfg

#

wait

stuck peak
#

oh you are nameless NotedHmm

hearty shard
#

is PlayerEffects renamed ?

#
// get player prefab
            GameObject playerPrefab = NetworkClient.prefabs.FirstOrDefault(p => p.Value.name.Contains("Player")).Value;
            Transform playerEffects = playerPrefab.transform.Find("PlayerEffects");
#

the error is here i think

stuck peak
#

of your IEnumerator thx

ashen hound
#

give the man .pdb of assembly-csharp stare

icy knoll
#

no just give them everything

#

absolutely everything

ashen hound
#

ALL

icy knoll
#

your kidneys too

ashen hound
#

hell nah

hearty shard
stuck peak
hearty shard
#

i am gonna crash out

stuck peak
#

sorry

hearty shard
stuck peak
hearty shard
#

whats the player prefab called

#

FirstOrDefault(p => p.Value.name.Contains("Player")).Value;

#

😭

stuck peak
#

it's Player

hearty shard
#

😭

stuck peak
#

what are you trying to achieve anyways

hearty shard
#

get the player prefab
get the PlayerEffects
add new effect

#

it worked before

carmine prawn
stuck peak
#

why not just

carmine prawn
#

incomprehensible

stuck peak
#

get the host playereffectscontroller

#

@hearty shard ?

hearty shard
stuck peak
#

still not sure how you are going to give new effects to clients

hearty shard
#

but server sided effects

#

but yeah id love if client could accept too but i doubt thats happening

stuck peak
hearty shard
#

on the prefab

#

this worked fine

#

but on labapi it doesnt

stuck peak
#

would host.playerEffectsController.effectsGameObject work?

hearty shard
#

um

#

id have to manually add to all players

#
public void Awake()
  {
    this._hub = ReferenceHub.GetHub(this.gameObject);
    List<StatusEffectBase> list = ListPool<StatusEffectBase>.Shared.Rent();
    foreach (StatusEffectBase componentsInChild in this.effectsGameObject.GetComponentsInChildren<StatusEffectBase>())
    {
      if (componentsInChild is IHolidayEffect holidayEffect && !holidayEffect.IsAvailable)
        componentsInChild.gameObject.SetActive(false);
      else
        list.Add(componentsInChild);
    }
    this.AllEffects = list.ToArray();
    this.EffectsLength = this.AllEffects.Length;
    ListPool<StatusEffectBase>.Shared.Return(list);
    foreach (StatusEffectBase allEffect in this.AllEffects)
    {
      this._effectsByType.Add(((object) allEffect).GetType(), allEffect);
      this._syncEffectsIntensity.Add((byte) 0);
    }
  }
#

effects controller does this

#

im also realizing that it uses _syncEffectsIntensity for syncing ? what

stuck peak
#

just checked and the Player prefab is still named Player

hearty shard
#

regardless it was working before labapi

hearty shard
#
while (playerPrefab == null)
                playerPrefab = NetworkClient.prefabs.FirstOrDefault(p => p.Key == 3816198336 || p.Value.name.Contains("Player")).Value;
#

this kills the server

#

it never becomes not null

stuck peak
#

I mean you can just NetworkManager.singleton.playerPrefab

hearty shard
#

😭

#

im gonna crash out

stuck peak
hearty shard
#

since when did that exist

stuck peak
#

2019

hearty shard
#

gonna crash out

stuck peak
#

2023*

#

since the Unity upgrade

hearty shard
#

yup

#

that fixed it

#

[2025-02-14 14:51:37.466 +01:00] Scene Manager: Loaded scene 'Facility' [Assets/_Scenes/Facility.unity]
[2025-02-14 14:51:37.543 +01:00] [ERROR] [SecretAPI] [CustomPlayerEffect.CreateObjects] SecretAPI.SecretApi is not a valid StatusEffectBase

stuck peak
hearty shard
#

love you

#

😭

stuck peak
#

anyways back to 0492 events

#

I got distracted Erm

hearty shard
#

not my fault

stuck peak
#

quick question

#

should the StartingConsumingCorpse IsAllowed be false when the Error isn't none?

#

since that can be confusing

#

but what can also be confusing is that setting IsAllowed to true wouldn't do anything unless the error is also none

hearty shard
stuck peak
#

I guess I could make the setter set the error to none

hearty shard
#

I think make IsAllowed set error to none

stuck peak
#

and then the getter just checks if error is none

#

that works I guess

hearty shard
#

yea

stuck peak
#

Unity I swear to god if you crash

hearty shard
#

wait

#

i dont need a coroutine anymore do i

#

i dont think so

stuck peak
#

I hate coroutines so much

#

MEC causes so many issues

hearty shard
#

actually

#

I need a good time to do the registering

stuck peak
#

one of the reasons I am happy to move CTs plugins away from EXILED

hearty shard
#

cuz if a plugin registers then this will just not work

stuck peak
#

because they use coroutines for everything

hearty shard
hearty shard
stuck peak
#

YES

#

especially CustomRoles

hearty shard
#

oh yeah

#

TryAddCandy has it too trolling

stuck peak
#

yes I know

#

and I don't understand why

#

there is literally a thing you can check to see whether you need to send the spawning

#

instead of fucking delaying it for some reason

hearty shard
#

idk

#

i didnt make it

#

nor do i care

#

i need to figure out my custom effects how im gonna handle this

#

the only thing i need now is when do i actually register it

#

before server host loads
but after all plugins have loaded

#

actually

#

do i care about server host

stuck peak
#

Exiled essentially makes it that you can't call TryAddCandy multiple times in the same frame

#

because it will override each other

hearty shard
#

when do you think this would be good

stuck peak
#

Exiled should do

if (!Scp330Bag.TryGetBag(player.ReferenceHub, out Scp330Bag? bag))
{
    Exiled.API.Features.Items.Scp330 scp330 = (Exiled.API.Features.Items.Scp330)player.AddItem(ItemType.SCP330);
    scp330.Base.Candies.Clear();
    scp330.Base.TryAddSpecific(Candy);
    return;
}

bag.TryAddSpecific(Candy);

if (bag.AcquisitionAlreadyReceived)
    bag.ServerRefreshBag();

instead of

Scp330Bag bag;
if (Scp330Bag.TryGetBag(this.ReferenceHub, out bag))
{
  int num = bag.TryAddSpecific(candyType) ? 1 : 0;
  if (num == 0)
    return num != 0;
  bag.ServerRefreshBag();
  return num != 0;
}
if (this.Items.Count > 7)
  return false;
Exiled.API.Features.Items.Scp330 scp330 = (Exiled.API.Features.Items.Scp330) this.AddItem(ItemType.SCP330);
Timing.CallDelayed(0.02f, (System.Action) (() =>
{
  scp330.Base.Candies.Clear();
  scp330.AddCandy(candyType);
}));
return true;
stuck peak
#

the hosthub?

hearty shard
#

yeah

#

i mean idk if not giving host the effect could cause issues, but at the minimum every plugin needs to have loaded

stuck peak
#

I don't know when the hosthub gets created tbh and I don't feel like digging, but you could make your plugin load last

hearty shard
#

its an api plugin

#

thats why im kinda confused

#

idk if theres a good event to place it on

#

or just a good ol Timing.CallDelayed

stuck peak
#

try SceneManager.sceneLoaded

hearty shard
#

gets called twice

#

so ig just a bool isLoaded;

stuck peak
hearty shard
#
[2025-02-14 15:06:45.378 +01:00] [INFO] [LabApi] [LOADER] Loading all dependencies
[2025-02-14 15:06:45.393 +01:00] [INFO] [LabApi] [LOADER] Successfully loaded 0Harmony, Version=2.3.5.0, Culture=neutral, PublicKeyToken=null
[2025-02-14 15:06:45.408 +01:00] [INFO] [LabApi] [LOADER] Loading all plugins
[2025-02-14 15:06:45.424 +01:00] [INFO] [LabApi] [LOADER] Successfully loaded SecretAPI
[2025-02-14 15:06:45.440 +01:00] [INFO] [LabApi] [LOADER] Enabling all plugins
[2025-02-14 15:06:45.455 +01:00] [INFO] [LabApi] [LOADER] Successfully enabled 'SecretAPI', Version: 0.0.1, Author: '@misfiy'
[2025-02-14 15:06:45.470 +01:00] Selected central server: GRA2 (https://gra2.scpslgame.com/)
[2025-02-14 15:06:45.486 +01:00] Running as headless dedicated server. Skipping distribution platform detection.
[2025-02-14 15:06:45.626 +01:00] Updated list of central servers.
[2025-02-14 15:06:45.642 +01:00] Central servers count: 1
[2025-02-14 15:06:45.829 +01:00] [ERROR] [SecretAPI] [CustomPlayerEffect.CreateObjects] SecretAPI.Features.FieldProperty is not a valid StatusEffectBase
[2025-02-14 15:06:45.844 +01:00] [ERROR] [SecretAPI] [CustomPlayerEffect.CreateObjects] SecretAPI.SecretApi is not a valid StatusEffectBase
hearty shard
#

cool

#

Hmm
Transform playerEffects = NetworkManager.singleton.playerPrefab.transform.Find("PlayerEffects");
or
Transform playerEffects = NetworkManager.singleton.playerPrefab.GetComponent<PlayerEffectsController>().transform;

#

no clue which is faster transform.Find or GetComponent

#

oh well dont care

stuck peak
#

also easier to maintain

hearty shard
#

its less likely to break

#

yea

#

oh its also just better to use ?

#

okay

stuck peak
#

yes

#

Find iterates over the hierarchy (which is pretty large for the player prefab iirc) and does string comparisons

hearty shard
#

ah

stuck peak
#

actually the Player hierarchy isn't that large (aside from all of the effects which wouldn't be checked because they are children of the target)

hearty shard
#

can i see it trolling

stuck peak
#

PlayerEffects is actually the first in the hierarchy Hmm

#

so might be faster but it's worse to maintain

hearty shard
#

yeah im going for maintainability

stuck peak
#

and the speed difference is negligible since you only do it once

stuck peak
stuck peak
#
void StopBeingLazy(Transform parent, int depth) 
{
    Logger.Debug(new string(' ', depth * 2) + parent.name);
    foreach (Transform child in parent)
    {
        StopBeingLazy(child, depth + 1);
    }
}

StopBeingLazy(NetworkManager.singleton.playerPrefab.transform, 0);
#

I still haven't even started on the 0492 events

hearty shard
#

get gud

stuck peak
#

well stop distracting me then RAGEY

hearty shard
restive turret
#

eve plz, just 1 hourClassDPlushie

stuck peak
#

Unity crashed again

hearty shard
#

wooo

restive turret
#

guh

upper pike
#

This is a sign

hearty shard
#

more time to be in this chat

upper pike
#

To stop using Unity and switch to Godot

stuck peak
restive turret
stuck peak
hearty shard
restive turret
#

What does that mean

hearty shard
#

dont worry about it

#

youll see eventually

hearty shard
#

ur a small detail

#

2'2

restive turret
#

Just don't use shaderClassDPlushie

restive turret
hearty shard
#

bunny

#

i regret typing bun in gifs

restive turret
restive turret
hearty shard
#

slayyyyy

restive turret
stuck peak
#

I could either make the widest single if statement

#

or make nested ifs

hearty shard
#

do both

stuck peak
#

I'll make the same check multiple times YesYes

restive turret
#

Check how IL will generate it

stuck peak
restive turret
#

Then use the wider one

hearty shard
#

wide

restive turret
#

U have big monitor so

restive turret
hearty shard
#

slayyyy

stuck peak
#

this may be the ugliest code ever thanks to preprocessor directives

#

at least you won't see it

restive turret
#

So should I go nap or scream at sslstream throwing error or work on plugin

#

Can't wait to see

stuck peak
#

you won't see it scrajj

#

you'll just see the compiled result in your server assembly without the preprocessors

#

so it will look fine for you

hearty shard
#

show it

#

rn

restive turret
#

You can always show itClassDTrollHD

stuck peak
#

I can't

hearty shard
#

why :(

restive turret
#

hubert will send him a letter called c&d

hearty shard
restive turret
#

(cat & dog)

stuck peak
#

I have 2 options

hearty shard
#

i cant send half my gifs

#

so sad

hearty shard
stuck peak
#

do I either make the most unhinged looking code

#

or repeat code

#

#if LABAPI
    if (consumingCorpseEventArgs.AddToConsumedRagdollList)
    {
#endif
      ConsumedRagdolls.Add(CurRagdoll);
#if LABAPI
      // more unginged stuff
    }
#endif
hearty shard
#

😭

stuck peak
#

I think I will just repeat code

#

because the next thing would be a multi-line single if statement with preprocessors in-between

#
  if (
      something
#if LABAPI
     || somethingElse
#endif
     )
#

I am not doing this lmao

#

actually I think Beryl would be very glad if I did that and he would truly enjoy reviewing this MR

harsh thorn
#

i think i will let hubert review that one instead

stuck peak
#

I am not doing that crycat

harsh thorn
restive turret
hearty shard
#

hi ced

stuck peak
#

it's such a pain to read

stuck peak
restive turret
#

Well if labapi release no need for that preprocClassDTroll1

harsh thorn
harsh thorn
#

clients dont build with labapi

stuck peak
harsh thorn
#

therefore they cant have labapi code/references

restive turret
#

Ah yeah u right, forgot that one

stuck peak
#

casually forgetting about clients

hearty shard
harsh thorn
#

we decided to not make the labapi coexect in the same space as the nwapi
so there wouldnt be an "enable directive" outside of the standard one for server anyway

restive turret
#

Who need clients right?

stuck peak
#

I would rather write a transpiler Pffttt

restive turret
#

Please, we need that event mr x3rt

stuck peak
#

wdym ew

#

I love transpilers

#

if I see a prefix patch I go berserk

icy knoll
#

transpilers suck

stuck peak
#

cc Cedric

stuck peak
#

skill issue

icy knoll
#

i just use postfix :3

stuck peak
#

ah yes let me postfix into the center of a method

#

or IEnumerator

icy knoll
#

they are good for when ur tryna run smth at the same time as a function tho lol

terse bone
#

Where can i report game bugs that i've encountered on labapi branch?

icy knoll
# stuck peak or IEnumerator

also can you get ced to push my pr pls tyvm i just had to write my own extension methods for what i made in the pr lol

stuck peak
#

and just used your version for now

icy knoll
#

that is true

#

ima do that actually

hearty shard
#

change TargetFramework to netstandard2.1
compile
revert it
compile again

#

problem solved

#

that fixes it permanently it seems

stuck peak
#

scrajj guess your mscorlib broke or something

#

because it's public

hearty shard
#

was the only thing that worked for some reason

icy knoll
#
1>------- Finished building project: LabApi. Succeeded: False. Errors: 1. Warnings: 0
2>LabApi.SourceGenerators.Tests.csproj: Warning NU1903 : Package 'Newtonsoft.Json' 9.0.1 has a known high severity vulnerability, https://github.com/advisories/GHSA-5crp-9r3c-p9vr
2>LabApi.SourceGenerators.Tests.csproj: Warning NU1903 : Package 'NuGet.Common' 5.6.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-6qmf-mmc7-6c2p
2>LabApi.SourceGenerators.Tests.csproj: Warning NU1904 : Package 'NuGet.Packaging' 5.6.0 has a known critical severity vulnerability, https://github.com/advisories/GHSA-68w7-72jg-6qpp
2>LabApi.SourceGenerators.Tests.csproj: Warning NU1903 : Package 'NuGet.Protocol' 5.6.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-6qmf-mmc7-6c2p
2>LabApi.SourceGenerators.Tests.csproj: Warning NU1903 : Package 'NuGet.Protocol' 5.6.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-g3q9-xf95-8hp5
2>LabApi.SourceGenerators.Tests.csproj: Error NU1201 : Project LabApi.SourceGenerators is not compatible with net48 (.NETFramework,Version=v4.8). Project LabApi.SourceGenerators supports: netstandard2.1 (.NETStandard,Version=v2.1)
2>------- Finished building project: LabApi.SourceGenerators.Tests. Succeeded: False. Errors: 1. Warnings: 5```
#

no

#

didnt fix :c

stuck peak
#

uhm what

hearty shard
#

i meant LabAPI not SourceGenerators

icy knoll
#

the error was from source generators

hearty shard
#

oh

icy knoll
#

not labapi

hearty shard
#

skill issue then

stuck peak
#

go to the csproj file

#

and remove Microsoft.CodeAnalysis.CSharp

#

and the other CodeAnalysis package

#

save

#

and then add them back/undo

#

wait that makes no sense

icy knoll
stuck peak
icy knoll
#

sourcegen is a project reference under labapi :3

hearty shard
icy knoll
#

yes

stuck peak
#

yes ofc because it's a source generator

icy knoll
#

it's a proj ref

stuck peak
#

build the source generator project

#

then build labapi

icy knoll
#

legit this wont go away what the fuck

stuck peak
#

wait why is your source generator 2.1

#

it's supposed to be 2.0

icy knoll
#

nameless

stuck peak
#

change it to 2.0

icy knoll
#

i did

#

same issue

#

kinda

#

like

hearty shard
#

cuz i thought thats where issue was

#

😭

icy knoll
stuck peak
#

do what nameless said for the LabAPI project

icy knoll
#

yeah it's doing source generators first

hearty shard
#

yeah

#

yes but

#

does source generator compile at least

stuck peak
#

because the inaccesible error should only happen when the api targets netstandard2.0

icy knoll
#

i dont think we worry about that

hearty shard
#

yeah u dont need them to compile

#

only the labapi

#

at least for the fix it was the only thing needed

stuck peak
#

change labapi to 2.0 not 2.1 sorry

#

and then try to build

#

it should fail

#

then change it back to net48

icy knoll
#

i did 2.1

#

it worked

stuck peak
#

oh alr

hearty shard
stuck peak
#

idk why mscorlib is being dumb

hearty shard
#

2.1 works

hearty shard
stuck peak
#

oh I see

hearty shard
#

it fails to reference unless youve compiled 2.1 (or maybe just netstandard idk) before

stuck peak
#

no it's because it's trying to use YamlDotNet.dll's NotNullWhenAttribute

hearty shard
#

mscorlib hasnt worked for me in any project until i did what i said to do

#

even without yaml

stuck peak
#

weird

icy knoll
#

now we just need this for labapi :3

hearty shard
#

isnt that

#

already

#

there

#

YEAH

icy knoll
#

nope

hearty shard
#

Disarmer

#

wait no

#

DisarmedBy

icy knoll
#

ur serious

#

?

hearty shard
#

yes.....

icy knoll
#

kms brb

stuck peak
#

xyz.DisarmedBy =

#

yeah

hearty shard
#

Stupid...

stuck peak
harsh thorn
#

happens to the best

icy knoll
#

i made a github issue

unique crane
harsh thorn
hearty shard
#

ur the WORST

stuck peak
#

^

harsh thorn
hearty shard
#

didnt approve my pr

hearty shard
#

do it

#

you wont

harsh thorn
#

youre right, i wont

#

too nice

stuck peak
#

good job nameless

hearty shard
#

:D

unique crane
#

When we sending eve to isolated island?

harsh thorn
#

now

hearty shard
#

WHAT

harsh thorn
#

pack it up, you're going to brazil

unique crane
#

nice

harsh thorn
#

anyhow, funnies aside

#

i will probably look at PRs later today

#

or tomorrow

#

i have some other NW things today

#

so kek

stuck peak
#

I hate writing docs

#

uncommented code is the new standard

unique crane
#

Make source gen and connect it to chatgpt

#

Writes new documentation each build

mild ice
#

Github copilot /doc command lowresolutiontroll

stuck peak
#

you said this before david

#

and no

#
  1. AI stinks (it smells reallllllly bad)
  2. It will give us non sensical comments
#

/// <param name="hub">The hub holding References.</param>

unique crane
#

Oh god XD

#

I mean he do be right

stuck peak
#
/// <summary>
/// Gets called when the speed at which necks will break is changed.
/// </summary>
public static event LabEventHandler<Scp173BreakneckSpeedChangingEventArgs>? BreakneckSpeedChanging;
#

yeah I don't think so

unique crane
#

Maybe if you give him whole SL source..

stuck peak
#

oh yes

#

OpenAI here you go!!!

unique crane
upper pike
#

Programming warcrimes

stuck peak
#

what is break?

try {
foreach(something in something)
  foreach(something in something)
    foreach(something in something)
      foreach(something in something)
        foreach(something in something)
          foreach(something in something)
            foreach(something in something)
                throw new Exception("exiting loop!");
} catch{}
stuck peak
#

anything else?

#
  • Added StartingConsumingCorpse
  • Added StartedConsumingCorpse
  • Added ConsumingCorpse
  • Added ConsumedCorpse
restive turret
#

Candy Using event i guess? or it defaults to usingitems?

stuck peak
unique crane
#

Even without hit

#

I would find good use for that

restive turret
#

Yeah sure

stuck peak
#

hm

restive turret
#

StartingHit
StartedHit

stuck peak
unique crane
stuck peak
#

yeah the throw stops all of those for loops

stuck peak
#

idk how else to leave a loop

#

or how to leave an if statement

unique crane
stuck peak
#

also why continue

#

I want to stop

#

πŸ™„

unique crane
#

Using continue; is optional

#

You can just keep the loop running yknow

#

Its gonna stop itself

#

eventually

stuck peak
#

continue means keep going to the next line obviously

unique crane
#

I know

#

I meant it as joke

#

Like

stuck peak
#

it's not optional

#
for(int i = 0; i < 10; i++) {
  if (i == 5)
    continue;
  Logger.Info("i is now 5");
  Logger.Info("logging something else"); // this is never called because of the lack of `continue` on the line above
}

the above would not work because of the missing continue

for(int i = 0; i < 10; i++) {
  if (i == 5)
    continue;
  Logger.Info("i is now 5");
  continue;
  Logger.Info("logging something else");
}
#

you have to add continue; after every line

#

otherwise it leaves the loop

unique crane
#

I meant it like this to end the loop xd (just a joke)

bool found = false;
foreach(Player plr in Player.List)
{
  if(found)
    continue;

  if(plr.Nickname == "test")
    found = true;
}
#

ik what continue is

stuck peak
#

Susge do you?

unique crane
#

gg

stuck peak
#

you are missing a continue

unique crane
stuck peak
#
bool found = false;
foreach(Player plr in Player.List)
{
  if(found)
    continue;

  if(plr.Nickname == "test")
  {
    continue;
    found = true;
  }
}
#

you missed a continue

#

it wouldn't have gone to the next line without the continue so found = would never have ran

#

ugh who hired you

unique crane
stuck peak
#

@upper vapor I've extended Lab# to need continue statements on every line

restive turret
#

Even without foreach

stuck peak
#

yes

unique crane
#

what

stuck peak
#

hope you appreciate the change (it was confusing before when reading the origin cipher)

unique crane
#

tf is Lab#

stuck peak
#

this language

unique crane
#

aha

#

Wait what

#

Chaos Supressor cannot spawn in a mini wave?

stuck peak
#

yes only 2 types of classes spawn in mini waves

#

same for ntf

icy knoll
#

I can't see an event for players running a remote admin / client console command, is there?

stuck peak
#

there is

icy knoll
#

in ServerEvents?

unique crane
#

didnt know that

#

thats cool

icy knoll
#

yup

#

it's in server events

#

ugh

stuck peak
#

yes

#

because there is not guaranteed to be a player

icy knoll
#

does Admin chat events not exist either or am i blind again LOL

upper vapor
stuck peak
#

the first even you asked about does exist RAGEY

icy knoll
#

dw about it

#

im dumb

#

head spinning

#

cant find admin chatting tho

unique crane
#

trying to blame us for everythign smh

icy knoll
#

ofc

#

that's what programmers do when a framework doesnt include smth smh

#

but ye i cant see admin chatting events

unique crane
#

Yeah there probably arent

stuck peak
icy knoll
#

smh

#

github issues it is

stuck peak
#

smh use my transpiler

icy knoll
#

no i cba

stuck peak
#

I will add it sigh

icy knoll
#

good :3

wheat flower
#

me when i cant connect to the labapi beta server (while on client labapi-beta)

stuck peak
#

why is Rider underlining this

wheat flower
#

q

stuck peak
#

yeah

#

but it makes me not be able to tell if it's a q ironically

#

a or g or q

unique crane
#

just click uninstall and then install it back

#

xd

stuck peak
wheat flower
#

i validated the files

stuck peak
#

it has been doing that for some odd reason

wheat flower
#

so erm

unique crane
stuck peak
#

that still won't fix it

unique crane
#

Not enough

stuck peak
#

steam is being dumb

restive turret
#

Kill your pc and restart it

unique crane
#

Hopefully next version it will be fineee

wheat flower
wheat flower
unique crane
#

Yep

upper vapor
stuck peak
#

noted

#

never noticed it until now

upper pike
#

Need to reinstall your entire OS

hearty shard
#

@stuck peak i got a bit too bored

unique crane
#

😐

hearty shard
#

it wasnt me?

#

yeah it wasnt me

#

got hacked

#

trust

balmy zenith
#

@violet basin you weren't lying

balmy zenith
#

what the hell man..

hearty shard
#

r yall crazy

stuck peak
#

@hearty shard if any of those things I've already fixed

#

be prepared to be executed

hearty shard
#

nuh uh

#

id never make duplicate changes

#

trust

#

if anything its ur fault

stuck peak
#

my fault that I am adding all of the events you want

hearty shard
#

hey i cant add events

#

soooo

#

no copy

#

i forgot i was in vc tbh

#

i might actually be dement tbh

icy knoll
hearty shard
#

ur bald

#

sooo im better

hearty shard
#

im bored again

ashen hound
#

I hate big projects

hearty shard
upper vapor
hearty shard
#

naming them 1 2 3 4 5 is crazy

#

😭

ashen hound
#

anyway normally its 6vs6 soo every number is 5 vs 5 etc

#

I didnt make creator of matches aka private ones

hearty shard
#

can u learn english

ashen hound
#

no

#

still doing it

hearty shard
#

idk what to do kek

ashen hound
#

ITS TEMPORARY

#

because its low amount of people AAAA

hearty shard
ashen hound
#

thats why its just multiple TDMs

hearty shard
#

i didnt make creator of matches

upper vapor
#

MatchFactory?

#

or something like that?

ashen hound
#

REE

#

XDd

#

Kurwa

hearty shard
ashen hound
#

option to create private match is not available currently, thats reason why I do have this garbage of TeamDeathmatchX

hearty shard
#

aha

#

funky

ashen hound
#

bruh I wanted to edit this message but discord said hold up, lets freeze entire discord...

hearty shard
#

yeah that happens

ashen hound
#

entire code

ashen hound
#

in case of gamemodes I tried to make this simple very much

upper vapor
#

i need to refactor my gamemode system becaues it's uh

hearty shard
#

troll

#

@true cedar cheese

true cedar
#

wow this is thrilling

ashen hound
hearty shard
#

killers is goated at the game trust

upper vapor
ashen hound
#

me when size changing

hearty shard
#

kek

hearty shard
#

im just here

upper vapor
true cedar
hearty shard
#

cook 3.0 rn

ashen hound
#

my hints system is simple and just works for anything

#

I can set just text on center/left/right etc

upper vapor
#

why not add extension methods for tags

hearty shard
#

nuh uh

ashen hound
#

raah

hearty shard
#

rawr

ashen hound
upper vapor
hearty shard
ashen hound
#

dont even start pls

#

dont awake people xdd

hearty shard
#

😭

#

what does this mean

languid temple
hearty shard
#

hi miller

#

do you eat rocks

languid temple
upper vapor
#

bruh

unique crane
#

what

ashen hound
#

who wants my furry avi

languid temple
hearty shard
languid temple
#

sand is yummy

hearty shard
hearty shard
#

even better

languid temple
#

mhmmm

#

yummy crunchy

unique crane
#

samb

hearty shard
#

hi david

unique crane
#

hi

hearty shard
#

did you like my pr

unique crane
#

yes :3

hearty shard
#

yippie!

unique crane
#

i love it

languid temple
#

Eve tell me a plugin idea and I'll try to create it (something simple)

hearty shard
#

its only 99% nitpicking, couldve been 100%

hearty shard
#

fix candy utils for me

languid temple
#

do what

hearty shard
#

labapi doesnt have ev.Candy or ev.ShouldSever

#

fix it PI_teehee

#

they wont recode 330 for me >:(

unique crane
#

no

hearty shard
#

wdym no

unique crane
#

hehe

#

maybe

languid temple
#

I might be able to do it

#

except the sever stuff

#

I'm not touching that

hearty shard
#

damn πŸ’”

languid temple
#

I'll try

#

But I'm going to yoink your translation stuff

#

I'm lazy to write my own

hearty shard
#

me when fork exists:

ashen hound
#

ITS NOT SCPSL, ITS VRCHAT madgus ( some people already asked to make some worlds for vrchat including latest SCPSL content like HCZ to allow community to enjoy and record stuff inside VR )

hearty shard
languid temple
hearty shard
#

(cutely)

#

its not a threat, its cute

#

trust

languid temple
unique crane
#

Oh yea Ive seen that one before

hearty shard
upper vapor
ashen hound
#

ohh no

#

mapgen?

#

uh oh yy idk

#

baking maps will be the best for better perf in case of vrchat worlds

hearty shard
hearty shard
#

or only maps

upper vapor
hearty shard
unique crane
#

WHAT

hearty shard
upper vapor
ashen hound
#

be aware I joined vrchat in 2018 and most time its on desktop not even on vr

hearty shard
#

uh

#

ok i didnt send the wrong on

#

good

unique crane
hearty shard
#

enjoy that

unique crane
#

I've seen this one before

hearty shard
#

oh

#

...

unique crane
#

Also sending memes in non-memes channel?

#

Banned

hearty shard
#

im abandoning yall for a bit

hearty shard
#

not a meme

#

its uh

#

its

unique crane
#

its?

hearty shard
#

a threat

ashen hound
#

ICED TEA huh

#

WHERE?

unique crane
#

Are you threatening me?

hearty shard
hearty shard
upper vapor
#

@hearty shard shouldn't remakrs be outside of the summary tag

#

(yes i just nitpicked your nitpick)

ashen hound
upper vapor
#

nvm i couldn't even spell it

hearty shard
#

istg i put it outsidee

#

where

#

oh

#

that one

#

ok lemme fx

#

fix

upper vapor
#

also the nitpicks are good imo
those subtle red squiggly lines under "whether or not" are very annoying
same for missing spaces

hearty shard
#

YEAH

#

SEE

#

IT MADE ME GO INSANE

upper vapor
#

gotta πŸ‘ enforce πŸ‘ code πŸ‘ style πŸ‘

unique crane
#

Rider?

hearty shard
#

yes

unique crane
#

skill issue

#

VS doesnt say that

hearty shard
#

its not even the fact that rider says it

upper vapor
hearty shard
#

its just me complaining

icy knoll
#

can we please add stylecop to labapi πŸ™

hearty shard
#

NO

#

THAT GETS RID OF ME

#

WHATS MY PURPOSE THEN

icy knoll
#

it will make us remember to put summaries

#

smh

upper vapor
hearty shard
icy knoll
hearty shard
#

thats .pdb file generating

icy knoll
#

ye

upper vapor
#

huh

hearty shard
#

basically

upper vapor
icy knoll
#

that shows the documentation

hearty shard
#

when you use labapi

#

oh

#

its xml

#

close enough

upper vapor
#

lmfao

hearty shard
#

😭

upper vapor
#

"documentation" (debug symbols)

#

sure sure

icy knoll
#

doesn’t that make the documentation show up when you hover over stuff in labapi?

#

like how exiled has it

upper vapor
#

yeah as long as the dev has it sourced

#

either via nuget or by getting the xml

unique crane
#

If you have the doc xml file

#

yea

hearty shard
#

my toe hurts

#

idk why

#

david did u like the cheese

icy knoll
#

stub it, it will hurt less

unique crane
hearty shard
#

im gonna stub you

icy knoll
hearty shard
#

finish it please

hearty shard
#

put it in your files

#

gg

#

ez

icy knoll
unique crane
hearty shard
#

carried

#

or that

unique crane
hearty shard
#

^^

icy knoll
#

honestly you guys should either make a nuget package of make github releases with the .dll and the .xml

unique crane
#

gg

hearty shard
#

😭

hearty shard
#

that makes life easier

#

life shouldnt be easy for you

icy knoll
#

buddy, exiled made my life easy

#

now i gotta make a billion feature requests for labapi smh

hearty shard
#

deleting exiled

hearty shard
icy knoll
hearty shard
#

deleting YOU

#

tbh

icy knoll
ashen hound
#

any % make custom items/roles

hearty shard
#

it exists

icy knoll
hearty shard
#

FROM SL

icy knoll
#

does it even work smh

hearty shard
#

YES

#
public static Team GetTeam(this RoleTypeId role)
    {
      PlayerRoleBase result;
      return !PlayerRoleLoader.TryGetRoleTemplate<PlayerRoleBase>(role, out result) ? Team.OtherAlive : result.Team;
    }
icy knoll
#

smelly

hearty shard
#

ur so BAD

icy knoll
#

@stuck peak probably should remove it from ur internal pr lol

hearty shard
#

πŸ’€

faint sparrow
hearty shard
#

yall suck

hearty shard
#

thanks πŸ™

#

hi riptide

#

do not