#plugins-dev-chat

1 messages Β· Page 129 of 1

celest thorn
#

what the fuck?

royal mica
#

Will this be late as well

upper vapor
#

yes

#

very much

#

40 km/h vmax

royal mica
#

we need MÁV app on the chaos card

upper vapor
#

-# per schedule

upper vapor
upper vapor
celest thorn
#

like if i do spaces?

upper vapor
#

you can use regular spaces and the space tag too

celest thorn
#

i do wonder tho

#

what if

#

i make like a massive

#

move it out of screen

#

and just position it there

#

and rotate it

upper vapor
#

what

#

is this with hints or text toys

celest thorn
#

β–ˆ using this

celest thorn
upper vapor
#

well you can't rotate hints

#

so

royal mica
celest thorn
#

yes you can

upper vapor
#

or text with textmeshpro in general

upper vapor
sinful bronze
#

this is eric's toy

#

no questions....

upper vapor
royal mica
#

yes

royal mica
upper vapor
sinful bronze
celest thorn
#

and make it massive

upper vapor
#

oh you want a gigantic full thingy

celest thorn
#

so it doens't collide with anything

upper vapor
#

and rotate that

#

omg

celest thorn
#

because RUEI

#

doesn't take in account that

#

🧠

celest thorn
upper vapor
#

yea

celest thorn
#

it doesn't work

upper vapor
#

it has to be hex

#

alpha=#ff

celest thorn
#

<alpha=#66>

#

like in the example

#

and i've set a color

#

<alpha=#66><color=#808080>text</color></alpha>

upper vapor
#

why not set the alpha in the color

celest thorn
#

how?

upper vapor
#

you add the alpha after rgb

#

it's rgba

celest thorn
#

it works

upper vapor
#

insane

celest thorn
#

The hints are seperate not one

#

it took alot

#

but its really cool

#

because you can make alot of shit

#

like blindfold

celest thorn
#

like blood effect

#

and other stuff

upper vapor
cyan crown
#

Hi Zerotwo

#

Bad timing but thoughts on this shit

celest thorn
celest thorn
cyan crown
#

Thanks but what about sound?

celest thorn
#

which doesn't feel metalic

#

but more stale

cyan crown
#

True im making a underground facility

#

That area is meant to be a underground construction zone

rough tundra
#

Guys, I've got a small and basic question, how to add an item to someone's inventory?
This doesn't seem to work

ev.Player.AddItem(ItemType.KeycardJanitor);
upper vapor
#

that's how you do it

rough tundra
#

in an OnSpawn function

upper vapor
#

right

hearty shard
#

use ChangedRole

rough tundra
#

do I need to delay that a lil bit?

#

hmm alr

upper vapor
rough tundra
#

thx

hearty shard
#

the spawn one is only called in specific conditions

#

that i do not remember

upper vapor
#

spawned is called when the position is being set
the inventory might be cleared and reset afterwards

hearty shard
#

oh right

hearty shard
#

which is actually a different spot than the basegame event

#

but ya:

  • pos set (so Spawned event, if applicable)
  • role basegame role changed event -> set loadout
  • labapi role changed event
restive turret
#

There is an event that do fillloadout

#

Or something

pallid summit
#

is there a simple way to check if someone died to fall damage, Tesla Gate, off map death etc?

celest thorn
#

and then check for translations

hearty shard
#

tesla is there too afaik

#

not every death reason is in there tho

pallid summit
#

just want to see if a zombie is commiting suicide

#

thanks!

hearty shard
#

Tesla Falldown Crushed

pallid summit
#

thanks, that helps allot

#

Something like this would work?

private bool IsDeathPremature(PlayerDeathEventArgs ev)
{
    var player = ev.Player;

    if (ev.DamageHandler is UniversalDamageHandler universal)
    {
        var prematureDeaths = new HashSet<byte>
        {
            DeathTranslations.Falldown.Id,
            DeathTranslations.Tesla.Id,
            DeathTranslations.Crushed.Id

        };

        if (prematureDeaths.Contains(universal.TranslationId))
        {
            return true;
        }
    }
    return false;
}
hearty shard
#

but yes should be fine

pallid summit
#

ah true, thanks for the feedback

restive turret
#

and you dont need to guard the if statement since returns

#
static readonly HashSet<byte> prematureDeaths = new 
{
    DeathTranslations.Falldown.Id,
    DeathTranslations.Tesla.Id,
    DeathTranslations.Crushed.Id
};
private bool IsDeathPremature(PlayerDeathEventArgs ev)
{
    return ev.DamageHandler is UniversalDamageHandler universal && prematureDeaths.Contains(universal.TranslationId);
}
hearty shard
#

also uhhh

#

var player = ev.Player; why?

restive turret
#

idk

hearty shard
#

is ev.Player that hard to type 😭

pallid summit
#

legacy code

restive turret
#

zombie check i presume?

hearty shard
pallid summit
#

was trying different things, forgot it was there

hearty shard
#

fair enough

pallid summit
#

already did a zombie check before

#

basically my idea is to give doc a buff if a zombie suicides

restive turret
#

and in that state you can replace the event arg with just (this DamageHandler dmg) or smth

#

and make statis i guess

#

idk

pallid summit
#

anyways, thanks guys, I appreciate the help. First time coding a plugin so still a lot of figuring out

lethal cradle
#

does anyone know if it'd be possible to enable vr support for the game without having to rebuild the entire project with openxr

#

just simple projection of the game into vr

icy knoll
#

not via the server no

lethal cradle
#

i meant locally

icy knoll
#

and client modding is against eula

#

so we cant tell you

lethal cradle
#

aw man

#

that's unfortunate

#

wonder if it'd be possible to convince whoever is the project lead (i assume hubert?) to add headset projection support

hearty shard
#

I dont think they will

lethal cradle
#

adding simple support to simply display the image on headsets connected to your pc is really simple

#

its basically built into unity

hearty shard
#

however

#

Sl isnt a vr game

lethal cradle
#

yeah

hearty shard
#

in the slightest

icy knoll
#

networking will have to be redesigned

#

so

lethal cradle
#

nono

#

it changes nothing for the game

icy knoll
#

there will be no body movements 😭

lethal cradle
#

yeah

icy knoll
#

there is no point making a k&m vr game, nobody will play that 😭

lethal cradle
#

just being able to use a headset instead of a monitor

#

with 3d perception

lethal cradle
#

but idk what the complications would be with how the game is managed

#

it is also very trippy controlling where you look with mnk while wearing a headset

#

rather silly even

#

wait what scripting backend does sl use

#

mono or il2cpp?

hearty shard
#

Il2cpp for client

lethal cradle
#

okay then there should be no problems with it

hearty shard
#

what

lethal cradle
#

idk why but for some reason vr projection is very buggy in mono

hearty shard
#

oh

lethal cradle
#

yeah i have no idea why'

#

runs fine on the editor but if you build with mono it just doesnt work

hearty shard
#

interesting indeed

#

u sure thats a unity issue and not yours?

lethal cradle
#

honestly no idea

#

i spent like a week trying to fix it before giving up and just switching to il2cpp and it just worked

#

may just be an issue with my specific unity version

restive turret
#

Lel

#

Unity skill issue

lethal cradle
#

frfr

#

could just be a bug since my project was on a pretty early unity 6 version

#

wait the game is on hdrp right?

grand flower
#

i think so

lethal cradle
#

interesting

#

wonder why they went with HDRP instead of URP

#

The game doesn't really seem like it needs any of the super high end graphical features of HDRP

grand flower
#

Β―_(ツ)_/Β―

lethal cradle
true cedar
#

also u pinged the wrong acc but ummm

#

i dont know if i can feasibly make it work

#

try closing the mark whenever there's a line break

slate flume
#

What world are we living in

hearty shard
true cedar
#

thats my alt

slate flume
true cedar
#

why do the flowers need such beautiful pedals

#

why do the crickets need to sing

#

its just the natural order of things

slate flume
hearty shard
grand flower
#

Unreal Engine 5.7 can't come out fast enough

#

namespace support 🀀

hearty shard
#

Guh

grand flower
#

kinda tiny but it'll be super nice to have

restive turret
#

Wait in c++ you can create your own

#

Or is the engine getting namespaces?
Like
ue::UObject

grand flower
#
namespace MyGame
{
  USTRUCT(BlueprintType)
  struct MYGAME_API FMyStruct
  {}
}
#

UHT yells at you if you try to do it right now

hearty shard
#

Lmao

restive turret
#

Ah lel

grand flower
#

it'll be nice cause right now I do AMyGamePawn, AMyGameGameMode etc

#

gets annoying

#

especially on some more low level stuff I'm writing

restive turret
#

Real

grand flower
#

It'll be nice to do RF::AHumanPawn or RF::ABaseGameMode

#

or even RF::Lua::FModInfo

#

Also interested in the new networking stack

#

Probably implementing it as soon as possible, if I can target 64 players @ 60FPS on servers, and maybe 100 @32, im happy

true cedar
#

okay i think i figured out the issue except now im even more confuse

#

d

grand flower
#

whats da issue

true cedar
#

try to do this? doesn't work at all you dumbass completely wrong

#

BUT THIS WORKS??

#

constructor for AnimatedValue

grand flower
#

no idea

true cedar
#

i think it might be a fucked up unity thing

grand flower
#

could be

celest thorn
#

hello

#

is chat chatting

true cedar
#

to make things even more confusing this works???

#

legitimately what the fuck

grand flower
#

check what WriteAnimationCurve does

true cedar
#

are networkkeyframes managed what the fuck

#

that cant be

grand flower
#

im neck deep in engine memory leak debugging but sec

true cedar
#

this doesn't work ?????????????????????????????

#

god

grand flower
#

Seems like by doing this you're taking away some data that's expected on read?

true cedar
grand flower
#

Β―_(ツ)_/Β―

#

i've already got a migraine with UE memory leaking, but maybe print out the writer as you write

#

See the difference in what's being written with the one that breaks, and the one that works

true cedar
#

wait i might be fucking stupid

grand flower
#

:?

true cedar
#

Oh .

#

it only had one frame and it needs at least 2 im a fucking idiot

grand flower
#

I saw that in the code and was about to ask you if you had 2 frames

#

and forgot

#

rip

teal junco
#

i was scared of ruei because there wasnt a guide to it like there was for the last one and i ended up figuring it out in 30 minutes

#

fml

true cedar
#

@hearty shard @icy knoll mark ur calendars ruei v3 is releasing on september 30th i have decided

#

unless something goes horribly wrong

warped prairie
#

daim!!!

#

this might be hype!

true cedar
#

may be

#

i might try to get some basic docs written too

warped prairie
#

praise be

#

i need that because im ultra STUPID

teal junco
#

i made a patch to make regular hints work with ruei

#

does anyone have any notes

#
public static bool Prefix(Hint hint, HintDisplay __instance)
{
    if (hint is not TextHint textHint)
    {
        return true;
    }
    if (Assembly.GetCallingAssembly() == typeof(RueDisplay).Assembly)
    {
        return true;
    }

    if (ReferenceHub.TryGetHubNetID(__instance.netId, out ReferenceHub hub))
    {
        textHint.Text = LowercaseizeString(textHint.Text);

        RueDisplay rueDisplay = RueDisplay.Get(hub);
        Tag tag = new Tag($"{hub.netId}");
        rueDisplay.Remove(tag);

        rueDisplay.Show(tag, new BasicElement(400, textHint.Text), textHint.DurationScalar);
        return false;
    }
    return true;
}
true cedar
#

ummmmmmmm

true cedar
#

i mean as in

#

a hint to lowercase

#

its in HintBuilder

teal junco
true cedar
#

o

teal junco
#

but its mostly besides the point

true cedar
#

idk if GetCallingAssembly is guaranteed to work

#

might wanna test that

teal junco
#

like it let RUEI send hints and there wasnt any stack overflows or anything

true cedar
#

oh

teal junco
#

so its mostly fine?

true cedar
teal junco
true cedar
#

base game?

teal junco
#

yeah

true cedar
#

its in the hint type iirc

#

wait

#

HintMessage

upper vapor
true cedar
#

:3

upper vapor
celest thorn
#

hello chat

restive turret
#

Hello cat

restive turret
upper vapor
celest thorn
#

Anyone knows how can i disable the friend fire detector, enable the friendly fire and then make them do the same damage as normal?

#

because if i remember friendly fire makes you take less damage

upper vapor
#

this is the config entry you have to replace on config refresh

hearty shard
celest thorn
celest thorn
upper vapor
celest thorn
#

the problem

#

is

hearty shard
#

πŸͺ“ what r u on about

restive turret
#

Vut doesn't automatic

celest thorn
#

how tf i disable the friendly fire kick

restive turret
#

By just not making it as friendly fire

celest thorn
upper vapor
#

xd

restive turret
#

Just normal damage

#

Works on my plugin

#

Lel

#

Or something i doing have ff set in my config

celest thorn
#

probably

#

so which fucking thing does the entire control

#

for this asshole

upper vapor
restive turret
upper vapor
#

what is that formatting

celest thorn
#

ig its time

upper vapor
#

😭

celest thorn
#

to do a new event

restive turret
#

If you decompile it will change anyway

celest thorn
#

guess works

restive turret
#

Not like i will touch the plugin again until damage rewrite

upper vapor
#

nothing implements IFriendlyFire

celest thorn
#

Yea because i still didn't do shit with minigames

#

i have an example

restive turret
#

Ye cus its not been written yet

upper vapor
#

and why do you cal the base method in a CustomEventsHandler

celest thorn
#

that says "Hello World" every tick

restive turret
celest thorn
#

public class PlayerEventsHandler : CustomEventsHandler

restive turret
celest thorn
#

i just use this :3

restive turret
#

Y'know

upper vapor
restive turret
#

They rewriting how the damage stuff works

upper vapor
#

who do you work for

restive turret
#

I just saying IF they ever do it

celest thorn
restive turret
#

Not like they will do it in 18.1

upper vapor
#

death

restive turret
#

Jk

celest thorn
upper vapor
celest thorn
#

already seeing a cat

#

makes me die

upper vapor
restive turret
#

I might wait for this week then I have to contact hr.
Because everyone was busy with 14.1.4 and probably beryl and jesus was in hold too

celest thorn
hearty shard
restive turret
#

Idk why they pushed the job listings at the time before they released 14.1.4

upper vapor
#

is a crazy statement

hearty shard
celest thorn
#

this?

icy knoll
celest thorn
restive turret
icy knoll
restive turret
#

Ye

#

I know thats why i wait for end of this week

icy knoll
#

i waited like 3 months for my web dev application 😭

restive turret
#

Damn

celest thorn
#

nw is slow

#

even slower than the italian government

#

god

restive turret
#

As said they released the application at really inconvenient time

hearty shard
#

You

upper vapor
#

no that's you

hearty shard
upper vapor
#

99% of the time

hearty shard
#

i am so close to posting the wrong stuff

upper vapor
#

don't have wrong stuff

#

problem solved

restive turret
#

Ye my phone is filled with cat pics/memes

celest thorn
#

so

hearty shard
celest thorn
#

another one in the pile

hearty shard
#

Or some images ive taken

restive turret
#

I do not wanna know what kind of images you take

hearty shard
#

Scary grass

restive turret
hearty shard
#

And ya

restive turret
#

AND ME???

hearty shard
#

Ya

restive turret
#

HOW

hearty shard
#

As in yas

hearty shard
restive turret
#

How do you have pic of me

hearty shard
restive turret
#

Reddit

hearty shard
#

I dont even think i got this one from reddit

#

Or maybe i did

#

Idk

upper vapor
hearty shard
#

hi axe

#

Why r u like this

upper vapor
#

magic

rough tundra
#

How do you get a the player object from a Ragdoll?

hearty shard
restive turret
#

Or just Info.OwnerHub

hearty shard
#

yum

rough tundra
#

kk thx

celest thorn
#

How do i get my life back togheter?

upper vapor
hearty shard
rough tundra
#

another question, how do you detect 049 attacking someone?

#

the Attacking and Attacked events exist for 939 but not for 049

hearty shard
rough tundra
#

oh, and then you check if it's from the doctor

#

kk

#

that's weird

hearty shard
#

ev.Attacker != null && ev.Attacker.Role == RoleTypeId.Scp049

hearty shard
#

i dont see this

#

ok nvm i found it immediately

#

πŸ’€

#

no clue

#

might be cuz theres multiple spots it gets called from

rough tundra
#

hmm

#

also, how do you get the damages in the Hurting event args?

#

and modify them?

slow pond
#

how does one check if player is actively wearing skins as 3114?

rough tundra
#

it used to be ev.Amount

hearty shard
rough tundra
#

alr

hearty shard
upper vapor
hearty shard
#

however

#

flip u

upper vapor
#

no thanks

hearty shard
#

no flips?

#

sad

upper vapor
#

i can't

#

i'm unable to

hearty shard
restive turret
hearty shard
#

i missed scp3114.IsDisguised

#

πŸ’”

upper vapor
hearty shard
#

i might pr it for them Trol

slow pond
restive turret
#

Or later

hearty shard
#

its prob being done internally

restive turret
#

Or just in todo list

hearty shard
#

slime you should become exiled maintainer

#

trust

#

u can fix it

restive turret
hearty shard
#

exactly

upper vapor
hearty shard
restive turret
#

Yes you have to get flowers and chocolate and send your resume and portfolio to Yamato

hearty shard
#

slime when r u getting me 500 bucks a second

restive turret
#

I am not

upper vapor
#

you aren't

#

or you're not

restive turret
upper vapor
#

what if i don't have either of those

restive turret
restive turret
slate flume
#

Is it possible to make a box that players can collide with but it can be shot through?
There's like a layermask or something I can assign right?

upper vapor
slate flume
#

And by that I mean in like a week

#

I'm still in vacation haha

restive turret
#

You suddenly wake up and think of these scenario or what

upper vapor
#

yes

#

the idea appeared in their dream

hearty shard
#

code dreams

#

the worst nightmare to ever exist

upper vapor
#

heisenbug in a nightmare

hearty shard
#

whys there a no rp emoji

#

how much of a problem was this

upper vapor
#

very good question

#

at lucid

hearty shard
#

@lucid

#

oh

#

whyd it not let me click him

#

@mild ice ok now it works

#

lucid pls explain this

#

how bad has #general been

upper vapor
#

@spare zodiac new item to your collection

#

hold on let me make it a gif

pallid summit
#

Stackoverflow exception my beloved ❀️❀️

restive turret
upper vapor
restive turret
#

Or warning

hearty shard
upper vapor
restive turret
upper vapor
#

not enough alpha resolution

spare zodiac
hearty shard
upper vapor
#

there

#

NEVERMIND

upper vapor
#

it's the same shit

pallid summit
spare zodiac
upper vapor
hearty shard
#

i would try

upper vapor
#

just fix the wranings

restive turret
hearty shard
#

but i have no game ideas

upper vapor
upper vapor
spare zodiac
restive turret
upper vapor
#

"rigidbody does not support non-convex meshcolliders"

hearty shard
upper vapor
#

I DON'T WANT THE CHILDREN AS COLLIDERS OF THE RIGIDBODY

spare zodiac
celest thorn
#

Hey google, how can i kill a child without killing the parent

restive turret
pallid summit
# upper vapor just fix the wranings

I did a few but digging into the Meta source code to remove any errors there was a pain. Especially since most of them weren’t even my fault and was legacy code they β€œforgot” to remove

upper vapor
celest thorn
pallid summit
#

Glad I never have to touch that stuff again

upper vapor
#

delete meta

celest thorn
#

delete riot

pallid summit
#

I love working with VR but it can be a pain sometimes

restive turret
#

Delete VMProtect

pallid summit
#

Delete Unity

upper vapor
spare zodiac
restive turret
pallid summit
#

Delete .NET from your pc

celest thorn
#

Hey google, how can i kill a gameobject named "Timmy" without kill the parent named "Timmy's Family"

upper vapor
celest thorn
#

less spyware

upper vapor
restive turret
#

Hey Google, how can i banish an angel back to heaven

upper vapor
#

"banish"

spare zodiac
#

Hey Google how make speech gifs faster?

celest thorn
pallid summit
# upper vapor "banish"

β€œOhh nooo, I have to to back to paradise and can’t stay in this hell hole, how sad”

upper vapor
spare zodiac
spare zodiac
#

there is static class

pallid summit
#

Java deez nuts

upper vapor
celest thorn
#

this was my average pile of cocaine i did while developing in java

upper vapor
hearty shard
#

and its not me

hearty shard
spare zodiac
celest thorn
#

Jarvis can you love me?

restive turret
#

Wtf

spare zodiac
hearty shard
#

eat color

restive turret
upper vapor
#

this was written in 2013

spare zodiac
spare zodiac
#

can you manage memory in C#?

#

hey google

upper vapor
restive turret
upper vapor
#

if you want to end your life's suffering

#

couldn't type the 3 letter thing starting with k :(

restive turret
#

Marshal.AllocHGlobal(ulong.MaxValue);

hearty shard
#

can we kill slime boy

spare zodiac
upper vapor
#

no

spare zodiac
#

can I allocate all memory crashing everytime?

restive turret
#

Yes

spare zodiac
#

I might not have a brain, but I have an idea

restive turret
#

I open twitter and i see 5 VTuber post, who the hell liking all these

upper vapor
upper vapor
unique crane
#

Me when they make website after some unnamed exception

hearty shard
#

hi bestie

slate flume
#

What's up gamers

#

I'm at Oktoberfest

icy knoll
#

it's still september tho smh

slate flume
icy knoll
#

wow ok

upper vapor
celest thorn
upper vapor
#

i love it when unity doesn't find a script upon git checkout and now it's missing even though the file exists

unique crane
upper vapor
#

nope

#

i just checked out an older branch and went back

#

solved by deleting the files and restoring them

unique crane
#

Hmm

#

did you commit all meta files that has been changed?

upper vapor
#

yes

unique crane
#

Interesting

upper vapor
unique crane
#

Yeah well it doesnt XD

icy knoll
#

wait unity only recognises block scoped?

upper vapor
#

yea

#

it's on .net 5 so C# 9

#

if you install a package that lets you edit the csproj, you can change it to preview

#

but file-scoped namespaces just don't work

icy knoll
#

wow 😭

upper vapor
#

funnily enough, in roslyn, a file-scoped namespace is still the parent token of top-level classes so...

#

very much a unity skill issue

restive turret
#

It is actually yes

upper vapor
#

what if it's a regex toomuchtrolling

restive turret
#

πŸ’€

hearty shard
#

there is for invis too

celest thorn
icy knoll
# restive turret πŸ’€

thanks for letting us know you're available, your dms will soon have 100 urgent messages to respond to

unique crane
#

Millions must fake syncvar

restive turret
#

fake sync deez

upper vapor
restive turret
#

nah

#

u cant fake sync something that is bad

upper vapor
pallid summit
#

Is there a way to reset an SCP's ability cooldowns? (for example 049's humeshield zombie buff)

restive turret
#

rpc message

pallid summit
#

aight, thanks

worn gull
upper vapor
#

XDDDD

worn gull
#

Fr

upper vapor
#

This is probably the best thing I've heard in months

worn gull
#

The displays says 5 min (everyone knows this) but it's actually 1 hour

upper vapor
#

It collects the delay in small increments

#

lazarjanosszomoru

worn gull
#

I love that the train stops at a random spot and nobody knows what the hell is going on

#

Most time they hit me with "BiztosΓ­tΓ©k berendezΓ©si hiba"

upper vapor
upper vapor
tepid sluice
#

Can i modify micro's charge time

restive turret
upper vapor
worn gull
#

Ask MÁV they know how to delay things 🀣🀣🀣 ||yeah I stop these jokes||

upper vapor
#

Nah they want to undelay probably

#

Should they ask GySEV? toomuchtrolling

worn gull
#

I don't even know what is that

upper vapor
#

GyΕ‘r-Sopron-Ebenfurti VasΓΊt
Raaberbahn

#

Green

#

Yellow

#

Xd

worn gull
#

Yeah that's why I live at the other side of the country

upper vapor
#

Bruh

#

What did GySEVdo to your family Heartbreaking

worn gull
#

I'm going to GyΕ‘r next week bc I'm an ultra at a football club

#

I will check it out xd

upper vapor
#

GyΕ‘r Γ‘llomΓ‘s, GyΕ‘r Γ‘llomΓ‘s. KΓΆszΓΆntjΓΌk kedves utasainkat.
-# GyΕ‘r station, GyΕ‘r station. We welcome our passengers.

lusty fox
#

SSS are great, sure, but it’s still a shame to have to rely on a Wrapper that isn’t integrated into LabAPI just to make it easily usable… Especially since when you split your logic into multiple plugins, you end up with yet another critical dependency. Is there anything planned on the LabAPI side to improve this?

upper vapor
upper vapor
#

Planned (indeterminate time)

hearty shard
#

also what dependency r u using

upper vapor
lusty fox
lusty fox
#

Or use SecretAPI / ASS

hearty shard
#

ya

#

idk what the 2nd is but

#

having an existing to use usually ends up being better

#

it really depends

lusty fox
# hearty shard there is an existing oneee

Yeah, I know, but I’m hesitant to rely on an external dependency for my API, since almost all my plugins depend on it. Anyway, it comes down to the same thing: it has to be maintained. I’ll think about the best technical option, but I really don’t know what to make of it. ASS isn’t even a wrapper, it completely rewrites the logic…

lusty fox
# hearty shard makes sense

All in all, SecretAPI seems like the most viable option right now, but it still pisses me off, even though I’m really grateful to the developers who made it.

lusty fox
# hearty shard thats me <:Trol:1364063678999040030>

Ohh, in that case, thank you so much for your time! clove_love
But I honestly wonder, why not make a PR to implement SecretAPI’s SSS wrapper directly into LabAPI? Is the rework planned on the game side or on LabAPI’s side?

hearty shard
#

if i was labapi maintainer, sure id pr it

#

but

#

id rather let NW handle it

hearty shard
#

prob

tepid sluice
#

ty eve!

hearty shard
#

looks like you can handle it server side

hearty shard
tepid sluice
#

i got 0 in my paypal

hearty shard
#

so sad

tepid sluice
upper vapor
#

Xd

lusty fox
hearty shard
#

i could pr role wrappers to SecretAPI Trol

#

but i wont

upper vapor
#

We just need to mass ping a nw programmer to rewrite SSSS

hearty shard
#

heart breaking

upper vapor
#

He might not

#

But david might

hearty shard
#

i want riptide to do it

upper vapor
#

Well

#

@worthy rune how much for you to rewrite SSSS :3

hearty shard
#

bribery?!

upper vapor
#

No

#

Just a trade offer

#

Civilized business

hearty shard
#

Bribe

worthy rune
#

1 billion USD

upper vapor
#

That's like

#

0.02% of Nvidia

worthy rune
#

a small price to pay

lusty fox
upper vapor
lusty fox
upper vapor
#

Bruh

#

I wonder how you'll mass ping someone without getting noticed

lusty fox
#

Jokes aside, we’ve come a long way with LabAPI β€” it’s great to finally have something offered by the studio for developers. It’s just a shame that some QoL features as useful as SSS are missing, even though I don’t doubt they’ll eventually be added. The big question is: when?

lusty fox
#

And voilΓ 

#

Well, they mustn’t stumble upon our exchange, otherwise it’ll be dead in the water ClassDTroll1

upper vapor
unique crane
hearty shard
unique crane
#

Idk

#

How much does average steak weight

hearty shard
#

1km * 1km ?

worn gull
#

You know what else is massive? 😐

unique crane
#

πŸ’€

upper vapor
restive turret
#

MY HEARTH

unique crane
#

slejm died

worn gull
#

And that's the correct answer

hearty shard
# unique crane How much does average steak weight

goog says The average steak typically weighs around 225 grams (approximately 8 ounces) when raw. For portioning, a good rule of thumb is to consider about 180 grams for children and smaller eaters, and 225 grams for average adults.

unique crane
#

someone bury his corpse or its gonna start to rot soon

upper vapor
unique crane
hearty shard
unique crane
#

I aint eating raw meat

hearty shard
#

he just wants it delicious

#

so if we hide the taste of raw meat it should be fine!

hearty shard
#

i see i see

upper vapor
#

that's a lotta steak

restive turret
#

thats a big meat

unique crane
#

Average portion of meal is like half of what I eat normally

#

so yea

#

double it

upper vapor
#

and give it to riptide?

worn gull
#

And give it to the next person

unique crane
#

My foob

upper vapor
#

cut it in half and give it to the previous person in the basement

hearty shard
#

whats that

upper vapor
hearty shard
#

i disagree

worn gull
#

d|b

hearty shard
#

thats not mirrored

#

doof

upper vapor
#

ahh

worn gull
#

Goofy

hearty shard
#

goof ball

unique crane
#

Ill have some semestral work with gitlab

hearty shard
#

david when role wrappers

worn gull
# upper vapor

Same stare as when the teacher says we will learn linux

unique crane
#

and I hope we can choose what we do cause in that case im giving them public labapi repo and calling it a day

worthy rune
hearty shard
unique crane
upper vapor
unique crane
#

im telling beryl

worn gull
tepid sluice
#

Leaking labapi update?

upper vapor
#

opening dotpeek immediately

tepid sluice
#

cool!

worthy rune
upper vapor
hearty shard
#

that was ax

worthy rune
#

doesnt matter

unique crane
#

and felt asleep almost

worthy rune
unique crane
#

I know ton of it already 😭

upper vapor
#

woah

worn gull
upper vapor
#

this is exactly what i envisioned for a settings system

restive turret
#

thats nice

upper vapor
#

maybe a bit more complicated thuogh

restive turret
#

πŸ”₯

#

can we have that next updoot

upper vapor
#

removing secretapi NOW

hearty shard
unique crane
#

We are replacing eve with this one

hearty shard
#

NO

#

PLEASE

upper vapor
#

oh this is really just a wrapper

#

and not a rewrite of SSSS

unique crane
#

get out

upper vapor
#

:(

restive turret
#

goofbyte eve

hearty shard
#

actually

#

i dont like this!!!

#

not abstract!!!

#

mine is BETTER

worthy rune
#

a few things, no docs(cuz lazy) everything is subject to change(not even a PR yet in LabAPI), has missing features like version

#

but feedback is needed especially for stuff that you think is missing

upper vapor
#

a rewrite of the original SSSS system is missing

hearty shard
#

um

#

how do you even make a setting

restive turret
#

new Setting();

hearty shard
upper vapor
#

what why do we have graphs in this

hearty shard
#

idk

upper vapor
#

riptide can you please stop using snake case in C#

hearty shard
#

why r setting ids getting reset per round

#

am i misunderstanding it

upper vapor
#

hollow

hearty shard
#

oh

#

i see

worthy rune
#

Heres just a small example

public class MySettingsPage : PageModel
{
    public HeaderModel Group { get; } = new(...);

    public ButtonModel MyButton { get; } = new(...);

    public MySettingsPage()
    {
        MyButton.Updated += OnButtonUpdated;
    }

    private void OnButtonUpdated(PlayerButton button)
    {
        if (button.IsPressed)
          button.Player ...
    }
}

Plugin entry

ServerSettings.AddToGlobalPageDropdown(new MySettingsPage());
ServerSettings.SendToAllPlayers();
hearty shard
#

oh wait a minute

#

it IS abstraction

#

oh

#

em

#

gee

#

i would have cried otherwise!

worthy rune
#

its a high level system, not really a wrapper itself

hearty shard
#

i also feel like pages should be sorta handled client side

#

like server tells the client what is a page and what it contains and then client can handle itself

#

cuz then you dont need to pin keybinds on every page

icy knoll
#

sorry guys, just a question, do players have to be online to get their SSSS values if they are set to server only?

worthy rune
#

paged example

public class DonatorPerksPage : PageModel
{
    public PageDropdownModel<PageModel> Perks { get; } = new(null, "Perks", new PageModel[]
    {
        new DonatorPerksHomePage(),
        new PlayerPage(),
        new BadgePage(),
        new GlowPage(),
    });

    public PlayerSelectionModel PerksResults => Perks.SelectedSettings; // results of page selection wont be visible otherwise, can be reordred if you want ot display it elsewhere

    public override string ToString() => "Donator Perks";
}
hearty shard
upper vapor
#

so keybinds would be handled regardless of viewed page

worthy rune
worthy rune
#

just add keybinds to the keybinds page

upper vapor
#

so

#

they will be visible at all times?

worthy rune
#

they are sent when the player closes their SSS Tab

#

and hidden when they open it

hearty shard
#

oh

worthy rune
#

just do ServerSettings.AddToKeybindPage()

hearty shard
#

aajajajajajaajaja

#

ok makes sense

worthy rune
#

reason i didnt implement anything base game, was because i wanted something that works now

hearty shard
#

@rugged laurel ^^ for your keybind system could do smth like this instead of what we discussed in dms

#

ppl using this is gonna break secretapi

#

im gonna rage quit

upper vapor
#

omw to move to base-game settings

hearty shard
#

i do like that this system handles keybinds nicer

worthy rune
hearty shard
#

by just sending them on close

worthy rune
#

i think its possible, but would requires some base game changes

hearty shard
#

yea it has a lot of caveats

upper vapor
#

it's done for

hearty shard
#

MAKE MENU SYSTEMS CLIENT SIDE

#

PLEASE

upper vapor
#

yea

hearty shard
#

thats all i could ever ask for 😭

grand flower
#

Doubt we'll see clientside modding

upper vapor
#

clientside

tepid sluice
#

mod

hearty shard
#

Guh

upper vapor
#

instead of the server resending the current page

grand flower
#

Ah

#

That

hearty shard
#

ya

grand flower
#

okay I see

hearty shard
#

rn you have to either pin the keybinds or show/hide on tab close/open

celest thorn
upper vapor
celest thorn
#

;(

#

so sad

#

Oh wait

#

its a menu

#

type sss

#

i already made that

upper vapor
#

it's a hack

celest thorn
upper vapor
#

genius idea to receive every setting when the player joins

#

hoist all settings to the top

#

get the values

celest thorn
#

that's honestly smart asf

upper vapor
#

and resend only the current page

celest thorn
#

i didn't think about that

#

I have the same issue

worthy rune
upper vapor
#

what

#

right cuz

#

backing fields are generated by the compiler

#

and the order is not preserved

worthy rune
#

is that the reason

upper vapor
#

that's my guess

worthy rune
#

honestly it just puts all the fields at the front for no reason

#

if you mix fields/properties

upper vapor
#

yeah probabyl the compiler being the compiler

hearty shard
#

guh

#

anyway rework SSSS entirely thanks!!!!

upper vapor
#

i agree

hearty shard
#

tbf its decent, just needs some stuff

worthy rune
#

IEnumerables of ISettingsNodes(thats SettingModels/Pages) e.g. List<ButtonModel>, List<List<ButtonModel>> and Dictionaries with Keys as Players and Values as ISettingsNodes or IEnumerables of ISettingsNodes e.g. Dictionary<Player, List<TextBoxModel>> are valid inside pages. the former is just flattened inplace, and the latter is a special case where you have to generate settings based on the player(that is there is no setting commonality between different players). it shows only the settings for the player in the dictionary. its only for very special cases. most of the time you can get away with a player filter or player transform

#

also another departure from the base-game system is that if you dont provide an id, it will default to a server side only setting and use a runtime generated id instead. it will not hash the label for its ids

worthy rune
hearty shard
worthy rune
#

fair

worthy rune
# upper vapor departure?

well base-game you can specify the id and server side property separately, thats impossible todo with this system