#plugins-dev-chat

1 messages · Page 66 of 1

barren pasture
#

My plugin doesn't actually register the Subclass Ability keybind anymore. What did I do wrong here? ServerSpecificSettingsSync.DefinedSettings = new ServerSpecificSettingBase[] { new SSKeybindSetting(0, "Subclass Ability", UnityEngine.KeyCode.Z) }; ServerSpecificSettingsSync.ServerOnSettingValueReceived += SettingValueReceived;

static meteor
barren pasture
#

So now I assume Exiled automatically does that

random scaffold
#

how i can emulate like Speaker is a player voice message?

#

for show here

grand flower
#

Unless you do it with a dummy you can't

carmine prawn
restive turret
#

Oh nice, how?

grand flower
#

Players will be relayed too

#

However Unreal has something called Online Beacons

#

Allowing you to communicate with a game server without connecting to it directly

#

So it'll be used for pre-connect checks

#

The server will be allowed to ask the client to send a web request to a backend for instance

#

I'll ignore HTTP proxies

#

So the backend will get the player's actual IP (obviously VPNs will still work)

#

And then the server can decide if it accepts the player or not

celest thorn
#

hiii chat :3

grand flower
#

henlo

#

trying to write a steamworks plugin

#

while high

#

thanks canada

celest thorn
celest thorn
restive turret
grand flower
grand flower
#

i don't smoke

#

didn't kick in fully yet though

grand flower
#

SL's not moddable enough

restive turret
grand flower
#

a giant shame

#

cola

#

weed infused

unique crane
#

wtf

celest thorn
#

wtf

restive turret
#

Lmao

grand flower
#

it's the weekend

unique crane
#

Did they switch from coke?

grand flower
#

I get to relax

grand flower
celest thorn
#

Nah Coke with weed

grand flower
#

much to my disappointment yes /s /s

unique crane
#

New flavour

grand flower
#

i'd actually 100% die so thank god

celest thorn
#

fucking drug addicts

unique crane
#

Cola with cocain ❌
Cola with weed ✅

celest thorn
#

i cannot understand

grand flower
#

not an addict

unique crane
celest thorn
unique crane
#

Yes

grand flower
#

it's the weekend and I get to relax after a stressful week

unique crane
#

Thats the point of the funny

#

I dont do drugs

restive turret
#

I through you drink alcohol or smth

grand flower
#

sometimes, but very rarely

#

maybe once a month

#

or twice, mostly socially

celest thorn
unique crane
#

I havent even smoked a cigarette in my life

celest thorn
#

100%

unique crane
#

and I dont like alcohol that much

#

like

#

Okay fine occasionaly

grand flower
restive turret
unique crane
#

but I dont buy it xd

grand flower
#

Yeah same

celest thorn
grand flower
#

I'll have one or two drinks a month with friends but otherwise no thank you

#

I like my liver intact

#

and brain cells, though I'm not worried since weed's pretty much only not recommended for peeps under 25

#

And I don't take enough to cause any issues

restive turret
#

You live once

grand flower
#

I'd rather live well

restive turret
#

Try out many things

unique crane
#

Id rather live longer XD

celest thorn
#

I have alot OF problems with my lovely lungs

grand flower
#

Why I don't smoke

celest thorn
#

i think if they donate them or sell them they will throw them away

#

for how broken they are

grand flower
#

Outside of my girlfriend probably killing me

celest thorn
#

and takes showers (wait i do that)

grand flower
#

Oh I'm mostly done with SL

celest thorn
grand flower
#

I'll help out Bright's from time to time but I'm taking a break for now

celest thorn
#

I will never take a break from development

#

lol

restive turret
celest thorn
#

i've never taken a LOA

grand flower
#

I work as a game dev, Bright's isn't the only time I develop

celest thorn
grand flower
#

it's more of a fun past time than anything

celest thorn
#

crazy

unique crane
#

Just find a furry femboy

celest thorn
#

Development is so fun

unique crane
#

thats easier

grand flower
#

SL's community is somehow pretty bad

restive turret
grand flower
#

no offense to NW DogKek

#

Not their fault

upper vapor
celest thorn
upper vapor
celest thorn
#

on removing something

#

then we can talk about it

unique crane
celest thorn
upper vapor
unique crane
#

oh XD

upper vapor
#

NO

celest thorn
#

I mean nw is full

upper vapor
#

WHAT NO

celest thorn
#

bro what happened?

#

They got your dog?

upper vapor
#

???

grand flower
#

idk the amount of disrespect is unlike anything i've seen in past communities I've worked with

#

maybe i'm just getting old

celest thorn
#

so what do you expect

#

i like just breaking this game

#

nothing else

upper vapor
#

you like remaking games in SL, don't you simple_cat_look

celest thorn
restive turret
#

Was a good thing but I dont really like Unity and all my issues usually is that

upper vapor
#

only takes 40s to recompile 1 change

restive turret
#

And or inconsistent functions

grand flower
upper vapor
restive turret
#

behavior u mean monobehavior ClassDTroll

grand flower
#

Even outside of it

#

No I don't use Unity

upper vapor
#

did you mean
MonoBehaviour

#

bri'ish

grand flower
#

I like having source code access and an engine that's not 95% deprecated

celest thorn
#

I know one day hubert will send a sniper

#

to my house

upper vapor
#

"ordered by instance id"

#

?????

#

WHY

grand flower
#

they deprecate everything that exists longer than a week

upper vapor
restive turret
#

Ye unity, betufuls shit

grand flower
#

Is it though

#

well they finally have a networking solution

#

so kudos on that

#

even though nobody uses it

upper vapor
#

pffft

grand flower
upper vapor
#

-# idc about unity networking

grand flower
#

networking for games is my field

#

i very much care about an engine's capabilities

restive turret
upper vapor
grand flower
#

unity relay

upper vapor
#

Netcode for GameObjects is free iirc

celest thorn
#

b

upper vapor
#

oh the

#

relay

celest thorn
#

lets be honest

upper vapor
#

nvm

grand flower
#

although you can use it without i guess?

celest thorn
#

im going to start creating the best engine

#

called the "Skibidi engine"

restive turret
#

I through would be same as like

#

Photon

grand flower
#

I like Unreal's networking stuff, it's S tier and probably the best out of all engines

upper vapor
#

i've tried netcode once
couldn't pass auth properties in the message like in mirror
at that point i just switched to mirror

celest thorn
#

imagine someone goes through your resume and sees "Skibidi Engine"

grand flower
#

I'd shred it

unique crane
restive turret
#

Or whatever shit Network as a Service exist

unique crane
celest thorn
#

NO

celest thorn
#

i have already the sniper deployed by hubert

#

i think he uses them for cheaters

#

and other people that cause problem

#

@upper vapor i still need to add the approval sign

upper vapor
#

wha

celest thorn
#

i just now remembered about it

celest thorn
upper vapor
#

right

unique crane
#

Hubert seal of approval

upper vapor
celest thorn
#

fr

restive turret
#

🦭

celest thorn
#

im rn doing this

celest thorn
#

i love it

upper vapor
upper vapor
grand flower
grand flower
#

done, dusted, enjoy

restive turret
celest thorn
#

for gaining MONEY

#

to buy cosmetics

#

or else

unique crane
#

[SyncVar]

grand flower
#

yeah

#

somewhat

celest thorn
#

you exit your credit card and go buy in the shop

upper vapor
grand flower
#

(the thing you should use more >:[)

#

(why is scale a MESSAGE)

celest thorn
upper vapor
#

cuz you can't put syncvars on roles

grand flower
#

because

#

why is it on roles

restive turret
#

(hes actually right)

grand flower
#

(╯°□°)╯︵ ┻━┻

upper vapor
#

cuz uh

#

yes

restive turret
grand flower
#

SL's networking makes me sad as someone who works on multiplayer games a lot

upper vapor
restive turret
#

Ye, why wouldn't you be able to?

grand flower
#

cause they're re-used

#

afaik

restive turret
#

AdminToy has a same shit

grand flower
#

so whatever you do on them applies to everyone who spawns as that role afterwards

upper vapor
#

cuz

  1. they're pooled, separately on the server and client
  2. different objects, not root
grand flower
#

(I made the mistake of disabling fall damage on a player's role and it applied to the role globally)

celest thorn
#

i still hate it

grand flower
#

yeah, like

#

idk

upper vapor
grand flower
#

SL shot itself in the foot so many times

restive turret
#

Nice one, so even my falldamage stuff isnt actually working

celest thorn
#

Trust me in CB its not that annoying

restive turret
#

Since it will do for all the roles

celest thorn
#

doing parkour makes it so annoying for the desync sometimes

restive turret
#

thanks nw

upper vapor
celest thorn
upper vapor
#

right

restive turret
upper vapor
#

um

celest thorn
#

its so stupid

#

...

grand flower
#

i did the same

#

im stupid

#

hahahaha

restive turret
#

Ye I didnt actually tested it works or not.
Im sad for that

grand flower
#

well, no fall damage, but sound plays

celest thorn
#

if T is FpcFallDamage

#

die

#

nothing else

#

idc

upper vapor
#

why not patch out where it sends the message

#

instead of patching sendtoauthenticated

#

horrible performance

celest thorn
#

I patched that section

#

if you check the Serverhost suggestion i did patch that

restive turret
#

We

#

Cant

#

See that channel

upper vapor
celest thorn
#

lol

#

oh yea

#

ServerProcessFall

#

the entire code

upper vapor
#

yea

#

phew

celest thorn
#

bye bye

#

when i make this change

upper vapor
#

why are you taking parameters

celest thorn
#

i do

worn gull
#

Hi! How can I do this: I have an NTF and I want to make his model to be Chaos, is it possible?

celest thorn
celest thorn
upper vapor
#

slejm

#

you know what to do

icy knoll
celest thorn
worn gull
restive turret
grand flower
#

damn

upper vapor
#

np

grand flower
#

what would y'all do without the ability to send hand made network messages

#

albeit in that scenario one would hope the modding framework was just a lot more flexible

celest thorn
#

i just explode

restive turret
celest thorn
restive turret
#

Like wouldnt exist

upper vapor
#

meow (:3) editor

celest thorn
#

:3

restive turret
#

celest thorn
#

sadly the menu of debug for meow got renamed

#

by maro

upper vapor
#

-# in minecraft

restive turret
#

sue

celest thorn
#

from
meeowww~ meeow~ mrrp :3
to
MeowMenu

restive turret
#

Why are players randomly join a 0/30 server then leave like 1 min later

#

Are they blind seeing the 0/30??

celest thorn
#

WAIT

#

something is happening with roles

upper vapor
celest thorn
#

i saw

restive turret
celest thorn
#

this guy changed color

#

YEP

upper vapor
#

real

celest thorn
#

toxic green sucks

upper vapor
#

omg

#

gay colors

#

smh

celest thorn
#

Keep it like that

#

bro

#

Nah

#

sad

upper vapor
#

wdym they get to pick colors 😭

celest thorn
#

best shade ever

upper vapor
#

audio is entirely within SL

restive turret
#

yellow to brown

celest thorn
upper vapor
#

what

celest thorn
#

to make that

upper vapor
#

this is a continuous recording btw

upper vapor
celest thorn
#

why

#

lol

upper vapor
#

yeah not that difficult

celest thorn
#

i got to do this

#

lol

#

boring asf to test

#

this stuff

upper vapor
#

🥀

celest thorn
#

And after all of this i need to write docs for it

#

because its COMPLEX :3

celest thorn
#

i don't think its that hard to understand

#

im changing the teleporter rn with the name

#

at least i don't need to change the components :3

upper vapor
#

at this point why not have a record hierarchy for objectives
right cuz it needs to be serializable

upper vapor
#

show

celest thorn
#

wdym?

upper vapor
#

i love domain design

celest thorn
#

you don't wanna see the schematics

#

because i cleaned them

#

and a day after they all destroyed

#

total mess

upper vapor
#

???

#

what schematics

#

i'm not talking about schematics

celest thorn
#

What i do generally is sending events to the server

#

from the component

#

when there are interactions etc...

#

and from there i can just modify the stuff

#

there are universal component like CustomColliders etc...

#

Im cooked im doing something that mongo doesn't like and db exploded

#

YIPPE

upper vapor
#

do you convert to json

celest thorn
# upper vapor do you convert to json

nah it exploded 'An error occurred while deserializing the tickets property of class ATOH.API.Features.Database.PlayerDB: Arithmetic operation resulted in an overflow.', stack trace:

#

idk if its because i have 4 bilions tickets

#

or what

upper vapor
#

what

celest thorn
#

idk

#

db decided to explode

#

i have an idea

upper vapor
#

why tf do you have 4B tickets

celest thorn
#

and for showcasing i did a random number and that was 4b

#

why?

#

idk

upper vapor
celest thorn
#

yea it was that

#

i destroyed the db

#

and i need to restart yippe

#

AHHAHAHAHHAHA its because of that

#

because 4b is a long not an int

upper vapor
#

yes

celest thorn
#

i never planned to have this much tickets

#

should i change it?

#

nah i don't think someone will get past 2m

#

IT WORKS FIRST TRY

#

i cannot believe it

#

im crying

upper vapor
celest thorn
#

nope bugs

#

i love it

grand flower
#

rip

celest thorn
#

idk if all of you do it

#

but i watch documentaries while developing

grand flower
#

i just listen to music

#

with documentation on the other screen

celest thorn
#

nah i need to listen to music or documentaries

#

or if im doing like hard stuff

#

docs and nothing else

#

no video, no music

grand flower
#

the harder the task the louder my music is

#

to drown out everything else

celest thorn
#

is crazy

#

different

#

i think this screenshot can explain every song in just a small amount

#

top 10 im stupid moments

#

i forgot to check if the task was completed

#

crazy

covert flame
#

I love how you can just y'know kill 1 in the RA console

restive turret
#

kill *

low swift
#

Hi everyone!
I'm looking for an updated plugin that replaces the old SCPSwap or SCPChooser.

I need something that lets players choose or swap their SCP at the start of the round, or at least provides configurable priority/random SCP assignment.

I know AdvancedSCPSpawn and CustomClassManager existed, but all links seem to be dead or removed.

❓ Is there any currently working plugin for EXILED that does this? Or any modern alternative being used by the community in 2025?

Thanks in advance!

hearty shard
#

go to exiled discord

low swift
#

you have the invitation link?

worthy rune
#

look on the exiled github page, i dont think links can be shared here

hearty shard
#

yea

low swift
#

thanks

celest thorn
#

Hii chat im back :3

true cedar
#

hi back im paws

carmine prawn
#

💀

carmine prawn
#

why is the hs provided by IHumeShieldProviderhalved when 096 enters rage?

upper vapor
#

Aka nerf

restive turret
#

Scp096RageManager.OnRageUpdate
There you can patch it

#

index 42
have fun il patching : trol

upper vapor
celest thorn
#

i remember it because it was on the git

upper vapor
#

Then
Weekly changing pfp

celest thorn
#

lol

#

i lost a bet and changed it

celest thorn
#

and now im sorta back

upper vapor
celest thorn
upper vapor
#

I meant time complexity in big O notation

#

Sort-a back

carmine prawn
upper vapor
#

Sorting algorithm

celest thorn
#

im

upper vapor
celest thorn
#

speechless

#

...

restive turret
#

hello speechless

upper vapor
restive turret
#

im slejmur

celest thorn
upper vapor
celest thorn
upper vapor
#

No speech

#

Cuz you're speechless

celest thorn
#

wait

carmine prawn
#

💀

celest thorn
#

discord remove the /tts?

#

;(

upper vapor
#

No, don't text to raw video and audio

upper vapor
#

Though there wasn't much use for it I don't think

hearty shard
#

rah

restive turret
#

gaahaa haa

carmine prawn
#

in original game, 096's HS isn't going to be halved anymore, but it still affects the IHumeShieldProvider, is it?

hearty shard
#

slejm

#

im gonna kill you

#

for this

upper vapor
worthy rune
restive turret
#

you can patch the current and thats it

restive turret
worthy rune
#

mine would be radix as it was the first one made

#

also its O(N) complexity

carmine prawn
#

well

worthy rune
celest thorn
upper vapor
worthy rune
restive turret
#

oh decrpyt not encypt

celest thorn
# worthy rune wdym?

In computer science, bogosort (also known as permutation sort and stupid sort) is a sorting algorithm based on the generate and test paradigm. The function successively generates permutations of its input until it finds one that is sorted. It is not considered useful for sorting, but may be used for educational purposes, to contrast it with more...

#

oh wait i got it wrong lol

#

O ( n × n ! )

upper vapor
#

Lol

upper vapor
#

I thought bogo was the random sort

worthy rune
celest thorn
restive turret
upper vapor
celest thorn
upper vapor
#

Magic particle sort is pretty cool, though not as satisfying to audio-visualize

restive turret
#

ratsite

celest thorn
upper vapor
upper vapor
celest thorn
upper vapor
#

Yes

celest thorn
#

Oh my

#

new word added to my collection

upper vapor
#

Patkány

celest thorn
#

Patanky?

upper vapor
celest thorn
#

i think its pronounced?

#

wtf

celest thorn
#

this is ass pronounciation

celest thorn
#

potkagny

#

like wtf of a pronounce is

hearty shard
#

its not complete either and idk tf im doing

#

💔

celest thorn
#

i don't think it tastes really good this pr

#

;(

hearty shard
#

i need to figure out

getting all execute methods
validating params with the provided arguments

#

💔

restive turret
#

yknow what i will say next

hearty shard
#

explosion

celest thorn
restive turret
#

validate deez nuts

celest thorn
#

nah

#

i thought something funnier

restive turret
#

u r arlready that

celest thorn
restive turret
#

anyway brb

celest thorn
#

wdym?

restive turret
#

funny individual

celest thorn
#

;(

upper vapor
upper vapor
#

Not compatibility

#

I don't know words

celest thorn
#

potcagne

upper vapor
celest thorn
#

like this is how i would say it

upper vapor
#

That's fairly

celest thorn
#

hearing the pronunciation

#

i wonder if someone called us rats tho because we recieved alot of insults

#

sadly i will never know

upper vapor
celest thorn
#

and when i was a kid i was inside the cold storage rooms for butchers

#

waiting for my dad

#

so i know cold

upper vapor
#

Sounds not great

celest thorn
#

to stay down there

#

really cold, really nice

#

but my hair always flying ;(

upper vapor
#

Well then

#

Grape

#

Just get dressed properly

celest thorn
celest thorn
upper vapor
celest thorn
#

I mean i was dressed nicely

#

with a suit

#

even tho people looked me so like strangely a man with long hair with really nice hair all ironed up i think is something really uncommon

celest thorn
#

like perfect hair

upper vapor
#

Straight hair dam

celest thorn
#

i tried making them curly too they look even more amazing

#

because i take alot of care

#

girls in my class loved to make different hairs style

upper vapor
hearty shard
#

can prob be optimized to store the valid methods first

#

and params

#

but uh

#

yk

#

its a wip

#

!!!!!!

celest thorn
#

can i ask you something nameless?

upper vapor
#

It's not a source generator :(

celest thorn
#

what is this for?

#

oh custom commands

hearty shard
#

and if its meant to handle multiple execute methods
where you can have

Run(RoleTypeId role)
Run(string player)

#

idk

#

even optional

upper vapor
#

You're not gonna make a parser for that, are you

hearty shard
#

i mean

#

id have to

upper vapor
#

Like

#

Enum.TryParse

hearty shard
#

literally just

upper vapor
restive turret
#

try doing &&

upper vapor
hearty shard
celest thorn
#

my private messages are weird

upper vapor
#

Record struct

celest thorn
#

i just read the one for my portfolio

hearty shard
celest thorn
#

im scared

hearty shard
#

idk!

#

i dont really care to rn

#

priority isnt it looking pretty

#

its it working

upper vapor
hearty shard
#

THEN pretty

upper vapor
#

Auto generated equality members and toString

hearty shard
#

also wtf does that do for me

#

it being a record

hearty shard
#

yes but

#

ok

#

whatever

upper vapor
#

Also you could have a primary constructor

hearty shard
upper vapor
#

Less boilerplate

celest thorn
#

im reading through the docs

#

about the record

#

and they are cool asf

upper vapor
#

public readonly record struct CommandParseResult(bool CouldParse, string FailReason, object? Parameter = null)

#

Boom

#

Complete struct

celest thorn
#

Equals

#

alot of stuff

upper vapor
#

Yep

celest thorn
#

toString

#

like this is peak

upper vapor
#

SL devs need to embrace them more

hearty shard
upper vapor
#

Also records (classes) have inheritance

celest thorn
hearty shard
#

otherwise i set the param

celest thorn
#

never seen them

celest thorn
#

cool asf

hearty shard
#

so how this helps when im forced to put fail reason on urs

upper vapor
hearty shard
#

i wont

upper vapor
#

Why are you stoopid

hearty shard
#

fuck you too

true cedar
#

like unless i need all of that

hearty shard
#

see someone gets it

upper vapor
true cedar
#

i tried changing every class in a plugin to records

hearty shard
#

and..?

true cedar
#

and i like

true cedar
#

doubled the size of the plugin

upper vapor
#

Wtf

true cedar
#

not every class

hearty shard
true cedar
#

just a bunch of POD classes

hearty shard
#

probably testing

upper vapor
unique crane
#

Mr when DLL takes 500kb on my 1TB disk

#

(crazy)

upper vapor
#

XD

celest thorn
#

2MB

#

lol

unique crane
#

That's even crazier

celest thorn
#

most of it is just mongodb

#

but the plugin itself is just 500KB

#

which is massive (no low taper fade please :3)

true cedar
#

when loaded

#

yea 500kb isnt a lot but like

upper vapor
# celest thorn 2MB

7 MB for a simple plugin cuz it includes a wave file as an embedded resource

unique crane
#

Embeddings audio files?

#

Bruh

celest thorn
#

not like that else it would be 100MB

#

for the amount of audio files there are on ATOH

#

even for just a small key (most of them share the same but there are exceptions)

upper vapor
unique crane
#

Ah

celest thorn
#

nah i do everything automatic

#

i have a component dedicated for that called Audio

#

and it tracks the audio and just plays it

#

when asked

unique crane
#

You should write your plugins as 1 giant monolith

#

Fr

upper vapor
upper vapor
celest thorn
#

yea its easy lol

#

its one of the dependencies for components

#

nothing too fancy

upper vapor
#

Imma make an AudioClip based sample provider sometime

celest thorn
#

i kinda forgot about that

#

lol

upper vapor
celest thorn
#

Trigger is invoked

upper vapor
#

Audio processing

celest thorn
#

Oh its audio player api

#

on each tower loading it does this

upper vapor
celest thorn
hearty shard
#

but literally just as

#

public record class Hello(bool IsStupid);

#

thats it

upper vapor
#

Yes

celest thorn
#

and yes litteraly i can just put it everywhere and no worries about anything :3

hearty shard
#

i dont care for them though

upper vapor
celest thorn
#

trust me

#

else for some reason AudioPlayerAPI takes 30 minutes

#

to load it

#

if its not loaded when none is on the server

#

i cannot understand why

#

or sometimes no audio

#

thats the only problem i have with audio player api

celest thorn
#

i just do this on the component

#

and it works :3

upper vapor
celest thorn
#

no worries of copying thousands of lines

celest thorn
#

but doesn't play for a player

#

idk why but at the next request it does

#

like its weird

#

it loads it but doesn't play it

unique crane
upper vapor
celest thorn
upper vapor
unique crane
#

Literally

celest thorn
#

just add this

#

and done

upper vapor
celest thorn
#

Nope its not invoked at the start

#

its always when a player interacts with it

upper vapor
upper vapor
celest thorn
#

thats so stupid

#

it loads

#

plays and nothing else

#

only does that but the clip remains always in memory

#

just loads there and stays there

upper vapor
celest thorn
#

"no worries of copying thousands of lines"

upper vapor
#

Yeah

#

English

celest thorn
#

i don't see any problem?

#

like i expressed it correctly

#

im saving lines by making this a component

upper vapor
#

I'm not braining

celest thorn
#

and just invoking it

upper vapor
celest thorn
#

or

upper vapor
#

Lmao

celest thorn
#

it loads it
takes 30 minutes
and loads it to the player

upper vapor
#

Check the filter func

celest thorn
#

because if i load it at the start it just works fine

upper vapor
#

?

#

Explain the whole thing in monke terms

celest thorn
#

the towers get loaded in OnWaitingForPlayers
so when the audio loads its during no players
and it work normally

but

If i load it when requested it happens
the playback doesn't play for that player or its delayed asf

#

so to save time

#

i just load the on waiting (so in ram)

celest thorn
#

and honestly going to check for the reason and spending 20 hours to find it

#

its like searching for nothing

#

it could be alot of stuff

#

but i know my code isn't the issue

upper vapor
#

Race condition?

celest thorn
#

idk

#

but honestly to prevent that player feel like the server is lagging (when its not)

#

i decided to take this action

upper vapor
celest thorn
#

else it seems the server is laggy or just not even caring about you

celest thorn
#

and there was another reason that i forgot

#

oh yea

#

because some towers aren't loaded

upper vapor
#

But you're calling a method every frame that only gets called once

celest thorn
#

thats true

#

i could save

#

i could try

#

yea i think it will be fine

mild ice
#

0/10 not a rat picture

hearty shard
#

just realized its bugged

celest thorn
#

here's your rat pic

mild ice
#

Epic

celest thorn
#

please

#

:3

spare zodiac
#

hey just a questiona why does GameObject not have field which would be List of all child GameObjects?

spare zodiac
#

there is a way to already do this, but kinda don't know why it's not a thing yet

hearty shard
#

pretty sure u have to do it on the transform

spare zodiac
tulip kiln
#

Does anyone have an easy method to extract details of a keycard, no matter if it's vanilla or custom? The CustomKeycard system for whatever reason doesn't store the details in an object but clears them on next use 😭

static meteor
#

one sec

spare zodiac
#

omg it's GBN

static meteor
#

Keycard::Details iirc

celest thorn
#

let me get it

tulip kiln
celest thorn
#

you need to get it after?

#

or before?

tulip kiln
celest thorn
#

it really depends

celest thorn
#

because mirror loves you

spare zodiac
#

isn't there method you could get all of this when keycard is being created that could be patched?

celest thorn
#

instead nw decided to make it save inside a dictionary

#

with the network payload

spare zodiac
tulip kiln
#

They should be saved right before another keycard is created though. Maybe I can patch LabAPI's create method?

hearty shard
celest thorn
celest thorn
#

they are saved

hearty shard
#

then server has to know

celest thorn
#

inside a network payload

hearty shard
#

😭

#

okay...

celest thorn
#

yes but not the keycard itself

#

has the info

#

even tho it has the Details

#

lol

tulip kiln
#

I saw these payload objects when looking at the code

spare zodiac
#

so why did NW make it so hard to retrieve?

static meteor
# celest thorn has the info

This works for my keycard wrapper though

NametagDetail nametagDetail = keycard.Details.OfType<NametagDetail>().FirstOrDefault();
celest thorn
#

did they update it

#

?

tulip kiln
#

You can extract the detail

celest thorn
#

because last version it didn't work

tulip kiln
#

but not the data inside it

celest thorn
# tulip kiln You can extract the detail
            if (ev.NewItem?.Base is not KeycardItem keycard)
                return; 
            
            if (!keycard.Customizable)
                return;
                
            ArraySegment<byte> payload = PublicDatabaseKeyCards.Database[keycard.ItemSerial];

            using (NetworkReaderPooled pool = NetworkReaderPool.Get(payload))
            {
                foreach (DetailBase detailBase in keycard.Details)
                {
                    if (detailBase is CustomItemNameDetail)
                    {
                        string name = pool.ReadString()?.ToLowerInvariant() ?? string.Empty;
#

this is what i did

spare zodiac
celest thorn
#

one version before

#

but for initializing them i do

#
        Card.NametagDetail? nametag = keycard.Details.OfType<Card.NametagDetail>().FirstOrDefault();

And then save the _customNametag

#

but if its created by base game or command i think you need to do that

#

idk try one of this

celest thorn
#

with base game cards or non

#

and you can even edit them if you want to

#

for the next guy

#

Have fun i guess

#

if you want ping me :3

tulip kiln
#

Is there a way to see what order the pool is in?

#

Since some keycards will have details others wont

celest thorn
tulip kiln
#

Okay I meant the details inside the pool

celest thorn
#

if you are doing the payload

celest thorn
#

ehm yea you need to go in the codee

#

and see how they are done

#

on the deserialize

tulip kiln
#

Okay. Thanks for the info though since I tried network magic before and it would take hours to figure out 🙏

#

(Though it will still take hours)

tulip kiln
celest thorn
#

there are quite alot

#

so

tulip kiln
#

Well I need all of them tbh

celest thorn
#

Wait

#

nw updated it

#

you can use

celest thorn
#

use this directly

#

and get for example the _customText

#

it works

tulip kiln
#

_customText is static and will be replaced on next keycard creation though

celest thorn
#

they cannot be modified

#

if you just don't modify the Item yourself

#

or it could be deleted

tulip kiln
#

No?

tulip kiln
#

I'm a bit confused on how a static string is unique for each card

celest thorn
#

Card.NametagDetail? nametag = keycard.Details.OfType<Card.NametagDetail>().FirstOrDefault();

keycard is the Wrapper of LabAPI

upper vapor
celest thorn
#

wtf

#

im confused

spare zodiac
#

this is very true message

tulip kiln
celest thorn
#

as you can see here

#

why this choice idk

celest thorn
tulip kiln
#

That means the payload will have its unique value

#

but the detail will not

upper vapor
celest thorn
#

so just deserialize it manually and do it by hand

unique crane
#

Except for permissions

celest thorn
unique crane
#

all details are just set to the keycard gfx

#

and bye bye

tulip kiln
#

david who designed this

unique crane
#

Hubert

celest thorn
#

why not using name tho

unique crane
#

I think

tulip kiln
#

I can get permissions without the payload though so that's fine

celest thorn
#

go and do git blame

unique crane
#

Yea permissions are saved

upper vapor
unique crane
#

rest is just applied

#

to the visuals

#

and discarded

tulip kiln
#

david is there a way for you to send us the HEX code for NTF permission color?

#

The server has no information of it

celest thorn
#

patch i guess

#

its the best way

unique crane
#

Yea let me open up unity i guess

#

Meanwhile

#

Does anyone know how to spawn items in lockers

#

preferably the experimental one

upper vapor
unique crane
#

I want to force spawn disruptor there