#plugins-dev-chat

1 messages Β· Page 94 of 1

icy knoll
#

just

#

the effect event has always been buggy for me

#

lol

upper vapor
#

wdym

icy knoll
#

like

#

on some times

#

it triggers the event twice

#

in the same frame

#

and it doesn't tell me if the effect is being removed or added

#

so

upper vapor
icy knoll
#

so yeah

tulip kiln
#

Yo did anyone figure out a new way to turn a body into bones without a skeleton present?
I used this:

public void TurnRagdollIntoBones(DynamicRagdoll doll)
{
    var newRagdoll = SpawnRagdoll(doll.Info.RoleType, doll.Info.StartPosition, doll.Info.Nickname, new Scp3114DamageHandler(doll, false), doll.Info.StartRotation, doll.transform.localScale);

    if (newRagdoll is not DynamicRagdoll dynDoll)
        return;

    NetworkServer.Destroy(doll.gameObject);
    ReferenceHub.HostHub.roleManager.ServerSetRole(RoleTypeId.Scp3114, RoleChangeReason.RemoteAdmin, RoleSpawnFlags.All);

    if (ReferenceHub.HostHub.roleManager.CurrentRole is not Scp3114Role scp3114Role)
        return;

    Scp3114RagdollToBonesConverter.ServerConvertNew(scp3114Role, dynDoll);
    ReferenceHub.HostHub.roleManager.ServerSetRole(RoleTypeId.None, RoleChangeReason.RemoteAdmin, RoleSpawnFlags.All);
}

But after the newest update this makes the server disconnect itself

icy knoll
#

spawn a dummy as skeleton quickly and ig just make them take the body and dispose of the dummy

slate flume
#

I was converting Python dictionaries to C# dictionaries

slate flume
#

The problem is I keep making shit like this
Something itches my brain whenever I do the craziest one lines of code

slate flume
true cedar
slate flume
slate flume
# slate flume It is *very* buggy I have like 3 separate issues on the GitHub about it

The event isn't called when duration changes, only intensity
So an effect could be getting updated and the code straight up will not pick it up
Also, the duration it gives isn't accurate, because the ChangeState function or whatever does Intensity then Duration, but the event is called when Intensity is set and grabs the effect duration for the args, but the duration isn't set yet so the reference is stale, and leads me to believe that it's likely changing the duration in in the UpdatedEffect event won't actually do anything

#

Patches or Updating effect
I actually helped a guy figure out a patch for this a while back cause they had the exact someone question

#

.

upper vapor
#

I'm not a python guy but there's some __ shit that lets you access the key-value pairs

#

And a normal serializer would be able to convert a dictionary to json anyway

#

json.dumps

#

Oh you were

#

O

#

You were making the C# syntaxes

slate flume
#

Now it's making sense 😁

#

Haha yeah I had this python program for a data analysis thing I was doing for another game

#

I wanted to port it to C# cause I know C# alright atp and I wanted better speed

upper vapor
#

Why can't you load the JSON in C#

#

Rider has this feature called "paste JSON as classes/records"

slate flume
upper vapor
#

You can copy the object and it'll create the structure for you

#

Ah

slate flume
#

VS Code <<<<<

#

I love rider

true cedar
#

never used it but overrated

grand flower
#

Rider's great for game dev

#

Won't ever switch back to VS after using it

#

The only time I use VS is the occasional hiccup with Rider's C++ debugger that VS handles a little better

restive turret
#

i tried rider wasnt fan

worthy rune
#

if you did thats fine, and i will just add a line to ServerOverridePosition to make dummies work, i was just trying to figure out what changes could of broke it so i could understand the problem better

celest thorn
unique crane
#

In RA

worthy rune
celest thorn
#

used it and it worked

upper vapor
restive turret
#

definitly not riding

upper vapor
grand flower
#

No patch that would affect the bug afaik

worthy rune
#

alright

#

will test out davids theory just in case

slate flume
#

Wow we're all just a bunch of nerds

grand flower
#

tried going into noclip with a player and it didn't work

#

so it's probably just that ReceivedPosition thingy

#

supposing the dummy doesn't send one

worthy rune
#

its alittle odd, since FPC distrubuter should be sending the cached relative position which is just calculated each frame by doing new RelativePosition(Position)

#

^ for dummies and local players that is

grand flower
#

which is the issue for dummies since apparently that's always 0,0,0

worthy rune
#

ahh

icy knoll
#

What's the method to check if someone is leaving the server? i want their last known position and role...

worthy rune
worthy rune
icy knoll
worthy rune
#

there might not be a good way then

icy knoll
#

:c

upper vapor
#

NetworkManager something

#

OnDisconnect

#

maybe

icy knoll
slate flume
#

PlayerLeft args happens in OnDestroy()
I noticed that there's on OnStopClient which calls an action OnBeforePlayerDestroyed

#

That might be worth checking out

icy knoll
#

is there no like DamageHandler or smth that I can use to check if the person is disconnecting? there has to be some good method to doing this 😭

upper vapor
#

it's just "unknown cause of death"

#

if you really want to i guess you can analyze the stack trace but at that point just patch

#

don't believe me, just patch

slate flume
#

But what do I know lol

upper vapor
#

just add a DisconnectionDamageHandler

slate flume
#

I hate actions because they suck to patch

#

They pmo

tulip kiln
#

Yo can we get PlayerPreAuthenticatingEventArgs moved a bit higher? It triggers after all challenge, ban and other checks are ran 😭

icy knoll
#

rather than after?

tulip kiln
fresh zenith
#

Heya guys do you know how i get if a person died on the Chaos Spawn Car?

#

pushed

upper vapor
upper vapor
#

np

random scaffold
#

grammatic of the nw moment

upper vapor
#

bagoly mondja verΓ©bnek toomuchtrolling

restive turret
#

lmao

upper vapor
#

common david W

#

also this would be a breaking change πŸ€“

unique crane
#

Ironic

random scaffold
#

i wanna contributor role per it

#

is was hard

#

bruh

#

@unique crane changed

celest thorn
random scaffold
#

im not wanna play in minecraft

#

address?

#

ton or btc

winged meteor
#

I can't set velocity how can I set the velocity?

random scaffold
winged meteor
#

the rigid body one?

celest thorn
unique crane
#

You can add it

winged meteor
#

how can I add velocity?

celest thorn
random scaffold
celest thorn
#

The fpc one you can't

random scaffold
#

david with primiary

celest thorn
#

and the server doesn't send it to the client either

#

so how

unique crane
#

Thats pickup

celest thorn
hearty shard
#

however

#

pickups are pickups

#

players are players

unique crane
#

Also you can do it?

celest thorn
winged meteor
#

not for me

unique crane
#

I think your intellisense died

random scaffold
unique crane
#

Is the RigidBody property of type RigidBody?

winged meteor
winged meteor
#

WTF I ADDED THAT?

unique crane
#

I guess not

#

You added PhysicsModule?

winged meteor
#

lemme add it again.

random scaffold
#

just use visual studio

unique crane
#

Its not parent of AssemblyCSharp

winged meteor
#

bruh had to unadd and add.

restive turret
#

rider users and their broken csproj

#

name better duo

#

you are worst than

random scaffold
#

visual studio code moment

winged meteor
restive turret
#

at this point use notepad

celest thorn
restive turret
#

you have 2

celest thorn
#

8 years ago

restive turret
#

black and white

restive turret
unique crane
#

As long as it isnt cracking SCP SL AC then im fine with it

celest thorn
celest thorn
#

like this fucking game you can be good even by not just standing

unique crane
#

Ive seen kids join a server with cheats and they didnt even set it up

unique crane
#

like they were weirdly rotating and spinning

celest thorn
#

Spinbot?

unique crane
#

obviously turned towards nearest player

celest thorn
unique crane
#

And then left cause I guess they couldnt make it work or idk XD

celest thorn
#

like cheaters on this game have the brain of a goldfish

celest thorn
unique crane
#

I was in VC one time and we came to conclusion that goldfish has about 1KB ram

#

(my source is that I made it up)

celest thorn
#

the only thing they store for long time is just what food is

unique crane
#

GC.Collect()

celest thorn
unique crane
#

for(;;)

#

πŸ’€

icy knoll
#

while(true)

icy knoll
#

why do people not just do while(true)

unique crane
#

Your not collecting anything

#

Your just adding to the list

#

it wont clear itself

celest thorn
#

Now you like it?

unique crane
#

no

celest thorn
unique crane
#

That was to genocide

icy knoll
#

move to rust, better c TrollDespair

unique crane
#

Move to C#

#

Better C

celest thorn
icy knoll
celest thorn
#

everyone is so mean

icy knoll
#

all ai models use python underhead, yes

unique crane
#

But they all call C in the end

celest thorn
#

im done with sl this game is full of meanie

#

;(

#

The cia is lying that this game is full of meanie?

unique crane
#

And Java

fresh zenith
fresh zenith
#

yea

#

Kotlin is horror

unique crane
#

This reminds me to buy the new doom game

#

its 25% off

celest thorn
# fresh zenith Kotlin is horror

FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN

#

THAT FUCKING FUn

fresh zenith
#

real

celest thorn
#

i wanted to throw my monitor out of the window

tulip kiln
# unique crane And Java

I could choose between Java, Python and C++ on my final IT matriculation examination. Why no C#? snap

celest thorn
#

when i saw FUN FUN FUN FUN FUN FUN FUN FUN

celest thorn
#

c++

#

Better

#

Those 2 are slow asf and a pain in the ass

unique crane
#

Depends what he would have to do XD

celest thorn
#

it wasn't that bad

#

java is far worst

tulip kiln
celest thorn
#

Yes it is depending on what you are doing

#

ye

fresh zenith
celest thorn
#

Never tried and never seen someone using it

fresh zenith
#

well its the "better" NodeJS

restive turret
#

i would say "go fuck yourself"

fresh zenith
celest thorn
#

Chat i will ask all of you

Should i play

  1. Dead Space Remake 2023
  2. War Thunder
  3. I buy and play Alien
#

sadly the new mafia cost alot

true cedar
restive turret
celest thorn
fresh zenith
celest thorn
#

Crazy

true cedar
#

i mean

unique crane
#

Since when are crabs racist

restive turret
#

rust the video gmae

#

duh

true cedar
#

rust multithreading is not pretty

#

but rust is basically better than c++ in every way

restive turret
fresh zenith
unique crane
#

I know

celest thorn
#

crab ARE RACIST

unique crane
#

Also coconuts migrate

true cedar
#

they're trying to implement goroutine-style threading on it but its also rust so everything takes 10 years

celest thorn
#

only crabs are racist now

#

for me

true cedar
#

it seems pretty interesting

#

it just lets you turn normal functions into async right?

#

well

celest thorn
true cedar
#

sync functions into async

#

i do wish rust had that

#

yup

#

its still gc'd tho

#

which has its own issues

#

i do think rust async is fucked and incredibly confusing

#

i was doing a discord bot in rust

#

if u wanted an event listener to run on a different thread which u want 99% of the times

#

its this whole ordeal

unique crane
#

C# wins once again

true cedar
#

me?

#

async traits

#

that was it

#

umm

#

im a student rn but im going into academia

#

probably

icy knoll
#

i’ve used go

#

fucking hate it

#

yeah

true cedar
#

oh go syntax is literally just

icy knoll
#

the syntax makes me dizzy

true cedar
#

they decided to make it "quirky" for no fucking reason

#

tell me why the fuck a map is defined like that

#

a lot of language devs go

#

you know what

#

we need our language to be different

#

lets just fuck over the syntax

icy knoll
#

i must admit that c# has the best syntax imo

true cedar
#

meh

#

i mean rust doesn't have that much syntax sugar

#

well

#

ig it has the run of the mill async / iterators / etc

#

idk i just really like rust, maybe its just because c++ makes it look absolutely perfect in comparison

#

oh yea

#

i do really like that about rust

#

my biggest complaint about rust is that i think people sometimes try to act like its a functional language or capable of functional style shit

#

which

#

no

#

nom is a really good example of this - its a parser combinator like haskell and other functional languages have, but its also incredibly annoying to use at every opportunity because of borrowing / cloning / generics / etc

#

you very very quickly get these massive type chains (is that a term? idk)

winged meteor
#

is it possible to remove recoil?

#

or is it client?

true cedar
#

diesel too - it uses rust's type system to make sure statements can be converted into valid sql, but that results in huge types and makes generic programming with it basically impossible

#

also makes errors practically unreadable

#

a lot of these functional languages are really high level

#

to the point where the difference between unboxed and boxed is considered very low level

#

so its pretty easy to abstract things

#

rust on the other had requires you to do a lot of mental gymnastics to satisfy the borrow checker and everything

upper vapor
# winged meteor

use AddForce
you probably forgot to reference UnityEngine.PhysicsModule

true cedar
#

a good example is references - it's not uncommon when you're working with slices or iterators for things to be behind 2 or 3 references (e.g &&&i32)

upper vapor
#

i joke about java but it's not that bad

hearty shard
#

this game

#

SUCKS

#

nvm fixed!!

winged meteor
celest thorn
winged meteor
#

anyway. how do I start a grenade fuse?

celest thorn
#

someone here is a nintendo fan, i want to ask about a game lol but i don't wanna spoil it

#

if i search up on google 100% i get spoilers

winged meteor
#

I am a nintendio fan ask me in DMs and see if I played the gmar

true cedar
#

u cna use .copied() to remove some layers of indirection and u can use deconstruction to make it easier to work with (i.e. |&&text|)

upper vapor
celest thorn
upper vapor
upper vapor
upper vapor
celest thorn
#

this is old

#

asf

#

i remember people talking about it at the time

gilded thicket
#

mane i got softbanned for pinging some guy

celest thorn
upper vapor
gilded thicket
#

not off choice

#

hello dear moderator can i get my serverhost role back

#

what there are so many dev channels

#

i never saw this

#

i thought it was just 3

upper vapor
gilded thicket
#

activate grenade pickup

winged meteor
upper vapor
#

if you have the grenade, yes

upper vapor
gilded thicket
upper vapor
#

they're not synced are they

gilded thicket
#

i swear they were in a new update no

winged meteor
#

man recoil = false would be cool

upper vapor
#

well you can put on attachments that reduce recoil but then the gun isn't customizable

#

plus you can't fully eliminate it

gilded thicket
#

i thought some dev said firearms were more moddable in 14.1.3. im tweaking

upper vapor
#

maybe they were comparing it to pre-parabellum?

#

hold on

gilded thicket
#

nevermind i am schizoprehnic

upper vapor
#

can't find it

winged meteor
celest thorn
#

at the end im downloading that game

unique crane
#

which one

celest thorn
#

and ig lets give it a try

#

lol

celest thorn
#

a game that i heard was similar to nier in style and mechanics

#

so why not

#

and i played already pyra and mythra on super smash bros

#

btw the game is 100% legal

#

pirating is bad πŸ΄β€β˜ οΈ

thin shuttle
#

@unique crane i have a question for you what const are you guys using for AntiScp207.GetDamageModifier while returning 0f and 1f ? or it is hardocoded ?

unique crane
#

@thin shuttle

celest thorn
upper vapor
#

making a const for 0

#

smart

celest thorn
#

zeroDamage

#

just do 0

#

lol

thin shuttle
#

oh they have been put inside the method

#

i can't access them

upper vapor
celest thorn
upper vapor
unique crane
#

Your not gonna access const

#

they just get replaced at compile time

upper vapor
#

constants are included in the class

#

if they're top-level at least

thin shuttle
upper vapor
#

yep

thin shuttle
#

like this one

unique crane
#

oh

thin shuttle
#

it's just not seen where it's used

#

(i mean supposing very hard that it's here KEK )

#

on my DnSpy

#

On VisualStudio

gilded thicket
celest thorn
gilded thicket
#

yeah

#

that and the other game

celest thorn
#

nier a masterpiece

#

im sorry

#

not the best of the best

#

but not even mid

gilded thicket
#

me too ive never played either of those games im just trying to spread some hate β€οΈβ€πŸ©Ή πŸ₯Ή

celest thorn
#

I still miss pascal

#

;(

gilded thicket
#

not my type but it looks good

celest thorn
#

idk maro told me to take a break

thin shuttle
# unique crane

i am just seeing something that do not take count the HumeShield

#

I NEED TO BUG REPORT

celest thorn
#

after 9 months of full development with just one day stop

#

lol

thin shuttle
#

NOW

#

Bug FOUND

celest thorn
#

Yamato stop finding bug

#

please

thin shuttle
#

i find bug by reading code

#

not by playing

gilded thicket
#

i would like to mary you yamato -- is that ok?

thin shuttle
upper vapor
#

mary
bloody mary?

gilded thicket
#

oh

#

im a girl

thin shuttle
#

i am a femboy :3

celest thorn
thin shuttle
#

(my men will transform into a girl)

celest thorn
thin shuttle
gilded thicket
#

im the guys

thin shuttle
gilded thicket
#

this one

celest thorn
#

Its full exiled...

upper vapor
celest thorn
#

the first thing i saw

upper vapor
#

this chat is

celest thorn
#

when becoming a contributor

thin shuttle
#

yes

#

i should give updated of this

unique crane
#

This is NOT femboy chat

celest thorn
gilded thicket
#

yes i have the video

unique crane
upper vapor
celest thorn
#

nah we have haters here

celest thorn
thin shuttle
#

Femboy chat :333

#

@unique crane how do you found my outfit ?

#

:3

unique crane
#

Wait thats you?

thin shuttle
#

Yes

unique crane
#

Crazy

upper vapor
#

XD

thin shuttle
#

:3

#

the real me

#

also i know some people probable save the pic please do not do illegal stuff with it :3

random scaffold
gilded thicket
#

nobody saved ts bro πŸ’”

unique crane
#

Should have not posted screenshot of yourself in a maid outfit online

#

Thats like

#

crazy idea

thin shuttle
#

nothing could go bad

#

right

unique crane
#

Everything will

celest thorn
#

You know that if you check fucking exiled is full

thin shuttle
#

(i already sent phone number e-mail real adresse my passport (without bad info)

celest thorn
#

||(im guilty too tho, but mine are private and will remain private)||

celest thorn
#

next level

unique crane
#

He is french

upper vapor
unique crane
#

no one is gonna go visit him

gilded thicket
#

if discord gets a databreach ur done btw

#

πŸ”₯

celest thorn
upper vapor
thin shuttle
celest thorn
#

i would never

thin shuttle
#

i always wanted but nobody did

#

the only things was phone number

#

and only people who really made it was for joking

celest thorn
#

Honestly thank god

unique crane
#

Yamato though more femboys are gonna show up kek

thin shuttle
#

ahahah

celest thorn
unique crane
#

368Kb/s

gilded thicket
#

ts so tuff bro

random scaffold
#

369Kb/s

celest thorn
unique crane
#

My honest reaction

celest thorn
#

free plan

gilded thicket
#

broke ah

unique crane
#

Also I found this very nice guy

#

check this out

gilded thicket
#

mullvad has great speed

random scaffold
#

femboy simulator better

#

name is war thunder

celest thorn
gilded thicket
celest thorn
#

bro no

celest thorn
#

im not sending anything

gilded thicket
#

guys piracy isnt good

celest thorn
#

to anyone

gilded thicket
#

dont steal

#

what if we asked nicely

celest thorn
gilded thicket
#

well i actually dont want it

celest thorn
#

N

gilded thicket
#

yeah u dont even have to send it

#

u can keep it

#

dont send it btw

celest thorn
#

and i will never

upper vapor
gilded thicket
#

u so tuff bro

#

t tlm tuff

#

why is everyone here gay or a furry what

upper vapor
random scaffold
#

lol

upper vapor
random scaffold
#

its like a zombie mode

#

but when you invited to the staff

gilded thicket
random scaffold
#

no

gilded thicket
#

hi

random scaffold
#

hi natural

gilded thicket
#

what is that

upper vapor
#

cishet people in plugin dev chat Hmm

gilded thicket
#

theres no way theres a term for that

#

what does that mean

upper vapor
#

cisgender heterosexual

#

cisgender is like
default

#

😭

gilded thicket
#

ohh

upper vapor
#

best way i can put it

random scaffold
gilded thicket
#

yes

gilded thicket
#

i did it once

random scaffold
gilded thicket
#

not really

#

its just user unfriendly

random scaffold
#

easier react or next js

gilded thicket
#

i just get ai to do my frontend tbh

random scaffold
#

typical ai coder

gilded thicket
#

i am not afraid of it

random scaffold
#

[TAC] moul7anout

gilded thicket
#

i do not enjoy it. i will not make it. it does not need logical thinking

random scaffold
#

4-6 ranks

upper vapor
gilded thicket
#

how do u enjoy frontend

upper vapor
gilded thicket
#

"let me just open up photoshop but i have to write everything instead of doing it graphically and i want to kms after 10 mins"

  • said nobody ever
upper vapor
#

react is horrible

upper vapor
#

eh

#

i like it but it does get annoying sometimes

upper vapor
random scaffold
random scaffold
upper vapor
#

we have cool things like

#

vue, svelte, astro

#

but most people still enjoy react hell

random scaffold
#

tail wind easier

gilded thicket
#

"dont use the industry standard"

#
  • deranged man
upper vapor
gilded thicket
#

yet u still use c#

random scaffold
upper vapor
upper vapor
random scaffold
#

just use c++

#

for frontend

upper vapor
#

some people are just

random scaffold
#

its easier

upper vapor
#

ugh

upper vapor
upper vapor
#

i would like to see that

#

Wasm is pretty cool

gilded thicket
upper vapor
#

okay

random scaffold
upper vapor
#

the current page is...

#

i hate

#

std::time(nullptr)

hearty shard
#

how many do you have

random scaffold
#

rob from other humans

#

lol

upper vapor
#

so sad that te serrver no longer has the "how have we not killed this mf yet" gif

celest thorn
#

Crazy

#

where is the white monster?

random scaffold
#

who

celest thorn
#

this thing

#

ngl i must say i think the thigh highs with cat paws should be comfy

unique crane
#

I know a femboy who has them

#

and he says they are not comfy to walk in

random scaffold
unique crane
#

????

idle depot
#

Please keep these kinds of things to yourself

random scaffold
celest thorn
unique crane
#

Anyways clear this chat of

#

femboy stuff

celest thorn
#

honestly male peak is becoming a girl

#

btw bypassed the antishit of my gov

#

loving it

#

just by doing 1.1.1.1 in my dns

random scaffold
#

im not see gif

#

(

unique crane
random scaffold
idle depot
celest thorn
random scaffold
#

magic

celest thorn
celest thorn
upper vapor
random scaffold
upper vapor
#

peak male experience is uh

#

death

celest thorn
upper vapor
celest thorn
#

who's the trans here? david?

celest thorn
#

my brain is dying trying to understand

random scaffold
#

why all gifs deprecated

#

im not see noone

celest thorn
#

We see them

#

don't worry

upper vapor
upper vapor
celest thorn
#

wanna see my new domain

#

for file sharing

upper vapor
#

oh no

random scaffold
celest thorn
#

Random screenshot

#

last one i took

upper vapor
#

"murder"

celest thorn
#

are you becoming dexter?

upper vapor
#

no

#

i'm gonna send a memetic kill agent

celest thorn
#

i loved this show when i was a child

winged meteor
#

do yall think labapi will get something to set/start fuse on grenades soon?

static meteor
winged meteor
#

well what about starting it?

#
                item.Base.ServerActivate();``` doesn't work
restive turret
#

Automatically is -1

hearty shard
# winged meteor

TimedGrenadeProjectile.SpawnActive(player.Position, ItemType.GrenadeHE, player, 0.1f);

fresh zenith
#

does anyone know how i add an AudioPlayer which is not attached to an player? like it gets his position from the player but his parent is not the player.

hearty shard
#

oh

#

you're gonna have to rely on server side syncing

#

so just dont add a parent and make it positioned at the player, and then every frame set the position to player

fresh zenith
#

Well i want to make it static like a box which doesn't move you know?

hearty shard
#

oh you just wanna place it once and not have it follow the player?

#

then just spawn at the player and then do nothing

fresh zenith
#

It doesn't Work If its Not parentet

hearty shard
#

LightSourceToy light = LightSourceToy.Create(player.Position);

hearty shard
hearty shard
#

but same applies to speakers

fresh zenith
#

Well i'm using Killers AudioPlayer github repo plugin

hearty shard
#

oh

fresh zenith
#

Sorry i didn't mention before lol

hearty shard
#

yea that might be it

winged meteor
#

well

winged meteor
#

position

#

so

#

velocity

hearty shard
#

pickup.Position

hearty shard
#

uh

#

idk rigidbody or smth

icy knoll
#

is it possible to get a UserGroup by name? atleast i hope it is...

hearty shard
#

yes

icy knoll
hearty shard
#

idk

#

i just know you can kek

icy knoll
#

😭

restive turret
#

Search by serverRoles

#

Somewhere in there is

hearty shard
#

sjelmm

restive turret
#

Yes

#

Hi

hearty shard
icy knoll
#

i dont see anything to find roles in serverRoles

#

😭

#

just to set UserGroup

restive turret
#

Some method there should contain something

restive turret
icy knoll
#

there is SetGroup but that requires a UserGroup instance

hearty shard
icy knoll
#

it's ServerStatic.PermissionsHandler.GetGroup()

slow delta
#

Does anyone they appear see keycards appearing on the floor out of nowhere on their server?

static meteor
#

Pocket dimension moment?

slate flume
pallid galleon
#

idk what's causing it but we just have random keycards of different types appearing on the ground

slate flume
winged meteor
#

already have it

#

Plus not using pickups rn

teal junco
#

im not sure why personally but this is a pretty common issue

slate flume
#

How tall is the player character?

#

I want to create a model but I need a reference point for how large a unit is in the game

worthy rune
#

unity units are pretty much just metric, so 1 unit is 1 meter

slate flume
#

I don't have any idea how 1 meter scales to the objects in the game

#

How long is 1 unit in the game?

#

It's like when people duplicate keys from an image

#

They put a coin next to it to get a reference point

#

I need something like that

worthy rune
#

not sure i understand what you mean with the keys from an image

#

anyways, a player is 1.8 units tall, and a room is 15 units wide for example

slate flume
#

They use a penny for scale

#

Because otherwise the key could be the size of a door for all they know

worthy rune
#

ahh i understand now

slate flume
worthy rune
#

but yeah you model stuff where 1 unit is equal to 1 meter, thats how unity/scpsl interprets it

slate flume
#

I'm doing it slightly different and way more jank because I don't wanna learn unity

#

I don't wanna learn blender nor unity atm so I'm using the tools I already know

#

I'm going to use some CAD software to make the rudimentary models I need out of primitives, export the step, process it using a python script, and then put it into my plugin

worthy rune
#

icic

upper vapor
#

You could use BAMER

#

At that point make a framework for exporting from a CAD software Kek

slate flume
upper vapor
#

-# you could use the MER file format or the sloc format to export and then load with an existing plugin

upper vapor
slate flume
#

Then I'd have to learn blender

upper vapor
#

For MER

slate flume
#

I don't know blender

#

I don't know unity

#

I do know CAD

#

I know it pretty well actually

upper vapor
#

Insane behavior

slate flume
#

Well also I like making things nice and exact

upper vapor
#

But it's familiar so go for it

slate flume
#

But that's sort of a secondary benefit

upper vapor
#

I know I'm yapping unity shit

#

But I hate it when two objects in a schematic are ever-so-slightly misaligned

upper vapor
slate flume
#

I have a terrible idea

#

But I already have like the first half of it working

upper vapor
#

Ah

slate flume
#

Which is I can just get a list of position, scales, and rotations

#

Then use that to place primitives

upper vapor
#

So you like fueling the map editor wars toomuchtrolling

slate flume
#

Well like I can build it in CAD, export it as a .step, and then parse that in Python

#

My first tests are working

upper vapor
celest thorn
slate flume
slate flume
celest thorn
#

Honestly

celest thorn
#

the project i wanted to work was OBJ to Prim

#

But its impossible

slate flume
slate flume
#

It's all triangles

#

The STEP format preserves the parts

celest thorn
upper vapor
upper vapor
celest thorn
slate flume
upper vapor
#

Even quad meshes aren't non-distorted quads 😭

upper vapor
slate flume
upper vapor
celest thorn
slate flume
#

STEP doesn't give me a mesh

#

It makes life like

#

1000000x easer

#
  • easier
celest thorn
#

i will stay in hangout while playing this game, battle sucks ass boring asf, but story it seems nice ig

#

the stream crashed the game

#

FUCK

upper vapor
slate flume
#

That's it

upper vapor
#

For SL purposes, okay it doesn't work
But then why is it shit

#

At zero

slate flume
#

@celest thorn you use Yuzu?
That's crazy I used to use it too

slate flume
#

Nintendo sued them though so I stopped using it lmao

celest thorn
#

yuzu on top

#

and still fucking works amazing

slate flume
celest thorn
#

imagine if it was continued

#

(im playing with one of the launch titles so)

slate flume
#

Yuzu is great but because of the suit it's discontinued

#

All tthe best emulators got sued

teal junco
#

scp sl vertex toy when

slate flume
#

Fuck nintendo bro

celest thorn
#

only problem

#

THIS GAME IS ALL FULL OF BRITISH ACCENT

#

;(((

teal junco
#

thats funnier

upper vapor
#

Do you want a single vertex? toomuchtrolling

teal junco
upper vapor
#

Bruh

#

NEVER!!

#

The game would be too moddable

celest thorn
#

fr

#

too much

slate flume
#
public override void OnPlayerSendingVoiceMessage(PlayerSendingVoiceMessageEventArgs ev)
{
  if (ev.Message.Channel != VoiceChatChannel.ScpChat) return;
  if (!ActiveProxChat.Contains(ev.Player.NetworkId)) return;
  
  foreach (Player listener in Player.GetAll(PlayerSearchFlags.AuthenticatedPlayers))
  {
    if (listener.RoleBase is not IVoiceRole voiceRole) continue;
    if (voiceRole.VoiceModule.ValidateReceive(ev.Player.ReferenceHub, VoiceChatChannel.Proximity) is
        VoiceChatChannel.None) continue;
    listener.Connection.Send(ev.Message);
  }
}

So why is this not working

worthy rune
slate flume
#

People don't hear me when I have proximity chat enabled

#
public override void OnPlayerSendingVoiceMessage(PlayerSendingVoiceMessageEventArgs ev)
{
  if (ev.Message.Channel != VoiceChatChannel.ScpChat) return;
  if (!ActiveProxChat.Contains(ev.Player.NetworkId)) return;
  
  foreach (Player listener in Player.GetAll(PlayerSearchFlags.AuthenticatedPlayers))
  {
    if (ev.Player == listener) continue;
    Vector3 position = listener.CurrentlySpectating?.Position ?? listener.Camera.position;
    if (Vector3.Distance(position, ev.Player.Position) <= MaxDistance) listener.Connection.Send(ev.Message);
  }
}

This code worked

#

But I thought it'd be best to not bake in the max distance myself and instead use SL's proximity chat handling

worthy rune
#

ValidateReceive might be returning VoiceChatChannel.None

slate flume
#

Wha

#

Oh

#

Yeah I figure that's the problem

worthy rune
#

copy paste not working xD

slate flume
#

But why is that the problem

#

From what I can tell looking at the HumanVoiceModule the ValidateReceive should be passing the proximity check and returning a non-None channel

worthy rune
#

odd

slate flume
#

Is it something with visibility?

#

Cause the check proximity function is just calling VisibilityController::ValidateVisibility

public virtual bool ValidateVisibility(ReferenceHub hub)
{
  return !(hub.roleManager.CurrentRole is ICustomVisibilityRole currentRole) || (currentRole.VisibilityController.GetActiveFlags(this.Owner) & ~this.IgnoredFlags) == InvisibilityFlags.None;
}
slate flume
upper vapor
slate flume
#

Which is why I pass in VoiceChatChannel.Proximity

upper vapor
#

where

slate flume
#

Why do I need to change the message to do ValidateReceive

upper vapor
#

also you should probably use the receiving event

slate flume
#

Why

slate flume
#

Just a reference hub and a channel

#

And why would I use the receiving event

upper vapor
slate flume
upper vapor
#

right

#

but then you need to set the channel on the message

#

you simply check if it's scp that

upper vapor
#

but don't change the channel

#

oh

slate flume
#

Setting voice chat channel on the message has done nothing for me in the past

upper vapor
#

because

#

ValidateReceive returns none for scpchat

slate flume
#

Yes

#

And I pass in VoiceChatChannel.Proximity

upper vapor
#

but the client validates it too

#

and the message has ScpChat

slate flume
upper vapor
#

ummmmm

worthy rune
slate flume
worthy rune
#

i think they made changes to this such that None now doesnt play anything on the client

slate flume
#

I changed my Prox Chat with 14.1.3 cause I was fixing up my plugin

slate flume
#

So my old code doesn't work anymore either

#

Interesting

upper vapor
#

i guess you can use this #1402403566932590722
but i don't get how your first code doesn't work while your new one does

worthy rune
#

it was done for to accomidate the role sync changes otherwise you would hear ghost voices every now and again

upper vapor
#

test your new code in the new version, i guarantee it doesn't work

slate flume
#

Probably not

upper vapor
#

so the solution is just to change the channel

slate flume
#

Yeah

#

The interesting thing I noticed is that for some reason in the old prox chat plugin, setting the Channel was happening inside the loop

#

Which is sub-optimal

#

You don't need to set it with every send

slate flume
upper vapor
#

ah

#

it's done with validatereceive

slate flume
#

Yeah

upper vapor
#

but then why the distance check

slate flume
#

The distance check is for a config setting for max distance

#
if (Vector3.Distance(msg.Speaker.transform.position, referenceHub.transform.position) >= ScpProximityChatModule.Config.MaxProximityDistance)
                continue;
pine parcel
#

@slate flume can I message you later once you get this working for some tips on this code chunk you're working on?

#

I think it's very relevant to a project I'm trying to write

slate flume
#

Welp

#

It worked

upper vapor
#

@true cedar why
NEVERMIND

unique crane
#

Why

#

At least to readonly span 😭

#

If something

upper vapor
#

you can just for through the string

unique crane
#

Yea

upper vapor
#

no need for a span even

unique crane
#

yea

upper vapor
#

if ((ch > '\u0060' && ch < '\u007B') || ch == '-' || ch == '/')

#

*copes in pattern matching enthusiast*

unique crane
#

Whats \u0060

#

and the other one

#

as a char

upper vapor
#

grave accent

icy knoll
upper vapor
#

because it's faster

#

and in this case we need the index

unique crane
#

int idx = 0
foreach()
idx++

icy knoll
#

fair

unique crane
upper vapor
#

sobbin

#

but then you need index++ at every continue

unique crane
#

try finally

icy knoll
#

youll need that in a for too

#

lol

upper vapor
#

no???

icy knoll
#

oh yeah

#

true

#

im an idiot

#

mb