#plugins-dev-chat

1 messages ยท Page 215 of 1

celest thorn
#

My friend (maro) got EAC banned because she beat an admin from a big server

#

the admin got so mad because she was way better than him

#

decided to go make a report to facepunch

#

she has like what 8k hours on rust

#

i forgot tbh

tranquil river
#

Damn

#

Were they able to appeal?

celest thorn
#

right away

#

from Epic

#

and facepunch

#

and she is the proof that even sl mods suck

#

lol

#

gbanned 4 times

#

her skills are crazy tbh

tranquil river
#

Lvl 999 type stuff by the sounds

celest thorn
#

(i mean obv she spent all her time on PVP games with crazy mechanics)

tranquil river
#

So very fast reaction times I imagine, and a fairly good idea of player behaviour in pvp

royal mica
#

why sweat in SL ๐Ÿ˜ญ

upper vapor
#

sweat laboratory

icy knoll
celest thorn
#

528ms on cs

#

reaction time

icy knoll
#

the amount of complaints ive gotten about sweats on my server is crazy

celest thorn
#

Time to
Damage

tranquil river
#

very nice

celest thorn
#

most people are bots

#

i wonder if i could meet them irl

#

or if like ced made AI player that join

#

because sometimes there's no explanation

upper vapor
#

to MTF: "ever heard of left click"

celest thorn
#

or people who don't shoot 096 instead they run

#

like HELLO???

#

@unique crane i saw you

#

never forget

unique crane
#

Hai :3

celest thorn
#

how you doing :3

unique crane
#

fine

sacred sierra
tranquil river
celest thorn
#

as guard group

sacred sierra
celest thorn
#

and tbh

#

game has changed alot

#

even players

sacred sierra
#

in 2022 i played 10hrs a day sometimes, maybe it was just the first hours like discovering new stuff

celest thorn
#

i honestly have 3k hours

#

but because i didn't spend most of my time on sl

#

i'm more of i play singleplayer games

#

and sometimes multiplayer

sacred sierra
#

mine 3.5k hrs is probably 3k sl and 500hrs plugins or smth like that

celest thorn
#

tbh i have more fun developing thna playing the game

#

if i play the game is with friends

#

and tbh both of us are easy to recognize

#

2 girls with Exiled contributor trolling

#

playing same server

#

the 2 most fun stuff

#

are

#

trolling RP

#

people on RP get SOO mad

sacred sierra
celest thorn
#

i don't like the game

#

and rn seeing Pears

#

i see it more as a roleplay game

tranquil river
#

It plays like a really long game of counter strike for me in australian servers personally

sacred sierra
#

i sometimes roleplay with friends for fun on my non-rp server

royal mica
tranquil river
royal mica
sacred sierra
tranquil river
#

That and a SCP SL TTT server which is actually pretty fun when there's enough players

sacred sierra
fathom charm
#

Is it possible to block a jump without enabling โ€œheavyfootedโ€ effect?

fathom charm
#

how?

celest thorn
fathom charm
#

It's already patched in Exiled, event "OnJumping", but... 'IsAllowed' not work

celest thorn
#

use the effect

#

because its probably desync

fathom charm
#

With?

celest thorn
fathom charm
#

Desync with

celest thorn
#

because the event on exiled is for sure correct

unique crane
#

There is no other way than using the effect

#

othewise you will end up desync

celest thorn
#

I wanna remake my own paginated system because it sucks ASS

#

how can i make keybind still work? even when a page has been changed?

#

and another thing, there's any dropdown with selection?

#

because tbh i forgot

unique crane
#

You will have to leave them in the SSS menu

#

otherwise they wont work

celest thorn
unique crane
#

thats default

celest thorn
#

that you can select multiple

unique crane
#

oh multiple select

celest thorn
#

sorry i forgot to say multiple lol

unique crane
#

no we dont have that

celest thorn
celest thorn
unique crane
#

But you can put it on Github!

celest thorn
#

lol

unique crane
#

No issues on my side for it to be added

celest thorn
#

i think it would be REALLY cool

#

while i was talking with atsomeone

unique crane
#

Im just gonna put it on internal gitlab

celest thorn
#

he made me rememerber the CompostableSettingsAPI

#

"that leaked build of labapi"

unique crane
#

what

celest thorn
#

let me find it

#

.

#

btw let me write it down on the git

celest thorn
#

for you

#

<3

unique crane
#

Thamk :3

celest thorn
#

this chat is so gay

restive turret
#

You started it

celest thorn
restive turret
celest thorn
#

do you eat ram?

#

because i know axwabo does

#

but do you too?

restive turret
#

That's ax

#

No

celest thorn
#

Ok no tutorial on how to make ram

#

i'm following a tutorial on how to make ram

#

at home

#

kinda crazy

unique crane
celest thorn
upper vapor
soft depot
wary gust
#

Is ReferenceHub.playerStats.KillPlayer(DamageHandler); not calling the LabApi OnPlayerDeath event considered a bug?
And if not, is Player::Kill() + overloads not killing the player if they have the SpawnProtection effect a bug?

#

(I know the first method is private, but surely we can get a method to just force kill the player no matter what)

hearty shard
#

thats an insta kill

#

although uh

wary gust
hearty shard
#

spawnprotected shouldnt protect you

upper vapor
hearty shard
#

from non attackers

#

Oh wait

#

change your config

wary gust
hearty shard
#

theres a config that makes spawn prot protect you from everything

#

99% sure without it they will only be protected from other players

wary gust
#

Still, the default shouldn't be this. And there should be a way to bypass that config too imo

#

*without patches

hearty shard
#

i think there still is

#

but idk

hearty shard
#

actually um

#

default is false

wary gust
#

well it doesn't work at all then

hearty shard
#

wait

#

show your damage handler

#

r u damaging with an attacker

#
return !(handler is AttackerDamageHandler attackerDamageHandler) ? (!SpawnProtected.PreventAllDamage ? 1f : this.CancelDamage()) : (!(attackerDamageHandler.Attacker.Hub == this.Hub) ? this.CancelDamage() : 1f);
wary gust
#

(I just did Player::Kill() in a command for test which should do UniversalDamageHandler)

wary gust
hearty shard
#

temp solution is to remove spawn protection

wary gust
hearty shard
#

i mean

#

i did say temp solution

wary gust
wary gust
hearty shard
#

SpawnProtected::GetDamageModifier

hearty shard
#

since you dont set config to true

wary gust
#

I can test with a clean server

#

give me a sec

hearty shard
#

im gonna ask chatgpt to clean the code up so i can actually read it lmao

upper vapor
#

Call the labapu event yourself Smart

hearty shard
#

spawn protection

wary gust
hearty shard
#

shouldnt prevent Kill() by default

restive turret
#

OFC it doesnt

#

DealDamage does

#

if the output is death

hearty shard
restive turret
#

disable spawnprotected before applying damage then

#

and godmode

hearty shard
#

prevent it

restive turret
#

it does

hearty shard
#

ok but it SHOULDNT

restive turret
#

DEAL DAMAGE DO

hearty shard
#

im saying

#

spawn protected

#

shouldnt protect you from .Kill()

#

because it does universal , not attacker

#

and by default

#

SpawnProtected.PreventAllDamage = ConfigFile.ServerConfig.GetBool("spawn_protect_prevent_all");

restive turret
#

spawn protected is busted anyway

hearty shard
#

which should be false

#

yes

#

so fix it

restive turret
#

fuck you

#

I tried doing it like 3 times

#

ended up with nothing

wary gust
#

yeah no. I confirmed on a clean server and it still doesn't bypass SpawnProt

restive turret
#

since whole thing need redefine and need to ask GD about it

hearty shard
#

SpawnProtected::GetDamageModifier

#

just needs to correctly check for PreventAllDamage

restive turret
#

BRO

#

fix it yourself then

hearty shard
#

im not nw

#

๐Ÿ˜ญ

restive turret
#

I will fix it propertly

#

just need time and actually know what can and cannot be prevented anyway

hearty shard
#

@wary gust r u using secretapi

#

yes right

#

i forgot

wary gust
#

but just for SSS

hearty shard
#

ok give me a sec

#

ill make a patch

wary gust
#

I didn't ever look at the rest.

#

also non-critical so I ain't rewriting the stuff I have

restive turret
#

I want to fix it properly bc last time yamato yapped about this thing too

wary gust
#

what version is labapi in 14.2.6?

restive turret
#

I tried it that time but still busted it

hearty shard
#

all ik is apparently ProtectAll doesnt do what it should

wary gust
warped prairie
#

slej exploded it

unique crane
restive turret
hearty shard
restive turret
#

THATS WHAT I SAYING

hearty shard
#

ok but

restive turret
#

girl

hearty shard
#

i was saying to fix a bug

restive turret
#

but

#

cheeseburger

rustic pecan
#

hamburger ๐Ÿ”

restive turret
#

also ye whole dmg thing could benefit from some rewrite tbh

#

tbh even if i do that, what do you think how long will be actually be deployed? @hearty shard

restive turret
#

well prob with 15.0 or something ye

#

or later, or not even released

rustic pecan
#

Is it known when 15.0 will be released? ๐Ÿ‘€

restive turret
#

I only know that I singlehandedly postponing it

wary gust
restive turret
#

not really

wary gust
#

alr

restive turret
#

pickup creating is all over the place

wary gust
restive turret
#

AdminToys?

#

thats only in one place

wary gust
#

fair enough. just cos basegame doesn't use them (i think)

restive turret
#

obv

hearty shard
#
internal static class FixSpawnProtection
{
#pragma warning disable SA1313
    private static bool Prefix(SpawnProtected __instance, DamageHandlerBase handler, ref float __result)
#pragma warning restore SA1313
    {
        __result = 1;
        if (!SpawnProtected.IsProtectionEnabled)
            return false;

        if (handler is not AttackerDamageHandler attackerDamageHandler)
        {
            if (SpawnProtected.PreventAllDamage)
                __result = __instance.CancelDamage();
            return false;
        }

        if (attackerDamageHandler.Attacker.Hub != __instance.Hub)
            __result = __instance.CancelDamage();

        return false;
    }
}
#

problem solved or smth idk

unique crane
hearty shard
restive turret
#

elemao

hearty shard
#

can someone like

#

give the actual source for SpawnProtected::GetDamageModifier

restive turret
#

@ someone?

#

how much

hearty shard
#

the entire method

#

lol

restive turret
#

I asking the price eve

hearty shard
#

nuh uh

restive turret
hearty shard
#

ok i regret asking

restive turret
#

its a decompiled one

hearty shard
#

oh

#

okay

#

idk why the bug occurs then

restive turret
#

cus its not using that

hearty shard
#

what

upper vapor
restive turret
#

it checks if IsEnabled before doing anything

hearty shard
#

yes?

restive turret
#

yes

hearty shard
#

if its enabled, then do that condition

#

what r u on

restive turret
hearty shard
#

what the fuck

upper vapor
#

Okay but what if
What if we rewrite the damage system

hearty shard
#

WHO THE HELL

#

WROTE THIS

restive turret
upper vapor
#

Yeah um

restive turret
#

want it yesterday

upper vapor
#

Soon trademark

restive turret
#

sob copyright

hearty shard
upper vapor
upper vapor
restive turret
#

ยฉ

hearty shard
#

@wary gust hey we found why the bug occurs!!!

wary gust
#

I was looking

hearty shard
#

๐Ÿ’”

restive turret
#

i looking at the new subnatuice video so

hearty shard
#

i do NOT understand why its like this

wary gust
#

wtf discord. That is so good to know

upper vapor
hearty shard
#

lowk

#

can we ban whoever made spawnprotect work like that

#

what was the point in IDamageModifierEffect being used on SpawnProtected if it will never even reach that method ๐Ÿ’”

hearty shard
#

i blame ax

restive turret
#

nah lets blame eve

hearty shard
#

wah da hell

upper vapor
#

I was not yet around when stupidity was invented (aka the dawn of humanity)

hearty shard
#

oh yeah another bug would be that the ExecutePulse would never be called for spawn protection

#

since that requires GetDamageModifier to be called which it would never be

wary gust
wary gust
#

like why isn't there a way to just fake send pulses? It's fucking network time related

wary gust
hearty shard
#

yes but

#

what pulse

wary gust
#

like they have the orbs that show up every like 3s

hearty shard
#

oh

#

uh

#

yeah see i thought you meant like

#

pulsing on the side kinda like what

#

i think its adrenaline does

wary gust
#

or

#

what does pulse effect do actually

#

I thought it allowed the server to send an RPC to just call something on the clients when it wanted to

hearty shard
#

well

#

when ur poisoned it does smth

#

idk its client side

#

and i havent played the game in a while to remember what poisoned looks like visually

wary gust
#

WHY IS SPAWN PROTECTED A PULSE EFFECT?

hearty shard
upper vapor
#

the effects system also deserves a rewrite

restive turret
#

what isnt atp

upper vapor
#

a lot of systems do Kek

hearty shard
upper vapor
#

ye

#

pfft

#

imagine that

#

is there a labapu suggestion for that?

wary gust
upper vapor
#

if not, go create

hearty shard
restive turret
#

I making my own game so that can be done there

hearty shard
#

there is

#

i made it

unique crane
hearty shard
#

yes

#

it was in fact me

#

lmao

hearty shard
#

but

#

its not ENOUGH

#

tbf is anything ever enough

#

who knows my fish sure doesnt

wary gust
restive turret
wary gust
hearty shard
dark jacinth
#

Vr sl is real

restive turret
#

I aint gonna use whole secret api for 1 method only

hearty shard
restive turret
#

register effect or smth

hearty shard
#

CustomPlayerEffect.Initialize ?

#

oh

#

yeah

hearty shard
#

but

#

valid

#

i get not using secretapi for one specific thing

#

you should use it for the other features tho Trol

hearty shard
wary gust
upper vapor
#

"seemed" ๐Ÿ˜ญ

#

i mean

#

yeah

#

and it's easy to integrate

#

-# and it's not a copy of the base-game SSSS system khm

hearty shard
#

because

#

whoever made basegame is cruel and evil

hearty shard
#

that was like 90% of the reason i made it

wary gust
#
Unknown message id: 21154. This can happen if no handler was registered for this message.
NetworkClient: failed to unpack and invoke message. Disconnecting.

Is 21154 still the RoundRestart Message?

grand flower
#

you can find it yourself by looping through all types that implement INetworkMessage iirc

#

and then just find the one where type.FullName.GetStableHashCode() returns 21154

#

don't remember if the method is named that exactly

#

@wary gust

wary gust
#

but thanks

wary gust
grand flower
#
var badMessage = AppDomain.CurrentDomain.GetAssemblies()
    .SelectMany(t => t.GetTypes())
    .Where(t => typeof(NetworkMessage).IsAssignableFrom(t))
    .FirstOrDefault(t => t.FullName.GetStableHashCode() == 21154);
Logger.Error($"Bad message is: {badMessage?.FullName ?? "NULL"}");
wary gust
#

thx

grand flower
#

here, run this in your plugin's startup method or whatever

#

surprised i remembered the method name perfectly

upper vapor
wary gust
#

[2026-04-28 20:25:18.491 +02:00] [ERROR] [LabApiTestPlugin] Bad message is: NULL

#

fire

grand flower
wary gust
#

what do I do now?

grand flower
#

cry

#

mostly

grand flower
wary gust
#

client

grand flower
grand flower
#

if it was server i'd just give you the patches to prevent the server from booting itself

upper vapor
#

ppl were crashing out about the class ServerRoles not too long ago Kek

unique crane
wary gust
unique crane
#

Are you sending it before the client is setup?

wary gust
#

via restart stuff

#

a sec

#

It is sent to like the whole lobby during my custom restart somehow

#
private static IEnumerator<float> RoundEndCoroutine(string text)
{
    foreach (var player in Player.ReadyList)
    {
        var display = RueDisplay.Get(player);
        
        display.Show(EndOfRoundTag,
            new BasicElement(350f, text));
        
        VoiceChatManager.TrySetVoiceChatChannel(player, VoiceChatChannel.RoundSummary);
    }
    
    yield return Timing.WaitForSeconds(Translation.RoundEndTextDisplayTime);
    
    RoundRestart.InitiateRoundRestart();
}
#

I don't think it should cause issues? The round is locked so nothing else should be calling the restart or something like that

unique crane
#

Well does the DC happen like if your fully loaded in

#

or still loading..

#

etc

wary gust
grand flower
upper vapor
#

trueing

grand flower
#

meanwhile at work I've been fighting for a few days because things suddenly broke when we tried to get my stuff closer to the main branch

#

I revert to a known working commit and it doesn't work anymore LULLLLLL

#

turns out the commandlet I was using to resave all assets (triggers some code I wrote to generate missing guids) was somehow breaking everything

#

so now im resaving by hand to see if it works

upper vapor
#

did github nuke some of your commits toomuchtrolling

grand flower
#

Nah I checked, wasn't the case

hearty shard
#

do you even use github

grand flower
#

yes

#

I reset everything to a working commit, clean slate, was having the same issues as on the latest main branch attempt

wary gust
grand flower
#

the only diff is the commandlet so i'm currently still resaving by hand

wary gust
obtuse spruce
#

Does anyone has a server with a lot of SpeakerToys ?

grand flower
#

back when I was working on Bright's we did

#

whats up

celest thorn
#

i will predict you

wary gust
sacred sierra
obtuse spruce
hearty shard
#

too many sounds = they stop

celest thorn
hearty shard
#

thats just a unity thing

celest thorn
obtuse spruce
celest thorn
#

per player???

obtuse spruce
#

Nope

celest thorn
#

global?

#

for everyone?

hearty shard
tulip kiln
obtuse spruce
#

I have one per generator. One global and somes during somes specific cassie SkullClownRainbow

tulip kiln
#

wrong ping

obtuse spruce
tulip kiln
#

though I imagine it won't be much of an issue to you

obtuse spruce
#

Cheating on a RP serv SkullClownRainbow

tulip kiln
obtuse spruce
restive turret
#

Lel

rustic pecan
#

Is there a way to make a specific player always visible to 939 and 106 (underground) as if he was an SCP?

static meteor
#

Player validating visibility event or whatever its called probably

sweet flax
#

is there a way to rename local variables in decompiled assembly?

harsh thorn
#

when you compile it, it will be reset again

soft depot
#

you guys ever feel like:

SLDeveloperEvents.TriedNotToTry += ev => ev.IsAllowed = false;
```?
atomic pelican
#

Hello! wanted to see if anyone knows this by chance. Im very impressed with the procedural construction of the map in SL. I wanted to see what are the methods used to cleanly construct the map every game so that nothing breaks?

static meteor
#

Look into the MapGeneration namespace iirc its called that

restive turret
#

"nothing breaks"

#

he doesnt know

cosmic dagger
#

guys, I kinda need help real quick... (PLEASE)

I trynna make custom cassie announcement for an Omega Warhead plugin. It works with "cassie" command but it's ugly so I tried to do custom subtitles but whatever changes I make nothing works (I use cassieadvanced and that's how I proceed)

restive turret
#

use labapis announcer class

cosmic dagger
cosmic dagger
cosmic dagger
restive turret
#

Patching it until we have events for it

cosmic dagger
cosmic dagger
static meteor
cosmic dagger
atomic pelican
cosmic dagger
cosmic dagger
soft depot
#

did I cook?

celest thorn
upper vapor
#

You can also have a look at some community plugins and see how they do it

#

Harmony patching is a deep rabbit hole, but prefixes are easy

soft turtle
#

Why arent this methods static? Heartbreaking
How call them from PlayerRequestingRaPlayerListEventArgs

celest thorn
#

If a textbox is empty what does it return?

#

to the server like string.Empty or null?

#

it seems string.Empty

unique crane
#

Or well

celest thorn
unique crane
#

""

celest thorn
#

i saw string.Empty

#

btw haii david

#

and gm

unique crane
#

Haiii

#

Writing networking test today

#

But I already have enough points to pass lol

#

So absolutely 0 stress

#

I look at it for 5 minutes yesterday

celest thorn
#

@serene vine

serene vine
#

@idle depot

celest thorn
idle depot
#

bro

serene vine
idle depot
#

!softban 262239269286838273 Account compromised, change your password!

serene vine
#

Claim all of Mr Beast's money and retire

regal lakeBOT
#

Done. Enough chaos.

sinful bronze
#

Free money noo

upper vapor
unique crane
royal mica
serene vine
#

Why do I still have access to this channel btw

#

Thought it was like the plug in dev role thing

unique crane
#

If it was, there wouldn't be so many Mr beasts

serene vine
#

They do claim as many roles as possible being pushing those out

#

One of my many flags on a new member

restive turret
serene vine
#

HELL NAWH

restive turret
#

HELL YEAH

serene vine
#

Fuck this ahh game

restive turret
#

Also the channel isn't locked behind permission

serene vine
restive turret
#

But hangout does

#

So no random kid goes and scream

hearty shard
#

cant believe they killed noemi ๐Ÿ’”

upper vapor
#

No emi

upper vapor
#

is this ragebait? toomuchtrolling

royal mica
#

Just a bad hidden side effect

upper vapor
royal mica
#

wait why would you even need the RepeatMode = RepeatMode there

#

you are not even updating it

#

wh

upper vapor
#

to set the loop property

#

of the new providerลฑ

#

oh it's so stupid but i love it

#

*evil chuckle*

#

@eveil

royal mica
hearty shard
royal mica
#

spaghetti bolognese

upper vapor
hearty shard
#

nuh uh

upper vapor
true quest
#

is it possible to set/write a grenade fuse time using TimedGrenadePickup?

celest thorn
#

forgot to put the NetworkTime lol

wary gust
#

Is there an easy way I can use to automatically clean up some of my Coroutines when the round restarts?

viral rivet
#

Is it possible to block the decontamination Cassie?

upper vapor
upper vapor
wary gust
hearty shard
#

so if the gameobject is destroyed so is the coroutine

#

you can use Server.Host?.GameObject

wary gust
hearty shard
#

i mean it depends

#

if you need cleanup automatically yes

royal mica
hearty shard
#

i generally try use components over coroutines though

royal mica
#

who uses fast restart anyway, it is very broken

hearty shard
#

i forget it exists

royal mica
#

one of those features that throws the elephant in the wrench

hearty shard
#

at least imo

royal mica
#

In components how do you delay by frame / seconds?

#

(I assume components in this case are the unity objects thingie that has update and instantiate function)

hearty shard
#

Time.deltaTime timer

#

yes

royal mica
#

hmmm

hearty shard
#

i generally dont need to do as much with waiting a few seconds tho

#

other than like 1 single timer

hearty shard
# royal mica In components how do you delay by frame / seconds?
public abstract class CustomTickingPlayerEffect : CustomPlayerEffect
{
    private float timeTillTick;

    /// <summary>
    /// Gets the time that should pass between each tick.
    /// </summary>
    protected virtual float TimePerTick => 1;

    /// <inheritdoc/>
    public override void Enabled()
    {
        timeTillTick = TimePerTick;
    }

    /// <inheritdoc/>
    public override void OnEffectUpdate()
    {
        base.OnEffectUpdate();

        if (TimePerTick == 0)
            return;

        timeTillTick -= Time.deltaTime;
        if (timeTillTick > 0)
            return;

        timeTillTick += TimePerTick;
        OnTick();
    }

    /// <summary>
    /// Called everytime <see cref="TimePerTick"/> passes.
    /// </summary>
    public virtual void OnTick()
    {
    }
}
upper vapor
#

(I don't exactly know where to get a scene change cancellationtoken tho)

royal mica
upper vapor
#

Better than yield return and forgetting yield break

royal mica
#

less clean for timing purposes but I assume the offset of less buggyness + coroutine debugging might worth it

upper vapor
hearty shard
#

damn

wary gust
upper vapor
#

But

#

It you're in a loop and use break

#

Then you might be cooked

#

(When you wanted to end the coroutine early)

wary gust
#

Isn't it just gonna end that coroutines execution?

#

Also another question, someone here mentioned that the RoundRestartMessage shouldn't be sent to unauthenticated players right? Why doesn't basegame do this?

#

(see RoundRestart::InitiateRoundRestart())

inner citrus
upper vapor
inner citrus
# hearty shard good

Sadly I canโ€™t say the reason as to why because Discord will yoink me but the reason is very funny

#

but yeah I canโ€™t open discord on pc now

hearty shard
#

๐Ÿ˜ญ

wary gust
upper vapor
#

The answer is idk

wary gust
royal mica
#

Won't they get into a weird limbo state?

restive turret
#

you can create a tag to your coroutine and kill it when round restarted

#

or restarting

restive turret
#

or ending

wary gust
#

It's just this terrible thing just shows up for what I think is no actual reason.

Unknown message id: 21154. This can happen if no handler was registered for this message.
NetworkClient: failed to unpack and invoke message. Disconnecting.
NullReferenceException: Object reference not set to an instance of an object.
  at Mirror.LiteNetLib4Mirror.LiteNetLib4MirrorClient+<>c__DisplayClass9_0.<OnNetworkReceive>b__0 () [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.LiteNetLib4Mirror.LiteNetLib4MirrorTransport.LateUpdate () [0x00000] in <00000000000000000000000000000000>:0 
#

and afterwards the client just fails to set the Steam Lobby IP somehow when connecting.

viral rivet
celest thorn
#

99.9% you patch somewhere and destroyed the handler

wary gust
#

it's client side

#

not server

celest thorn
#

๐Ÿคฆโ€โ™€๏ธ

wary gust
#

or well someone else could I guess

#

but still

celest thorn
#

then idk what to say lol

wary gust
#

The thing is that it only happens when my plugin is enabled.

celest thorn
#

lol

#

easy

#

try and disable stuff

#

and see if it doesn't happen

sweet flax
#

List your patches or smth

wary gust
#

for that one

celest thorn
#

any

wary gust
#

I can go though everything but idk

#

A sec

celest thorn
#

give all of the patches

#

Object reference not set to an instance of an object

wary gust
celest thorn
#

something is null

wary gust
celest thorn
#

omg

wary gust
#

unrelated to the message

celest thorn
#

wait

#

so its CLIENT side or Server side?

wary gust
celest thorn
#

Ok then i have the answer for you

#

you send a packet too late

#

when the handler are already destroyed

royal mica
#

or too early

celest thorn
#

or too early

wary gust
#

but only happens when I call RoundRestart.IniciateRestart()

celest thorn
celest thorn
#

lol

#

The not authenticated player get sent they need to reload the scene and reconnect

#

that's it

#

no need to send roundrestart

sweet flax
wary gust
#

I need to force it

celest thorn
#

how tf

royal mica
#

Do you have fast restart on by any chance

wary gust
#

yeah I don't want to override

#

wait no

#

that's for server reboot

celest thorn
#

are you sure

wary gust
#

not round restart

celest thorn
#

that it even exist?

wary gust
celest thorn
#

i cannot find ANYWHERE this method

#

you are mentioning

royal mica
#

Is that repo still updated

celest thorn
#

last update

wary gust
celest thorn
#

now i can

#

I see

#

lol

wary gust
#

the 2nd time

wary gust
#

that would make all of this 10x worse (at least)

#

Also Round.Restart() would call RoundRestart.InitiateRoundRestart(); anyway

celest thorn
#

can you please

#

tell me the patches

#

i don't think this is a base game issue

#

i think you are just somehow delaying everything

#

or double sending it

#

there's no other explanation on why the client should throw this error if not for that

wary gust
#

Do you want the COMPLETELY unrelated stuff too (ZombiePatch)

celest thorn
celest thorn
#

that's it

#

and where to find them

restive turret
#

the NRE in mirror client is something that happening to every client, I fixed it in master.
Tho idk about the unknown message id

celest thorn
#

because if he said without plugin that doesn't happen

#

then its a plugin patch probably fucking up and delaying it

#

or sending it double

restive turret
#

but the id is indeed RoundRestartMessage

#

dont use fast restart btw

celest thorn
#

without u telling us i couldn't guess

#

๐Ÿคฆโ€โ™€๏ธ

wary gust
# celest thorn and where to find them

only 2 patches I have to my knowledge:
[HarmonyPatch(typeof(ZombieRole), nameof(ZombieRole.SpawnObject), MethodType.Normal)]
[HarmonyPatch(typeof(PrimitiveObjectToy), nameof(PrimitiveObjectToy.SetFlags))]

wary gust
#

which shouldn't have anything to do with it

celest thorn
#

SpawnObject?

restive turret
celest thorn
#

I mean

celest thorn
#

lol

#

PoolManager.Singleton.ReturnAllPoolObjects();

#

and zombieRole is one of them

#

if i had to throw a guess

#

try and removing that and test

wary gust
#
[HarmonyPatch(typeof(ZombieRole), nameof(ZombieRole.SpawnObject), MethodType.Normal)]
public static class Scp0492HealthPatch
{
    [HarmonyPrefix]
    public static bool Prefix(ZombieRole __instance)
    {
        __instance._revivesModifier = 1f;
        return true;
    }
}
#

also not in the same plugin

#

EITHER

#

like I said above

#

The plugin which is enabled DOESN'T have patches

#

others do

celest thorn
#

like

#

100%

#

Task?

#

await?

wary gust
#

Fakesync

#

but no Task (I know better)

#

Well Task is in another plugin

#

but idk that was made by Axwabo so I am gonna assume it's not fucked

celest thorn
#

Events?

restive turret
celest thorn
#

ig we have our answer

restive turret
#

yet still works on our server ngl

celest thorn
#

at nw can you not fuck mirror for one update

#

thanks :3

#

it was even in the logs

#

so i didn't consider that to be an option either

#

because if a bug is solved

wary gust
celest thorn
#

it should be solved trolling

wary gust
#

or can it be related?

restive turret
#

tbh the NRE doesnt matter for him the message not register doesnt work

celest thorn
celest thorn
#

Wait

#

i have a game theory

#

Do you send packets without checking if the player is dedicated or use List instead of ReadyList?

wary gust
#

and for the other, I don't send packets

celest thorn
#

idk you could be stupid

#

i'm throwing guesses

#

i don't have code

wary gust
celest thorn
#

nor anything

wary gust
celest thorn
#

so i'm basing off, the most common shit people do

celest thorn
#

or you send me a zip

#

and show you in stream

upper vapor
#

Ye

viral rivet
upper vapor
#

Toaster

upper vapor
#

You're gonna have to patch to get rid of the subtitles

viral rivet
upper vapor
#

Look for usages of SubtitleMessage, and create a harmony patch to prevent sending them

#

Probably in DecontaminationController

unique crane
upper vapor
soft depot
soft turtle
#

Where can I find NTF and CI spawn positions?
When they spawn, they spawn in different positions

soft depot
#

the spawns are generated in ISpawnpointHandler.TryGetSpawnPoint. I imagine both the NTF and CI roles use BoundsRoleSpawnpoint which generate what seems like a cube of spawn locations and picks them at random (though I imagine for both roles, the spawn locations are probably have 0 difference in y)

#

why do you ask?

soft turtle
soft depot
#

I'd suggest using an event like Spawning, then check if those players are your custom squad, then have the spawn flag for no position change, then just set the position of the players spawning

soft turtle
#

How can I forcefully call the animation of a helicopter or a car?

soft depot
#

it looks like for LabAPI, you're gonna have to go RespawnWaves.PrimaryChaosWave?.PlayRespawnEffect(); (or PrimaryNtfWave for NTF)

hearty shard
#

i feel EVIL

#

sorry i meant

#

i feel EVEIL

soft depot
#

*EVEIL

hearty shard
#

ok buddy

#

get back to work

upper vapor
celest thorn
unique crane
#

Why does my VS wants update again???

#

I updated it yesterday

hearty shard
upper vapor
#

Because

hearty shard
#

its hungry for your ram

upper vapor
#

Microslop

hearty shard
#

that too

unique crane
#

I am hungry for ram

upper vapor
#

yeeeeeees yeeeees

#

very good

#

can we kill unity already

thin shuttle
celest thorn
#

not the cs termina

#

this one is free

upper vapor
#

doing upgrade
unity upgrades packages on its own

celest thorn
#

and gives you better shit

rustic pecan
#

Is there a way to make a specific player always visible to 939 and 106 (underground) as if he was an SCP?

soft depot
#

this might be peak guys

grand flower
#

dont remember the exact name

#

that should work

tulip kiln
warped prairie
# soft depot

SL devs really just doing anything these days i see

upper vapor
#

try not to

#

idk

#

challenge

#

that is all i can say

tulip kiln
#

Can't wait for someone to roll up to tech support using this

upper vapor
#

skull

terse bone
upper vapor
#

๐Ÿ˜ญ

unique crane
upper vapor
hearty shard
#

oh

#

not again

sweet flax
upper vapor
#

๐Ÿ˜ญ

hearty shard
#

uh

#

wasnt me?

#

also

#

ax

#

can you do this for me

#

im too lazy

rustic pecan
#

As well as SCP-106's

unique crane
#

This might be client side too

grand flower
#

Northwood moment

rustic pecan
#

Im calling Harmony ๐Ÿคฃ

upper vapor
#

yes indeed

#

yess

#

exactly

cyan crown
#

yea hubert checked on him and left

upper vapor
celest thorn
#

i'm doing a fucking regex

#

please give me more power for defeating the evil monster

tulip kiln
#

I love regex when I'm not the one doing active maintenance on it

celest thorn
#

this regex needs to auto detect errors on minecraft

#

but THE FUCKER DOESN'T WANNA DETECT IT

tulip kiln
#

I'm usually against using AI for development, but I had gemini generate the regex I needed

celest thorn
#

before ai i was using this

#

a random ass dude from spigotmc

#

told me use this it saved me time

tulip kiln
#

I would like to learn it deeper sometime, but I had a niche non-important use for it

#

so I didn't bother

celest thorn
#

like she learned them for cheating so

#

and crazy enough if you ask her a regex she can do one

#

lol

tulip kiln
#

how do you use regex to cheat lmao

celest thorn
#

that's a question not for me

soft depot
tulip kiln
#

Of course

upper vapor
#

crazy

celest thorn
soft depot
#

soon

celest thorn
#

Lol

hearty shard
#

DO A FLIP

soft depot
#

here's it in SL of course though

hearty shard
celest thorn
soft depot
#

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

celest thorn
hearty shard
#

ik ur crazy

upper vapor
#

i have a lot to say rn but i won't

hearty shard
#

nothing else to note here

celest thorn
hearty shard
#

ax what r u doing

upper vapor
#

ending

#

my

#

onlineness for the day

soft depot
#

idk if I can link the yt video of epstein vs diddy here but it's peak ๐Ÿฅน

upper vapor
#

some of y'all are really, really weird at times

soft depot
#

you'd understand if you watched it

celest thorn
hearty shard
soft depot
#

figured Trolley

celest thorn
celest thorn
#

i'm going insane

#

regex make me go insane

#

i have 116 files to go through and fix

#

;(

#

i'm probably gonna leave them there lol

sour path
#

playing games to goof around or to socialise

#

isnt fun

#

atleast for me

royal mica
sour path
#

i dont play to socialise