#plugins-dev-chat

1 messages · Page 172 of 1

icy knoll
#

so

#

don't do it every frame

spare zodiac
#

omfg

icy knoll
#

cache it

restive turret
#

Well mostly my time getconponent come in places where can't reference smth so

#

But I would definitely cache something like 3-4 monobeh on an item for example

spare zodiac
#

I've made my cache monobehaviour that caches automatically the object

#

which is SteamHappy

restive turret
#

My is just simple/shit

#

Aint much but get the job done

#

My favorite

public class BulletComponent : MonoBehaviour
{
    public BaseBullet Bullet;
}
slate flume
#

The inherent problem is I want to detect when a player shoots a ragdoll

#

I just don't know how to make that possible

restive turret
#

Ye idk how u could do that tbh

#

I didn't really do much with ragdoll despite making pr fixing some bugs in spawning them & the wrapper update

restive turret
#

That exist?

#

Nice

slate flume
#

Make it happen computer boy

restive turret
#

Bruh i literally started searching that

#

Wait it actually has networkvehaviour

slate flume
#

No way

restive turret
#

RagdollData

#

Mayhaps idk if when for example killed with force will send to right coord or smth

#

But it says startpos/rot so

#

StandardDamageHandler ProcessRagdoll

slate flume
#

Which exacerbates in a chaotic system

upper vapor
#

i did this to remove the RA player list patch

private static string RemoveCedModPatch()
{
    var type = AccessTools.TypeByName("CedMod.CedModMain");
    if (type is null)
        return null;
    var harmony = type.StaticGet("Singleton")?.Get<Harmony>("_harmony");
    if (harmony is null)
        return "Could not find CedMod's Harmony instance.";
    var method = AccessTools.Method(AccessTools.TypeByName("CedMod.Patches.RAProcessPlayerPatch"), "Prefix");
    if (method is null)
        return "CedMod player list patch was found but without the prefix method.";
    harmony.Unpatch(AccessTools.Method(typeof(RAUtils), nameof(RAUtils.ProcessPlayerIdOrNamesList)), method);
    return "Removed the CedMod player list processor patch.";
}
#

server position on the server, client position on the client

#

it has a netid otherwise it wouldn't be very convenient to spawn one Kek

#

^^^^

#

especially when ppl do it multiple times in the same method

slate flume
upper vapor
slate flume
upper vapor
#

Pretty sure guns only send the refhub the client tried to shoot

agile tartan
#

All I did is returning a fake role in FpcServerPositionDistributor.RoleSyncEvent.

upper vapor
#

You could fake the health stat if you don't actually want to change the hp

agile tartan
upper vapor
agile tartan
upper vapor
#

Wait a dam minute

#

That should only happen when they actually take damage

#

May be because of the client animator

#

Just for clarity,this doesn't happen when you set the role normally, right?

#

E.g. through RA

agile tartan
#

yes

#
private static RoleTypeId FpcServerPositionDistributor_RoleSyncEvent(
        ReferenceHub hub,
        ReferenceHub receiver,
        RoleTypeId roleType,
        NetworkWriter writer)
    {
        if (FakeRoleMap.TryGetValue(hub, out var viewerMap) &&
            viewerMap.TryGetValue(receiver, out var fakeRole))
        {
            return fakeRole;
        }
        
        return roleType;
    }
upper vapor
#

You can use the SyncedStatMessages.StatMessage to fake HP

restive turret
#

Maybe it runs on damaged and it runs the thing since se the HP is different?

upper vapor
#

yeah that's what i assumed

#

but there's a subroutine that handles this server-side and sends an rpc to clients

restive turret
#

Ye only server so idk how maybe run an event that shows damages and you might see idk

upper vapor
#

but there's no damage, it's just fake syncing the role

restive turret
#

Ye

#

I have zero clue about that then

unique crane
#

I would check 939 animator

restive turret
#

Bc rpc should call it but rpc never should be called since there a fake role

upper vapor
#

check the animator i guess

unique crane
#

if its client side

upper vapor
#

ya

unique crane
#

I think it runs on shield break?

upper vapor
#

that could be it, too

restive turret
#

It runs on damaged and do extra check

#

Scp939Model.PlayDamagedEffect

#

Or
Scp939DamagedEffect.OnDamaged

harsh thorn
upper vapor
#

I just don't worry about it toomuchtrolling

harsh thorn
#

that works too

worn gull
#

When I die in pocket (with effect or failed to escape) which DamageHandler it uses?

worn gull
#

Thanks

warped prairie
#

Rust content is entertaining asf to watch.

worn gull
#

Hey where is the Wave animation called when a wave is spawning, I can't find it

restive turret
#

IWave.. something

#

Will check when on pc otherwise you can use dnspy too

icy knoll
#

IAnimatedWave

restive turret
#

WaveAnimationBase.OnWaveTriggered

icy knoll
#

or that, yeah

restive turret
#

This is where its been called to do anything when spawned

upper vapor
sinful bronze
#

smart labapi users

#

one questions

#

if i need to change max size of squad in wave

#

can i do it without patching

restive turret
#

something size_percentage

upper vapor
sinful bronze
#

i know

upper vapor
#

RespawnWaves

restive turret
#

isnt it a get only?

upper vapor
#

From there you can access and modify the waves' configs

upper vapor
restive turret
#

oh ye right it has setter for it too

upper vapor
#

@solid mica I see you reacted to a message of mine from 4 months ago 😭

restive turret
#

🔥

pseudo kelp
#

How to obtain a server build with profiler enabled?

worn gull
#

Hwo can I make custom subtitlepart?

restive turret
#

wdym

restive turret
#

new SubtitlePart(Subtitle.Custom, "my funny subtitle here?")

barren pasture
#
var cassieMessage = new CassieAnnouncement(cassiePayload);
cassieMessage.AddToQueue();```
restive turret
#

or that ye

upper vapor
unique crane
upper vapor
#

Best you can do is measure calls with Stopwatch

unique crane
#

Or try external profilers

pseudo kelp
#

sad 🙁

restive turret
#

Tracy is a great profiler

#

as I heard by other .net devs

upper vapor
#

You'd need to get the max health from the role templae

#

Check PlayerRoleLoader

agile tartan
upper vapor
#

No

#

Every role will have a MaxHealth property

agile tartan
upper vapor
#

Right, I foegor that some roles aren't fpc skullbutreal

PlayerRoleLoader.TryGetRoleTemplate(out FpcStandardScp role);
role.MaxHealth
#

This should do the trick

#

Also make sure not to access the property if the method returned false

agile tartan
upper vapor
#

Maybe if you sync max HS too?

agile tartan
#

He always get shot by AK with suppressor.

upper vapor
soft turtle
#

How change the teleport location when exiting the SCP-106 dimension?

upper vapor
restive turret
#

Patch
GetBestExitPosition

#

There isn't a position you can edit

soft turtle
#

Nice

#

Ok

restive turret
#

Or PocketDimensionTeleport.Exit

soft turtle
worn gull
#

But the announcement is played

celest thorn
upper vapor
#

Huh

celest thorn
#

btw i need some help with something

#

how could i make a minimap system (NOT FOR SL), that overlays on top of a game? should i make a react and Electron

soft turtle
#

Is there a plugin here so that SSSS can be used in multiple plugins?

celest thorn
#

you can make it yourself

celest thorn
#

everytime i do that

upper vapor
celest thorn
#

im gonna do that myself instead of relying on a prick who wants MY MONEY (12 Euros a month) for some fuck ass feature i can do myself

celest thorn
#

pretty much its gonna be complex

#

OCR

#

etc...

upper vapor
#

Not sure but maybe Avalonia had a transparent window mode

upper vapor
#

Idk how to do that xd

celest thorn
#

because it needs to run on a browser

upper vapor
#

There's some native windows apps you can use but they're rather janky

celest thorn
#

the only problem is "the size"

#

Some text are in russian

#

so better not

upper vapor
#

At some point I tried a cross platform .net screen capture library

upper vapor
celest thorn
#

to solve the problem before i made an electron app that like overlays and can be hidden and streams the browser

#

which is a good idea

#

the only problem is middle of the map i need to change for example if i need to go to a bunker

restive turret
#

c++ and cef

celest thorn
#

so i could be fucked by a scav

#

because for some REASON SCAVS are dumb asf or AIMBOT master 3000x

restive turret
#

IF run by unity you can actually use something in unity to display stuff

celest thorn
#

I would get banned

#

instantly

restive turret
#

AND THE OVERLAY DONT?:??

celest thorn
#

EAC doesn't detect them

upper vapor
#

Yeah you're banned from earth

restive turret
#

bro you hook fucking DX function of VK and even keyboard one

#

you def get banned

celest thorn
#

have been running it for like 2 weeks

#

no ban

#

no nothing

#

daily use from 6 am to 1 am

restive turret
#

is it actually overlay or just an application that doesnt even use the game

celest thorn
#

and the devs don't care people have maps

celest thorn
restive turret
#

then thats why

celest thorn
#

every small shit you do to the game you get banned

restive turret
#

most overlay hooks into the game

celest thorn
#

the only thing i have

#

if i click the screenshot i have perfectly my rotation and position

restive turret
#

Discord, Steam, any other store overlay too

celest thorn
#

this is my tarkov screenshots btw

#

every screenshot is me checking my position

#

on the map

#

so yea what should i use?

#

like i would use electron but the size is massive

#

for no reason

#

aside embedding a fucking chrome instance

upper vapor
upper vapor
celest thorn
#

2026-01-05[15-26]_-181.92, 23.22, -410.88_0.00000, 0.00000, 0.00000, 1.00000_8.13 (0).png

#

and this is the screenshot

hearty shard
#

guh

hearty shard
celest thorn
#

OCR might not work

unique crane
#

Zero

#

Hai

celest thorn
#

how you doing?

unique crane
#

Alive

#

for now

upper vapor
celest thorn
#

btw i love unity

#

unity saves all the logs in a random ass folder and the devs lovely left console messages for everything fucking update

#

(Sadly not saying where AI is that is not a log)

#

like logs for when you complete a subtask EVERYTHING

#

so gold mine i stumbled upon

restive turret
#

Tarkov?

#

You had no idea what goldmine i stumbled before game transitioned to il2

celest thorn
#

bro BSG i love their love for logging EVERYTHING

#

i went back to check some logs EVEN TASK UPDATES

#

im crying

#

i can finally know what tf am i doing

celest thorn
restive turret
#

the algoritm they choose to verify any files

celest thorn
#

thats bad...

restive turret
#

only me and like 3 other known and thats it, it was fun, also jsut to say, I DID NOT Cheated on it

#

i have an account and used to get only the rsp and that it

celest thorn
#

for it

restive turret
#

not really played an account tbh

celest thorn
restive turret
#

i run via random gear too

#

so only escaped with that i found in raid

celest thorn
restive turret
#

ya

celest thorn
#

i mean i like going scav

#

because its relaxing

#

but then you find killa and he will DESTROY you

#

(best map is interchange)

restive turret
#

i only played on factory

celest thorn
#

i swear i've never proven so much anxiety for a map in a game

#

tagilla is the only one i've proven anxiety, like you are telling me i can hear only him breathing and has class 6 Helmet and class 5 armor????

sinful bronze
#

destroy me

restive turret
#

huh

sinful bronze
#

My name is icarus

restive turret
#

The bus

hearty shard
#

employment

vast canopy
#

Why i openned this chat and saw some sbeu-tarkov talkin

upper vapor
plain gazelle
#

is there a way to print all harmony patches?
idk whats causing my issues

upper vapor
icy knoll
upper vapor
#

idk but doesn't matter

#

iirc it's instance

#

but it gives you every patched method, including patches from other harmony instances

icy knoll
#

really? i thought it would look into only that instance of the harmony class, not detect everything patched

upper vapor
icy knoll
#

using a instance method instead of static method

#

gotta love it

upper vapor
#

like UnpatchAll

upper vapor
#

if you don't provide an id (default) it unpatches literally everything

plain gazelle
#

i cant get my npc dummy to rotate waaaaaaaaaaaaa

unique crane
restive turret
#

Lmao

plain gazelle
#

Nothing worksssssss

restive turret
#

R u sure dummy exist and a fpc role

plain gazelle
#

Dummy

sinful bronze
#

Game preview

hearty shard
# plain gazelle Nothing worksssssss
public void LookAt(Quaternion rotation)
        {
            if (Controller.RoleBase is not IFpcRole fpc)
                return;

            if (rotation.eulerAngles.z != 0f)
                rotation = Quaternion.LookRotation(rotation * Vector3.forward, Vector3.up);

            Vector2 angles = new(-rotation.eulerAngles.x, rotation.eulerAngles.y);

            ushort hor = (ushort)Mathf.RoundToInt(Mathf.Repeat(angles.y, 360f) * (ushort.MaxValue / 360f));
            ushort vert = (ushort)Mathf.RoundToInt(Mathf.Clamp(Mathf.Repeat(angles.x + 90f, 360f) - 2f, 0f, 176f) * (ushort.MaxValue / 176f));

            fpc.FpcModule.MouseLook.ApplySyncValues(hor, vert);
        }
#

@plain gazelle

#

this is

#

old code tho

unique crane
#

Thats 2 year old code when we didnt have the message eve

hearty shard
#

idk how old but like a year i think

unique crane
#

Silly

unique crane
#

Not adding it or anything

#

That seems like the ok result imo

#

Forward + middle vertical

plain gazelle
#

I just want this Dummy to rotate 180° and stay in that position forever

#

Its spawning facing the wrong way

#

qwq

unique crane
#

CurrentHorizontal = 180?

plain gazelle
#

Its supposed to look at the elevator there

upper vapor
#

you have to set it every frame skullbutreal

plain gazelle
#

As if :(

upper vapor
#

idk why

plain gazelle
upper vapor
#

try setting _syncHorizontal too

ashen hound
#

@upper vapor why chat in hangout is disabled madge

#

mods!

plain gazelle
#

why can non plugin devs join the vc
so many join, say something in a foreign language with a -2€ mic that peaks during silence and then leave

ashen hound
#

what is going on

#

why one joins and then yoho

unique crane
#

Ill ask quincy

ashen hound
#

I asked in staff general

plain gazelle
#

probably got forgotten to be unlocked

ashen hound
#

@plain gazelle soo you wanna just npc rotate via code yas?

plain gazelle
#

Yes

#

once, 180°

ashen hound
#

but currently does nothing?

#

I know maybe why

#

UpdateRotation is executed and overrides your stuff

#

soo in this patch do FpcRole.FpcModule.MouseLook.CurrentHorizontal = your angle or soemthing

restive turret
#

Get fpc & fpcmodule
fpcModule.MouseLook.LookAtDirection(moveDirection);

plain gazelle
#

doesnt work

restive turret
#

What the hell patches do you have then

upper vapor
ashen hound
#

@plain gazelle just yeah you need to make sure its that dummy

restive turret
#

Ah

ashen hound
#

do some magic with __instance._hub and checking if thats dummy

#

@plain gazelle just do this patch and anywhere you can just do FpcRole.FpcModule.MouseLook.CurrentHorizontal

#

and it should just rotate fine

#

compile and try o

#

if you set it would be always 180 soo yeah

#

imagine if my brain head fixed it

#

@plain gazelle you dont need to every frame just once

plain gazelle
#

Thank you @ashen hound and @upper vapor !!

#
[HarmonyPatch(typeof(FpcMouseLook))]
public static class FpcMouseLookPatch
{
    [HarmonyPrefix]
    [HarmonyPatch(nameof(FpcMouseLook.UpdateRotation))]
    public static bool OnUpdateRotation(FpcMouseLook __instance)
    {
        if (__instance._hub != CharacterPreviewDummy.Dummy.ReferenceHub)
        {
            return true;
        }

        __instance.CurrentHorizontal = 180f;
        return false;
    }
}
ashen hound
#

soo mostly dummies execute this thing

#

FpcPositionMessage was sent

#

and it overides position each lat update

#

you want to hide normal dummy?

#

@plain gazelle magic code

#

do referenceHub.serverRole.HideFromPlayerList = true

#

it works only for dummies

plain gazelle
#

But how to prevent the "Delete all dummys" button to kill a dummy

ashen hound
#

whats wrong with dummies Sadge

restive turret
#

patch

#

u have to patch the code

ashen hound
#

you can hide dummies from playerlist or rotate

#

do I need to create some API for it lol?

#

BetterDummiesAPI

restive turret
#

Or just add into labapu

sinful bronze
#

labubu

worn gull
worn gull
soft turtle
#

What method assigns player roles at the start of a round?

upper vapor
#

There's a method for spawning SCPs and another one for humans

soft turtle
upper vapor
#

Cuz first it spawns scps and then the remaining are humans

soft turtle
upper vapor
#

Idk, just decompile role assigner

unique crane
#

These two

#

Being called in
RoleAssigner.OnRoundStarted()

soft turtle
#

Thx

worn gull
#

How does the SoundtrackMuteEffect works?

hearty shard
#

client handles that

worn gull
hearty shard
#

yes

#

the effect handles it on client side

worn gull
#

Ah

hearty shard
#

its checked from SoundtrackLayerBase

worn gull
#

And if I give that for a player why it doesn't mute it?

hearty shard
#

doesnt mute what specifically

worn gull
#

The Soundtracks

#

Like when you're watching an SCP

hearty shard
#

chase music

#

?

worn gull
#

Yeah

hearty shard
#

doesnt seem to be checked ín it

#

bug idk

worn gull
#

That's nice bruh

restive turret
#

I dont think that connect to chace music

worn gull
#

Then I will just make a patch for SoundtrackLayerBase.IsMutedForPlayer

restive turret
#

Y'know that many stuff isnt actually transfered between server and client

icy knoll
worn gull
#

Yeah 🙁

icy knoll
#

reminder that lots of data from the client is sent to the server, but it is not sent back.

worn gull
#

Ah

teal junco
#

Fucking finally

upper vapor
#

Chase themes cannot be muted currently on a player-specific level

soft turtle
#

Is there a setting in ServerSpecific that would allow me to display text to the player?

icy knoll
#

you can make text settings and make them server only

hearty shard
icy knoll
#

so they cant be edited

#

i still dont know how server only settings are saved 😭

hearty shard
#

no clue

#

havent updated secretapi for server only much other than just

#

adding the CustomSetting::IsServerOnly or smth

#

idk

icy knoll
#

you should test how it works TrollDespair

hearty shard
#

not my problemo

#

i dont even have client

#

lmao

icy knoll
hearty shard
#

ill make an update on it eventually ig

icy knoll
#

making secretapi whilst not playing the game

hearty shard
#

well yeah

#

was this not known info

icy knoll
#

no

upper vapor
icy knoll
#

anyway, i should get working on my dependency tomorrow

#

gunna be peak

#

hopefully

upper vapor
upper vapor
#

it looks awful ngl

cyan crown
snow pulsar
#

I feel as if something stupid like that is going to show up again because of a plugin for MER

worn gull
#

ProjectMER 🤓 ☝️

snow pulsar
#

Still MER
PMER is weird to say

restive turret
#

meoweditor

snow pulsar
#

Then you have AMERT, MERO, MERT, and so much more

#

I remember that, but those devs aren't on SL primarily anymore

worn gull
restive turret
#

no

#

meoweditor is maro and zeros work

static meteor
snow pulsar
ashen hound
#

imagine creating things than expanding something without need to use plugin for it

icy knoll
#

@mild ice @languid temple

#

@thorn escarp too as ur active

#

(and they sent to another channel too yippie)

thorn escarp
icy knoll
#

ty ty

soft turtle
#

How to display a warning to a player in Server-Specific?

soft turtle
# hearty shard hm?

How to display a message when a button is pressed, like a warning that the player did something wrong?

hearty shard
#

prob just a text setting saying it

#

i think you can use color tag in it like hints, but im not fully sure

gloomy thicket
#

surely

celest thorn
hearty shard
#

why r u a peanut

celest thorn
#

they are kinda weird

gloomy thicket
#

and i dropped 113 bucks on a damn hoodie

#

of 173

soft turtle
#

Is it possible to add a default KeyCode to SSKeybindSetting that will be assigned to the player?
When a player connects to a SSKeybindSetting server without a bind

soft turtle
hearty shard
#

you can give a default for the player, but it wont auto assign

#

they still need to accept the default

upper vapor
# soft turtle 🥹

Yeah you'll need to yell at them to make sure they set their settings (there will still be stupid ppl)

soft turtle
hearty shard
#

but server has no access to the actual value

soft turtle
hearty shard
#

use SSKeybindHintParameter

soft turtle
upper vapor
#

You give it the setting id

hearty shard
#

player.SendHint("something", new HintParameter[] { new SSKeybindHintParameter(2) });

#

i

#

thats not valid i dont think, but its smth along those lines

#

player.SendHint("KEY: {0}", new HintParameter[] { new SSKeybindHintParameter(2) });

#

this maybe?

#

im not 100%

soft turtle
#

Hmm

hearty shard
#

@true cedar might know

upper vapor
#

Here

hearty shard
#

ok so it is {0} string formatting

#

okay!!!

upper vapor
#

Tell

#

Yep

hearty shard
#

broadcasts dont have the same features as hints

icy knoll
hearty shard
#

thats what theyre saying

icy knoll
#

and size too

soft turtle
hearty shard
#

and have "multiple" hints

#

HI LUCY

mild ice
#

One day someone has to make an easier way to do this lol

hearty shard
hearty shard
#

jk theyre busy being LAZY!

mild ice
hearty shard
#

lucy please explain why theres 2 roles

hearty shard
mild ice
hearty shard
#

isnt that what admin override could do

mild ice
hearty shard
#

so what ur saying is...

#

ur not trusted...

#

valid

mild ice
#

System of least privilege = More secure server

hearty shard
#

they should just make a Senior Senior Admin Override Trol

hearty shard
#

and then ofc theres hubert above that

#

but senior senior

#

yk yk

restive turret
#

the server creator has all the permission

hearty shard
#

smh

hearty shard
#

oi

#

@restive turret help

#

for (int i = 0; i < MaxChecksAllowed; i++)

#

am i stupid

#

i is set to 0
MaxChecksAllowed is 10
if 0 is less than 10 then do code

#

but

#

rider says im wrong

upper vapor
#

it does this 10 times

#

9 included

#

10 isn't

hearty shard
#

ok but

#

rider says its always true

#

and that i++ is unreachable

upper vapor
#

show screenshot

hearty shard
upper vapor
#

do you have another i

hearty shard
#

i set it to 15 to test if it was const

hearty shard
upper vapor
#

restart ide

restive turret
hearty shard
#

damn

upper vapor
#

or you could just do

#

foreach (var i in 0..10)

restive turret
#

this works too

hearty shard
#

its fine i dont need the i, i just need 10 loops max

icy knoll
hearty shard
#

even the while loop did it which is why i was so confused

#

lmao

upper vapor
hearty shard
#

rider restart didnt fix 💀

upper vapor
#

run this

restive turret
#

ignore rider then

hearty shard
#

no compile

#

Error CS0162 : Unreachable code detected

upper vapor
icy knoll
#

uninstall windows

hearty shard
#

lmao

hearty shard
upper vapor
hearty shard
#

yes.

#

this is the first time ive had this issue

#

omfg

#

it works in other file

#

so it has to be that file

#

but i dont define i in there

upper vapor
#

rm -rf --no-preserve-root /

hearty shard
#

oh

#

hmm

#

i see

#

turns out

#

youre not allowed to return true inside the for loop

#

hmm

upper vapor
#

what

#

well

#

if you have no condition in the loop

#

then yea you aren't

hearty shard
upper vapor
#

for (;;) return true

#

does nothing

hearty shard
#

i have other code is the thing

upper vapor
#

show the full code

hearty shard
#
public static bool TryGetSafeTeleport(this IFpcRole fpc, [NotNullWhen(true)] out Vector3? position, FacilityZone zone = FacilityZone.None)
        {
            position = null;

            IEnumerable<Pose> poses = zone == FacilityZone.None
                ? SafeLocationFinder.GetLocations(null, null)
                : Scp106PocketExitFinder.GetPosesForZone(zone);

            for (int i = 0; i < MaxChecksAllowed; i++)
            {
                if (!poses.TryGetRandomValue(out Pose pose))
                    break;

                float radius = DefaultLocateRadius;
                if (Room.TryGetRoomAtPosition(pose.position, out Room? room))
                    radius = Scp106PocketExitFinder.GetRaycastRange(room.Zone);

                Vector3 pos = SafeLocationFinder.GetSafePosition(pose.position, pose.forward, radius, fpc.FpcModule.CharController);

                position = pos;
                return true;
            }

            return false;
        }
upper vapor
#

are you dumb on purpose

hearty shard
#

yes

icy knoll
#

you dont continue

hearty shard
#

i dont really know loops in C# lmao

icy knoll
#

anywhere

upper vapor
#

the definition of insanity is doing something over and over, expecting a same outcome

hearty shard
#

rightt......

icy knoll
#

so it always hits return

#

lol

upper vapor
hearty shard
#

oh cuz

#

the break

#

instead of

#

continue

#

...

icy knoll
#

yes

#

break, breaks the loop

hearty shard
#

my bad

icy knoll
#

no more calls

hearty shard
#

smh

icy knoll
#

continue uses the next instance

#

return, returns code from the method

upper vapor
#

you know you might roll the same value multiple times

#

just use a list

hearty shard
#

true

upper vapor
hearty shard
#

i just havent put much effort into making it the most optimal

#

it just needs to somewhat work

hearty shard
#

and its mental tiredness not physical

upper vapor
#

it's literally 0 effort to sleep

hearty shard
#

it is when you need 3 pills to sleep

upper vapor
#

ah

hearty shard
#

and even then it takes a bit

#

as in like 10-30 minutes even w meds

#

lmao

upper vapor
#

erm

#

have you considered

#

telling the doctors to fix it

hearty shard
#

what r they meant to do

#

more pills?

upper vapor
#

magic

hearty shard
#

smh

#

i mean

#

its gotten better

#

w meds

upper vapor
hearty shard
#

did have to try out like 3 different meds just to fix it

#

lmao

#

tldr it worked w a bit of melatonin, then i had to increase it, then i stopped needing it, then i needed it again, and then i needed another increase and then i needed to try 3 different meds, and now im on melatonin + smth else

#

lmao

halcyon folio
upper vapor
#

right

#

drake laptop gif

hearty shard
#

ax forgets

#

hes not the brightest

upper vapor
#

dementia is a thing that affects some people

#

dementia is a thing that affects some people

halcyon folio
#

You forgot to break out of the loop when the condition was met

upper vapor
#

what condition

halcyon folio
#

the condition

upper vapor
#

what condition

halcyon folio
#

the condition

upper vapor
halcyon folio
warped prairie
#

Drake a computer wiz

plain gazelle
#

In the BanIssuing event, how can i check if the target is a specific user, like via ReferenceHub?

#

I dont fully understand BanDetails

icy knoll
#

Here is what I did

plain gazelle
#

Thank you

icy knoll
#

congrats @unique crane on ur first announcement!!! :3

sinful bronze
#

why jesusqc died

icy knoll
sinful bronze
#

sad

#

bit

#

but

#

DAVID CONGRATS WE LOVE U

plain gazelle
#

Please leave the Waterbottle in the game for us Devs after Christmas update gets removed 🙏
Please leave the Waterbottle in the game for us Devs after Christmas update gets removed 🙏
Please leave the Waterbottle in the game for us Devs after Christmas update gets removed 🙏

plain gazelle
#

Its so awesome for us roleplay servers tho

#

:(

icy knoll
#

that's the problem

sinful bronze
#

rp servers

plain gazelle
#

We no longer have to roleplay drinking cola

icy knoll
#

it wont feel special if people have it year round

#

😭

languid temple
worn gull
#

Leave the christmas event after christmas update trollface

sinful bronze
#

btw bottle code is fun

#

bottle linked to marshmallow and marshmallow linked to holiday events

#

no holiday -> no marshamallow -> no bottle

upper vapor
#

#if CHRISTMAS
AddBoOOhWoAh();
#endif

plain gazelle
#

Sparkles pretty please Sparkles

sinful bronze
#

plz add hubert moon

plain gazelle
#

Instead i would also accept adding a way to modify the Medkit's primary color via code 🙏

unique crane
remote cosmos
#

Welcome David as the new LabAPI lead btw

unique crane
#

(I did one today...)

plain gazelle
cyan crown
#

i think the waterbottle uses multiple different system keeping it for later will probably break it since those scripts might get updated

unique crane
upper vapor
sinful bronze
#

David is doing everything according to plan

plain gazelle
#

You dont even have to have it in the RA 🤫

cyan crown
unique crane
#

The humblous anti 207 effect

plain gazelle
upper vapor
#

what the

cyan crown
#

for fps and tps

plain gazelle
#

ah i wouldve assumed the drinking animations stayed ingame, just not the effect it does on consumption

worn gull
plain gazelle
#

also, david, custom map generation when
every room has a netid on its root object when
eyes

cyan crown
plain gazelle
sinful bronze
#

we have event candy

#

without effects

#

make schem for third person and done

upper vapor
plain gazelle
#

scammmmm

worn gull
#

Xd

sinful bronze
#

free money

plain gazelle
#

mods kill him

cyan crown
#

get a job

worn gull
#

Crazy

cyan crown
#

@languid temple time to kill someone

#

1308775730523410492

languid temple
#

already handled

cyan crown
#

thanks

sinful bronze
#

mods removing images only after using

upper vapor
#

COME ON

sinful bronze
#

miller is billionaire

plain gazelle
upper vapor
cyan crown
#

kill *

upper vapor
#

in minecraft

#

erm

sinful bronze
worn gull
#

Nothing 👁️ 👁️

sinful bronze
#

fake item for third person as cola bottle

plain gazelle
#

Bro what the fuck is that gif

upper vapor
#

bruh what are these eyes emojis 😭

upper vapor
#

so cursed

worn gull
#

👁‍🗨

upper vapor
hearty shard
#

damn

sinful bronze
plain gazelle
#

@languid temple is there a ticket bot or sth or can i send sth in DMs

languid temple
#

@surreal kiln

sinful bronze
#

dm me

upper vapor
#

click 30000 times to find hubert

hearty shard
#

maybe

#

wait

#

i meant to send in secretapi

#

whoops

halcyon folio
#

Same picture of Hubert on the card model

cyan crown
#

i don't know if it is still hubert face after the keycard rework

halcyon folio
#

I think it got fixed

upper vapor
#

pretty sure it still works

halcyon folio
#

I found out about it with a concept I created some time back

upper vapor
#

let me test (if the kernel doesn't kill sl)

halcyon folio
#

Make a new card within the Unity Editor

cyan crown
#

old keycardds used to swap only materials now there is 3 models i think each of them have their own texture set

halcyon folio
#

And register it

cyan crown
#

won't get merged

halcyon folio
#

I made a "breaking card" concept back in 2024-2025

#

When testing I saw Hubert on the card heh

snow pulsar
#

I've seen the hubert keycard in the unity editor

halcyon folio
#

Hubert's blessing

upper vapor
plain gazelle
#

Hmmm, something with my RoleSyncEvent is crashing my connection to the server

#

I stay in the server locally but nothing updates anymore and server console says i left

#

god how do i debug this

#

@languid temple

#

How many of these happen in a day here, jeez

languid temple
#

!softban 1015997891287994428 account compromised; chnage password

regal lakeBOT
#

Done. Enough chaos.

languid temple
#

Ty AhriHeart

languid temple
plain gazelle
#

Automod messages without text and 4 attached images

#

easy

#

😎

languid temple
#

Eh could produce a lot of false positives Afaik it's not possible to scan attachments with automod

upper vapor
#

slejm support on duty

mild ice
#

But yeah we get a lot of hijacked accounts

#

Isn't quite as bad as the Steam giftcard epidemic though lol

icy knoll
#

once bot engineers come back, im sure they will fix this issue

mild ice
#

Once we have a bot team I have many ideas

icy knoll
mild ice
#

I keep him informed kek

icy knoll
#

nice

inner citrus
#

I haven’t heard anything from years

mild ice
#

The sys admins do what they can to keep the bots running till we get a new one

#

Which should hopefully be sometime this year

static meteor
inner citrus
#

I am going to be happy the day old Cassie bot dies

teal junco
#

When i patch cassie messages, the scp termination messages' ttspayload "content" are always completely null

#

i suspect im doing something wrong but i dont know what

#

I also tried coroutining til its at the forefront of the queue but still nothing.

restive turret
#

Huh

#

Show something

teal junco
restive turret
#

Patch deez

teal junco
#

i think the fork is a bit outdated but idk its barely different

slate flume
#

How do you transform capsules when you only have scale, rotation, and position
There's gotta be some secret fourth thing I don't know about

plain gazelle
#

Those three are the GameObject transform, but stuff like a Capsule Collider or such should™ have a 'Height' (i think?), which controls the height of the cylinder between the two half spheres

#

But that is on a capsule-related component, not the base transform

slate flume
#

The "secret fourth thing"

slate flume
plain gazelle
#

Not sure if SLs primitive implementation would support capsule height

restive turret
#

Ohhhh

slate flume
#

Apparently it does

#

Which I didn't know about

plain gazelle
#

I usually just go with two spheres and a cylinder inbetween

slate flume
restive turret
#

@teal junco
ScpTerminaton defaults the content. It sets the payload at "OnStartedPlaying"

plain gazelle
restive turret
#

If you want to check Publicize &.
Do

if (announcement is CassieScpTerminationAnnouncement scpTerm)
{
var idk = scpTerm._announcementTts;
slate flume
restive turret
#

Check how mer do it and copy and do it your own

slate flume
#

I was looking into how they did network prefabs

restive turret
#

Check where capsule stuff do, or you can check unity too

static meteor
restive turret
#

Real

#

Waiting 6 more years for net10

slate flume
#

Unity can kiss my ass

#

I'm never opening Unity

restive turret
#

Lel

slate flume
#

Bro I just want to set the height of a capsule

restive turret
#

Too bad

warped prairie
#

capsule

#

@restive turret why is my discord tweaking

#

it says people ehre but you not here

restive turret
#

Ghost

#

Can you watch my unpowered pc while I sleep? Ty

warped prairie
#

ye nw

#

i gotchu

slate flume
#

Why in gods name is it that it was decided the z-axis is 0 for quads and not the y-axis

slate flume
#

We should be using XZ planes not XY planes and it disgusts me

slate flume
#

Okay so question, now that I'm using primitives more, what optimizations should I make or keep in mind?

warped prairie
#

just make it epic

#

ong

slate flume
#

I wish we could set specific vertices for quads instead of just scale

#

Trapezoids would be cool fr

slate flume
#

I'm starting to see why people have raved about triangle primitives

#

I thought it was niche but I see the applicability

slate flume
upper vapor
#

Right

slate flume
#

How do you do it

upper vapor
#

Just make two not tall capsules

#

And connect them with a cylinder

slate flume
#

So two spheres and a cylinder

#

Cause I saw this and if that's one capsule then that requires a height component

upper vapor
#

Sphere works too

slate flume
#

Yeah but then it wouldn't be one single primitive

upper vapor
#

Well

#

Shit

#

You can't stretch it like that

slate flume
#

This is gonna make me crash out

upper vapor
slate flume
#

@upper vapor

upper vapor
#

What the fuck

#

So what if you create an empty parent, scale the parent and translate the capsule within

upper vapor
#

Nah

#

It's literally just scaled down

#

Compressed, if you will

slate flume
#

Okay yo

#

Waddup

#

I have an interactable toy

#

I delete it when the player has searched it

#

I subscribed to the OnSearched event

#

In the toy

#

The problem I currently have is that deleting it causes the search bar to stay on the screen until the player lets go of the interact button

#

I don't know how to fix that

#

I tried adding a one frame delay and it didn't work

#

I tried locking it and then deleting a frame later

#

Also didn't work

#

Also like

#

How do you cancel an interactabletoy search

slate flume
#

I found the solution

#

So I figured, right, that the searching instances are unique to the player, not the toy

#
interactable.OnSearched += opener =>
{
    opener.ReferenceHub.searchCoordinator.SessionPipe.Invalidate();
    // Delete toy here
};
#

You invalidate the search first

#

OnSearched is called during the complete call, and for some reason it's not finished until like more than a frame later

#

So called the .Completer.Complete() doesn't work cause it's recursive

#

And delay doesn't work cause it's slow

restive turret
upper pike
#

The good ending

restive turret
#

hey I need a few people to test my new fake role stuff, with me i would need 2 different person

upper pike
#

When are you free to test?

restive turret
#

current time - 22:00 cest

upper pike
hearty shard
#

oh...

static meteor
obtuse spruce
cyan crown
cyan crown
#

worst suggestion ever

upper vapor
cyan crown
#

thoughts on the pose

#

it doesn't matter since the game is a psx slasher so it doesn't need to be super detailed

obtuse spruce
# cyan crown

Dear NW Team.

Its been a while since I confessed myself to you. You know I appreciate you a lot and appreciate each update you're making... But there one thing missing from your game. I'm not talking about SCP-682 🤡 I'm not talking about client side modding 🤡 I'm not talking about fixing the AC 🤡 I'm not talking about fixing client side performance issues 🤡 BUT... yk, add a sniper to that game RealMan I'm gonna make some trickshots before killing myself from the Gate A bridge RealMan And post somes edits on tiktok with somes glow effect made with After Effect RealMan

cyan crown
#

what all this got to do with me?

obtuse spruce
cyan crown
#

no matter what happens there will never be a sniper to SL

#

it just doesn't fit

obtuse spruce
cyan crown
#

yeah the rifle will not fit the enivornement that SL is like unless they make a new gamemode where you play in a forest pvp or some stuff

#

then i can say a sniper will fit in such enivornement

#

but i highly doubt SL will have gamemodes anytime soon

obtuse spruce
#

Sl itself is a gamemode so yea

cyan crown
#

yeah its inspired by gmod breach

#

but as in like a pvp Ntf vs Chaos fighting in a forest or some shit like that, i think you get what i mean

tribal dagger
#

does anyone know a way to upload a plugin to the LabAPI plugins list when the plugin is owned by a github team?

#

these simply dont show up

#

even when i gave permission for nw to access the team

#

and where i have the owner status

upper vapor
#

@restive turret @icy knoll i know you have done this, what's missing?

icy knoll
#

I just granted access

#

I can show a vid in a bit hold

wary gust
#

@upper vapor are API Maintainers in charge of the labapi plugin website?

upper vapor
#

nope