#plugins-dev-chat

1 messages · Page 50 of 1

hearty shard
#

Why not

true cedar
#

ruei needs to handle offsets

#

every time you do a linebreak it detects that and adds to the offset

restive turret
#

Science isn't about why, it's about why not

icy knoll
#

hmm

true cedar
#

but if the line height is animated

#

you have to add the animated value to the offset

#

i thought of a way to do it but it is not nearly as simple as regex

icy knoll
#

well, good luck then

#

i suspect this is gunna be very long...

true cedar
#

it could be idk

#

oh also fun fact

#

ruei v3 will have a system to automatically bypass the hint size limit >:3

#

im rlly proud of it

icy knoll
#

nice

#

well done

#

well

#

ig it wont bypass the mirror limit TrollDespair

hearty shard
#

it will

icy knoll
#

HUH

hearty shard
#

im spreading lies maybe

icy knoll
#

also what is ruei's default line spacing multiplier, if any?

hearty shard
#

But no the text limit is from the UDP limit

hearty shard
#

Which i have a feeling it does

#

@true cedar correct me

true cedar
icy knoll
true cedar
#

(i think the actual actual default line height is different)

#

pixels

icy knoll
#

wait no not line height

#

line spacing

true cedar
#

um

icy knoll
#

do you modify?

true cedar
#

huh

#

line spacing = line height

icy knoll
#

like do you set ur own line spacing

#

rly?

#

oh damn

#

im tryna do more math here in case font size changes

#

and i cant figure it out at all 😭

true cedar
hearty shard
true cedar
#

i just break up the text into separate string hint parameters

unique crane
#

So the same workaround as I did for the text toy

true cedar
#

yea LOL

#

im not that creative

unique crane
#

I mean

#

You cant do anything else

#

literally

#

Its UDP size limit

#

You cant go around that any other way unless we add it base game

#

like chunks to append to each other

hearty shard
#

trolled

true cedar
#

whats the udp size limit

hearty shard
#

65k

#

or smth

unique crane
#

ushort - few mirror bytes

hearty shard
#

david ur a ushort

true cedar
#

oh so its just

restive turret
#

65535 - ~4

hearty shard
#

i dont agree

restive turret
#

Ushort.MaxValue is 65535

hearty shard
#

I dont agree

unique crane
hearty shard
unique crane
#

gg

hearty shard
#

!!!

true cedar
#

whats that in normal units

restive turret
#

No proof

hearty shard
#

6'1

#

and 5'1

true cedar
#

what the fuck

unique crane
#

silly american

hearty shard
#

yet

true cedar
#

im 5'9

unique crane
#

Tf you mean yet XD

restive turret
#

Use Google to convert them Fear

hearty shard
true cedar
hearty shard
hearty shard
#

david is 5'11 i believe

true cedar
#

YOU

hearty shard
#

unless im off

hearty shard
#

Im sharing your secret

#

anyway uh

#

im angry

#

how do i test SSSS with more people when i have no friends

#

So heart breaking

restive turret
#

🤣

hearty shard
#

ill get my gf to test it w me

#

probably

#

or slejm

#

wait i dont have a test server anymore do I

restive turret
#

??

hearty shard
#

💔

restive turret
#

Skill issue

true cedar
#

ill test it for you eve

hearty shard
unique crane
restive turret
#

Testing your patience

true cedar
#

JUST KIDDING!!!

hearty shard
true cedar
#

JUNE TWENTY FIRST FOOLS!!

hearty shard
#

i cba to port forward

#

💔

restive turret
#

I have it

#

I can run a server from my pc

#

And many times tested with it

worn gull
#

Hi is it possible to change a role's name in spectator below the player name's?

worn gull
icy knoll
#

@upper vapor implemented a queue for the plugin and everything, i think it's ready for a release, so ty man!

plain gazelle
#

Does anyone have an idea on figuring out if a Pickup is like, part of/inside of a locker, or a wall medbox, or loose items like the lcz pistol, hcz junk and stuff?

plain gazelle
#

Real cameras usually have Kelvin temperature settings, so maybe its for that? For anything sun related?

#

A smooth curve between warm and cold light

viral rivet
#

How can I execute a R.A. command from LabApi?

celest thorn
#

you are mean with everyone

hearty shard
hearty shard
celest thorn
viral rivet
hearty shard
viral rivet
hearty shard
#

You can also check what the command does

#

But using the command isnt recommended unless ur doing something like uhh

#

Like config options

#

on commands to run at x time

viral rivet
#

ok thanks

unique crane
#

labapi one

hearty shard
#

@viral rivet pls dont dm me for support

#

you also have the answer above ^

#

LabApi.dll

worthy rune
#

wouldnt nuget have the latest, also nuget includes the xml so you gets docs too

worthy rune
#

ahh rip

unique crane
#

tide

viral rivet
worthy rune
#

xD

hearty shard
#

just make it auto update!!

unique crane
#

It needs to be signed by security team

hearty shard
#

?!?!

unique crane
#

U need to sign the nuget package

#

otherwise bad things happen idk

hearty shard
#

you mean just using an api key or smth else

unique crane
#

so it is trusted by microsoft

hearty shard
#

but

#

i dont do that

#

on nuget

unique crane
#

I dont knoooow

hearty shard
#

nuget has like

#

virus scans

#

super duper awesome

#

also my brain is fried

unique crane
#

thats what beryl said once they do that

hearty shard
#

wine + coffee = not nice

hearty shard
#

thanks

unique crane
#

and now with jesus being new team lead I guess they are working on that

hearty shard
#

Oh

#

Its jesus now

#

Didnt he quit

#

to do smth else

unique crane
#

What?

worthy rune
#

no

hearty shard
#

anyway hi david

#

And riptide

worthy rune
#

hi

hearty shard
#

what is lumi typing for 20 minutes for

icy knoll
#

is it possible to edit a SerializeField or is that client side?

#

i wanna edit a cooldown duration :c

hearty shard
#

is it synced

#

serializefield is unity so not synced by default

icy knoll
#

how would I tell? network behaviour or?

unique crane
hearty shard
icy knoll
unique crane
#

Like for ability?

icy knoll
#

yeah

hearty shard
#

i think you can make it longer by denying it

#

idk if you can make shorter

unique crane
#

Yeah you can only make it longer I guess

icy knoll
#

i wanna modify _onReleaseCooldown

#

i just dont know if it's possible

unique crane
#

There might be client-side check too

#

check the code

icy knoll
#

this.ClientCooldown.Trigger((double) this._onReleaseCooldown);

#

this is it

unique crane
#

Yep

icy knoll
#

during ClientProcessRpc husk

unique crane
#

no change then

icy knoll
#

is ClientProcessRpc called on the client or is it called on the server with the network reader being the client or?

unique crane
#

Its called on client

#

when its Client ProcessRpc

icy knoll
#

yeah

#

well

#

seems like i cant change the cooldown then 😭

unique crane
#

Nop

#

Sorry

hearty shard
#

well id assume its a client thing

#

Since its yk

#

Since its yk

#

Named like that

#

My internet so slow

hexed girder
#

But are all types of doors already available in LabApi?

#

Like

#

Scp049Gate

#

Because I can’t find it

upper vapor
#

me when

upper vapor
#

you can check the door's name to distinguish between the same type of door

upper vapor
plain gazelle
#

Are containers like lockers, medboxes and scp pedestals saved anywhere, or can i somehow get a list of all of them?/their positions?

hearty shard
#

Or smth

#

When LockerType and PedestalType

lethal cradle
#

After watching 17 hours of c# tutorials, I have finally mastered c# and can finally do a plugin

#

only took a million tears

icy knoll
#

you’ve got a long way to go my friend

#

i’m still learning and i’ve been doing this for a while

unique crane
#

But good luck :D

lethal cradle
#

I mean out of curiosity when I look at the stuff in #1274618202227216414 (code wise) I sort of understand it. I think I'm gonna take like a simple item and make it do something simple and figure it out myself. For example uhhh maybe make the medkit heal 10 hp instead of the usual to see if I can even FIND that

unique crane
#

hints

#

setting player's role, hp

#

etc etc

lethal cradle
#

oh that can do too

#

I genuinely have no idea where to start 💔

unique crane
#

Yea just start with sending player a broadcast

#

Make a plugin that sends player a broadcast with "hello -name-"

#

when you join

icy knoll
#

maybe also find some simple plugins and see if you can replicate the behaviour

lethal cradle
#

okay thank you yall

viral rivet
#

when i try to do:
player.Scale = new Vector3(0.3f, 0.3f, 0.3f);
The server crashes why?

unique crane
hearty shard
#

you cant do it on role change event unless you delay it

#

yeah

unique crane
#

There is currently a bug that does this

#

Sorry

#

You can BUT

hearty shard
#

david crashing servers as usual

unique crane
#

add at least 2 frames delay

unique crane
#

so its your fault smh

hearty shard
#

!!!

noble vale
#

Hey Guys, can someone help me? Its telling me _type isnt defined and because i am just trying to learn that stuff, i dont know what to do yet ( sry, my Visual studios is set to German )

#

( its like the example thing from git hub, connected with the other thingies etc. )

unique crane
hearty shard
noble vale
#

oh, how do i do that

hearty shard
#

<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.5.0-beta.1" PrivateAssets="all" />
<Reference Include="Assembly-CSharp" HintPath="$(SL_REFERENCES)\Assembly-CSharp.dll" Publicize="true" />

#

csproj file

#

tldr you add the bepinex publicizer

#

and then set assembly to publicize="true"

noble vale
#

ok, ill try

noble vale
hearty shard
#

if ur doing exiled

#

then go to exiled support

#

well

#

exiled coding chats

noble vale
#

theres an exiled support

#

oh damn

hearty shard
#

theres a discord

#

uhh

#

@mild ice can i send discord links i forgot

#

@noble vale

noble vale
#

thx, sry for the Confusion

mild ice
hearty shard
restive turret
hearty shard
#

but

#

you still need the references

#

even if ur in exiled proj

celest thorn
#
        private void OnTriggerEnter(Collider collider)
        {
            if (!collider.CompareTag("Player"))
                return;

        }

Does someone know why it doesn't work?

restive turret
#

I just do
collider.CompareTag("Player")

celest thorn
#

it doesn't trigger

#

like the code doesn't execute

#

even tho i just trigger it

#

and if i remove it, it works fine

restive turret
#

Works on my end

celest thorn
unique crane
#

collider.tranform.root.FompareTag("Player")

#

Maybe

hearty shard
#

Fompare

celest thorn
#

i could something smarter actually

#

if its default (so primitives for example)

#

return

restive turret
#
internal class EscapeTriggerComponent : MonoBehaviour
{
    public void OnTriggerEnter(Collider collider)
    {
        if (!collider.CompareTag("Player"))
            return;
}
}
hearty shard
#

me when i just use

#

Player.TryGet

restive turret
#

Tryget deez

hearty shard
#

i hate you

restive turret
hearty shard
#

ur racist to me

restive turret
#

What

hearty shard
#

i should blur the name tbh

#

quote goes hard though

restive turret
hearty shard
restive turret
#

For what

hearty shard
#

everything

restive turret
#

Have fun with them ig

hearty shard
#

ok i blurred

#

ok i didnt blur pfp

#

idc

#

@restive turret

#

YOU!

#

ur hurtful

restive turret
#

Nuh uh

hearty shard
#

u hurt me

restive turret
#

I would never

celest thorn
slate flume
#

@grand flower if you figure out how to fuck with mapgen to check seeds can you help me out
I've got a bunch of shit I've gotta do the next few days but I wanna get an update out that'll allow me to work with that junk

viral rivet
#

Using Player.Scale if a player enters after it has been executed it sees it differently (As in the picture) than it would normally be, does anyone know how to fix it?

hearty shard
#

Map.Seed
Or Round.Seed idk

slate flume
#

But it causes network-client desync

#

I'm guessing because of the .Generate call

hearty shard
#

Wtf r u doing

slate flume
#

I just want maps where the Red Room spawns

#

That's it

#

🤷🏼

hearty shard
#

what red room

#

and i forgot what atlas zone generator is

#

im not on pc rn so i cant really check it

slate flume
#

I just realized

#

I'm being dumb

#

It's supposed to be EntranceZoneGenerator

#

But it's still going to cause desync

hearty shard
slate flume
#

Atlas = Heavy

hearty shard
#

Goofy ahh

hearty shard
slate flume
#

I think?

#

Idk

hearty shard
#

it might be related to your .Generate(

slate flume
#

I'm a little lost

hearty shard
#

you are generating the map server side

slate flume
hearty shard
#

yeah

#

you cant do that unless you also delete it

#

which might cause issuee

slate flume
#

My goal:
Find seeds that generate redroom

#

This goal is complicated

#

And I'm looking after 4 damn toddlers this weekend because family is wonderful and amazing

#

So I don't have a lot of time to spend on this

hearty shard
#

Can you give me everything the zone generator has

#

cuz im a lil bit lost without any code lol

slate flume
#

Yeah I gotchu

#

What I know is

#

SeedSynchronizer is the key

#

The awake function is where the MapGenerating event is called

hearty shard
#

Btw uhhh

slate flume
#

You can change the seed before it goes into GenerateLevel

hearty shard
#

its all

slate flume
#

Which goes into GenerateFacility

#

Which calls zone generators

#

The AtlasZoneGenerator (which I believe is the initially derived type for other gens?)

#

That's the generate

#

It's got a bunch of other shit

hearty shard
#

Oh yeah

#

Hm

#

Idk if its really doable easily...

slate flume
#

Yeah

hearty shard
#

you could maybe create a replica in a different C# project

slate flume
#

I know it's likely possible in some way

hearty shard
#

Of the generator

#

And then generate seeds

grand flower
hearty shard
#

what is bro doing

slate flume
#

I'm just really busy these next few days so I can't dedicate as much time as I'd like

#

I was hoping someone would know but if not that's cool

grand flower
hearty shard
grand flower
#

it was just for spawning players in

hearty shard
#

you got me curious

#

Oh

grand flower
#

spawn waves

hearty shard
#

lmao

#

Weird ass spawn waves spawning in entrance

grand flower
#

because SCPs can just camp gate A/B elevators

hearty shard
#

True

grand flower
#

especially on maps where they're next to each other

#

so as a nerf to that strat, normal spawn waves have 40% of players spawning in the facility's red rooms

#

and mini waves fully spawn there

hearty shard
#

Interesting

grand flower
#

It helps a lot

slate flume
#

My hope is to check seeds to see if 1. Red Room Spawns and 2. Gates are next to each other

grand flower
#

when the spawn wave isn't stupid and actually shoots the damn SCP

slate flume
grand flower
#

yup

#

i can't fix skill issues though so w/e

grand flower
slate flume
#

Dude I had a group of me and two other D-Class who actually knew what we were doing and we killed 173 single-handedly

grand flower
#

so even if the gates aren't next to each other, 173 can trap one/both and just patrol

#

in our case 173 has like

#

9000+ hp on a full server

slate flume
#

LMAO

#

Peak

grand flower
#

Because it's the sole SCP

#

had to buff a ton of SCPs because they aren't built to be lone SCPs

slate flume
#

Cyn what food should I get, I'm ordering Chinese

grand flower
#

idk lol

slate flume
grand flower
#

can't

#

you can give him silent walk

slate flume
#

Yeah

#

But his breathing

grand flower
#

but he'll still be noisy and asthmatic

slate flume
#

Fucking loud ass

#

It's crazy that he's supposed to be an ambusher and yet he's slow, asthmatic, and loud as shit

#

And the people he "kills" have a 1/4 shot at surviving

#

3114 is like a better 106 just without the teleportation lmao

hearty shard
grand flower
#

I reworked him for our Mayhem server, now players have an 80% chance of surviving pocket

#

but in exchange he gets buffed with every traumatized player

hearty shard
#

Gah

grand flower
#

his teleport ability slows down everyone within 10 meters for 3 seconds, while giving him a boost for every player in that range

#

actually happy to see players make use of it to ambush players

slate flume
#

Peak

#

I just hope I can figure out mapgen cause otherwise I'll be sad

grand flower
#

You'd need to just port the mapgen 1:1 to a standalone library

#

but like

#

any random call that would occur

#

needs to occur

#

otherwise your mapgen stuff won't match the game

hearty shard
#

someone did this for a proj in ts iirc

#

Jesus maybe idk

#

it died but yk

slate flume
slate flume
#

Might have to ask for a bit of help/guidance

#

I'm like a mid-level programmer, I can get by, but I need help with the advanced shit

hearty shard
#

although my brains fried too

slate flume
#

Yeah idk I'm hoping I can cook something up but man

#

It's insane

#

I wish there was more built-in stuff to help with this shit

#

What if I just restart the server if I get a bad map

#

Lmao

grand flower
#

Or NW could just

#

fix it

slate flume
#

I think something like these niche mapgen things are low-priority for them lol

#

I'm gonna pick up some food and ponder it on my drive

#

Brb

buoyant oyster
#

why did they make the map gen happen both client side and server side... why sync the seed and not the map itself...

true cedar
#

because its really complicated to sync an entire map lol?

#

thats my guess

#

its just a waste of time for both the client and server to try and sync it

hearty shard
#

yeah

#

The game only needs a seed

true cedar
#

esp when mirror makes it easy enough to have the same mapgen code

hearty shard
#

Everything will generate properly with it

hearty shard
#

it saves a ton of networking over like telling the player like 8 or smth bytes of positioning per room + all the clutter + door types Fear

#

if everything was sent by server thatd be a lot

#

Imagine if sl had all its textured sent by server

buoyant oyster
#

im aware that its less data to send but at the same time it would be really nice to actually be able to have custom map generation

hearty shard
#

i dont really agree with making every part of map generation server sided

#

mostly due to the networking, and the fact its a lot easier to do with it being just a seed

grand flower
#

It's good for custom maps, which NW doesn't let you do anyway

#

So in their case seed was enough

hearty shard
#

you can just set -1 seed trolling

grand flower
#

Limiting for modders? yeah, but not a bad idea

hearty shard
#

make it all out of primitives

buoyant oyster
hearty shard
#

itll be laggy

grand flower
#

At that point might as well make your own game

hearty shard
#

but yk

grand flower
hearty shard
#

That ruins the fun

buoyant oyster
#

but it wouldnt be as popular as sl

grand flower
#

Says who

hearty shard
#

just make it more popular

#

eZ

grand flower
#

Before SL there was Breach on Garry's Mod

buoyant oyster
#

true...

grand flower
#

When SL came out, peeps moved from Breach to it

#

¯_(ツ)_/¯

hearty shard
#

eh ig technically

#

but yk

grand flower
#

NW shoots itself in the foot enough that you wouldn't need to if you play your cards right

hearty shard
#

cyn have you considering arson

buoyant oyster
hearty shard
grand flower
#

only twice is surprising

hearty shard
#

i dont believe 14.0 or 14.1 has had like major issues

#

am i schizo

grand flower
#

Just the way things are in SL

#

not necessarily major issues, but how things work

buoyant oyster
grand flower
#

and NW itself

hearty shard
#

i liked it

#

oh well

#

Oh 14.1

#

The mini wave

#

Change

#

Where if the enemies do better than your team they can get wave

#

Cuz ur team was bad...

#

Or unlucky idk

buoyant oyster
#

its frustrating for the scp team

hearty shard
#

that the enemies dont cooperate?

#

and are now enemies of each other too

#

wat

#

am i missing something

buoyant oyster
#

i dont wanna get into it

#

i have a lot of thoughts on that subject

hearty shard
#

ok...

buoyant oyster
#

i play on mostly 32 player servers n 14.1 doesnt feel balanced there idk

#

25 is fine

hearty shard
#

game is balanced for 24

#

modtly

#

Mostly

#

or maybe it was 28

buoyant oyster
#

it felt great for 32 and 25 in 14.0, now its just 25

hearty shard
#

i play like 2-10 players and like 40

#

idk

#

seems fine for me

#

also you said 2 fuck ups

#

Spawnwave is 1

#

Goggles?

buoyant oyster
#

its that they didnt poll the spawn wave changes at all before pushing it live but goggles too

#

i wish they just did one nerf or the other both nerfs like felt major overkill

slate flume
#

What was wrong with old goggles?

#

They feel kind of pointless now

#

In SL, TTK is low, and things generally move fast
Having goggles update intermittently now makes them so not viable

grand flower
#

Gives you a warning about people around at least

#

Old goggles were just free ESP

slate flume
hearty shard
#

but

#

It was ESP

#

😭

#

thats not fire

slate flume
#

I see your point but also like

#

There's gotta be a better way to balance it

#

The way they are now is just

hearty shard
#

i dont like new goggles
but i REALLY dont like the old goggles being constant wall hacks

slate flume
#

Kind of bad

hearty shard
#

Yes but they were too good before

slate flume
#

I thought old goggles were fine because yeah they were powerful but also it's not like everyone in a lobby is getting them
I just generally think they could've balanced them better

hearty shard
#

I dont agree on current state

#

But

#

Its better than walls

#

Kind aish

#

can be improved

#

hopefully soon

slate flume
#

I think that's a fair viewpoint I just disagree that it being useless is better than it being extremely useful

#

At least it was a cool unique item you WANTED to use

#

Now I never see a single soul use them

#

Defeats the whole point of having a new item

hearty shard
#

its kinda like how good 127 was during beta

#

just goggles got a terrific nerf

slate flume
#

At least we both agree goggles need a rework lol

hearty shard
#

yes

slate flume
#

I do talk about how I hate balancing in this game a lot but I'm not a game designer or anything

hearty shard
#

i dont disagree on that

#

i just hated them during beta

#

I mean yes

#

Fun to have

#

Not fun against

slate flume
#

I may not know how to fix it but I know it's a problem

hearty shard
#

Since they literally get cheats

#

Ita like old siege

#

There was OP that gave every enemy full view of you if you move an inch

#

iirc that includes laying down or just turning ur camera

slate flume
#

Like what if it functioned more like 939's vision

#

People don't complain about 939 having wallhacks lol

hearty shard
#

You cant see

#

You go off sound

#

Idk

#

It has balancing

#

Also dog doesnt have an Ak47 to shove into my throat

#

Well

#

Not in vanilla trolling

slate flume
hearty shard
#

goggles should make you blind

#

completely

#

no more

slate flume
#

That would be interesting

#

Not sure how practical it would be though if you can't even walk through doors lol

#

What if you could only see the facility in a small radius around you

#

Sort of like intense fog

#

Or maybe like extremely blurry vision at range

#

With the exception of the orbs

hearty shard
#

yea but hm

#

ig you canr see the environment

#

so items and medkits

slate flume
#

It would allow you to still navigate the facility and see things in a short area around you

hearty shard
#

but you still know where everyone is

slate flume
#

So you could find items and shit

#

But you wouldn't be able to know if any enemy is behind cover or shit like that

#

Because outside of your "bubble" you're blind

#

I feel like that's very fair but still makes it viable

#

Especially if you're working with someone else

#

You avoid the problem of it being intermittent while also making it so you can't just solo everyone because you have no idea if they're behind cover or not

#

But you're also self-sufficient enough to be able to get around the facility

hearty shard
#

my foot is like asleep

#

lmao

slate flume
#

Lmao good to know

slate flume
hearty shard
#

im tired im saying random stuff

slate flume
#

I'm cool with anything so long as it fixes shit

slate flume
#

I actually made a custom item that blinds and deafens you for 10 seconds, then makes you normal for 10 seconds, but you're given 900 max HP lmao

#

It's fun to use and it's pretty balanced because when you're blind and deaf you can't really do shit

pine parcel
#

how do I detect that a player is dummy and not a human player?

#

(side note, if there are any good plugins that handle dummies I would love a pointer)

slate flume
#

Or some shit like that

#

👍🏼

pine parcel
#

thanks! did you find that in some docs, or in your own code?

slate flume
#

I just look at the wrapper

pine parcel
#

oh got it

slate flume
#

Any self-respecting IDE has auto-complete

#

So just type in what you're looking for

#

And it'll show you options

#

Let's say I'm looking to add an item to a player

#

Or you can look at the class if you need specifics

#

Shows you everything

pine parcel
#

got it, I'm not used to looking through a library as much. Need to develop that skill, thanks!

slate flume
#

Of course!

#

Happy to help

teal junco
grand flower
#

good job

#

was gonna start writing my own heh

#

I'm pretty sure you can't record audio though

#

NW tends to frown at stuff like that

teal junco
#

oh i forgot to add a check :P

teal junco
#

like you can hear it right 😭

grand flower
#

Yeah

#

You're probably parsing it wrong

#

Playing it too fast idk

teal junco
#

Ohhh maybe the parsing/timing is off

#

i can see that being a possibility

#

most likely timing, the parsing is literally directly copying the data from the VoiceMessage

#

Also cyn, thank you for all that advice a few weeks or months back, it really really helped me along on this project

grand flower
#

My pleasure

pine parcel
#

is there a way to hot reload plugins so I don't need to keep relaunching my server each time I make a change?

celest thorn
#

but you can

pine parcel
#

do you have the forbidden knowledge?

celest thorn
#

oh wait

#

you cannot

pine parcel
#

lol!

celest thorn
#

on LabAPI you cannot

pine parcel
#

ah well, thanks for replying!

celest thorn
#

you could tru

#

with using code from here

#

and understanding it

upper vapor
celest thorn
upper vapor
#

what if we had actual hot reload

celest thorn
celest thorn
#

but reload on exiled

#

is used by none

#

and its even not reccomended

pine parcel
#

I guess I should really be asking, how do you guys see if your stuff is working if you aren't hot reloading? (Maybe this is a bad habit coming from REPL languages)

upper vapor
#

sr

#

every time

celest thorn
#

sr

pine parcel
#

that is brutal

celest thorn
#

i have 1.5k

#

and i can say most of them on loading screen

upper vapor
#

i have 3.2k hours in this game
at least 100 of them is just watiing for the restart

upper vapor
#

i probably said a low number though for waiting xd

celest thorn
#

like

upper vapor
#

i'm not booting from a HDD 😭

celest thorn
#

and still i do the preload

#

but those of gen 4

upper vapor
#

wdym by preload

celest thorn
pine parcel
#

I've been trying to make NPCs so far, and getting them to even walk around and open doors has been a nightmare. I've given up on raytrace pathfinding, and I'm trying to use room door queries

celest thorn
#

before newmenuremastered

upper vapor
#

the verifying thingy?

celest thorn
pine parcel
#

I'm sorry what

upper vapor
#

unity has a navmesh for pathfinding

#

but you'll need to construct the meshes

celest thorn
upper vapor
#

-# pain

celest thorn
#

SL IS NOT

#

BUILT for AI

upper vapor
#

it's built for anything

celest thorn
#

but most of the features

#

if we had access to the best thing

#

client

#

Oh my god goku scp

pine parcel
#

I'm a beginner in csharp, but years in python. I am willing to be a masochist for this

upper vapor
celest thorn
upper vapor
celest thorn
pine parcel
#

lmao

celest thorn
#

and yea python is very easy compared to c#

pine parcel
#

it's not been too bad, just need to be a bit more strict with some things (though that could be the beginner mindset)

#

for reference I have built windows services and applications in csharp, I just don't have the years in it

celest thorn
#

and i cannot find an answer

upper vapor
#

because all the freaking geometry

celest thorn
#

Yea i know that

#

but fixing it might be impossible

upper vapor
#

have you made custom simplified meshes for the rooms?

celest thorn
#

i just use navmesh

#

and parse them through

#

a system

upper vapor
#

yeah taht's uh

teal junco
upper vapor
teal junco
#

No it's a playback of actions I did in the past

teal junco
upper vapor
celest thorn
upper vapor
#

well

#

go in blender and make a simpler version of the room's geometry

#

then get that to load in the plugin somehow

celest thorn
#

lets ping the entire nw team

#

and ask that

pine parcel
upper vapor
#

tf is winui 😭

teal junco
upper vapor
# teal junco

you know you can just...
reader.ReadBytes or something

pine parcel
upper vapor
#

interesting

pine parcel
#

basically just a modernized rewrite that win10+ stuff uses

teal junco
upper vapor
#

i've only worked with wpf and avalonia, avalonia is so much better than the former one

#

native wpf buttons look horrible

teal junco
upper vapor
#

btw, what are you doing to synchronize time?

#

i don't see a timestamp marker or somethng like that

teal junco
upper vapor
#

ohh

#

shouldn't you do Timing.WaitForEndOfFrame?

#

something like that

#

or run the coroutine in lateupdate

teal junco
#

so the Reader will just continuously read snapshots until it comes onto a EndOfFrameSnapshot and then it waits one frame

teal junco
upper vapor
#

you could save 4 bytes here by writing the DataLen from the voicemessage and when reconstructing, just use that length

#

DataLength = Data.Length

#

that'll break existing snapshots though

#

please tell me you have a version property at the beginning of your file

#

no need for compat, just make it so you can't break the system with older snapshots

teal junco
#

but honestly i probably would have forgotten

upper vapor
grand flower
#

Just remember to save the map seed too

#

If you dont already

teal junco
#

yeah i was gonna do that

#

ive been testing on a single seed server but yeah

upper vapor
teal junco
upper vapor
teal junco
#

so just to be safe I made them separate

upper vapor
#

i know

#

hence you only write DataLength amount of data

#

the rest are zeroes

#

almost every time in audio processing, you must return the amount of bytes/floats processed
so you have a buffer, and you can put data in that buffer, but it might not be filled up entirely

#

the rest of the data may also be left over from a different operation

celest thorn
#

yo i have something to ask

#

can someone give me a number from 1-8

upper vapor
#

you're studying, aren't you

celest thorn
#

yes...

upper vapor
#

uh

#

2

celest thorn
#

in 3 days i have the exam

#

ok

#

google random number, isn't really random

#

like it prefers 7,8,9,1

upper vapor
#

😭

celest thorn
#

So don't use google random numbers

upper vapor
#

you should've used wheel of names
and removed the one that you've done

celest thorn
upper vapor
teal junco
upper vapor
#

okay so

#

you have DataLen in the voice message

#

write that

celest thorn
upper vapor
#

and when reading, that'll be the DataLength and also the length of the buffer

upper vapor
covert flame
#

Any way to do this funciton but on an offline player (userId)? ReferenceHub.serverRoles.SetGroup(value);

upper vapor
#

-# not recommended

covert flame
#

Well if it's the only way then I'm gonna have to do it lol

upper vapor
#

what if

#

hold on

#

does it have to persistent?

covert flame
#

wdym by that

upper vapor
#

so the group stays on the player forever

#

or until you remove it

covert flame
#

Yeah, I want a way to put it on the player (until I remove it)

upper vapor
#

what's your exact use case if i may ask

#

it might be better to write these "custom" groups to a separate file
then, when a player joins, check if they're in that file and grant the group

covert flame
#

Well yeah that was the other way I was gonna go

#

I think I'll just do that actually

#

Yeah imma just do that

celest thorn
# upper vapor "la non violenza"

Womens in literature
Time and memory
Working conditions
War, peace and non violence,
Relativism,
Progress and mass media
Human Rights

upper vapor
#

womans

celest thorn
upper vapor
#

go study lol

celest thorn
#

im writing while talking lol

frail pilot
#

Why is this null?

#

😭

unique crane
#

Is it the 330 room or the interopobject?

frail pilot
#

A pot with 330 installed

grand flower
#

Why not just block usage of 330 via events

frail pilot
#

You are right! Why didn't I think of that

royal mica
#

Also isn't the bowl spawned when the door is opened, like all other SCP items?

#

or am I SCHIZO

royal mica
#

cabinets and SCP pedestals spawn only when door is opened as well

#

(but yeah not an SCP item)

upper vapor
royal mica
#

Who needs map generator function calls troll_smile

        public override void OnServerRoundStarting(RoundStartingEventArgs ev) {
            base.OnServerRoundStarting(ev);
            foreach (var door in Door.List) {
                door.IsOpened = true;
                Timing.CallDelayed(0.1f, () => door.IsOpened = false);
            }
        }
upper vapor
#

bruh

#

what

#

are you just trolling d-class

royal mica
#

nah, I just quickly cooked this up to pre-generate all cabinets and items LULE

upper vapor
#

OHHHHH

#

that's actually smart

#

what if you don't have the delay

royal mica
#

then nothing happens cause single frame

#

(I suppose)

upper vapor
#

base.OnServerRoundStarting(ev);

#

moment

royal mica
#

I told you I cooked this up for a quick joke LULE

upper vapor
#

right

royal mica
#

literally went override roundstarting <tab>

upper vapor
#

okay

#

i didn't think of that

icy knoll
#

hey ax, got a slight issue with the text chat plugin :3

the text rotates with the player, should i just set toy.Rotation to 0,0,0 during Update ?

upper vapor
#

wha

icy knoll
#

the text chat above head

upper vapor
#

you need to subtract the player's rotation

#

the y axis

icy knoll
royal mica
#

If the Transformation parent is the player's Transformation, then doN't update the rotation

upper vapor
royal mica
#

cause it'll follow the player's rotation

upper vapor
royal mica
#

Oh

#

that is even easier

icy knoll
#

hmm

upper vapor
icy knoll
#

yeah

upper vapor
#

so you need the euler angles

icy knoll
#

i just found that out

royal mica
#
var direction = (_textToy.Position - player.Camera.transform.position).normalized;
_textToy.Rotation = Quaternion.LookRotation(direction);
_textToy.Position = ragdoll.CenterPoint.position + new Vector3(0, 0.5f);
#

this'll look directly at the observer

upper vapor
#

not good enough

icy knoll
#

that's not what im asking for...

royal mica
upper vapor
#

every other player

royal mica
#

that is literally doing that?

icy knoll
#

so what do I do exactly im confused now 😭

upper vapor
#

has different rotation

royal mica
#

For that you need to sync separatly for every player the rotation no?

upper vapor
#

yes

#

they just need a correct rotation when it's parented

#

so

#

get the result's euler angles, subtract the player's euler angles

#

then Quaternion.Euler

#

Quaternion.LookRotation().eulerAngles - player.GameObject.Transform.eulerAngles

#

i hate how player doesn'zt have a transform proeprty

royal mica
#

I assume cause they have 2 transforms: Body and Camera

icy knoll
#

like this?

upper vapor
#

you need fake sync vars

#

but yea

#

also no

icy knoll
#

well we already have the fake sync var

upper vapor
#

cuz Player::Rotation also accounts for camera (up/down)

icy knoll
#

the only issue is that the text rotates with the player also, but readjusts to the player

#

so you can notice the text move the tiniest bit when the player is moving

upper vapor
#

you can either unparent the toy and move it to the correct position

#

or do this calculation

icy knoll
#

i use _transform.localRotation for the fake sync var

#

so that's correct yes?

upper vapor
#

but then it should work

#

the issue is the delay

#

higher ping -> more flickering

icy knoll
#

yeah, which is because of the player turning and stuff

#

ig if it's not solvable we have to live with it

upper vapor
#

you can do what Sqbika said

#

don't parent the toy and set the positionyourself

icy knoll
#

but that will then cause the toy to fall behind, no?

upper vapor
#

then you'll have to make sure the toy is removed when the player leaves

#

yea

icy knoll
#

yeah then id rather have it like it currently is then lol

upper vapor
#

little bit of rotation desync is probably better than position desync

icy knoll
#

yeah

upper vapor
upper vapor
#

just put the host at the observer's position

#

0ms ping

icy knoll
#

ah yes hold on lemme just spawn multiple hosts TrollDespair

upper vapor
#

load balancing

#

@grand flower imagine a load balancer on steroids for SL
node 1 does 1/3 of computations, another the 2nd 1/3, and the last the rest

#

round robin + relative pos caching + load balancing

grand flower
#

Having to sync stuff like that together is hell and generally not worth it for a game like SL

#

Or well, any game really. I don't think any game does something like that