#plugins-dev-chat

1 messages Β· Page 111 of 1

crimson dune
#

actual black magic

main zenith
#

Is there a way to disable a SCP-049 Cardiac Arrest Effect in his attack i mean im using something now like this:

 public void DisableAttack(PlayerHurtingEventArgs args)
 {

     if (args.Attacker == player457)
     {
         args.IsAllowed;
      
     }
}

the problem is player is not getting hurt by the effect but hes still got this "nausea effect" and if he have this effect SCP-049 Still can damage the Player

main zenith
restive turret
#

sub to
StatusEffectBase.OnEnabled
Check if the name or type is Cardiac Arrest and disableEffect

upper vapor
#

there's an effectupdated event

#

in labapi

cyan crown
main zenith
# restive turret sub to StatusEffectBase.OnEnabled Check if the name or type is Cardiac Arrest a...

yeah but there is a problem i need to make this works only for one spefic not normal player(SCP-049) and to make it work properly on right SCP-049 so if im gonna cancel the Cardiac Assets it will mean that this "no normal" SCP-049 can cancel cardiac arrest for other players + even if im gonna make this work, if this "no normal" SCP-049 gonna attack anyone who has Cardiac Arrest he will deal about ~16 dmg(?) for some reason

#

i need to cancel attack fully

#

make him unable to attack

restive turret
#

2 patch:

PlayerRoles.PlayableScps.Scp049.Scp049AttackAbility.ServerProcessCmd
PlayerRoles.PlayableScps.Scp049.Scp049AttackAbility.IsTargetValid

celest thorn
#

im honestly trying so hard to fix ram usage

#

but bruh nothing

#

im going crazy

unique crane
#

Have you got to use the memory profiler

unique crane
#

You stream that from the disk or load it into memory

#

cuz you have ton of soundtracks

celest thorn
#

and i cannot attach it

celest thorn
#

which doesn't

#

instead it streams them

unique crane
#

I would disable audio

#

and see if that helps

celest thorn
#

i even added this but Still nothing

unique crane
#

But thats primitives

#

I said audio

celest thorn
#

I mean i could disable it not really an issue

unique crane
#

Or check the total sum of your audio files XD

#

Maybe it matches up to 3-4 GBs

#

Most of SL ram usage is textures and audio

#

and since you dont use textures

#

yea..

celest thorn
#

wtf

#

fr?

unique crane
#

Ofc

celest thorn
#

bruh

unique crane
#

Have you ever seen a .wav file

celest thorn
#

yea

unique crane
#

Thats pure audio

celest thorn
#

i've seen them

unique crane
#

no compression

#

(maybe tiny bit)

celest thorn
#

Bro

unique crane
#

SL assets size is also just textures and audio

celest thorn
#

ITS FUCKING AUDIO

unique crane
#

XDDDDDDDDDDDDDDDDDDDD

#

See

#

Told youuuu

celest thorn
#

AHAHHAHAHAHAHHAHA

#

FUck the audi

#

I SPENT 2 WEEKS

#

FOR AUDIO?

#

@upper vapor you are a fraud

#

your library scammed me

#

so now wtf do i do

#

fuck

unique crane
#

Dont load so much audio

#

Or compress it

icy knoll
#

how is this secretlabnaudio's fault 😭

upper vapor
#

Not my fault if you have 2000000 clips loaded into memory

#

I thought there were less

celest thorn
#

its so fucking funny

upper vapor
#

Do you also load music as "short clips"

celest thorn
#

yes as you told me

upper vapor
celest thorn
#

but no

upper vapor
#

😭

celest thorn
#

ig i can just do something if audio clip is lowe than 10s

upper vapor
#

Streaming for music
ShortClipCache for short clips

#

Insane

celest thorn
plain gazelle
#

I can spawn in hundreds of Generator prefabs without issues but spawning in just a couple Gates / Bulkheads (not Doors) and players start rubber banding in specific random areas ._.
Anyone knows why

upper vapor
#

I can't do anything about your method of telling soundtracks apart
You can create an audio stream, get the total length, if it's less than 10s then .ReadPlayerCompatibleSamples() and add it to the cache

celest thorn
#

Lenght?

#

of 10?

upper vapor
#

WaveStream.TotalTime

celest thorn
#

you wanna know

#

im stupid

#

i already streamline everything

restive turret
#

Stream your suffering

celest thorn
#

im already doing it

upper vapor
#

well

celest thorn
upper vapor
#

so if you don't load any shart clips

#

memory usage does not go absurd, right?

celest thorn
#

with everything other than essentials

#

i know for sure will never

#

1MB up

#

crazy im gonna cry

unique crane
#

Surely the GC isnt gonna cry from all of the rainbow text

celest thorn
#

I fixed it

#

and its just in a menu

#

which gets removed

celest thorn
#

its only 150 audio files

unique crane
#

only πŸ’€

#

Your audio files probably take up more than entire SL ones

#

Actually our are larger

#

Cause Cassie

#

cassie is ton of GBs

restive turret
#

i plan to have 90 audio files

#

all zipped

#

~2MB

unique crane
#

Nvm

#

Its 110MB

#

Its all ogg

celest thorn
#

but that entire track of songs

#

from 10 different games

#

from random shit

#

and sound effects

unique crane
#

Do you really need all of them

celest thorn
#

i mean im not the one who loves music here

#

lol

restive turret
#

if i wanna have ambiance it will be
450 file and like ~30MB

#

all wav

celest thorn
#

bro

#

450 FILES?

#

thats EVEN MORE THAN ME

restive turret
#

and i dont think it even have the character talks

celest thorn
#

btw

#

should i Math.Abs the size of primitives?

#

because i've seen sometimes in the lovely client console they explode

#

for being negative

restive turret
celest thorn
restive turret
#

idk

#

ambiancnce

celest thorn
#

from where tf it comes from

restive turret
#

ut

celest thorn
restive turret
#

8mb

#

yea

celest thorn
restive turret
upper vapor
#

i thought you already did that for cubes

celest thorn
upper vapor
celest thorn
#

WHAT

celest thorn
#

Ngl but a banger

restive turret
#

its on loop

#

lel

celest thorn
celest thorn
upper vapor
restive turret
#

*verison

celest thorn
# upper vapor yyea
                            Vector3 scaleSign = new(
                                meowPrimitive.Scale.x < 0f ? -1f : 1f,
                                meowPrimitive.Scale.y < 0f ? -1f : 1f,
                                meowPrimitive.Scale.z < 0f ? -1f : 1f);
                            colliderGO.transform.localScale = scaleSign;

                            meowPrimitive.Scale = scaleSign;

Ig this works?

#

im stupid

upper vapor
#

there's an Abs extension method i'm pretty sure

#

what

#

did you just do

#

😭

celest thorn
#

idk brain

#

ig this works fine

#

lol

#

server broke yippe

mild walrus
#

Does anyone remember the plugin that automatically assigns the correct role when a player joins mid-game or when a new wave spawns? What’s the name of that plugin? it was an exiled plugin right?

hearty shard
#

no its basegame

#

late join

mild walrus
#

rly?

hearty shard
#

well not for new wave

#

but if you join late you get assigned correct role

mild walrus
#

its a configuration thing?

#

or its automatic

hearty shard
#

config

#

you can set the timer

mild walrus
#

gameplay config right?

hearty shard
#

yep

mild walrus
#

ty

celest thorn
cyan crown
celest thorn
#

crazy but thats not what i use

tepid sluice
celest thorn
tepid sluice
#

have a dog but allergic to cat?

#

jesus

upper vapor
cyan crown
celest thorn
cyan crown
celest thorn
#

MeowEditorAPI

tepid sluice
#

fk that

celest thorn
#

so even dog can cause me to start dying

cyan crown
#

my bad i have been that sigma today

celest thorn
#

and sometimes i do die for my dog for the fur she has

#

anything that is smoke, dust, animals can make me die

#

oh and flowers too

#

but only some of them with strong scent

tepid sluice
royal mica
celest thorn
celest thorn
#

i suffered for that

tepid sluice
#

god bless u

upper vapor
#

Basic math toomuchtrolling

celest thorn
teal junco
#

is there a way to disable a pickup's rigidbody on the client side but not server side?

#

or to temporarily disable the pickup rigidbody in favor of a server side one?

teal junco
unique crane
#

not sure how will that one look on client

teal junco
teal junco
teal junco
slate flume
teal junco
#

so its always trying to fall on my screen

shy karma
#

how do i change the ammo amount in a gun

#

i forgor

slate flume
slate flume
hearty shard
#

never

teal junco
#

I personally wont be doing anything nefarious so it should be fine

slate flume
#

Can we just network sync everything

teal junco
#

oh also when i made my joules calculator I found that negating the dotproduct of the normals & relative velocity actually broke it kinda, so weirdly i had to go with the opposite and leave it un negated

#

cus I kept surviving bonks to the head with a 500kg weight but only dying from being touched on the side by it

modern lark
slate flume
#

It could be that the contact normal is opposite from the surface normal

teal junco
#

yeah

slate flume
modern lark
teal junco
modern lark
#

Yeah, I mean, I never had any issue with syncing such things

slate flume
#

Depends on if you have it in the air or not

#

Potentially?

#

Unity's isKinematic prevents any forces from acting on the object

#

"If isKinematic is enabled, Forces, collisions or joints will not affect the rigidbody anymore. The rigidbody will be under full control of animation or script control by changing transform.position. Kinematic bodies also affect the motion of other rigidbodies through collisions or joints. Eg. can connect a kinematic rigidbody to a normal rigidbody with a joint and the rigidbody will be constrained with the motion of the kinematic body. Kinematic rigidbodies are also particularly useful for making characters which are normally driven by an animation, but on certain events can be quickly turned into a ragdoll by setting isKinematic to false."

modern lark
slate flume
#

Largely I think the other two variables you provided (gravity and constraints) are unnecessary for the purposes you provided, as the constraints appear to be redundant and I thought gravity worked by applying a force to the pickup, not constantly setting its position

#

To my knowledge isKinematic on its own should have the same effect as if you did it with the other two

plain gazelle
#

Two questions

  1. I can spawn in hundreds of Generator prefabs without issues but spawning in just a couple Gates / Bulkheads (not Doors) and players start rubber banding in specific random areas ._.
    Anyone knows why?

  2. Would it be possible to modify prefabs before/after spawning them in? For example the Clutter prefabs. The big orange pipe prefab has two fence gates on either side of the pipes. Would it be possible to isolate the fence gates and only have them spawn in?

hearty shard
#

generators do sync and having it works fine even with the 3/3 activated etc

plain gazelle
#

Yeah Gens work so amazingly. Dynamically updates the x/y activated and with cassie too.

Spawning in Bulkheads and Gates seems to work fine? So does deleting them
All players see them upon spawning them in, and they no longer see them upon destroying them

hearty shard
#

hmm

plain gazelle
icy knoll
plain gazelle
#

Either is fine

icy knoll
#

Player::Connection.Send(new ObjectDestroyMessage(...))

#

if the other, then you will need to use fake sync vars

plain gazelle
#

In this prefab, i want to destroy/hide everything that isnt the fence in the bottom left. I only want/need that fence

icy knoll
#

ah an object destroy message wont work for that then

#

because it needs info for the whole thing

plain gazelle
#

NW should make more things prefabs for us to use firNodders

#

When will we get Atlas_CleaningAssets_BucketA and Atlas_CleaningAssets_Mop πŸ™

#

But yeah in the end i want to basically delete/hide everything from the prefab
Huge Orange Pipes Open Connector except the objects
TrimVents_GridFence_1m and
TrimVents_GridFence_Door
so i can use them in builds

teal junco
#

can someone explain to me how waypoint followers work

#

i tried doing a foreach of all waypoints but a. it crashed my server and b. i dont know how to figure out whether an object is inside one

obtuse spruce
plain gazelle
#

no?

obtuse spruce
ashen hound
#

that part of spawnable room connectors

#

which are networked

obtuse spruce
#

Oh nice

plain gazelle
#

Oh yeah you can instantiate prefabs from NetworkClient.prefabs just fine

#

But like, thats a single clutter prefab

#

grrr

obtuse spruce
#

Oh okayyyy

slate flume
#

What's your goal?

cyan crown
#

the lighting looks peak

plain gazelle
#

Who is brayden dowson

icy knoll
#

i think

restive turret
#

Riptide

icy knoll
#

eh i know both use their real names

teal junco
#

i want to make schematics follow them

slate flume
#

Sorry just trying to understand the issue better

teal junco
#

because i want to be able to drop schematics into an elevator and have them follow it

#

you saw that i can hold them

#

one sec

slate flume
#

Okay

#

That's actually

#

Really interesting

#

I'm 99% sure if you child the schematic to the waypoint toy it'll follow it

#

Wait actually

#

I lied

#

The best way to do it is probably add a component to the schematic that checks if it's in a waypoint, then have it dynamically move with the waypoint

#

It'll stutter but it should work

teal junco
grand flower
#

Are you making a vehicle

#

In SL

true cedar
teal junco
#

it handles surprisingly okay

#

despite the fact that there's a mandatory 200 ms delay between input and feedback

grand flower
#

Are you okay

#

Is someone holding you at gunpoint to do this

teal junco
#

no and no

grand flower
#

Why would you put yourself through this

pallid galleon
#

okay so this is epic

teal junco
#

now i need to figure out the way to farm the maximum amount of clout off of this one thing

teal junco
slate flume
teal junco
#

Its a complex system i made which i consider spaghetti code

#

but it is also open source

#

let me find it rq

slate flume
teal junco
#

it used to break so much back in the day

#

i think ive mostly patched it now though.

slate flume
#

Very interesting

pulsar charm
#

is it possible to send a message to a player's remote console without a command being executed?

slate flume
#

Well that sends it to the client console, not the RA console

pulsar charm
#

so no way of sending a message to ra?

slate flume
#

Which just calls another function player.ReferenceHub.queryProcessor.SendToClient(text, success, logToConsole, overrideDisplay)

pulsar charm
#

you mean like this?

#

@slate flume

slate flume
#

You need 4 arguments

pulsar charm
#

am i missing a reference or something?

slate flume
#

What is the surrounding code

#

Where are you executing this

#

And why do you need to send output to the RA console

#

Without a command execution

pulsar charm
#

i'm not sure how its releavant but

public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
            {
                string durationString = arguments.At(0);
                
                if (!int.TryParse(durationString, out int duration))
                {
                    response = "Invalid duration. Example usage: diagnose tps 10 (meaning 10 minutes)";
                    return false;
                }
                
                response = $"Starting TPS logging for {duration} minutes. Check the client console for results.";

                sender.RaReply("hello?");
                
                return true;
            }
slate flume
#

Why aren't you just adding it to the response

#

You can response += "\nhello?"

pulsar charm
#

as this is probably going to be used in scenarios with low stability and you'd really like to know if that command is working or not before waiting 5 minutes

slate flume
#

Oh gotcha

#

That makes more sense

#

So you need to cast the sender to PlayerCommandSender

pulsar charm
#

yup that resolves now thx

slate flume
#

Of course!

pulsar charm
# slate flume

do you by any chance know what overridedisplay is for?

slate flume
upper vapor
upper vapor
grand flower
#

what kind of name is that

upper vapor
upper vapor
random scaffold
celest thorn
#

Helo

#

Im doing the countdown im not gonna play any games until dying light the beast is out

teal junco
celest thorn
teal junco
#

apparently it isnt a collider

teal junco
celest thorn
#

by distance

#

AdminToyWaypoint::Add

slow pond
#

why does schematic disappear when walking on with culling parent?

restive turret
#

seems to be the culling is too low

slow pond
#

height of 200

restive turret
#

Β―_(ツ)_/Β―

slow pond
celest thorn
slow pond
#

less than 100

celest thorn
slow pond
#

yes

celest thorn
#

then idk

#

we should see how it works client side

#

so ig just wait for like Riptide or David to answer

slow pond
#

grenade goes through same as bullet

celest thorn
unique crane
# slow pond

Sorry, there is currently a bug.
Set the values using
cullingParent.Base.NetworkBoundsPosition
cullingParent.BaseNetworkBoundsSize

celest thorn
#

i thought you wanted to make it layer 1

unique crane
#

Should be fixed the next update

lilac patrol
#

Theres always a few issues

slow pond
celest thorn
lilac patrol
#

🀞

celest thorn
slow pond
celest thorn
#

the first thing they should redo is the entire networking

#

because its full of rpcs and other stuff

lilac patrol
#

sl ping very volatile

celest thorn
#

and use interest manager

mild ice
#

We need SCP:SL 2

celest thorn
#

LUCID?

hearty shard
#

OMG LUCID

celest thorn
#

thats what we need

mild ice
#

This community can't behave Heartbreaking

celest thorn
#

sorry ;(

unique crane
#

Can we like global ban anyone who sexualizes 939

lilac patrol
celest thorn
#

and already 90% is removed

#

the only place where i heard 939 sexualized is there

celest thorn
#

(by kids)

hearty shard
#

i should be in college class

lilac patrol
celest thorn
hearty shard
#

Instead im sitting in a parking lot

celest thorn
#

crazy

lilac patrol
#

image perms when

hearty shard
#

$500

slow pond
unique crane
#

Huh?

#

How is that supposed to stop bullets?

teal junco
lilac patrol
hearty shard
#

Heh?

hearty shard
slow pond
hearty shard
#

Gotta be careful on what i click

unique crane
#

CullableParent doesnt stop bullets?

#

Primitive objects do

hearty shard
crimson dune
unique crane
#

In that case, he did not give them colliders

slow pond
teal junco
#

Set their flags to include collidable

unique crane
#

Well yours using mer

#

from what I see in your code

#

SpawnSchematic()

#

So look at mer what do you do in the editor

teal junco
#

i just gban anyone who disagrees with me

celest thorn
#

friendly fire

crimson dune
celest thorn
upper vapor
teal junco
#

i just dont

#

my future opinions always take precedence over my past opinions

unique crane
#

Has anyone ever seen these cursors on windows?

celest thorn
unique crane
#

Like wtf where

celest thorn
#

the help one

#

but on old windows

#

like windows 7

unique crane
#

Okay

teal junco
#

i just tried a culling toy, but it seemed to just teleport my object into a random spot far away

celest thorn
#

imagine if this chat gets archived and now scientist are reading that people gooned to 939

#

lol

celest thorn
#

so no more render

teal junco
#

but when i see it, its in the wrong place

unique crane
#

coordinates become relative to the culling parent

#

so 0,0,0 is at the position of the culling parent

teal junco
unique crane
#

Yep

teal junco
#

or like whatever

#

okay tysm

unique crane
#

Of the thing you want to cull

#

And set the culling parent position to where you want the object to be

crimson dune
#

or just like get the position of the toy and subtract the position of the culling parent

teal junco
#

do you think gameObject.transform.position = gameObject.transform.localPosition; would work

teal junco
#

ty both of oyu

crimson dune
#

^talking about bullet's

unique crane
#

You need to have a waypoint nearby

#

for primitives to show in void

crimson dune
#

they show in the void

slow pond
hearty shard
#

Eggs and bakey

unique crane
#

Well can you walk through them?

slow pond
#

NOPE

#

*caps

unique crane
#

What if you spawn them somewhere in a room?

#

Like on surface

slow pond
unique crane
#

What if you spawn the primitive without the culling parent

slow pond
#

bullets hit

teal junco
unique crane
#

gameobject.activeSelfInHiearchy

slow pond
#

like this?

teal junco
#

and just have the collider primitives not under the culler

unique crane
slow pond
unique crane
#

0 clue then honestly..

#

Might want to spawn extra box collider on the server side then

unique crane
#

Well normal gameobject spawning

hearty shard
#

david r u David

unique crane
#

add boxcollider

#

set size

hearty shard
#

Lalalalaa

upper vapor
teal junco
#

parenting can go fuck it self

upper vapor
#

Nuh uh
It's very powerful

teal junco
#

i did what they told me to do and it fixed it client side but then fucked it server-side

upper vapor
#

Then you didn't do it properly

#

Are you using a map editor?

teal junco
upper vapor
#

Can you show how you spawn the thing

teal junco
#

this makes it appear at the correct spot but it isnt actually

#

before i set the position properly it would be at the correct spot but appear in the completely wrong place

upper vapor
#

Can't you pass the transform when spawning

upper vapor
#

You're sending it back to the void anyway

teal junco
#

okay so thats the part that i missed

#

then if i set pos to zero it should work right

#

because then both the client and server will agree on its position

upper vapor
#

Is the schematic static?

teal junco
upper vapor
#

Then it should update properly

icy knoll
cyan crown
teal junco
# upper vapor Then it should update properly

kay so am i still doing something wrong

i do setparent(transform, false) on its own, and its wrong, and then i try both setting position and localposition to vector3.zero and its wrong

teal junco
#

in the first case it just doesnt show up at all, in the latter two it shows up approximately around where it should but is still not there server-side

upper vapor
#

And give MER the transform to parent to

teal junco
upper vapor
#

Would be more ideal

#

Rather than attaching it to the parent later

teal junco
#

is there some kind of reading i can do about culling parents or is there literally nothing

unique crane
#

You see the bounds -> it visible
You dont -> it gets disabled on client

#

thats it

teal junco
#

i will probably sleep on it

#

sometimes that helps

crimson dune
#

i feel like something is a bit buggy about them

teal junco
#

relating to parenting?

#

the actual culling seems to work fine to me

#

but the parenting is FUCKING me UP

#

its either wrong on the server side or wrong on the client side, unplayable either way.

icy knoll
#

sorry to interupt you guys, but does anyone know how to set the ragdoll text when hovered over? like the death reason? it doesn't appear to be settable via the damage handler? would I have to make a new damage handler?

teal junco
#

Custom damage handler

#

its a type, it may have some wrappers

#

i wonder if there's a custom attacker damage handler

upper vapor
icy knoll
# teal junco Custom damage handler

does the spawning ragdoll event happen after or before dying do you know? because i don’t want my logging system to not see the actual reason of death…

#

or does death and ragdoll damage handlers get seperated? idk

teal junco
celest thorn
#

Honestly just a skill issue

upper vapor
#

Right?

fresh zenith
#

hey uh does anyone have an example code how i customize the GUI from the chaoskeycard once it got inspected=?

fresh zenith
unique crane
#

Snake is client side

#

What you can do is patch the relay methods

#

To send fake data to other clients

celest thorn
fresh zenith
#

so.. how did someone manage to play bad apple on this 16 bit NES called a keycard?

fresh zenith
#

oh....

celest thorn
#

using textoys

fresh zenith
#

well i wanted to make an "Game" ui where the player can select different games other than Snake but... well it doesn't work if its client-sided..

celest thorn
#

and doom is possible too

#

(i already did it)

fresh zenith
celest thorn
#

tho i never completed the ai or fixed the shooting

#

but the enviorment works fine

fresh zenith
#

i would really love to see how it looks. and also how texttoys look and if they are worth looking into

fresh zenith
#

so... not THAT high quality like the snake game?

celest thorn
fresh zenith
celest thorn
#

and you cannot do high fedelity "texture"

#

so obv it looks like blocky

#
  1. it needs to be fast
fresh zenith
#

yea. but ngl i would love it if the snake game etc. would be server-sided. that would also allow developers to add other games other than snake.

fresh zenith
#

well it could be easly made if the server sends like a package to the client which has positions and a cooldown once these positions are to be removed/cleared. means the server sends like a block, the client saves it for the duration the server told it to. and after the duration it deletes/clears it.

#

due to the display only being 2 colors atm

#

atleast thats how i would do it.

#

where can i submit a petition to make the snake display stuff, server sided?

fresh zenith
#

k

hearty shard
#

technically server host suggestions but this feels more like labapi thing

unique crane
fresh zenith
celest thorn
unique crane
#

Going to grandma for lunch

#

Win

celest thorn
unique crane
#

Same city

#

Xd

celest thorn
#

Country

#

bruh

unique crane
#

I'm from Czech Republic

celest thorn
#

Ok you are going to eat good

#

lol

icy knoll
#

it's not possible to track when a user opens their inventory, right?

icy knoll
spare zodiac
#

good job

celest thorn
#

helo world

tepid sluice
#

goodbye world

celest thorn
#

if someone (obv not me) is developing a gamemode called steal a brainrot but in sl, would you play it Trolley

#

obv p2w

restive turret
#

sorry i only play pay to lose games

tepid sluice
#

roblox game?

celest thorn
celest thorn
#

is crazy

slate flume
#

Or do you just put it in front of the player

celest thorn
#

i just didn't

slender lynx
#

steal a brainrot

#

in sl

upper vapor
slate flume
# celest thorn no?

I asked because the original question asked if you could replace the snake mini-game with other stuff and you said you did doom using text toys
That implies that you had overlayed the snake screen with said text toys

celest thorn
#

just wait

#

please

slate flume
#

What are you talking about

celest thorn
#

thats why

#

after alot of time i finally ended it

#

and thats when your message came don't worry about it

#

peak story ngl

restive turret
#

??

celest thorn
#

how tf i cannot be sad, like i finished peak

#

and ngl sad asf

#

but i need to go to a fancy dinner

shy karma
#

why does cedmod break my hsm TwT

spare zodiac
pine parcel
#

is it possible for me to write to my config file, and is it possible to do so from a static method?

icy knoll
#

Plugin::TryReadConfig

#

or ReadConfig

#

afaik

#

you should save config instances in the plugin itself though and override LoadConfigs from Plugins

pine parcel
#

I may have to write my own savestate file then...

icy knoll
#

TryReadConfig uses classes

#

lol

pine parcel
#

This is more settings for players that the server remembers for them

icy knoll
#

you shouldnt save that in the main config

#

make another class for it

#

you can do TrySaveConfig from plugin too

#

just pass in your config instance to save with

pine parcel
#

I'll give that a go, thanks!

#

Oh and Lumi, I can give you the code for my TTS stuff if you like?

icy knoll
#

if it doesn't require any subscriptions or any extremely BS like code, then sure

pine parcel
#

I had to write a piped bridge to let x64 plugin talk to the x32 TTS lib

#

But no subscriptions, all open source

icy knoll
#

cool

#

dm me and ill look into adding it to my stuff

#

maybe

pine parcel
#

I'll send once I get polished up

thin tusk
#

Im trying to test my plugin but my LocalAdmin gives me "failed to authenticate: non-issued token used for Authentication"

#

How can I just disable authentication / fix this? Its a testing server so it doesnt really matter anyway

#

(hosting it locally on the same machine)

mild walrus
#

what is the easiest way to obtain the amount of class d and scientists that escaped?

#

at round end

#

or how does it works OnPlayerEscaped and OnPlayerEscaping

thin tusk
mild walrus
thin tusk
#

override?

#

what are you overriding

#

@mild walrus

mild walrus
#

So that when this event happens, it runs the logic to increment the escape counter?

#

instead of doing nothing

thin tusk
#

ehh

#

but you dont need to override to do that

mild walrus
#

that will help to fix the bug?

thin tusk
#

maybe

#

can I see the rest of the code

mild walrus
#

the other part of the code is just round summary things, like damage, kills and these things, and these works fine

thin tusk
#

try using OnPlayerEscaped

#

and check for PreviousRole

mild walrus
#

in the event args

#

ev.Player?

thin tusk
#

yes

#

ev.OldRole

#

sorry

mild walrus
#

ohh found it

#

i will try

#

thanks

pine parcel
#

is there an easy way to get the location of the plugin config folder?

pine parcel
#

found it, for anyone else looking for it, you can use this

this.GetConfigDirectory().FullName
slate flume
#

The game keeps track of this already

#
RoundSummary.EscapedClassD
RoundSummary.EscapedScientists
slate flume
teal junco
#

Is there a way for me to make a rigidbody not do stuff like impart forces on pickup objects i put inside of it?

I have a car with a waypoint attached which slurps up items well. But since the car is physics based, it is a rigidbody, and as such i see it constantly moving pickups around, which causes desync and is very annoying. If anyone knows a way to prevent rigidbodies from doing that with each other thatd be nice. But I think at a certain point I have to realize i need to just accept a suboptimal situation for the good and not waste time worrying about the bad.

teal junco
#

holy shit im stupid haha

slate flume
#

Nah all good lol

teal junco
#

i guess i can just make pickups kinematic in there

slate flume
#

W

#

If you don't want it to move at all you can set it to be static

#

isKinematic allows for movement in certain cases

teal junco
#

it would still be less than ideal but not nausea inducing like trying to catch a slippery desynchery medkit sliding around the floor of my car going like 50

#

i just spat out word salad

slate flume
#

Yeah a pickup in a car you can just set it to kinematic and it'll just plainly follow the movement of the car because the waypointtoy is its parent

teal junco
#

yeah. Maybe I can put like a 1 second delay so it gets a chance to hit the floor

#

only possible issue is like. if a grenade gets in the car the pickups wont be scattered, but thats fine mostly.

#

do u guys ever start thinking something thru and start regretting your code structure

slate flume
#

Also you might be able to use Physics.IgnoreCollider

#

Or is it Physics.IgnoreCollision

#

One of the two

#

You pass in two arguments and the arguments don't collide with each other

#

So you can have any pickup that touches the car stop detecting collisions after the first one

#

That way it hits the car, then sticks to it

teal junco
#

or i just go on another haitus for 3 weeks

slate flume
teal junco
#

because i fear that if they just dont collide the pickup will fall through the floor

slate flume
#

Maybe just detect the first collision and then isKinematic once you do

teal junco
#

yea

upper vapor
celest thorn
#

can i ask you something

upper vapor
#

You just have

celest thorn
#

ngl thats crazy

slender lynx
#

i was having a great time playing then tps EXPLODED and i died

#

need a refund..

celest thorn
#

lol

#

bro is not answering the press, for no pr disaster

upper vapor
#

you can immediately identify the cause

upper vapor
celest thorn
#

bro thats crazy

grand flower
#

Have you considered that SL itself has issues with performance

#

And that we can't optimize it that much DogKek

celest thorn
#

but thats crazy from the guy who saves nano seconds

grand flower
#

Tbh 35 is fine

#

If SL didn't become another shooter 30 would be plenty

#

Also how many players were on

restive turret
#

55665

upper vapor
#

when did i say i had a server with 35 TPS

#

is that what you meant?

celest thorn
#

and for sure its not my server

#

you are dev there

upper vapor
#

and it's not my server

celest thorn
#

aren't you dev there?

upper vapor
#

yea

celest thorn
#

so bro fix the tps

upper vapor
#

and does that mean i have to optimize the whole server?

#

no

upper vapor
celest thorn
#

that sounds like a nw dev talking

celest thorn
#

so

#

that was maro's job

tepid sluice
#

you server got 2 dev only?@celest thorn

upper vapor
celest thorn
#

me

tepid sluice
#

then what maro do

celest thorn
celest thorn
upper vapor
celest thorn
#

i make maps in general, and keep the server

celest thorn
#

just i found it funny

#

lol

tepid sluice
#

oh you maintain whole project

#

jesus

celest thorn
#

i make gtag, Atoh, websites and working on side projects

tepid sluice
#

πŸ’€

#

cooked

celest thorn
#

nah

upper vapor
celest thorn
#

im just laughing that one of the dev team members

#

is like obsessed with nano seconds

#

and the server is 35 tps

celest thorn
upper vapor
celest thorn
upper vapor
#

at this point you could laugh at every developer who works on any server

celest thorn
#

and reported so many issues

#

but sometimes i get banned

#

just being polite

tepid sluice
#

i do my own project and it very original than urs

#

😭

celest thorn
upper vapor
# celest thorn crazy

you want me to refrain from joining NW because i would optimize their code
but on a server i "develop" for, i have to fix the tps that NW caused
makes no sense

celest thorn
#

i don't understand

upper vapor
#

the base game runs this way

celest thorn
#

lol

#

ngl that makes sense

tepid sluice
#

What tps u get when 45 players

#

@celest thorn

celest thorn
#

never got that much

#

but with 30 which is how many we are going to support is like 45

#

50 / 55 now

tepid sluice
#

my server max is 45 and it may go 45 or less when full

celest thorn
#

because not alot goes off

#

like

tepid sluice
#

hate optimizaion anyway

royal mica
#

kek official servers

#

wait how do you have low tps on an official

icy knoll
teal junco
#

my friend told me to sell my car plugin. Greed or stroke of genius??

#

But rather than focus on cars i want to next make a helicopter

#

Because Air to air combat in SL has always been a dream of mine

true cedar
#

air to air combat

tepid sluice
#

what car

true cedar
#

istg

celest thorn
#

lol

teal junco
#

the helicopter just constantly pushes upward. and then tilts forward to make "upward" forward

warped prairie
pallid galleon
#

I don't remember who was doing it but did that SCP Prox chat plugin get released?

slate flume
#

I use LudoHosting and never have to worry about it

icy knoll
slate flume
#

I don't use MER so I don't have to worry lol

icy knoll
#

me either

slate flume
#

The downside is that I need to hardcore my primitives

upper vapor
icy knoll
#

i dont have primitives

icy knoll
slate flume
#

I have like

#

5 primitives

#

Around that

#

Actually 6 I think

#

7 if you count one that isn't visible nor collideable

icy knoll
#

labapi always says my tps is 50 no matter what so im unsure if that's my actual tps or not

#

Server.Tps that is

upper vapor
celest thorn
slate flume
celest thorn
#

Im saying its 45 because we need to run alot of shit

slate flume
#

Just optimize it better tbh

icy knoll
#

then that adds up

celest thorn
#

The test was done with everyone having all cosmetics

#

And being in different towers

#

At the same time

upper vapor
slate flume
#

That's wild

celest thorn
upper vapor
grand flower
celest thorn
#

or paid

slate flume
#

I didn't expect SL to have micro transactions πŸ’€

#

That's wild

grand flower
#

As long as you don't have extremely restricted resources it'll boost a lot

celest thorn
#

other than adding cosmetics

#

And all of them are obtainable via free means

slate flume
#

I mean listen I understand it

#

It's like fortnite skins

celest thorn
slate flume
#

But that's crazy

upper vapor
slate flume
celest thorn
celest thorn
#

you obtain both exclusive for towers

#

and tickets

slate flume
celest thorn
#

tickets can be purchased for like 0.50c

#

or more

#

and then you can just buy skins

#

thats it

slate flume
#

Yeah

celest thorn
#

or item to help you complete towers with buffs

slate flume
#

Exactly my point

#

I'm not saying it's a bad thing, I'm saying I never expected to see that on an SL server lmao

#

It's crazy

pallid galleon
celest thorn
pallid galleon
#

it's uhh... strange

slate flume
#

Like most servers have some kind of patreon benefits

#

It's just crazy to me to see micro transactions like that

celest thorn
slate flume
celest thorn
#

They don't even save in the db as won towers in harder ones

slate flume
#

I would fs clown on people for buying cosmetics in SL

celest thorn
pallid galleon
#

I personally don't like the hat stuff but I don't think it's bad, it's just a cool way to incentivise people supporting the server devs

icy knoll
#

i legit give like 1 thing on sl to people who donate/boost the discord lol

celest thorn
icy knoll
#

i see boosting the same as donating :3

celest thorn
#

by hand

slate flume
#

I think it's a cool unique way to make money but I think it's an interesting choice for an SL server

slate flume
celest thorn
#

I think its just a unique way to not adding p2w

#

and to make it unique

slate flume
# static meteor

Unironically, the server I dev for also has a troll patreon tier like that

celest thorn
#

and really doesn't remove nor the gameplay but just adds

slate flume
#

Because it's SCP:SL

celest thorn
#

and you can still flex because you have cool cosmetics from hard tower

slate flume
#

And not CoD Warzone

celest thorn
celest thorn
slate flume
celest thorn
#

but for the time of making it

static meteor
slate flume
#

It's like at most €8/month

celest thorn
celest thorn
slate flume
celest thorn
#

and realize you cannot keep up

slate flume
celest thorn
#

idk if you realize but we don't only host server

#

we do the gtags and other stuff

#

so thats why

slate flume
#

What are gtags

celest thorn
slate flume
#

No clue what that is

celest thorn
#

tournamnets that marketing / sl realizes in collaboration with some people

#

and for now we are the one realizing them

slate flume
#

Interesting

celest thorn
#

idk why nw doesn't sponsor them in the discord either

#

but yea they exist