#plugins-dev-chat

1 messages · Page 109 of 1

celest thorn
#

Thats the best side quest i can give with a postal inspired

#

You go near a player and interact with him/her and just do the lines lol

#

Only if you have a petition

#

No

#

Thats only client

#

Server ignores everything that has a network identity

teal junco
#

server side culling has some value but it isnt amazing unless you have a crazy amount of prims.

#

i heard culling parent is bad but maybe it got better

upper vapor
#

so there is server culling

celest thorn
#
  1. Base game does that
#
  1. MERO is same concept but primitive of meow
upper vapor
#

no

#

?

celest thorn
upper vapor
#

base game does not cull them properly by default

celest thorn
#

It converts schematics into spawnmessage

celest thorn
#

From render

#

And unity doesn’t render them

tepid sluice
celest thorn
#

But not sl

celest thorn
#

And alot of patience

upper vapor
teal junco
celest thorn
#

The amount of data you sent is crazy

#

For the client

#

The client if has a high ping can fall behind instantly and there you have alot of problems

#

When mirror explodes

upper vapor
celest thorn
restive turret
#

Fart plane

celest thorn
#

Shart plane

upper vapor
#

base game does not cull primitives

celest thorn
#

After 255 they just disappear from RENDER

#

not disabled

#

But thats because of unity

upper vapor
upper vapor
celest thorn
celest thorn
upper vapor
restive turret
#

Just kill all the objects

upper vapor
#

~400

celest thorn
#

Or are we both stupid

#

Im talking about just the far plane there and now

restive turret
celest thorn
#

I know that sl base doesn’t have frustum culling for primitives

upper vapor
#

what???????

#

😭

celest thorn
#

???

upper vapor
#

frustrum culling is based on the view frustrum, it's always active
the game engine does that
if you had gameobject culling that actually disabled the object/meshrenderer then we have gameobject culling

celest thorn
#

Item doesn’t do boom if you don’t see it on sl base, but if you add culling toy disappear only case in base game is when you are at a high distance where no render

upper vapor
celest thorn
#

I said its stupid because you explode mirror

#

And fall behind

#

Then after that i said UNITY after 255 DOESN’T RENDER THEM

#

Because of fog

upper vapor
celest thorn
upper vapor
celest thorn
celest thorn
#

because BASE GAME STILL APPLIES WITH UNITY LAWS

spare zodiac
celest thorn
#

Bruh

upper vapor
celest thorn
celest thorn
upper vapor
#

okay

celest thorn
#

Render is NOT despawning

#

In my book

upper vapor
#

does MERO send destroy messages or does it not

upper vapor
celest thorn
#

Because mirror shits itself

upper vapor
#

you're proving that what you said is wrong

celest thorn
#

oh my god

#

Culling done by mero is bad

upper vapor
celest thorn
#

It should be done in other ways

upper vapor
#

but what i'm saying is that base game != mero culling
cuz you said that base game does what mero does

upper vapor
celest thorn
upper vapor
#

NO

#

unity does not despawn like mero

celest thorn
grand flower
#

Wish me luck for my job interview tomorrow

upper vapor
#

look at this

#

they're within the view frustrum

#

MERO removes them with destroymessages

#

you can't tell me that the base game does this

celest thorn
#

This is the meaning of render

#

Explained to a 5 years old

#

So unity after 255 because of fog

#

Doesn’t draw them

#

But they ARE ACTIVR

upper vapor
#

hello

celest thorn
#

And again i think its stupid

celest thorn
#

i know mero nukes them

#

And its stupid

upper vapor
celest thorn
upper vapor
#

then what is this

celest thorn
#

BECAUSE OF FOG

upper vapor
#

did you reply to the wrong message?

celest thorn
restive turret
celest thorn
#

Ok lets just say

#
  1. I was referring to UNITY unrendering stuff because of the fucking fog
  2. I think what mero does is stupid because there are risk
  3. What mero does for culling on the server is actually smart and that is what every other game does except sl

Note UNRENDERING means not drawing, not disabling, so YES YOU RECIVE UPDATES AND EVERYTHING

upper vapor
#

I was referring to UNITY unrendering stuff because of the fucking fog
that's not the correct message you replied to then

celest thorn
upper vapor
celest thorn
#

I didn’t know we were using unreal or godot

#

Im not understanding who is the fucking dumbass in here

#

Me or you

#

Or both

upper vapor
#

i said "MERO despawns far objects for the client"
to which you said "base game does that"
base game does NOT do what MERO does

celest thorn
#

Im referring to the message you sent and i did answer uou

upper vapor
celest thorn
upper vapor
#

look at this

#

there are so many objects that would not be culled out by frustrum culling

#

MERO despawns those objects, tells the client to remove them

#

the base game on its own does not remove them like MERO

#

makey sensey now?

upper vapor
celest thorn
#

my connection is back

celest thorn
#

And im saying AGAIN and AGAIN mero is doing something wrong, because Mirror doesn't like being sent alot of shit

upper vapor
upper vapor
celest thorn
upper vapor
#

unity does not remove objects from the scene when they go out of the view frustrum

celest thorn
#

Wait

#

i might be wrong

upper vapor
celest thorn
#

ngl i need to inject on nvidia thing

upper vapor
#

just on its own

celest thorn
#

OH MY GOD

#

I NEVER SAID THAT

#

i said fucking OUT OF RENDER

#

THATS IT

restive turret
#

since mirror cannot disable game object, but can disable renderer if send a good message

upper vapor
#

how many times do i need to send this for you to understand that this is wrong

celest thorn
#

called UNITY

#

OBV that BASE GAME does that

#

Out of render thign

#

Not in the SAME way BUT STILL IT DOES THAT

#

because OF UNITY

upper vapor
#

"despawns" as in "destroys" or "deletes" or "removes"

#

rendering pipelines do not do that

celest thorn
#

Pin point me to the message

restive turret
celest thorn
#

where i SAY that

restive turret
#

MIRROR DESTROY MESSAGE DESTROY THE GAME OBJECT

restive turret
#

i aint checked how destroys and stuff so

upper vapor
celest thorn
#

you can see it in function here

upper vapor
upper vapor
#

explain this

celest thorn
#

How many times im sayign OUT of render

#

out of fucking rende

upper vapor
#

but MERO removes objects even when they're within the view frustrum

grand flower
#

Fight fight fight

upper vapor
grand flower
#

None I'm in bed about to sleep

celest thorn
random scaffold
#

2 furry discussing

celest thorn
pine parcel
#

does anyone know a reason why trying to use a Config.variable results in a NullReference?

pine parcel
# worthy rune can we see your code

namespace Secret_DECTalk
{
    public class EventHandlers : Plugin<Config>
    {
        public override string Name => "SecretDECTalk";
        public override string Description => "Adds DECTalk TTS to Secret Lab";
        public override string Author => "Soul";
        public override Version Version => new(1, 0, 0);
        public override Version RequiredApiVersion => new(LabApiProperties.CompiledVersion);

        public override void Enable()
        {

        }

        public override void Disable()
        {
            
        }


        public string SendTTSMessage(Player player, string message)
        {
            Logger.Info($"[SendTTSMessage] Entering");
            string tempWav = Path.Combine(Path.GetTempPath(), $"DECTalk_{Guid.NewGuid()}.wav");
            Logger.Info($"[SendTTSMessage] Temp File Generated");
            Logger.Info("test");
            Logger.Info($"[SendTTSMessage] SayExePath: {Config.SayExePath}");
        }

I've shortened the above, but this is the first portion. Trying to do anything with Config.SayExePath, throws a NullReference despite my Config.cs looking like this


namespace Secret_DECTalk
{
    public class Config
    {
        public string SayExePath { get; set; } = "Test String";
    }
}

worthy rune
#

config looks fine

pine parcel
#

that's what I was thinking...

worthy rune
#

when/where are you calling SendTTSMessage

pine parcel
# worthy rune when/where are you calling ``SendTTSMessage``

in ChatCommand.cs


namespace Secret_DECTalk
{
    [CommandHandler(typeof(ClientCommandHandler))]
    public class ChatCommand : ICommand
    {
        public string Command { get; } = "svoice";
        public string[] Aliases { get; } = ["svoc"];
        public string Description { get; } = "Send a message!";

        public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
        {
            Player player = Player.Get(sender);
            if (player == null)
            {
                response = "Only players can send messages.";
                return false;
            }

            if (arguments.Count < 1)
            {
                response = "No voice sent";
                return false;
            }

            string text = string.Join(" ", arguments).Trim();

            if (string.IsNullOrEmpty(text))
            {
                response = "No voice sent"; ;
                return false;
            }
            EventHandlers eventHandlers = new();
            string resp = eventHandlers.SendTTSMessage(player, text);

worthy rune
#

ahh

#

your creating a new instance of your plugin

pine parcel
#

I feel so stupid lol

worthy rune
#

nah all good

static meteor
#

Add something like

public static Plugin Instance { get; private set; }

and do this in your Enabled method

Instance = this;
pine parcel
#

ah thanks, I've been trying to figure out how to use my config in my static method

static meteor
#

Btw you can do Player::DisplayName instead of Player::ReferenceHub.nicknameSync

celest thorn
icy knoll
#

mrow

celest thorn
icy knoll
#

:3

unique crane
#

Haiiii

celest thorn
unique crane
#

More toucans

celest thorn
#

So your family?

#

Btw gm

unique crane
#

what

#

im not toucan

celest thorn
#

Check your arms

celest thorn
#

Or i should say your wings

celest thorn
#

Bro doesn’t know the horrors

unique crane
#

Me when half a year ago

#

school project XD

celest thorn
#

No its not

#

Its sl src

#

Because i see keycard

#

And stringbuilderpool

unique crane
#

Your kinda paranoid

celest thorn
#

No wait sql

unique crane
celest thorn
#

Wtf

celest thorn
#

So who’s the real one

unique crane
#

Well he

upper vapor
#

Who's he

upper vapor
#

Me and David on our way to optimize SL (we will get paid 3 grams of chocolate)

celest thorn
upper vapor
#

Nuh uh

#

You ain't getting shit for that
Maybe some ham and a couple of buns

hearty shard
#

guh

celest thorn
#

Thats what you can get here

upper vapor
#

I guess

celest thorn
#

Or just pasta

celest thorn
#

Because else it doesn’t explain why everything is so cheap

upper vapor
slate flume
slate flume
celest thorn
#

Im talking that purchasing power is low there

#

So yes its shit living there

slate flume
#

I thought you meant 1 euro gets you a meal as in the cost of living is low

#

I didn't think you meant exchange rate

#

That's my bad

#

I just love talking about the economy

celest thorn
#

Because they use another currency which is low asf

#

And 1 euro is like alot

#

Probably an hour of work idk

slate flume
#

Dude it's insane how much long-lasting damage the pandemic did

#

It's so interesting to look at the ripple effects

celest thorn
#

But rn the pandemic is not really the damage

slate flume
#

To think it all could've been prevented

celest thorn
#

But more the political instability

#

That we have

#

Both in europe and in america

upper vapor
slate flume
#

I like flaming people for thinking other countries are a "utopia" as if they won't experience any of the problems they already experience

celest thorn
upper vapor
#

i would send a gif but uh

celest thorn
slate flume
celest thorn
#

Even hungary is a utopia for how good kept the cities are

celest thorn
#

The political situation lets say its the same

celest thorn
slate flume
#

The best place to live would be if you were born into like a scandinavian country

celest thorn
#

Or any other city

#

Full of trash and holes everywhere

celest thorn
#

those places are probably the best looking and well kept

slate flume
upper vapor
#

or

celest thorn
#

But with high suicide rate and racism

upper vapor
#

parts of the city

celest thorn
slate flume
celest thorn
#

Or even worse

slate flume
#

It's a spawn advantage

upper vapor
#

sub 2 nether enter

slate flume
celest thorn
#

That is pretty much alot of the asian countries

slate flume
#

True but a lot of foreigners have entered the democratic Asian countries and driven up the cost of living

celest thorn
#

Not only Scandinavian

slate flume
#

And in the non-democratic ones, you don't wanna live there

#

That's part of why the scandinavian racism and nationalism works

#

They just keep anything out that inflates the economy

celest thorn
#

Btw this chat is everything except plugins

slate flume
#

It's a chat for plugin devs

#

We don't necessarily have to be the kind of plugin devs who talk about SL all day

#

I love loopholes

celest thorn
#

All of the countries tho are going through nationalism rn because of the trust lost in the right

slate flume
celest thorn
slate flume
#

I know

#

For most countries, they had left-wing parties in power because we were in a time of higher social prosperity

celest thorn
#

The trust was lost tho for the pandemic

slate flume
#

Pandemic worsened the already worsening economic hardships and caused a tipping in power to right-wing candidates

#

In most countries

#

It's whoever wasn't already in office

#

Right swapped left and left swapped right

#

People desperately want any kind of change but no politician has been able to do it

celest thorn
#

Ngl soon enough we will see the fall again of the right to go to the left back again

slate flume
#

Probably

#

Because pandemic hardships haven't stopped

celest thorn
slate flume
#

The right-wing parties in office now are gonna get replaced with left-wing ones because they're not gonna bring enough change

#

The world economy sucks right now and we're gonna keep flipping between political parties every election cycle in every country until that changes

#

Which is probably gonna spiral the economy even more

celest thorn
#

Flipping party

#

You don’t want one party

#

Thats fascist ideology

upper vapor
celest thorn
#

One party that governs everything

slate flume
celest thorn
#

Because it happens that they merge

#

Small parties

#

To just gain and win

slate flume
#

Third parties are a good thing

celest thorn
#

But other countries the form bonds between each other

slate flume
#

Two party systems stagnate and stifle change and progress

celest thorn
slate flume
celest thorn
#

Instead of going for who has more votes, you go based on votes

#

For each region

#

But there are problems on both systems

celest thorn
slate flume
#
  • Remove the electoral college
  • Make it so people can individually vote on big changes rather than a full representative democracy
  • Move to a run-off voting system or similar
#

We have the capability in our modern age to allow people to vote way more than they used to

slate flume
#

Do at least 1 or 3

celest thorn
#

Ai cannot be trusted

slate flume
#

AI?

celest thorn
#

Nothing can be trusted

slate flume
#

When was AI brought into it bro

celest thorn
#

On getting and making your voice heard

upper vapor
celest thorn
#

Thats too impossible

celest thorn
#

And that would make an impossible system

slate flume
#

It's called an election

#

Lmao

celest thorn
slate flume
#

You don't need an AI to tally votes

celest thorn
celest thorn
#

But at the end of the day its not me expressing my own opinion

#

For single changes

slate flume
#

Yes

#

That's a representative democracy

celest thorn
#

There’s someone that is there that should be going through my ideology

#

Or similar

slate flume
#

Yes

#

Ideally

#

We face an absence of representatives who accurately represent the average person

celest thorn
#

But its different from what you said

slate flume
#

No it's not

#

I said move from a full representative democracy

#

I think we should have more public votes on things

celest thorn
slate flume
celest thorn
slate flume
slate flume
celest thorn
#

Trust me you don’t know the dumbasses that exist in this world

slate flume
#

I do

#

I'm friends with some of them

celest thorn
slate flume
#

Every American knows the electoral college is a sham

celest thorn
#

Because there are more people who can check votes and its done as a prevention for fake identities

celest thorn
slate flume
slate flume
celest thorn
slate flume
#

The way it works in America is we pass our votes for what political party we want in office, then that choice elects an elector of that political party to choose what political party they want to vote for

#

It's unnecessary and lengthens the election process

#

It was designed to take power away from the popular vote and give more power to Congress

celest thorn
#

For just the government

slate flume
celest thorn
#

Everyone votes, its a mixed way to vote both like the american and proportional once we got the entire parliament then the president calls every party’s leader and says “who do you trust?” Everyone express someone and that someone has more votes will go back else we go back to elections

#

Then the presidents says “Hey party leader who won” start deciding who you want for each minister and then says them to me

#

And then if i don’t like someone i will ask you to change it

#

Once everything is done

#

There’s the ceremony

#

And poof at the government

slate flume
#

That seems unnecessarily complicated

celest thorn
slate flume
#

Ig there's a reason voting age in Italy used to be 25

celest thorn
slate flume
celest thorn
#

I can vote 18 for just the deputies

#

At 25 for senators too

slate flume
#

Voting really shouldn't be so complicated

celest thorn
#

Oh and the entire system is done by hand

slate flume
#

And it shouldn't be voting for a political party, it should be voting for a person

celest thorn
#

For staying inside the parliament

slate flume
#

You vote for party instead of person

#

You don't really choose your representative you moreso choose a political group

celest thorn
slate flume
#

That just contributes to the political divide many countries experience

celest thorn
#

Btw the italian system changed so much that its crazy

slate flume
celest thorn
#

Thats it

#

No in between

slate flume
#

Voting based on party is an outdated system based in a world that didn't have the global communications infrastructure we do

celest thorn
#

Last change was in 2015 i don’t remember

#

But it was minor

slate flume
#

2019

celest thorn
#

Fr?

#

Strange

#

It was a temp law for sure for covid

slate flume
#

You it was the lowered the voting age for certain elections iirc

#

Cause you guys had an 18 year old senator

#

Or something to that effect

#

Your last major legislation was like a couple years before that

celest thorn
#

Ahhhhhh

#

That was so minor

#

Lol

slate flume
#

There's a whole wiki page for it

#

Lemme find it hold up

celest thorn
#

I mean probably they were like screaming at each others and calling other communist

#

Ngl thats 90% of our country

celest thorn
#

2019
Was for lowering the election

slate flume
#

Yeah

#

That's what I said

celest thorn
#

The law was proposed in 2015 by the same party

#

They won and 2017 they got it

#

They are different

#

This one changes the election system to mixed

#

And the other one changes just the age

slate flume
#

You guys changed you election laws in 1993, 2005, 2015, and 2017

celest thorn
#

Every year and meloni wanted to change it too

#

But everyone said fuck no

#

She wanted to go france mode

slate flume
#

That's a change like every 6 years on average

#

My bad

#

Math is not math

celest thorn
#

Our system of laws is complicated

slate flume
#

Sh

celest thorn
#

Because its not old and we had probably the best people writing them

#

But then from the 2000 everything started exploding

#

After the first republic died (this is a term used by media to define the fallen of the last party before Silvio berlusconi started creating the new political way)

slate flume
celest thorn
#

Everyone before was convicted for madia and corruption

celest thorn
#

I don’t still understand how we didn’t go in default

#

We were so near

#

And btw our national debt is the same as the PIL

slate flume
#

There was a crazy article I read a while back about how this like civil rights group named Italy as one of the biggest perpetrators of a democratic dismantling

celest thorn
#

That was another story

#

A guy got pissed and started saying i want to make a dictatorship

#

With police

#

And he got alot of high ranking police

#

But the guy didn’t get the good ones (carabinieri / military) and he got arrested

slate flume
#

How tf did we get to this random story

celest thorn
#

With alot of stuff

celest thorn
#

But corruption is crazy in italy

slate flume
celest thorn
#

Alot of known figures in italy are tied to that

#

But everyone forgot

slate flume
celest thorn
slate flume
celest thorn
#

Il golpe bianco è stato il progetto di un presunto colpo di Stato di stampo liberale e presidenzialista in Italia, promosso da ex partigiani antifascisti e anticomunisti, e scoperto nel 1974.
Esso sarebbe dovuto avvenire nei primi anni 1970: fu predisposto nell'agosto del 1974 al fine di costringere il Presidente della Repubblica Giovanni Leone...

#

Which is tied to another one but during the war

slate flume
#

If our political systems weren't so fucked up maybe we wouldn't have so much corruption

celest thorn
#

After pearl harbor

celest thorn
#

Compared here

slate flume
#

Also like

#

Idk if it's just me but it seems like law enforcement in America is much better than in other countries

#

At least

#

In a lot of places

celest thorn
#

tax evasion here is so high that the main joke in italy is "i evade taxes"

#

taxes could solve our debt for sure

#

even half

slate flume
#

I'm prepping for my trip to Europe soon and one thing I'm preparing is the best way to make sure I don't get my shit stolen

celest thorn
#

but the problem is that people steal so much, that is italian nature to steal

celest thorn
slate flume
#

Iirc I'm going to Venice

celest thorn
#

ngl the best thing of venice is just their dialect which is funny asf

slate flume
#

Like I'm going to the Vatican

#

And the Sistine Chapel

celest thorn
#

ngl if you go visit the colosseum, you can go visit the street built by mussolini

#

that brings you to a beautiful monument

slate flume
#

I said Venice but I'm so unsure

celest thorn
#

lol

#

too high

slate flume
#

I think

#

It might be Florence actually?

celest thorn
#

i live in the south in Sicily

slate flume
#

Yeah I'm not going to Sicily afaik

celest thorn
slate flume
#

If I remember correctly my sister studied abroad there and had nothing but great things to say

celest thorn
#

and if you speak a bit of italian, you become our brother or sister lol

slate flume
#

My dad was deployed there and said he went to a little place there that had the best pasta he's ever eaten

celest thorn
#

its so uncommon to see people speaking italian

slate flume
#

It was like 30 years ago

celest thorn
#

in sicily

#

thats the only american base

#

or a NATO one

slate flume
celest thorn
#

The list is Sicily, Naples, Camp Darby

slate flume
#

Probably Camp Darby

celest thorn
#

but yea hope you meet friendly people

#

there are racist here, but not all of us are not friendly or racist

slate flume
#

Well you know treat people with respect and kindness until they show they don't deserve it

#

If I meet cool people then that's dope

celest thorn
#

Most likely you will

slate flume
#

But I'm going around Europe with my dad as a last hurrah

celest thorn
#

100% they are going to teach you bad words and saying it means love or something else

#

we are all the same by heart

slate flume
#

It's what anyone does truly

#

If I had the opportunity to, I'd tell a foreigner some crazy slur and tell them it means "Where's the bathroom?" or something

celest thorn
#

and its a meme to record americans say "porco dio" or any other blashempy or anything because its funny

slate flume
#

I think it's a universally enjoyed way to mess with people

celest thorn
#

discord blocked it

slate flume
#

LMAO tuff

celest thorn
#

but deleted it

#

because still im respectful of rules

slate flume
#

I'm hyped for Germany tbh

#

Just cause I'm going to some cool ass events

celest thorn
slate flume
#

Fuckin' castle burning dude

#

Dope as hell

celest thorn
slate flume
#

I get to see that in person

slate flume
#

It's a thing in Heidelberg

celest thorn
#

quite cool

#

why tho its "burning"

#

let me search up :3

slate flume
#

They do fireworks too

celest thorn
#

cool asf

slate flume
#

So hyped for it

#

My dad planned a ton of dope shit

celest thorn
slate flume
#

We're gonna stay in a little inn in one of the places we're going to and taste different alcohols

celest thorn
#

ngl next year im planning with my scholarship to go to NYC

slate flume
celest thorn
celest thorn
#

so much

unique crane
#

This is not #politics-chat

#

bruh

slate flume
celest thorn
#

now aren't talking about politics

#

travel

unique crane
#

Says the channel name

#

silly

celest thorn
#

which is cool :3

#

;(

slate flume
celest thorn
#

honestly the one with the most crime and everyone knows here is naples but everyone stays silent there to not die

#

and milan is on top

#

just because of stupid teenagers doing crimes

slate flume
#

W

upper vapor
slate flume
#

There used to be this place in NYC called "VR World" and it was one of my first major introductions to VR

#

I think it was shortly after that trip that I asked for an Oculus Quest 1 for my birthday

celest thorn
celest thorn
#

and there are stuff i wanna visit

#

i already talked to someone who visited it and they said "you are going to be amazed by the skyscrapers"

unique crane
celest thorn
#

and the size of the city

unique crane
#

just not reading chat

celest thorn
#

Because of the cutscene lol

upper vapor
upper vapor
celest thorn
thin shuttle
#

i have an question on Snake

Why does it have it's own DLL.????

unique crane
#

¯_(ツ)_/¯

celest thorn
#

and its bo3

upper vapor
thin shuttle
#

litterally it's namespace get out from the AssemblyCSharp bruh InventorySystem.Items.Keycards.Snake

unique crane
#

Might want to ask Hubert on that one

#

he did it

thin shuttle
#

InventorySystem.Items.Keycards -> AssemblyCSharp.dll

#

InventorySystem.Items.Keycards.Snake -> Snake.dll

celest thorn
#

@ Hubert please fix the game

slate flume
#

I'm so happy you guys added a PlayerInspectingKeycard event with a synced IsAllowed

thin shuttle
slate flume
#

Snake has genuinely been a problem for our server

unique crane
thin shuttle
unique crane
slate flume
celest thorn
unique crane
#

No

celest thorn
#

WHY DIDN'T YOU MAKE DOOM

#

;(

#

doom is better

unique crane
#

The keycard inspect event

#

silly

celest thorn
upper vapor
south socket
#

(Ban the snake players)

celest thorn
#

I found out something crazy guys

#

lockers emit light

south socket
#

lights emit lockers????

upper vapor
plain gazelle
#

What would be the best way to get from a Raycast to getting a SpawnableStructure?
Try to get the component off of the root of whatever the ray hit?

upper vapor
#

GetComponentInParent

#

not sure if it's faster than collider.transform.root.TryGetComponent

worthy rune
upper vapor
#

it wouldn't

#

don't lockers get spawned at root level though?

#

StructureDistributor or something

worthy rune
#

map generated one are parented iirc

worthy rune
#

oh i should say some are

upper vapor
#

show

worthy rune
#

not all map generated one are apart of the room, some are distributed "properly"

#

the large ones in lcz checkpoint to HCZ are im sure

upper vapor
#

uhhhh

worthy rune
#

idk, for whatever reason not all lockers can be moved

#

and i think thats one of the reasons why

upper vapor
#

but those can be either regular medkit or adrenaline lockers

#

oh did you mean EZ-HCZ?

worthy rune
#

sorry yeah ez

plain gazelle
#

I hope all Items spawned in lockers will some day be properly referenced by the locker
-# Or my previous attempt at trying to figure that out just failed

worthy rune
#

i always get them mixed up when typing lol

upper vapor
plain gazelle
#

Lockers hold a reference to some items that they spawn with, but not all

worthy rune
#

hmm i remember an issue like that, on the labapi github

plain gazelle
#

i should visit that place more often

upper vapor
#

kfc dictator

plain gazelle
#

what about him

upper vapor
#

interesting name

plain gazelle
#

yeah
he is also a dev for Site 12 atm, learning fast

upper vapor
#

riptide...

#

you didn't even say it's pooled

worthy rune
plain gazelle
#

Same

#

If i find time i might be able to make a new issue

worthy rune
#

idk why i did it like that, i guess i saw other code using pooling and decided to copy it

upper vapor
#

ban returning objects rented from pools CFkillerkirby

#

i'm gonna make a PR to create an analyzer that detects it and give an error

worthy rune
plain gazelle
#

:O

upper vapor
#

very interesting

#

it's added to the list

#

check the base content

plain gazelle
#

So not
locker.Chambers[i].GetAllItems()
and instead sth like
locker.Chambers[i].Base.Content ?

upper vapor
#

ye

#

perhaps

plain gazelle
upper vapor
#

why can't vs properly add xml docs

plain gazelle
#

?w?

upper vapor
#

stupid decompiler

grand flower
#

Also why return a hashset instead of a list here

obtuse spruce
grand flower
#

In lookup not iteration

#

And you're likely to iterate in this scenario

upper vapor
restive turret
#

idk to make sure no same item?

grand flower
#

could keep a hashset in the method

#

and return a list

#

¯_(ツ)_/¯

upper vapor
#

there's no reason for it to be a set

grand flower
#

nw moment

unique crane
#

Most likely its gonna be changed to IEnumerable

upper vapor
#

also the .toarray foreach could be replaced with a reverse for loop

upper vapor
#

i only make loader PRs toomuchtrolling

pulsar charm
#

is there a way to measure the tick duration? (in labapi)

upper vapor
#

Server.Tps

south socket
#

Just patch your tps to 60! trust

upper vapor
#

if you want the duration in seconds (well, how long the previous tick took) use Time.deltaTime

upper vapor
#

there's also Time.smoothDeltaTime which is... smoothed Kek

pulsar charm
#

oh so every tick is just equivalent of one unity physics frame

upper vapor
#

ye

#

no

#

WAIT

#

NO

#

absolutely not

pulsar charm
#

i may not be using the correct terminology

upper vapor
#

physics run in FixedUpdate which is... complicated

pulsar charm
#

right yeah forgot about that

#

but in short it is just everytime update is called

celest thorn
#

skibidi toilet

upper vapor
#

imagine how your game is rendered
that's a tick, to render one frame, but on the server

upper vapor
slender lynx
upper vapor
#

does anyone know why the collection field in NineTailedFoxAnnouncer.VoiceLine exists?

#

it doesn't seem to be used anywhere (not on the server at least)

#
PVES
BASE
GLITCHES
MP2C
MP2B
PARA
MP2D
MP2A
BELLS
MP2
Manual
celest thorn
unique crane
unique crane
#

I can see at least one occurance in CalculateDuration

upper vapor
#

uuuuhhhhhh

#

looks like it's stripped?

#

cuz

#

it's not there for me

unique crane
#

weird

#

I dont see any preprocessors there

upper vapor
#

show

unique crane
#

Or anything around it

upper vapor
#

i was asking about the collection field in the voice line

unique crane
#

Oh

#

yea thats Editor only

celest thorn
#

(please end me)

slender lynx
#

shut the fuck up bro 🥀

unique crane
#

this is gonna be you

slender lynx
#

we're both insane

#

its deserved

celest thorn
restive turret
#

How TF did you guys managed to parent a network object to another network object

restive turret
upper vapor
#

you just

#

child.Parent = parent.Transform

hearty shard
upper vapor
#

labapi wrapper

hearty shard
#

ah

#

fair

restive turret
upper vapor
#

you tried where

restive turret
#

editor?

upper vapor
#

in the game engineM

#

you have to do transform.SetParent(parent, false)

restive turret
#

sadge

#

wow yes actually works

#

:O

upper vapor
#

look at the labapi source moment

restive turret
#

why does mirror doesnt do that by default

#

such a skill issue

upper vapor
#

like

#

networktransform?

restive turret
#

no the parenting thing

#

in editor it is crying

#

when in game its not

upper vapor
#

oh well

#

because usually you'd want to keep the object in place if you change its parent

restive turret
upper vapor
#

xddddd

#

can't have nested network identities by default

restive turret
#

might be because i move the prefab inside it

#

when i preing my fab

#

ah yes, only in Editor

upper vapor
#

XXXXXXXXXXXXXXXXXXXXXXXXXXDDDDDDDDDDDDDDDDDDDDDD

restive turret
#

so yes this is a high quality one

#

🔥

celest thorn
#

helo guys

restive turret
#

bye

upper vapor
#

numero uno

celest thorn
slender lynx
celest thorn
celest thorn
slender lynx
#

watch it

#

what

#

why not

#

big shoes

#

if its fine for youtube kids its probably ok here

soft turtle
plain gazelle
#

I dont understand the SpawnableStructure class

#

tried this but im getting a lengthy error that i have issues comprehending

#

Any translators in chat ,_,

upper vapor
plain gazelle
#

...do i have to make a new empty object and add SpawnableStructure as a Component to it?

hearty shard
#

and then Object.Instaniate with that

plain gazelle
hearty shard
#

cuz it depends a bit

#

NetworkClient.prefabs exists tho

#

doesnt get all of them

#

eg Player prefab

#

wrong one

#

PrefabStore<Scp079Generator>.Prefab

#

eg

#

that one doesnt work for doors or ragdolls

plain gazelle
#

what a prefab name lol

random scaffold
plain gazelle
#

Spawnable Unsecured Pryable GateDoor

random scaffold
#

what wrong

plain gazelle
#

just funny long name

random scaffold
#

its nw

plain gazelle
#

From a prefab, do i also just do .GetComponent<SpawnableStructure> or sth?

hearty shard
#

u cant spawn SpawnableStructure by itself

#

you need the prefab itself ur creating
then instaniate it
and then after that you can .GetComponent from the NEW object NOT the prefab

upper vapor
#

just store a reference to the spawnablestructure component from the prefab

#

instantiate that

plain gazelle
hearty shard
#

yes

tulip kiln
#

basically

plain gazelle
#

So since NetworkClient.prefabs has a few prefabs, could i spawn others or only the prefabs associated with these:

plain gazelle
#

-# Would be kinda fun to be able to spawn in room prefabs lol but im 99% sure thats not possible

hearty shard
#

yea room isnt

plain gazelle
#

ooo, ElevatorChamber, that could be fun

#

I know you can reprogram base game elevators to start/end elsewhere, but could you also spawn in new ones, with their own start/end positions?

hearty shard
#

Doors, Player, AdminToys,

hearty shard
#

and uhh

#

theres not that many groups

#

(only the ones used by basegame)

plain gazelle
#

darn NW, limiting our creativity once again

hearty shard
#

and no reason to change it

plain gazelle
#

x3

hearty shard
#

also you can do elevators using just

#

primitives and a waypoint now

#

wont go through walls etc i dont think

#

maybe itll be fine?

#

idk

plain gazelle
#

sureeeeee but i like toying around with base game stuff

#

i could have made a fake player with primitives but instead i learned how to spawn a dedicated server player thingymabob that doesnt show up on player or RA list

#

Cuz thats awesome blobcatvibrate

hearty shard
#

including public plugins

#

that dont mind copy

plain gazelle
#

i like learning and doing it myself tho

hearty shard
plain gazelle
#

i am allergic to dependencies

hearty shard
restive turret
celest thorn
#

Helo

restive turret
#

Goof nit

celest thorn
hearty shard
#

what could possibly go wrong supressing errors

restive turret
#

Crash

hearty shard
#

nuh uh

restive turret
#

Server and client pc blow up

plain gazelle
#

oooo almost there
server side collision is there

unique crane
#

You have to init position sync component

#

ax said it like 1-2 days ago

plain gazelle
#

Thank you :3

#

will try this now

GameObject obj = Object.Instantiate(prefab, position, rotation);
StructurePositionSync sync = obj.GetComponent<StructurePositionSync>();
sync.Start();
NetworkServer.Spawn(obj);
#

No clue why the items are deciding to screw gravity but oh well

grand flower
#

probably need to wake their rigidbody

true cedar
#

stupid name

hearty shard
true cedar
#

NO

crimson dune
teal junco
#

how can i make colliders that player controllers will ignore?

warped prairie
warped prairie
teal junco
upper vapor
grand flower
#

cpu bound?

upper vapor
#

might be a cpu bottleneck yeah

#

though that wasn't really used either

grand flower
#

what cpu/gpu do you have

upper vapor
#

ryzen 5 1600 and a gtx 1050 ti

grand flower
#

yeah that's just a little too low end

#

on both sides

celest thorn
#

i will answer with this

#

having alot of fun

tepid sluice
#

skibiditoilet

celest thorn
#

lol

tepid sluice
#

nah im not

#

just i think that blue one is TOO common

celest thorn
tepid sluice
#

purple doesnt suit me i think

celest thorn
#

honestly i saw purple shoes but sadly female only pair ;(

mild ice
#

Mere suggestion

celest thorn
restive turret
celest thorn
#

don't worry bypass

#

sk i b1 di

#

bypassed

#

you cannot ban every gif, png, word

restive turret
#

But can ban you

celest thorn
#

honestly

#

i have alot of fun using it because i know i get banned from roblox for saying to another brainrotted child

#

lol

#

got 2 bans already

#

for saying skibidi

upper vapor
#

not enough

unique crane
#

Unreal

#

engine

celest thorn
#

btw how can i figure it out what could consume ram, and if i can mesure it

unique crane
#

For server its just objects

#

everything else is stripped

#

Sooooo if there is some memory analyzer

celest thorn
#

while in a container

#

i tried calling GC to get the ram