#plugins-dev-chat

1 messages · Page 139 of 1

restive turret
#

I will haunt you and you will break your stuff on my behalf

cyan crown
#

evil programmer

restive turret
cyan crown
#

i'm gonna send bools and 10k if statements to knock at your door

restive turret
#

They have to knock different times

cyan crown
#

😂

restive turret
#

Not like i open door to anyone

cyan crown
#

like a lot

#

to be fair i had 2 unity open for 6 hours

#

😳

restive turret
#

Muhaha

cyan crown
#

its fine now

restive turret
#

Restart pc

cyan crown
#

i'll turn it off right now and go to sleep

restive turret
#

I had 2 VS open, unity and vsc and like 30 chrome tab
And unity , vsc crashed

cyan crown
#

💀

restive turret
#

Was out of ram

cyan crown
#

yeah probably same for me

#

anyways good night sigma

#

i'll see you tomorrow

restive turret
#

And I'm gonna break things

glad pagoda
#

but it crashed my GPU driver too

#

yes

#

that's a 22GB alloc there Kek

cyan crown
#

😿

plain gazelle
#

Working Utility Cart

cyan crown
#

Does the cart react to physics?

#

If no then its bad😾

tulip kiln
slow grotto
teal junco
#

so theoretically he could add a rigidbody to the cart.

plain gazelle
#

:c

tulip kiln
#

Since when we were allowed to have our own waypoints

#

I forgor

plain gazelle
#

couple versions ago idk

cyan crown
#

Would love to see it react to physics ngl

slow grotto
#

Just make sure to use WaypointToy::BoundsSize and not Scale. I've only heard legend of the bugs that introduces.

teal junco
#

Bounds was introduced recently

#

So yes

teal junco
#

Like there isnt much reason for that to be there.

plain gazelle
teal junco
#

You can throw pickups to push it. You can bump them against each other

teal junco
#

Its a good system though.

plain gazelle
#

I use locked InteractableToys as the Utility cart trays because for some reason they dont collide with players but collide with items. So its perfect

teal junco
#

Well it works. Nobody wants to maintain an entire fork of MER just for a few things

teal junco
plain gazelle
plain gazelle
teal junco
#

Im mostly talking about the one where it scans gameobject names

#

its part of the publicized one.

plain gazelle
#

Something about being able to spawn in Schematics within subfolders

#

base PMER doesnt support it afaik?

#

so the person edited something(?) and now we can have Subfolders in our /Schematics/ directory

#

so much cleaner

#

qwq

plain gazelle
late shoal
#

So basically i did a queue-system and i want to make a command, where you can switch the servers... but im getting this error in my console, when i type the command, any ideas?

Failed to decrypt received message. Encryption key is not available.

sinful bronze
#

Gog morning plugin devs

heady turret
sinful bronze
slow grotto
heady turret
sinful bronze
#

I see TayTay have a good morning

true cedar
heady turret
#

You wrong

sinful bronze
#

TayTay confirm my words

#

Pls

heady turret
#

@slow grotto do you have bad morning?

slow grotto
#

I'm 12 hours from morning

heady turret
#

See

static meteor
sinful bronze
#

Bad evening

heady turret
#

He has bad morning

slow grotto
#

But is good

#

Good not morning

heady turret
#

@sinful bronze help

sinful bronze
#
  1. What to do?

Its a good question

heady turret
true cedar
#

ew

upper vapor
#

Hi gay

pulsar locust
keen halo
teal junco
pulsar locust
royal mica
#

Does LabAPI Enable/Disable plugins during fast restart? Or does it just not touch them at all
Also if doesn't touch at all, what is the proper event to listen to for proper cleanup

#

Round and RoundRestart doesn't have any events scrajj

icy knoll
#

there is a RoundRestarted event

#

does it not work?

royal mica
#

Oh I'm blind

#

literally third line in RoundRestart.InitiateRoundRestart

restive turret
#

wdym fast restart?

#

sr?

royal mica
#

Fast Restart, it's a flag

#

That just does a cleanup and makes the players reconnect in a shorter period

restive turret
#

I dont think it run enable or disable tbh

celest thorn
#

Its broken asf

royal mica
#

I won't, but it causes some funky stuff if it is used lol

celest thorn
#

Instead for shortening time just set the value in the config

royal mica
#

Nah, I'm not asking cause I want to use it, i'm just preparing

royal mica
#

cause doing the cleanup in the Disabled() is not sufficient

restive turret
#

PluginLoader.Initialize runs after dedicaded server starts

royal mica
#

That is given, but rather the question is how are the plugin lifecycles are handled during fast restart

#

and apperantly very badly

restive turret
#

it doesnt do anything i think

royal mica
#

Wait, does Disable() used actually ICANT

celest thorn
#

Btw how are you guys doing??

royal mica
#

I1m doing that

#

Just my ILSpy crashes when I remove classes

#

Lovely. so the cleanup is literally pull out the rug and force restart

celest thorn
#

I know tho disable gets called

restive turret
#

Disable not used btw

royal mica
#

Does ILSpy analyze other DLLs or just itself

restive turret
hearty shard
#

slime

royal mica
#

I would use DotPeek but it's not available RAGEY

restive turret
hearty shard
#

Use WaitingForPlayers event for cleanup

#

Per round

#

Or Disable if you need to fully disable plugin

royal mica
#

You cannot Disable the plugin doe

restive turret
#

Disable doesnt get called

hearty shard
#

Ya

#

Ur meant to use a custom system

royal mica
restive turret
#

in labapi or basegame. Other plugins can disable plugin

hearty shard
#

Or wait for labapi to get disable feature

restive turret
#

:Cinamea

hearty shard
#

!!!

royal mica
#

I assume now that we have a central system for plugins, we'll get a manager

#

why is that word blocked ICANT

#

like we had for the other plugin system

restive turret
#

like the one in LocalAdmin?

royal mica
#

no

#

the predecessor for LabAPI

restive turret
#

nwapi?

royal mica
#

that was not LocalAdmin based no?

#

ye

restive turret
#

localadmin got the plugins via github

royal mica
#

Oh it is, my bad

restive turret
#

i dont think nwapi had anything in it with downloading other plugins

royal mica
restive turret
#

localadmin is public aint?

restive turret
#

but i dont think the website has any api yet

royal mica
#

No, that is what I said that it's the next step

restive turret
#

ye if an api would be created for it then maybe this can be done i guess

icy knoll
#

atleast the plugins website

restive turret
upper vapor
royal mica
#

scrajj I need to make it so it has a did I exist before or are we going from full cold start logic

#

yeah but that works

#

time to update every plugin woho

restive turret
#

🔥

upper vapor
#

Now it could also support plugin deps

late shoal
plain gazelle
#

Are there waypoint events for players entering them?
TLDR i want a waypoint that only affects items and not players.

Due to our RP server, we sometimes still have Scale ~0 players so just a small waypoint isnt a good solution for me...

royal mica
#

Waypoints for items not players? What are waypoints good for again aside from being able to move in that coordinate?

#

Without knowledge of waypoints, would a trigger zone work for that purpose?

#

Cause there you can check what collided and check if it is an item

restive turret
#

try patch
AdminToyWaypoint::Add

restive turret
plain gazelle
#

Thank you!! blobcatvibrate

restive turret
#
  • Remove if you wanna remove too
royal mica
# plain gazelle

Oh wait, so the cart has a waypoint, the cart moves the waypoint, thus every item with it as well?

#

Wait, basically waypoints are like elevators then

plain gazelle
royal mica
#

I think that was the reason why it was added yeah, but it has escaped my mind completly

plain gazelle
#

^^

#

Now if only we could delete more rooms after they got spawned in, like TC01 and Testroom....

restive turret
#

ElevatorWaypoint

royal mica
plain gazelle
royal mica
#

Oh I'm stupid, I forgot the MapGeneration is both sided

restive turret
#

yup

plain gazelle
#

do you guys think if i ping david enough times, the custom map generation and networked room update will come out sooner?

restive turret
#

nope

#

that needs full rework on how its done

royal mica
#

I mean technically it can come in 15.0

#

since they need to touch the system anyway

slow grotto
# late shoal Well, everyone in the queue is stuck at the pre-auth until a spot on the server ...

Console commands are sent over the EncryptedChannelManager which appears the require the client be authenticated to the ClientReady state. I haven't looked much at this but maybe check out the Harmony Patches here on how someone else handled a similar system https://github.com/reversum/QueueSystem

GitHub

Contribute to reversum/QueueSystem development by creating an account on GitHub.

late shoal
#

Well is there a way to force the player to be authenticated, while being in pre auth?

slow grotto
#

Well that message comes from EncryptedChannelManager::TryUnpack so I'd start looking around there.

Maybe if you could authenticate them once, save encryption keys and throw them back to preauth state you could manually handle their messages? Wouldn't want to just allow any authenticated commands to come in.

#

Just an idea to start with

late shoal
slow grotto
#

There was also someone who made a dedicated lobby server which passed people to different SCPSL server based on a path they took. That would probably show a way to handle unauthed transfers, but don't recall if it was a private project.

slow grotto
late shoal
#

its too much work, only to send a command to redirect themself to a specific server at the end xd

slow grotto
#

Looks like some of the work has been done

#

Some

#

The QueueItem in the WaitingQueue has their authenticateresponse already so that's something.

celest thorn
#

Is it possible to prevent jailbird from being charged?

late shoal
slow grotto
celest thorn
upper vapor
slow grotto
#

Exiled's ChargingJailbirdEventArgs would be easier to use, but obviously needs Exiled.

celest thorn
#

exiled please no

#

i supported it

#

but now that labapi exist

#

its 10x better

#

(yamato you can say whatever you want i will stand on this)

slow grotto
# celest thorn no.

Yeah LabAPI does most things Exiled does now without patches, and updates with the game so some stability guarantee.

#

I do still build for Exiled though, and seem to get twice as many downloads for the Exiled version than LabAPI one.

icy knoll
#

i don’t build for exiled anymore

restive turret
#

Me neither

#

Less stuff to maintain

slow grotto
#

My "Exiled build" is just the LabAPI plugin but just do

#if EXILED
    public class Plugin : Exiled.API.Features.Plugin<Config>
#else
    public class Plugin : LabApi.Loader.Features.Plugins.Plugin<Config>
#endif
#

But I get why people don't anymore. I have a couple years of developing plugins in it so hard for me to leave it behind

icy knoll
slow grotto
#
#if EXILED
        public bool IsEnabled { get; set; } = true;
        public bool Debug { get; set; } = false;
#endif
#

Yeah there are a couple other places like that

#

I prefer LabAPI's approach

icy knoll
#

there are some people who also do preprocessors on events too and i’m like bffr

upper vapor
upper vapor
slow grotto
#

But with the hostile takeover and multiple repo/org changes I'm sure it's fewer than it was before.

upper vapor
frail zinc
#

But labapi is better

plain gazelle
restive turret
#

if child is FirstPersonMovementModule

#

if its pickup then
PickupStandardPhysics

slow grotto
#

One thing LabAPI is missing is a plugin requests channel. I hop on the Exiled one when I'm bored.

#

I've been bored lately

plain gazelle
sweet flax
#

.

restive turret
plain gazelle
celest thorn
icy knoll
#

you can just omit it

upper vapor
tepid sluice
#

How i get if a player inside elavator?

upper vapor
#

Check bounds

slow grotto
#

Player.List.Where(player => elevator.WorldSpaceBounds.Contains(player.Position)); All players in an elevator.

#

Fun and untested, good luck

#

Or if any elevator, one moment

tepid sluice
#

okay

#

nice linq

restive turret
#

nvm didnt read the end of it

slow grotto
#

Elevator.List.Where(elevator => elevator.WorldSpaceBounds.Contains(player.Position)).FirstOrDefault(); would get the elevator player is in

tepid sluice
#

yea still i need to foreach all elevator

restive turret
#

Map.Elevators.Any(elevator => elevator.WorldSpaceBounds.Contains(position));

slow grotto
#

-# Totally didn't steal how Exiled does it

tepid sluice
slow grotto
#

I spent a year making it for Exiled, and a month translating it to LabAPI and got 8 downloads.

I then write a plugin in a day and it gets hundreds.

restive turret
#

¯_(ツ)_/¯

#

I dont use Lua so

plain gazelle
icy knoll
#

you can omit the _

#

if(x is Class)

slow grotto
plain gazelle
slow grotto
restive turret
#

yeah

#

im not a fan of lua so

royal mica
#

I would say this is the wrong channel to ask this tbh, cause everyone where at one point rather just make it into a plugin

#

Personally anything I need to do, I start a plugin / edit existing ones, I wouldn't use another language and framework

slow grotto
#

I suppose you're right

royal mica
#

I can see the appeal, that you can use dynamic scripts and easy extensions for common stuff without the need for C#

slow grotto
royal mica
#

that should be built in into SL tbh

#

this would improve gameplay tenfold

restive turret
plain gazelle
#

Soooo, although this Logger gets called successfully, it does not appear to block/prevent/stop the Player from being added to the List of children and thus from moving

#

I still move with the waypoint toy

slow grotto
#

Does the .Add sync it to the client? Or does it parent the waypoint itself based on position?

frail zinc
#

C# is better and more adapted in that context

slow grotto
grand flower
#

Lua is nice

#

I'm using it (or well Luau) for my side project

slow grotto
grand flower
#

Not a bad idea, but I don't see it being used very often

restive turret
#

good for a POC

slow grotto
#

Or "I just need something that says hello when someone joins my server but don't want all the bloat of X plugin"

#

But yeah something to ask not C# devs

grand flower
#

so like, I wouldn't consider it bloat

#

I'd say this would be more for people who know Lua but not C#

slow grotto
#

Good points, thank you

#

I'll put it lower on my list of like 17 other projects

frail zinc
#

C, C++ and C# is the most powerfull language i think, if someone don't know one of them, that's a big mistake and he should consider learning that instead of using lua for making C# plugin

grand flower
#

Each language has a usecase, for modding Lua is pretty good

royal mica
grand flower
#

Java is non-microsoft C#

royal mica
#

Or then a Java/Type -script dev LULE

#

But the point is: It is a script system for easy modification without having to create or install plugins

frail zinc
royal mica
#

I only learnt C# cause of work and SL modding, but I can 100% defo see myself using a Lua plugin instead if I were to hate C#

frail zinc
#

Learning others language is also very interesting

royal mica
#

Heck, I would create a Kotlin interop and use that instead neurOMEGALUL

grand flower
#

Not for everybody

sinful bronze
#

when sl plugin on cobol

#

pls

frail zinc
#

Learn assembly, that's better LUL

grand flower
#

Lua's great to know either way

#

So this isn't a bad idea for a plugin

#

just not very useful

sinful bronze
#

im updating my servers to new sl updates using punch cards

unique crane
#

Bash scripting to RA!!!!

sinful bronze
#

YEAH

slow grotto
frail zinc
frail zinc
#

You've just lost 99.9% of players with this feature, congrats! x)

unique crane
#

Or how did you ended up with that statement

frail zinc
#

x)

upper vapor
royal mica
#

someones hates scripting )

unique crane
#

so

#

what

sinful bronze
#

no one will know

slow grotto
frail zinc
#

I think on sl, nobody know bash, except may be 0.1% players

unique crane
#

Yeah so what

#

How is that gonna lose 99.9% of the playerbase?

royal mica
#

Pretty sure half the people here knows bash

#

Also pretty sure 99.9% of players do not know how to write in C# either

hearty shard
slow grotto
#

I should probably not show my Javascript to LabAPI plugin at this point then huh?

hearty shard
#

if bash is ADDED
its not removing anything

royal mica
#

Oh and a pro argument for the lua plugin: Roblox kids who started doing roblox games can also create plugins with that without learning C#

hearty shard
#

its like saying labapi killed sl because not everyone is a C# dev

frail zinc
restive turret
#

and im pretty sure less tahn 0.1% player has access to RA

#

so

unique crane
#

Like geniuenly dont know

hearty shard
#

modify it

#

you can do that even without labapi

frail zinc
upper vapor
unique crane
grand flower
#

same goes for going from any other language to Lua tbh

unique crane
#

Dont know

hearty shard
#

david...

unique crane
#

I assume you just misinterpreted what I said

#

its ok

grand flower
royal mica
#

Honestly? Can we remove RA and create our own in HTML

grand flower
#

In this case, not too bad of an idea ig

frail zinc
frail zinc
grand flower
#

but like an example of this is Unreal Engine, there's plugins to add C# support, but I wouldn't recommend using them in an actual project

#

Better to learn C++ instead of adding another point of failure to your project

upper vapor
frail zinc
slow grotto
royal mica
slow grotto
#

Is dead now though

unique crane
frail zinc
#

Yeah adding menu in RA would be amazing !

royal mica
upper vapor
grand flower
unique crane
#

FUCK YOU

frail zinc
#

Learn assembly !!

unique crane
upper vapor
#

XDDDD

unique crane
#

IM NOT EVEN TABBED IN

grand flower
#

The only time I actually learned assembly was when I used to reverse engineer Titanfall 2 a little

#

for the community client

royal mica
#

can we have brainfuck in SL

grand flower
#

was pretty fun

frail zinc
grand flower
#

I'm good

#

I'd rather finish my game projects

frail zinc
grand flower
#

I'm happy with C++ and Unreal

#

Lots of jobs, and works great for my own stuff

restive turret
grand flower
#

/s

grand flower
#

just kidding anyway use whatever engine suits your project and your knowledge

restive turret
grand flower
#

bwahahah

unique crane
#

Task manager -> kill -> try again

grand flower
#

hey at least you're somewhat safe from things like new C++ compiler versions changing how your code works

#

true story we're bracing for a shitstorm at work, Clang 17 seems to change how bitfields are initialized in engine, dunno if it's an engine bug or an us bug

#

only got a few months to find and fix the issue before we're forced to use it

#

(╯°□°)╯︵ ┻━┻

slow grotto
#

Feature™

frail zinc
#

Unreal is a powerfull engine, but c++

grand flower
#

there's a similar (?) issue being tracked so we're keeping an eye on it see if it being resolved gives us any pointers

grand flower
grand flower
#

I do miss C#'s iteration speed though

frail zinc
#

C# is like the evolved version of C and C++

#

There is so much thing in C#

upper vapor
#

evolved version of java

#

okay but c++ has featurs from like
every other language
it's the omni-language

frail zinc
#

Mhhh

celest thorn
upper vapor
celest thorn
restive turret
#

@grand flower

celest thorn
upper vapor
upper vapor
celest thorn
#

wtf am i supposed to do with amalgamation

unique crane
celest thorn
#

hmmm

upper vapor
#

amalgamate it with a bunch of other words

unique crane
#

Im contacting beryl to remove you from the api team

#

Goodbye

restive turret
#

😭

slow grotto
#

Oh just remembered something I wanted to show since I don't see any reference to it in the Discord.
DrawableLinesManager.GenerateLine()
Use lines command on client to see them. Good for some plugin debugging.

restive turret
#

not my screenshot

restive turret
unique crane
#

debugging overall

celest thorn
unique crane
#

feel free to use it

celest thorn
#

i cannot even see the video

slow grotto
restive turret
#

skill issue

unique crane
#

Me neither

#

Encoding moment

celest thorn
#

Oh my gof

#

you want to destroy your FPS

#

Please DON'T USE IT LIKE THAT

#

trust

slow grotto
#

Maybe too big to load, 88MB

celest thorn
#

you are destroying your fps

slow grotto
#

Imagine lines, that is all

celest thorn
alpine glade
slow grotto
hearty shard
#

the world will know

alpine glade
#

Lies

celest thorn
restive turret
royal mica
#

I have a problem with Rider and not sure if others have it. The assemblies panel keep refusing to decompile classes and I have to remove an Assembly to refresh it

restive turret
#

cant help, not using rider :(

upper vapor
#

yeah it does that sometimes for me too

#

but i can still double shift to search for types

royal mica
#

I have Zero idea why it does it

#

it is so strange

#

it's like the background dotpeek just dies or goes to sleep

warped prairie
royal mica
#

What is NonFacilityCompatibility Thonk

#

Is this used for internal testing?

unique crane
#

whats that

glad pagoda
#

i guess it was for the shooting range scene?

royal mica
#

Oh possibly

glad pagoda
#

actually no

royal mica
#

I assume this is not really used anymore

#

just a remnant of the past

slow grotto
#

Time to see if there's anything in them

restive turret
#

Facility ye

slow grotto
#

I'm going with they don't exist anymore.

plain gazelle
grand flower
hearty shard
#

Theres a performance cost in the visibility event

#

Which i wish wasnt there

icy knoll
#

tbh i cant even think of any way to really dynamically allow for the event

plain gazelle
hearty shard
#

The visibility event?

plain gazelle
#

I have a command that forces IsVisible to false for a specified player to become invisible to everyone.
But when noclipping and then teleporting to someone far away, sometimes they can see you/see your ghost.

Still not sure if the noclip ghost is a base game thing or a result of our haunted ass old abandoned code

slate flume
plain gazelle
#

yes

#

Me and the only other dev are currently working on refactoring the code base because its all Exiled

#

Our other more active devs all left, got banned or are on a forever break

slate flume
#

That's what I did

#

Well tbf

#

I spent like multiple weeks straight sitting in my room coding because of that choice

#

But it paid tf off

plain gazelle
#

Yeah thats what we are doing

#

But we both have jobs and such xd

slate flume
#

I created a list of all the important things I needed to remake, then created an entirely new plugin from scratch

#

It's the way I like to do things

#

Even if it's more work

grand flower
#

just be like me

#

full time job, and the second you clock out, more hours working on a Luau plugin for Unreal from scratch

plain gazelle
wheat flower
plain gazelle
restive turret
grand flower
restive turret
#

Ah good luck!
Since probably others would enjoy it I would fork or create repo for it

grand flower
#

eventually yes

#

For now I'm only going to be using it for my game, but once it's stable enough and I'm satisfied with how the codebase looks, I'll open source the plugin

warped prairie
#

!status

worthy rune
hearty shard
#

Merry Christmas, Developers! 🎄🎁

restive turret
upper vapor
tepid sluice
restive turret
hearty shard
tepid sluice
#

the new avatar doesn't suit my decoration

#

So i'd better change it back

hearty shard
#

smh

restive turret
hearty shard
#

awh

tepid sluice
#

bwa

restive turret
#

Ha

tepid sluice
hearty shard
#

oh my

tepid sluice
#

make labapi great again

restive turret
restive turret
tepid sluice
restive turret
restive turret
tepid sluice
restive turret
#

Dw ax breaking it too

#

Breaking the dance

tepid sluice
#

😭

restive turret
#

Haha! Did you get it?

tepid sluice
#

get what

restive turret
#

Breakdance

tepid sluice
#

🥶

#

well

restive turret
upper vapor
restive turret
tepid sluice
#

always expect worst

restive turret
#

That's why you get surprised if something is good

upper vapor
#

I do what I feel like doing (not much)

restive turret
#

Real

celest thorn
restive turret
#

Hi zero

restive turret
celest thorn
upper vapor
restive turret
#

Amiga

upper vapor
restive turret
#

I don't think zero is am

upper vapor
#

I know, i was just saying

celest thorn
upper vapor
#

2pm for us, 6 am in PST

celest thorn
#

And i would never say “make italy great again”

upper vapor
restive turret
#

Lmao

celest thorn
restive turret
#

You just got played

celest thorn
#

Yea

#

Ngl i hate axwabo sometimes

restive turret
#

Why

#

The jokes

celest thorn
upper vapor
celest thorn
warped prairie
#

It’s ok guys look at this dude

#

He’s having such a jolly time

celest thorn
#

This chat died

restive turret
#

Ye

slow grotto
#

I'll get the chat going.

CustomDataStores, are they persistent/saved, removed on server restart, or removed on round restart?

soft turtle
#

!status

upper vapor
#

so when the player leaves (including round restart) it gets reset

slow grotto
#

Thank you

upper vapor
#

np

slow grotto
upper vapor
#

wtf is roubaix

icy knoll
upper vapor
#

robubax

slow grotto
#

Steam DDOS?

upper vapor
#

maybe steam did a bit of an oopsie

icy knoll
#

yeah usually maintenance starts later

upper vapor
slow grotto
#

Can't blame these small indie companies for letting the Interns do critical work.

fresh zenith
#

hey uh is there a way to get an boolean if all the plugins are loaded or not? ik there is PluginLoader.initialised but thats kinda unimportant

upper vapor
#

nope unfortunately

#

you can subscribe to SceneManager.OnSceneLoaded

slow grotto
upper vapor
#

that's kind of the earliest reliable event

slow grotto
#

/s

upper vapor
fresh zenith
#

other question can i get an true/false bool if the server is waiting for players (which means the server is loaded)?

upper vapor
#

uh

#

subscribe to waiting for players..?

fresh zenith
#

yea ik i just wanted to know if there is an bool only for that.

upper vapor
#

there's also ServerLogs._state

#

all of these get set in ccm start (right before waiting for players)

#

actually

#

you may be able to check if the host exists

#

loading = Server.Host?.IsDestroyed ?? true

#

or

fresh zenith
#

trying that rq.

upper vapor
#

ReferenceHub._hostHub == null

upper vapor
#

@slate flume finally they fixed admin toy sync vars? xd

fresh zenith
#

does labapi don't have a global config folder lol

upper vapor
#

how did the prev version get merged in the first place xd

upper vapor
slate flume
fresh zenith
upper vapor
#

yeah, default is port-specific

plain gazelle
#

Where is a place i could hook into for Waypoints being destroyed?

upper vapor
#

if there's no ondestroy event in waypointtoy

#

you're cooked

plain gazelle
#

im deleting a gameobject with a waypoint as a child
if the waypoint has items inside of it, those also get deleted/disappear and i want to prevent that. rather have them become "loose" again

upper vapor
plain gazelle
#

hmmmm

upper vapor
#

the ondestroy event cannot be used for moving the object itself out of the hierarchy

plain gazelle
#

If i have a ref to the WaypointToy, should i just unparent all children? Or do i need to look out for something?

upper vapor
#

you can do a foreach on the parent transform (for direct children only)

#

-# you need to cast to Transform manually cuz unity is really smart

restive turret
#

I cast calling the engine every frame!

upper vapor
#

we do that already probably 100s of times

magic gate
upper vapor
#

well

#

at least i got you to earn your bread toomuchtrolling

fresh zenith
#

how do i set the IsTransparent value?

#

(never used that on a plugin lmao)

upper vapor
#

in the plugin class

#

override

fresh zenith
#

ah makes sense lmao

spare zodiac
#

can you get NetworkIdentity back out of uint?

icy knoll
spare zodiac
icy knoll
#

Player.Get(netId).Identity

#

or smth

spare zodiac
icy knoll
#

why not use netIdentity here?

spare zodiac
#

netId => NetworkBehaviour

icy knoll
#

you also have netIdentity

#

what are you tryna do?

spare zodiac
#

that is from NetworkBehaviour I'm trying to do it the opposite way from netId to NetworkBehaviour

#

so I'm asking if it's possible to create it out of netId

icy knoll
#

you cant make NetworkBehaviours

spare zodiac
#

there must be way to get NetworkBehavior out of netId

icy knoll
#

¯_(ツ)_/¯

static meteor
restive turret
#

41 well yeah

hearty shard
#

yum

static meteor
#

Usually my updates are within 3k additions or deletions

royal mica
#

those PRs are atrocious

static meteor
#

I love refactoring half a plugin for slightly better performance

soft depot
plain gazelle
#

All PMER's SchematicSpawned events for my server fire twice whyyyyyyyyyyyyyyyyyyy
i hate this codebase
or its PMERs fault idfk

#

Is there an event that is called before WaitingForPlayers ?

#

MapGenerating or sth?

static meteor
#

Map generating is called when the map is generated

#

Probably around here [2025-10-07 15:50:32.766 -05:00] Scene Manager: Loaded scene 'Facility' [Assets/_Scenes/Facility.unity]

alpine glade
soft depot
#

¯_(ツ)_/¯

plain gazelle
cyan crown
static meteor
#

Glowy eyes

cyan crown
plain gazelle
#

Is this how i would change the skeleton disguise timer?

#

Do i need some resync call or sth?

#

-# Cant test atm ,_,

#

Also, any way of stopping/preventing the Scp3114 chatter from happening?

#

For our roleplay server it is a bit annoying x3

static meteor
#

Could try patching Scp3114VoiceModule.ProcessInputs

#

Wrong one

plain gazelle
#

this seems like a lead

static meteor
#

Scp3114VoiceLines.ServerPlayConditionally maybe

plain gazelle
#

trueeee

#

So if my conditions match, no voiceline should ever play... theoretically

static meteor
#

Assuming its synced

plain gazelle
#

New question, about waypoint toys
I saw something about "priority"
How can i make a waypoint toy i have, have higher priority over elevators? Like if i drive my cart with items on it into an elevator, they all start dropping and moving off of the cart

#

Also³, how could i make a gameobject / schematicobject be affected by the elevators waypoint?
nothing Like, is there a way i can check if a Vector3 location is within the bounds of an elevator?

static meteor
#

Map.Elevators.Any(elevator => elevator.WorldSpaceBounds.Contains(position));

static meteor
plain gazelle
#

...for the priority?

#

?w?

#

ohhh its a float

#

So the elevators will have a certain NetworkPriority, and i need to set mine... higher?

static meteor
#

Might desync the players in the elevator

plain gazelle
#

The waypoint i want to change the priority on doesnt affect players

#

Patched the waypoint.add and fake synced bounds. Seems to work

soft depot
#

so if you just crank NetworkPriority to 1000000000, all clients in the bounds of a waypoint will pick it

upper vapor
upper vapor
upper vapor
#

(On the root toy)

celest thorn
#

Hello

static meteor
celest thorn
static meteor
#

Mining

celest thorn
static meteor
#

Space Engineers

celest thorn
#

Oh

#

My bad

static meteor
teal junco
#

also im like 20% sure its your codebase, doesnt happen on mine

upper vapor
#

I was like
What are you engineering 😭

restive turret
#

Space

upper vapor
#

Yeah j realized

#

I fucking HATE discord

restive turret
#

Same

celest thorn
#

honestly thank god chatgpt exist

#

my fucking classes of math are impossible to understand

#

and thanks to this guy i can understand them

#

and not spend 20h understanding everything

#

its all theoretical math, why tf do i need to study that

upper vapor
celest thorn
#

im studying theoretical approach for like groups and shit

upper vapor
celest thorn
upper vapor
#

Sobbing

celest thorn
#

so why am i studying it

#

funny enough im bored in class and there are like algo that they put us and pretty much only 4/5 can develop so while im bored reading code that doesn't work for fun i just recode it to make it work in other programming languages like C

static meteor
celest thorn
#

guys how can i emulate lights from sl in unity normally without installing the fucking giga hdr

static meteor
upper vapor
#

An then configure it to match exactly what SL has

#

(You're done for)

celest thorn
#

can we fucking get those settings

#

out of this fucking game

#

its like a trial everytime

#

getting the light right

upper vapor
#

AssetRipper

celest thorn
#

what should i even search at that point?

upper vapor
#

Try it

celest thorn
#

never used HDPR

upper vapor
#

Well

#

Export the project

celest thorn
#

bro it would take years

upper vapor
#

Create a Unitypackage from the assets and load it in an empty hdrp project

upper vapor
#

There should be a volume defined somewhere but idk where

celest thorn
#

Shader?

upper vapor
#

I'm not even sure if AssetRipper can give you that properly

upper vapor
celest thorn
#

because i cannot find it

#

even in the scene

upper vapor
#

It's not in the scene

#

It's in assets somewhere

#

Probably in the ScriptableObjects category

celest thorn
#

i found LightingDataAsset_2023_2_0_a19

upper vapor
#

There we do

#

Go

celest thorn
#

its for a room light...

upper vapor
#

Xd

upper vapor
#

That's for baked lights

celest thorn
upper vapor
#

Not an HDRP volume

#

What if you just export the project and search in Unity

celest thorn
#

Is it graphics Settings?

#

NavMeshProjectSettings????? WHTA??

#

SL HAS NAVMESH???

upper vapor
#

Vine boom

celest thorn
#

i just see thousands of shaders under HDRP but nothing else

#

wait can you join vc?

#

i can show you+

upper vapor
#

I'm at the doctor

upper vapor
#

You're looking for HDRP volume

celest thorn
#

this?

upper vapor
#

That yeah

celest thorn
#

its a mono

#

ITS IN IL

#

;(

upper vapor
#

It's a monobehaviour yeah

#

Crazy

celest thorn
#

No settings for us

upper vapor
#

You need to get its Metadata

#

And copy it into a volume in an hdrp project

celest thorn
#

amazing data

upper vapor
#

Prefab instance lmao

celest thorn
#

bruh

#

;(

upper vapor
#

GL finding that xd

celest thorn
#

Its not in a dependency

#

so

#

where tf is this shit

upper vapor
#

Just export the project already and inspect things in Unity

celest thorn
#

im exporting it

upper vapor
#

I could check for you but no electricity at home

celest thorn
#

crazy

#

i have the internet of a potato

#

because my provider is scamming us

#

raising the prices saying you have "opticfiber" BRO I DON'T

upper vapor
celest thorn
#

now im changing my provider

#

to a new one

#

that they want us to have optic fiber and charge us free

#

which is crazy

icy knoll
#

i love having copper internet, so fast! /j

celest thorn
upper vapor
celest thorn
#

its incredible i have internet

#

funny enough my mobile data suck alot when im inside my house

celest thorn
#

but as soon as i step away and go to the street its fast asf

upper vapor
#

Use your phone as a relay Smart

#

-# you need 2 antennas for thay

celest thorn
#

my cell phone plan is like 200GB

#

a month

#

I can install RD2R if i want

#

but idk

static meteor
#

No im defending myself from terrorists

celest thorn
#

this sounds like freedom

#

btw i did export the project

#

should it be in Assets\_Scenes\Facility

tepid sluice
#

😭

celest thorn
tepid sluice
#

no

#

my const provider is proxy

celest thorn
tepid sluice
celest thorn
#

IBypassGreatWallOfChina

#

btw am i the only one depending where i am my feeds change?

#

on instagram?

tepid sluice
upper vapor
#

Xd

celest thorn
#

bro i go to uni

#

its full of thirst traps

#

im at home

#

and i get like how to do your hairs

#

just alot of girly stuff and some memes

tepid sluice
#

spent 6 bucks on dinner

#

not bad ig

celest thorn
#

good asf

#

its so funny how me and my friends feeds are totally different lol

#

he gets crazy shit like conspiracy theory, i get a ton of fem stuff

upper vapor
celest thorn
#

like i said idk why it happens

#

only when im in uni

upper vapor
#

Because

#

Ppl at unu

#

Are weird

#

(er than the rest)

celest thorn
#

i mean im the math and computer science section

#

so makes sense

upper vapor
#

Bruh

#

I'm surprised you haven't seen a fursuiter yet

#

Swipe typing: disorder

celest thorn
upper vapor
#

Xd

upper vapor
#

And don't shower

celest thorn
#

my feed there is redpill and thirst trap

celest thorn
#

the guy that sits next to me

#

has the amount of braincel of a kid in a scooter at 3am drunk asf

upper vapor
#

Oh right, xd

celest thorn
#

this guy cannot understand jokes

#

nothing

#

like bro

upper vapor
upper vapor
celest thorn
upper vapor
#

Unfortunate place to set case camp in

#

Base camp

celest thorn
#

and the autobus just goes from there like every 11am and i would need to spend a fortune like 13 euros every day + 5 euros for autobus in the city

restive turret
upper vapor
#

Xd

celest thorn
#

i have the one in the afternoon

celest thorn
upper vapor
#

Discounts for pupils

celest thorn
#

every month

#

we don't have them but for the city internal one yea

#

so yea you can see living in the woods is great if you wanna sleep but not for the amount of insects, cleaning and moving

restive turret
upper vapor
upper vapor
#

So it's not as romantic as I imagined :(

restive turret
#

I mean most of the stuff is expected

celest thorn
#

i know

#

but i wasn't the one deciding sadly

upper vapor
celest thorn
#

ngl im hating uni because i need to go there and every day wait until 10pm

#

from 2pm to 10pm

upper vapor
#

What the funky

celest thorn
#

in one of the worst section of the city

celest thorn
#

and i need to wait for my dad like that everyday