#plugins-dev-chat

1 messages ยท Page 103 of 1

slate flume
#

Teach a man to fish -type shit

pine parcel
#

sure, I'll see if I can find it

slate flume
#

I'll give you some reasoning though

#

Hints are part of the game, hence they're 100% in the assembly

#

However LabAPI is all about creating wrappers and stuff for the base-game assembly to make it easier to use

#

So first thing you'd want to do is open up your project, and check the LabAPI Player wrapper for Hints

warped prairie
#

bro is tryna be jigsaw

#

just help the poor dude lmao

pine parcel
#

it's all good, I think I found the method, now I'm trying to figure out how to show the hint while the player is looking at the object in question

static meteor
#

raycast

static meteor
# static meteor raycast
if (Physics.Raycast(ev.Player.Camera.position, ev.Player.Camera.forward, out RaycastHit hitInfo, maxDistance, layerMask)
pine parcel
#

I was going to use distance of some sort, but that makes more sense, I think I need to look through my event reference for an event trigger

worthy rune
upper vapor
#

Impossible
Best guess I have is it has [DisallowMultipleComponent] and the GO has it already
Shouldn't be the case for colliders though

cosmic echo
#

how could I fake a room's light color for a specific player?

celest thorn
upper vapor
#

Get slejm's link

celest thorn
#

i was getting it

#

lol

upper vapor
#

If you have an inheriting class, unity methods from the base class are ignored unless it's virtual/abstract

celest thorn
worthy rune
#

i think its in FpcMotor or FpcModule which you get from FpcRole when you cast RoleBase

slate flume
#

Interesting

#

So what typically is the difference between ReceivedPosition and actual Position

worthy rune
#

ReceivedPosition is just what the client sends(can be anything if they are cheating, but shouldnt matter if its used for a ui hint) actual position is calculated by the server by verifying if the received position could be moved too(actual position could lag behind in the case of desync)

upper vapor
#

Position is current (vector3)
server moves to ReceivedPosition

#

yep

restive turret
#

But as i said, maybe the if guard before is something wrong with it

slate flume
worthy rune
#

wdym by send the client to the new position

upper vapor
#

override i guess?

slate flume
#

^

#

Server gets position
Position is no good
Server corrects position
Server tells client "here is where you're supposed to be"
Client goes to new position

worthy rune
#

server only tells client it where its supposed to be, if the client is too far away. the override distance depends on the max speed of the player

#

its what you typically see as the teleport back(remember server rooms)

slate flume
#

So the server only teleports you to where it thinks you are once you get far enough away?

worthy rune
#

yeah

slate flume
#

That's really stupid and I hate that

upper vapor
#

zero would like to speak

worthy rune
#

if your only slightly desynced it doesnt care

slate flume
#

-# (this has happened to me multiple times)

worthy rune
#

yeah thats understandable

#

when i talk about these things im not defending them in anyway. just explaining it how it is

slate flume
#

Riptide you're da bomb

#

๐Ÿ’ฃ

upper vapor
unique crane
#

Ced and jesus are working on better movement system btw

worthy rune
#

yeah

upper vapor
#

WHAT

#

impossible

#

applying @ NW rn

worthy rune
#

thought in 14.1.3 they already applied the changes, but im unsure

slate flume
unique crane
#

There was public playtest in the qa discord

#

XD

upper vapor
#

right

#

that one

unique crane
#

Mhm

upper vapor
#

i haven't encountered any issues

unique crane
#

no one looks there I know

upper vapor
#

though i didn't play SL a lot kek

upper vapor
#

i just forgot that the beta was about that

unique crane
upper vapor
#

looking at my steam library and being like "wtf is this even"

slate flume
#

Maybe I'm wrong ๐Ÿคท

#

I never checked

upper vapor
#

me when

unique crane
#

Link is somehere

#

Idk where

slate flume
#

Fire

#

I'll find it sometime

upper vapor
slate flume
#

So @unique crane if you're still around
This new movement system, is it going to function the same as the old one or is it going to change the gameplay too?

unique crane
#

Your gonna desync less

#

Gameplay wise it's the same

slate flume
#

Hell fucking yes

unique crane
#

Only the movement will now iterate your movement emtries

#

And walk through them

#

Instead of the last one

slate flume
#

Fuck yes please

#

I'm tired of desync

#

It gets me every other game

celest thorn
unique crane
#

Gg

celest thorn
#

Here's the proof

unique crane
#

Have you reported that

celest thorn
#

i did

#

last message

#

the other one i wasn't recording

#

btw crazy song and editing

celest thorn
#

My w key is coming off

#

but not the E

celest thorn
#

the shit im studying is what i've never studied

#

and i was happy

#

ngl i will fail that test so hard

#

im not even trying that hard to study

upper vapor
#

because shapes

celest thorn
#

i will join with a debt

#

100%

upper vapor
#

circle

celest thorn
#

THIS for example is SO good

#

so goated

#

i love it

unique crane
#

My guess is Ancient Greeks

celest thorn
#

other than being a philosopher

#

btw for my Pythagoras's presentation in phylosophy i brought stones like how Pythagoras FIGURED OUT THE FUCKING THEOREM

#

HE USED STONES

#

ROCKS

#

he calculated shits based on ROCKS

#

and for him 0 didn't exist

#

because thats obv, if he calculated with rocks OBV no rocks means no numbers

#

so 0 cannot exist

#

is abstract

upper vapor
#

there

celest thorn
#

i understood it just because i knew arrays and loops

#

else my brain couldn't comprehend it

upper vapor
#

oh wait i forgot the ^2

#

xd

celest thorn
upper vapor
#

can we have math teachers teach LINQ instead

celest thorn
#

Its the wrong one btw

#

thats for the other formula

#

for calculating this one you don't need to Sqrt

upper vapor
#

yea

#

for omega or whatever that symbol is

#

you do

celest thorn
#

yea

#

idk chatgpt explained it in that way

#

my old math book doesn't even have this shit

#

im cooked

south socket
#

Does anyone know what causes this black magic?

worthy rune
celest thorn
#

i ate the limit

upper vapor
#

you r ate the limit

#

ahahaha

celest thorn
#

i don't wanna be a limit

#

;(

upper vapor
#

rate

#

limit

celest thorn
#

i don't wanna be a rate limit ;(

spare zodiac
#

guys is generating map fully server sided or client sided?

unique crane
#

Both

upper vapor
#

server send the seed, both generate the map

unique crane
#

Map is generated by a seed

upper vapor
#

server adds clutter (and connectors?)

celest thorn
unique crane
#

Yes

#

And spawns other networked objects

#

lockers

#

pickups

spare zodiac
#

david where is the calling event on map generating located?

unique crane
#

SeedSynchronizer

spare zodiac
unique crane
#

No thats class name xd

upper vapor
#

oh wait it's in MapGeneration

celest thorn
#

so the namespace is :Kek:

upper vapor
#

NEVERMIND

#

petition for NW to move all global namespace classes into proper namespaces

#

(aka break the whole dev community)

celest thorn
#

like everytime

#

lowercase n getting changed to UpperCase N

#

for no reason

upper vapor
#

RoleTypeId

celest thorn
#

RoleTypeId.ClassD

upper vapor
#

why is this in the root namespace

#

omg unity

celest thorn
#

no

upper vapor
#

can we make unity add the freaking namespace please

#

and so that visual studio tells you if the namespace is incorrect

#

-# though sometime will ignore it anways

#

WarningAwawke

celest thorn
#

ROTATe

pine parcel
#

is there any way for me to use KeycardItem.CreateCustomCard() but supply the itemName and levels? I'm trying to create an 05 lookalike with a different name and levels

unique crane
pine parcel
unique crane
#

Only the Site02, TaskForce, Management and Metal is available

pine parcel
#

I see, thank you for your help!

carmine prawn
#

wait, did you mean that two minimaps only use 3500 chars?

lucid canyon
#

yes, but if it showing classD room, or other complex rooms it takes amout 4000~4500 chars
so i make statistics system, and change minimap fps is dynamic.

#

funny, showing my rank system's info hint message is 16000chars. ;)

carmine prawn
#

toooooo crazy

lucid canyon
#

yeah, i'm crazy

south socket
worthy rune
#

very odd

#

does it atleast let you pick up 8 radios?

south socket
#

yeah

#

atleast that

worthy rune
#

yeah i got no idea

south socket
#

Apparently, only the radio limit causes this. I find that so strange. Everything else works fine.

worthy rune
#

do you have exiled installed

south socket
#

actually yes i think i never uninstalled it

worthy rune
#

if you can try without it, i would appreciate that

south socket
#

will do that

south socket
worthy rune
#

any other plugins installed

south socket
#

i dont think that MER or Meow is doing anything there

#

but can test without them if you want

worthy rune
#

alright, you could probably make an issue about it on the labapi github. although still do try without any plugins just to be sure

south socket
#

Issue is created. Have fun figuring it out someday ClassDTroll

unique crane
#

@south socket Can you check if the same happens if you do it via gameplay_config?

#

If so, please report it as base game bug

hearty shard
south socket
#

Wait, am I stupid? I recently set it via Assembly CSharp, so of course it must be a Basegame bug. But will test it anyways

hearty shard
south socket
#

im getting scammed i cant set it via config hello

limit_category_radio: 8
south socket
#

in a plugin ofc

#

but yeah

#

so it not let me set the radio limit via gameplay config and i dont know why

#

oh i know why because its set in the default limit to

  [ItemCategory.Radio] = -1,

and the config is ignoring items under 0

hearty shard
#

it takes it right back up to positive when checking it

south socket
#

then im wondering why you cant set it

hearty shard
#

idk

south socket
#

so i guess its basegame right?

hearty shard
harsh thorn
#

during the smod days almost everything was

restive turret
#

๐Ÿ˜ญ

#

Me when unity doesn't support
namespace Meow;

upper vapor
#

even if you give it the compiler options and override the csproj

#

it doesn't detect the behavior in a file

#

i hate not having my collection expressions

#

and ref struct interfaces

restive turret
#

And static abstract

upper vapor
#

"target runtime does not support by-ref-like generics" ๐Ÿค“๐Ÿค“๐Ÿค“

upper vapor
#

PLEASE

#

I NEED

restive turret
#

And INumber, IEEE374Float

#

(the last might not be same name)

upper vapor
#

field keyword

#

null-conditional assignment

restive turret
#

Locks

#

*Mutex

#

Global using

restive turret
#

And IParsable

upper vapor
#

memory extensions (span splitting)

restive turret
#

Yes

#

New compressions

upper vapor
#

brotli?

restive turret
#

ZLib, Brotli

upper vapor
restive turret
#

Atleast 2 isnt available<net8

#

(or like net5 but tbh dontknow)

upper vapor
#

yea

#

static abstract from net5

#

ref generics is .net 9 i think

restive turret
#

Ye i think

#

Quantum Hashing

#

Net10

upper vapor
#

right

#

the new encryption shit

icy knoll
#

static abstract is the shit dude

restive turret
upper vapor
restive turret
#

Finally numeric ordering in strings btw in net10

upper vapor
#

can't have a 0-allocation parser with interfaces in .net standard ๐Ÿ’”

restive turret
upper vapor
#

-# just write it yoursewlf

restive turret
#

Thats why you could have

where T : IMaxValue<T>
T.MaxValue

celest thorn
#

90% of my projects are called MeowSomething

#

so

upper vapor
celest thorn
#

SuperMeowGalaxy

upper vapor
#

MeowMusic when

celest thorn
#

so its easier for future projects

#

Spawnpoints

#

and other stuff like that

upper vapor
#

Get inspired by NW's spawnpoint system

#

It's in

#

Uh

#

Decent form

celest thorn
upper vapor
#

Like it could be extended a lot more but it's usable

celest thorn
#

i mean the problem with it is that every gamemodes does something with them attached

#

but 90% of the others just do nothing

upper vapor
#

Huh

restive turret
#

I hate it but i have to learn some map editor thing so can create actual gamemode and stuff ๐Ÿ˜ญ

celest thorn
#

it saves A TON OF TIME

#

i have settings in the map

#

so i can just replace them and nice

#

90% of the code is in the editor

#

and then 90% is in the plugin

#

the most important logic not needed in the plugin

#

the other on the editor for example calculating scores and everything if you need to visualize it

celest thorn
#

The only thing i don't ever put in there is game management

#

stuff like that is left to the server config

celest thorn
#

you know what i like more?

#

nothing

restive turret
restive turret
#

?????

celest thorn
#

and can give you pregnant

upper vapor
restive turret
#

Futurama blender

#

Also i used blender exactly once

#

(the software)

celest thorn
#

his name was bender

#

not blender

restive turret
#

Ah

celest thorn
#

Bender Bending Rodrรญguez (designated in-universe as Bending Unit 22, unit number 1,729, serial number 2716057) is one of the main characters in the animated television series Futurama. He was conceived by the series' creators Matt Groening and David X. Cohen, and is voiced by John DiMaggio. He fulfills a comic, antihero-type role in the show, a...

#

you probably mean this character

#

inside my kitchen

restive turret
#

I don't have one

celest thorn
#

(neither do i) but i have the mcdonald blender for juice

celest thorn
#

thats your power

#

give man or woman pregnant

upper vapor
#

give them a job instead

celest thorn
#

nah job sucks

#

better be pregnant without any work

#

so no money

restive turret
#

Hey David

#

Can you make a new 16x attachment

celest thorn
restive turret
#

I really close to say something

celest thorn
#

to say what?

restive turret
#

I don't wanna get a warn for "suggestive comment"

slender lynx
celest thorn
slender lynx
#

EXACTLY

pallid galleon
#

How can I run a check to see if 079 has been recontinued (the button pressed)

icy knoll
pallid galleon
#

If the button has already been pressed

#

I have a custom role that sets a pc to a clone of whatever player they ping, then back to pc when that clone dies

#

hmm actually I can probs just run the event when pc is overcharged

#

and kill the clone

thin tusk
#

I have a question about a plugin Id like to malke

#

am I allowed to give the player something similar to Overwatch role where they can see player hitboxes / names through walls?

thin tusk
#

its not?

upper vapor
#

RecontainmentDamageHandler

upper vapor
#

i guess you could mess around with hints

thin tusk
#

what if I reuse the overwatch function itself

upper vapor
#

and use | and - (or similar) characters to draw the hitboxes

thin tusk
#

I imagine theres gotta be something in-game that triggers it

#

similar to SCP1134

upper vapor
thin tusk
#

and cant I send a petition to enable it for the client?

#

and is there a way to make a player not viewable by SCP1134?

hearty shard
thin tusk
#

hmm

#

i dont think that would work due to how I'm making my plugin but

hearty shard
#

Thats how youd do it

restive turret
restive turret
#

Cus nw

hearty shard
#

you still should be able to?

thin tusk
#

because players too far away now get faked as spectators and changes dont a pply

hearty shard
#

you just have to correct it more often

thin tusk
#

leading to desync

restive turret
#

Ye but some things isn't syncing correctly

thin tusk
#

^^

hearty shard
thin tusk
#

happened to me with size, effects and roles

restive turret
#

Scale is fucked

thin tusk
#

yes

hearty shard
#

Sync it urself

thin tusk
#

still doesnt work half the time even when syncing

restive turret
#

I just wait for them to actually fix their own system first

#

Since they did it in last minute i don't wanna deal with it

#

The first X time works, but after it just broke long term

#

And since i guess many fixed and actually patches coming i just wait until it's here

#

I just disabled all player role fake syncing

#

Other sync should work

true cedar
hearty shard
true cedar
#

full name rue lola paislee

hearty shard
#

Renaming you

#

To Dumbo

celest thorn
#

you know what would be crazy to do ViaVersion but for SL

celest thorn
celest thorn
icy knoll
#

it's practically impossible

#

because old models for heavy have been deleted

#

probably

#

idk

celest thorn
#

not impossible

pure crag
#

Please tell me how to get the elevator position. For example, the elevator at gate B\

unique crane
#

elevator.Position

celest thorn
#

hello guys

unique crane
celest thorn
unique crane
#

alive

celest thorn
#

nice

carmine prawn
celest thorn
#

this chat is always dead

#

we NEED TO MAKE IT ALIVE

#

this is the best chat of this entire discord

slate flume
celest thorn
#

?

slate flume
#

We need to get more people in here asking questions and complaining about NW issues

celest thorn
#

Poor david he deserves better

slate flume
celest thorn
#

Nw sucks but david he is cool

celest thorn
#

But not only for that

slate flume
#

We can stress out other devs too

celest thorn
#

Its the cool place for not brainrotted kids

slate flume
celest thorn
#

This is what we do to them

celest thorn
#

2 things i love in my life

#

Are cheese and potatos

slate flume
#

I fucking love potatoes

#

Mmmmm

celest thorn
#

YES

#

INSTANT BUY

slate flume
#

I like to take some potatoes

#

Put some olive oil on them

#

Kosher salt

#

Smoke those suckers

celest thorn
#

AHHHH

#

Lovely

#

For sure

slate flume
#

Grab some sour cream, chives, sometimes a little cheese

celest thorn
#

Remove sour cream

#

And we are friends

slate flume
#

That's fair

#

Not everyone is a sour cream person

#

I don't discriminate against any food

#

I'll try just about anything under the sun

#

A good supreme taco? Yum

celest thorn
#

Its not something common in italy

slate flume
#

You live in Italy?

#

That's hype I'm going to Italy in a few weeks

#

I like living in America cause we have so many different dishes from different cultures here

#

I'm able to always try new things and new experiences

celest thorn
celest thorn
hexed girder
#

No.

celest thorn
#

Best gif iโ€™ve ever created

upper vapor
slate flume
#

I'm gonna go travel around Europe in September

#

Visit a lot of historical sites, meet up with some family

#

Try a lot of new foods

upper vapor
#

OMG

#

are you gonna experience MรV

#

and since when are you level 30

slate flume
#

What

slate flume
#

I talk in dev and support channels a lot

#

I like helping people

upper vapor
#

i love leaking my location

#

thanks google

slate flume
#

Ofc

upper vapor
slate flume
#

Iirc I'm getting a eurail pass

upper vapor
#

WHAT

#

omg

#

okay i checked their website

#

uh

upper vapor
# slate flume Iirc I'm getting a eurail pass

RJX: "reservation is recommended but not required" (Budapest-Hegyeshalom)
seat reservation is mandatory for domestic destinations on railjets in hungary
so if you use their app/planner, make sure to check the country's agency's planner service

slate flume
upper vapor
#

well good luck then

south socket
#

when 106 proximity voicemessage fix coolsunglasses

slow delta
#

What should I do? DDoS?

[2025-08-23 15:01:14.799 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.800 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.800 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.801 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.801 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.801 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.801 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.803 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.804 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.805 -03:00] [STDOUT] [NM] DataReceived: bad!
[2025-08-23 15:01:14.805 -03:00] [STDOUT] [T102] [NM] DataReceived: bad!
[2025-08-23 15:01:14.806 -03:00] [STDOUT] [T102] [NM] DataReceived: bad!
[2025-08-23 15:01:14.806 -03:00] [STDOUT] [T102] [NM] DataReceived: bad!
[2025-08-23 15:01:14.806 -03:00] [STDOUT] [T102] [NM] DataReceived: bad!
[2025-08-23 15:01:14.806 -03:00] [STDOUT] [T102] [NM] DataReceived: bad!
๐Ÿ˜”๐Ÿ˜ข

pallid galleon
#

turn off or delete LA logs if it isn't impacting your server

#

we have that permanently on one of our servers so I just turned off LA logs on it to avoid bloat

slate flume
#

It'll be a good time

#

It's nice not being the one planning it

#

Added bonus: drinking age is lower in the EU so I get to get fucked up

slow delta
hearty shard
celest thorn
#

And trust me drinking in another country suck ass

unique crane
#

They will make you pay double the price kek

celest thorn
unique crane
#

what

#

Im talking about the alcohol

celest thorn
#

Lol nah

unique crane
#

Aha

celest thorn
#

I paid same price as everyone

#

But i had people near me

unique crane
#

You clearly never visited Prague

celest thorn
#

(All of them alcoholics)

#

So that was it but i fucking was miserable

#

In budapest lol and saying the wrong shit get you in prison

#

Idk how tf my classmate didnโ€™t go to prison

upper vapor
celest thorn
#

He was fucking with the guards infront of the parliament

upper vapor
celest thorn
#

Got called a rat multiple times tho

#

Fun experience

#

And the day after we went away the prime minister of isreal was visiting and then the protest lgbt was like a week after

#

So pretty much big events we missed them thank god

upper vapor
#

so sad that you missed the tรกrnoki sorompรณ incident

celest thorn
upper vapor
#

dw about it

celest thorn
#

Someone got ran over a tram?

#

I donโ€™t understand

upper vapor
#

no

#

it's uh

#

xdd

#

fรบ more

celest thorn
#

I googled that but i do not understand anything

celest thorn
#

Idk im seeing PICTURES OF TRAINS

upper vapor
#

i'll dm you an article cuz it's a bit political

warped prairie
slate flume
slate flume
#

I wouldn't plan on going to another country just to drink alone

celest thorn
#

So not risking it and i donโ€™t like alcohol either so

upper vapor
slate flume
#

I like getting fucked up

#

I don't like my brain

celest thorn
#

Ngl i said to my friend some personal stuff while i was drunk worst decision of my life

#

And the funniest of them all

#

In train i started saying to one of my classmates you said banana instead of something

#

And then laughing

#

Like a fucking idiot

upper vapor
#

return to monke

unique crane
#

There was only 1 time where I felt my motoric functions werent the best

celest thorn
#

And all of that while i drank just half beer

unique crane
#

And my vision was a little bit delayed at times

#

Interesting experience

celest thorn
upper vapor
unique crane
#

Like that yes XD

#

But I was still aware of my surroundings

#

so I guess it was very tiny bit

celest thorn
#

Half in the dimension

#

Another in this one

#

Like this

#

Thank you for the embed

restive turret
upper vapor
#

senior sr

celest thorn
upper vapor
#

maro: "why do you use localadmin"

celest thorn
icy knoll
restive turret
#

i was literally in the round

#

uh how can i make the gun shoot lower?
use Weapon.BoltLocked = true;
then after some time BoltLocked = false; ?

upper vapor
#

lower?

restive turret
#

its an automatic gun

#

ye

#

want them to shoot lower

#

like

#

slower

upper vapor
#

ah

#

fake the ammo

#

BoltLocked does some weird stuff

unique crane
#

Locks the gun's bolt

pallid galleon
#

Does anyone know how I can make a human role be part of the SCP team? Like part of SCP voice chat and not be able to get damaged by scp's

#

Like I want a tutorial role that can be part of the SCP team type beat

unique crane
#

Via event

#

and same for damage

restive turret
unique crane
#

Yea

#

But its not the best way to reduce gun firerate

#

but probably the only one for now

restive turret
#

Nice, more question, what is the layermask in raycasting where it doesn't count myself

unique crane
#

I think there is parameter to ignore specific game object...

#

Sec

restive turret
#

Might fixed it with adding the camera direction

unique crane
#

Nvm there isn't

#

Yea

unique crane
tulip kiln
#

Does anyone know how a player could be a Chaos Insurgent, but see 3114's hands and the target count? I was sent this by a player, but 3114 isn't even enabled ๐Ÿ˜ญ

I have a method subscribing to RoleSyncEvent that fakes a skeleton, but this player was not the target of it and the method unsubscribed from it ages ago at this point in the roundsnap

warped prairie
# tulip kiln Does anyone know how a player could be a Chaos Insurgent, but see 3114's hands a...

ive had some major issues with client syncing and a ton of stuff recently animation, but im passing it off as just being my game doing the thing. like i get things like this regularly https://cdn.discordapp.com/attachments/1151931584639926333/1408885135386087546/MedalTVSCPSecretLaboratory20250823144534-tr-edit.mp4?ex=68ab5e08&is=68aa0c88&hm=1f1eb96bb3a1cda977eb617689852deb35506d697141f0f7be028b7851af3774&

#

dunnow if its connected

restive turret
#

I love this

#

The elevator is goated

grand flower
#

relative positioning moment

warped prairie
#

harry potter ass facility

restive turret
#

Also yes the moving towards worked, needed some change and also the auto pickup too, needed to create another collider and disabling the rigidbody kinetic (so it doesn't start flying the item.

harsh thorn
#

@celest thorn Btw, you mentioned you also wanted to add some config stuff to some cedmod patches, was that still something you wanted to do?
if so, what was it

as i want to probably release it as preview tomorrow or something

warped prairie
#

Hey, Does anyone know if HSM has a built in duration feature to show it on screen only for a set duration or should i just make it myself

slate flume
# warped prairie Hey, Does anyone know if HSM has a built in duration feature to show it on scree...

I couldn't find anything so I made my own

private static readonly Dictionary<string, CoroutineHandle> ActiveCoroutines = [];
public static void DestructibleHint(Player player, Hint hint, float duration)
{
  PlayerDisplay pd = player.GetPlayerDisplay();
  if (pd.TryGetHint(hint.Id, out AbstractHint existingHint))
  {
    existingHint.Text = hint.Text;
    Timing.KillCoroutines(ActiveCoroutines[hint.Id]);
  }
  else
  {
    pd.AddHint(hint);
  }
  ActiveCoroutines[hint.Id] = Timing.CallDelayed(duration, () => { pd?.RemoveHint(hint.Id); ActiveCoroutines.Remove(hint.Id); }
  );
}
#

It's a little poorly made but it works

#

I'm sure you can improve on it

warped prairie
#

aight, ty

slow delta
#

[2025-08-23 19:39:08.647 -03:00] Could not update server data on server list - (LOCAL EXCEPTION) The operation was canceled.

#

i need help ๐Ÿ˜ญ

#

DDOS?

hearty shard
#

It shouldn't be an issue really

slow delta
# hearty shard Is this spammed or one time

Sorry for the inconvenience, but it keeps coming up, and the server people are complaining and I don't know how to counteract this error. I'm starting to think that someone is attacking my server.

slow delta
#

It's just one message that appears and it takes all my people

hearty shard
#

I believe it was you earlier that posted something with "Bad data!"

#

If you saw THAT, then its a ddos

#

Which then ig could also cause your servers traffic to stop ig

#

Still dont think you wouldnt be able to update to nw servers

slow delta
#

I fix it every few minutes, but 10 minutes later, the damn error reappears. It's awful. Another owner I spoke to told me that there were a lot of errors after the 14.1.3 update and that he was also experiencing crashes. I'd like to think it's something else.

I'd like to fix it.

#

I can't change hosts, as if nothing had happened. I have all my stuff and I don't have the money to pay for another host quickly.

It's not my plugins anymore, it's this frustrating error.

#

thanks for help โค๏ธ

hearty shard
#

I had a crash, which was a plugin that broke
That was fixed by changing a line

harsh thorn
#

aight

hearty shard
#

However if you are receiving "Bad data!" logs, you are being sent invalid data, likely a ddos (especially when spammed)

The only 2 solution to this is to ignore it OR get a host with good ddos protection specific to SL

#

It just be like that

slow delta
#

I'll keep that in mind.

hearty shard
#

or did you mean you hope you can find the solution, not me? Im a bit confused ๐Ÿ˜ญ

#

But yeah, theres not really much to do about ddoses other than pretend the high ping isnt real, or change hosting really

#

Well ig theres the option of using a seperate host to tunnel the data and have that have ddos protection (MAYBE)
but as you said you dont really have money for it and idek if itd be good

slow delta
#

As a friend said... GeoBlock.

hearty shard
hearty shard
#

Its still reaching the server, still overwhelming

slow delta
#

Yes, I don't really think it will solve the problem, but I'm going to start blocking all the countries I don't want to be there, or where the attacks usually come from.

pine parcel
#

Would using a service like cloudflare for DNS Server/DDoS protection work? Not sure how unique SL attacks are in nature

harsh thorn
harsh thorn
#

geoblock just prevents non allowed countries from authenticating

#

ddos traffic is just invalid shit being spammed with the goal of overloading the networking of either the process, or the machine it runs on

pine parcel
harsh thorn
#

cloudflare proxying only proxies web traffic

pine parcel
#

Are you saying it is just a passthrough rather than analyzing the traffic?

harsh thorn
#

because cloudflares edge servers dont understand UDP traffic, or non http for that matter

#

as their proxying in dns settings, is for http

pine parcel
#

So when players connect to scp.mydomain.com (replacing my actual FQDN) with the example, how are they getting to my game server? I have it working this way currently

slow delta
#

I have no idea, guys. I'm just a novice owner who wants to protect his server from malicious attacks. As long as their activity affecting my server is reduced as much as possible, I'll be happy.

But everyone is talking about DDoS attacks in Latin America. Unfortunately, it seems there is no solution.

harsh thorn
#

cloudflare isnt proxying anything

slow delta
#

Any Tip for ddos attack?

harsh thorn
#

get a host with ddos protection

#

specifically, one that has a filter for sl

#

as those "generic ddos protection" ones will just leak half the attack

#

as they dont know what is real sl traffic and what isnt

slow delta
# harsh thorn get a host with ddos protection

It seems like you know, bro. My mistake is this

[2025-08-23 19:39:08.647 -03:00] Could not update server data on server list - (LOCAL EXCEPTION) The operation was canceled.

and it seems to happen very often. Another owner neighbor told me that it's because of the 14.1.3 update. This error is very annoying. It takes away half of my people or all of them, and removes the server from the public list.

#

Do you know anything about this error or how to fix it?

harsh thorn
#

so that may be why

slow delta
pine parcel
#

Do you rent the server or do you have it in house? I run my own server with my own network equipment. While server-side geoblocking won't help as Ced mentioned, if you geoblock router side that traffic shouldn't even reach your server. Feel free to correct me if I'm mistaken Ced

harsh thorn
#

if you geoblock from the router itd work granted the router can handle the traffic (note your restirctions cant affect NW staff as per the CSG)

#

but if you geoblock from sl it wont work (obviously)
and geoblocking from the same server machine also wont work as the attack will likely overrun the linux (or windows) networking stack

pine parcel
#

If it's your own network, a ubiquiti router is a good shout imo

glad pagoda
#

or the actual connection

#

since if you have 1gbit

#

then you can only block less than 1gbit

slow delta
#

My host is This

glad pagoda
#

and ddoses go higher than that

#

so with a big ddos, it won't even get to your router

pine parcel
#

What do the official servers do? Or is that a trade secret?

harsh thorn
harsh thorn
pine parcel
#

I see, I imagine the protection algorithm is kept private for business & security reasons

harsh thorn
#

protection systems should implement the "preauth challenge" mechanism into their own filters

#

eg with XDP

glad pagoda
#

and ofc do the generic stuff

harsh thorn
#

so the entire preauth validation, challenging, and such are handled entirely outside of the game

#

in a space on the system that can handle a lot more, on a network that has a lot more capacity

pine parcel
#

Would you ever consider writing an NGINX plugin to handle DDoS protection?

harsh thorn
#

i write my ddos protection in XDP

#

because its 5000times more performant than anything that runs in userspace

#

XDP programs run in kernel space, before the kernel itself does anything with networking

#

theres also another way to do it that runs in userspace but also not, forgot what it was called, also low level

pine parcel
#

Does XDP handle proxying as well? I imagine so right?

harsh thorn
#

XDP is a kernel layer of packet processing

#

you can makeit validate packets

slow delta
# harsh thorn protection systems should implement the "preauth challenge" mechanism into their...

i have this options in my server

#Reply - prevents from flooding server with preauth requests from spoofed IP addresses
#MD5 or SHA1 - prevents from flooding with preauth requests from legitimate IP addresses as well. Requires additional time to join the server.
preauth_challenge_mode: reply
preauth_challenge_base_length: 12
preauth_challenge_time_window: 15
preauth_challenge_clean_period: 5

#

A tipยด?

harsh thorn
#

the game server already has challenging

#

the ddos traffic overloads the game server as it cannot handle it in time

#

the only way to protect against it is by having something that validates the traffic BEFORE It reaches the game server

#

and if the ddos traffic is larger than your max connection speed

#

its not going to help regardless

slow delta
harsh thorn
#

should generally just leave the setting alone

#

its not going to save you from an attack, as the attack doesnt even reach the challenge point

#

like i said, your best solution is to find a host with proper ddos protection

#

there isnt a magic config value that i can give you that will make it work

slow delta
harsh thorn
#

theres 3 options, realistically
do nothing and accept it
find a host with ddos protection
learn, research, fuck around, find out

slow delta
#

And isn't there a way to strengthen the DDoS protection on the server I rent or add anything to it?

I don't really know much, but if I can do even a little, it would be a huge help to my community!

harsh thorn
pine parcel
slow delta
harsh thorn
#

if you dont have the expertise to create your own mitigation (and that might not even work if the attack is bigger than what your server can handle) your only real solution is to just rent from the people who do have the expertise and resources to assist in that regard

harsh thorn
pine parcel
#

Good to know, that makes it harder then

harsh thorn
#

so technically speaking, if an attack knows its geo blocking
they can just spoof to those KEK

glad pagoda
#

even on TCP you in theory can spoof it

harsh thorn
#

yeah you can

harsh thorn
#

syn flood

glad pagoda
#

just you won;'t get through the connection estabilishment

#

so it won't get to the app

harsh thorn
#

exactly

#

the only solution that can partly help is make something that will validate the traffic and perform the preauth challenge before it reaches the game server
but there is no simple "install and run" thing for this

pine parcel
#

Quick question Ced, about XDP, would you then handle DDoS mitigation in the kernal, at which point the remaining traffic gets handled by NginX for example?

slow delta
harsh thorn
harsh thorn
#

the only minimal work method is using a host with protection

#

or well, doing nothing kek

pine parcel
#

Would unlisting his server help if it's just friends who know the IP?

harsh thorn
#

well, considering the server is listed i dont think the server is meant to be private kek

slow delta
# harsh thorn there isnt one, unfortunately

Well, if you say so, considering how you talk and your roles, I'll have to believe you.

But I'll try, because the community doesn't like it at all.

Thanks โค๏ธ ๐Ÿซก

slate flume
harsh thorn
pine parcel
#

I think the server just gets waterboarded by the number of connections right?

harsh thorn
#

80% of ddoses are just invalid shit that dont even get recognized as real sl packets

#

but it still needs to read and receive them

#

in which, it gets overloaded

#

for cases of preauth spam, those dont reach the event
but same thing applies, it has to read and process them all
and gets overloaded in doing so

slate flume
#

So how do you parse and protect against that? And the follow-up is why wouldn't the game just have that built-in if it's possible?

harsh thorn
glad pagoda
#

the game just ignores the stuff

#

well prints a log

pine parcel
harsh thorn
#

the game ignores it, but the socket and the thread handling receiving gets overloaded

#

it still needs to read the packet and decide to ignore it or not

slate flume
harsh thorn
#

that can become a bottleneck when you are getting 400k packets per second

slate flume
#

Sounds like an insurmountable problem

glad pagoda
#

cause it's a network layer problem

harsh thorn
# slate flume So there's not much you can do about it?

nope, only way is getting a host with ddos protection
making an external application that will multithread the fuck out of networking and handle the validation for the game server

or making a XDP program for ultimate performance and handling capacity

glad pagoda
#

not an app layer problem

harsh thorn
#

sl will likely die at 100kpps
network layer itself wont

but say its 500kpps
the OS itself will struggle, and your ssh connection will die too

glad pagoda
slate flume
harsh thorn
slate flume
harsh thorn
#

they arent built for it

#

and neither do the applications on the receiving end

harsh thorn
#

dedicated machine you are absolutely balling

#

and your only limit is the uplink
unless your cpu is hot garbage or something

#

small reference for scale

300kpps attack being rejected at about 5% cpu
it looks to be a liniair scale, just ran into the funny virtio limit when i was developing my stuff to deal with an attack

pine parcel
#

@slate flume unrelated: did you have that code chunk for handling audio, sending through voice channels , and compression/decompression using Opus?

harsh thorn
glad pagoda
#

our centrals were getting 2tbps attacks in the past

#

that were handled by the hosting providers

#

if they got to the actual server, it would never be able to handle that

harsh thorn
# harsh thorn also for this, yeah you will need to have a server behind a bigger network that...

if you manage to obtain some sort of 10gb/s server you can theoretically resist shitty attacks using an XDP program, maybe even a proxy for sl will work if you configure linux right
(if vps, magic 500-600k pps limit from virtio imploding applies regardless of attack size)

but XDP remains the fastest way, but also the most dificult as theres absolutely 0 info on how to do half the things and you need to dig to find out how to do shit
(enjoy coding C and dealing with a "verifier" that will make 100% sure your code can never crash because its kernel and give you the most vague error messages)

pine parcel
#

This is why I never got into programming beyond a hobby. Huge respect lol

harsh thorn
#

tbf, XDP is one hell of a special case

#

its a lot less commonly used by your average developer youd find on this server

pine parcel
#

But it seems very helpful. I think in part maybe if I did schooling it might help me understand more in regards to programming, that or maybe I'm just not cut out for a career in it, but that's okay

#

This has been a chill community to learn in

harsh thorn
#

i initially learned how to code by making a plugin, and just keep trying to make it work and improve on it

pine parcel
#

That's been my journey. Learned Python by trying to make discord bots, csharp for win services and sl plugins

harsh thorn
#

to dumb it down a little

in the end, each language just has a syntax, you need to learn how to use the syntax
then the rest is just logic thinking

"what do i need to do X"

#

ofcourse its a bit more than that, but the largest bit is just logical thinking

pine parcel
#

I think in part that's where this has been harder for me. Discord.py has beautiful documentation for everything. I could look up a method, property, type, etc. Have everything I need.

I'm still getting used to digging through the libs myself in csharp

glad pagoda
#

still proud with how my edit became a permanent part of the meme

pine parcel
#

I will say, Python makes a great testing lang from the perspecting of rapid reloading, REPL loop, etc.

#

But I understand the pros and cons of each language. Interpreted just ain't as fast

harsh thorn
#

imo python is that "i need something now" type language

#

cuz you can just write random bs into a file named .py and just run it

#

as opposed to having to make a solution, make a project
compile it, run it

slate flume
#

It has like 50 billion libraries

#

Libraries written using C code

#

I use it a lot for things like automating tasks on my computer or using libraries to process and work with files

slate flume
pine parcel
#

Basically TTS

#

Then I need to hook into a c project for DECTalk and achieve moonbase alpha TTS in SL

true cedar
celest thorn
#

youtube music is actually good for some reason lol better than spotify im actually surprised

warped prairie
celest thorn
#

like i had this problem with spotify ALWAYS the same SONGS

warped prairie
#

ok bet

celest thorn
#

and i have a 500 songs

#

SO HOW TF its possible

warped prairie
#

only reason i didnt wanna buy yt music is bc its expensive last i checked

#

and i got spotify through family ๐Ÿ˜›

celest thorn
#

and everything is free

#

Its crazy

warped prairie
#

dosnet yt music also have like 2x variety?

celest thorn
warped prairie
#

bc its all stuff on youtube availb

celest thorn
#

Because you can access youtube stuff

#

so remix etc...

warped prairie
#

thats cool as fuck actually.

#

ill consider swapping, but i have all my music on spotify lel

celest thorn
#

and i just used a tool

warped prairie
#

was gonna say, if there was a way to transfer liked songs thad be cool.

celest thorn
#

i used this

#

and it worked all of the songs are the same

#

on 1k songs only 2 didn't got found

warped prairie
#

does it still have the same features as spotify like the syncing with mobile and the casting?

#

if it does than im fully sold

celest thorn
#

i usually use desktop

#

but let me check

#

Example NOW i CAN LISTEN NINTENDO'S SONG

#

amazing

warped prairie
#

cus ill use my phone for speakers etc.

celest thorn
#

i was clowing on maro for using it

#

but now i fucking hate spotify

#

everything you pay

#

here everything free

#

spotify takes down every remix

#

anything

#

that is not the official one

warped prairie
#

yea fr i noticed so much stuff just getting taken down

celest thorn
#

and it got me pissed off

warped prairie
#

you have sold me, this will be a task of mine at some point

celest thorn
#

I mean there's ADs but adblocker should do the job

#

on the mobile app

#

but no background songs (on IOS)

#

its pretty much the same as desktop just with ads

#

and no background song

#

thats it

warped prairie
celest thorn
#

Compared to spotify tho

warped prairie
#

but theoretically wouldnt buying yt premium solve all fo that

celest thorn
#

its still better

warped prairie
#

even tho its like 16$ CAD per month Despairge

celest thorn
#

you know

#

that

#

...

#

thing

warped prairie
#

for how much youtube I watch aswell its prolly worth

celest thorn
#

without youtube

#

no dinner

#

no eating

celest thorn
#

PLEASE NO

warped prairie
#

curse of 1 meal no youtube

celest thorn
#

just saved a video like that

#

And now i got this banger

#

everyone should play Mario & Luigi

#

best games

#

even better than Pokemon as an RPG

warped prairie
#

can you rip straight up videos and save them or does youtube kinda know to filter out stuff

celest thorn
#

i found it on video

#

and its a video from youtube

#

that is just playing

warped prairie
#

would be funny if i could save like a whole markiplier video to my liked songs

celest thorn
#

No but

#

if you search markiplier it shows up fnaf songs

warped prairie
#

lol

#

wait does it mean audiobooks / any other audio stuff would be on there.

celest thorn
#

i guess they use something to detect if its a song or a audio

warped prairie
#

huge pottential

celest thorn
#

OH the version of this song i took

#

is 30 MINUTES

#

i was about to say wtf why it doesn't end

upper vapor
pine parcel
#

oh nice, thanks Ax!

upper vapor
#

Np

celest thorn
#

gm

upper vapor
#

If your use case allows it, you can write a SendEngine for SecretLabNAudio that converts the AudioMessage into a VoiceMessage

#

(By assigning the Data and DataLen)

pine parcel
#

can your lib read from a memory stream?

upper vapor
#

Yes

#

Any stream as long as you can convert it to a WaveStream

#

Any*

#

-# *network streams are weird

#

Whats your use case

#

An ogg file in memory?

pine parcel
#

I'd have to check what System.SpeechSynthesis uses for stream

upper vapor
#

Well, if you can write it to a memory stream then you're good
Make sure to seek it to the beginning before initializing the VorbisReader

pine parcel
#

gotcha, yeah it looks like it's WaveStream output

upper vapor
#

You can install the packages (make sure both is the correct version, NAudio.Vorbis is on an older version of NVorbis)

#

Or use CreateAudioReader.Provider(memory, "ogg") so you don't have to reference NVorbis in your plugin

pine parcel
#

any benefits to NVorbis?

upper vapor
#

SecretLabNAudio uses it under the hood

pine parcel
#

I see, I think I recall seeing it in the dependencies section

upper vapor
#

Yeah
For easy installation you can install the full plugin, it takes care of deps

celest thorn
#

helo

upper vapor
#

why does the map generate when i canceled it skullbutreal

celest thorn
#

not enough power on rise of kingdoms

unique crane
upper vapor
#

if i use a waypoint toy, the map generates
if i use a door to create a waypoint, there's no map

celest thorn
#

Crazy new stuff to parkour on

unique crane
#

Just a teaser xd

celest thorn
#

Thats why I NEVER SWITCHED

unique crane
#

Honestly the no map gen version is kinda broken yea

#

Ill have to look at it some day

celest thorn