#plugins-dev-chat

1 messages Β· Page 76 of 1

slender lynx
#

you dont close spaces

celest thorn
#

im not kidding

#

time to fork and fix it

icy knoll
#

HAHAHAHHAA

celest thorn
#

SO I WASN'T CRAZY

icy knoll
celest thorn
#

idc

#

im doing mine

#

with just this fix

#

i cannot believe i spent 30 minutes

#

not understand

#

checking up indent tag

#

i see this

#

so you are telling me for 2 years none has ever used indents

#

im amazed

restive turret
#

Ye

celest thorn
#

like indents are cool

restive turret
#

I dont use ruei or hsm so

#

Hints arent my thing

celest thorn
#

they are obsolete

#

someone knows why they are so separated between eachothers

restive turret
#

Appendline is

string + \n

#

Check if rueied8eue has some sort of hint builder

celest thorn
#

yes it has that

#

but its not a bit too much?

#

like from the code it seems fine

restive turret
#

The default line separation is that value duh

slender lynx
slender lynx
#

@true cedar was there any issue with line spacing in v2 if you remember nvm we just gotta calculate line height ourselves

true cedar
#

oh

#

u shouldnt havr to

#

but i do wanna figure out what the size spacing issue was

#

@hearty shard grrr help me

hearty shard
#

What

#

What do u want

true cedar
#

fix the issue for me

#

bitch

hearty shard
#

U fix it

#

I hate math

true cedar
#

get to work!!!!

hearty shard
pallid galleon
#

Does anyone know what a good way to get a pinged player would be - like if 079 pings a player they can damage them?

#

Can't see anything in the event args for pinged player but I guess you could get if the ping type is a human, then find the closest human to the ping location

hearty shard
#

Patch troll

true cedar
#

@celest thorn how'd you fix the issue with the out of bounds

grand flower
#

Closest player, you can even use the normal to find the closest player in the direction of the ping

true cedar
#

ONE EM

#

ISN'T EQUAL TO 34.7 PIXELS

#

WHAT THE FUCK??

#

if you do a size tag, ig it changes what an em is

#

which is insanely fucking dumb

#

and because i do everything in ems to not go over the hint size limit

#

mystery solved now to figure out wtf causes that flashing

#

and what causes the offset issue

slender lynx
#

still looking for different fixes regarding LineHeight, seems to be 18px minimum

true cedar
#

wdym

slender lynx
#

between each new line

#

its always 18 px

#

and ive been trying for like 4 hours to get it closer together

slender lynx
#

it seems to be around 12.xyz

#

boutta get BANNED

true cedar
slender lynx
#

trying DEFAULTHEIGHT as 10f and EMSTOPIXELS as 16f

true cedar
#

huh

true cedar
#

the size of an em changes if there's a size tag

#

but that's not the case with pixels

slender lynx
#

could probably update the em with just checking the hintsize

true cedar
#

i could but

#

thats

#

hard

#

and unpredictable (idk how it determines the size)

slender lynx
#

uhhh

#

youd prob have to have anything that uses it reference back to a method

#

but like

#

that would break everything for any current users

true cedar
#

nah

#

i just have to change how the tags are added

#

im glad its easily fixable thank god

celest thorn
#

Like im wondering how do people in ruei v2

#

combat the 44.7 line-height

upper vapor
#

Mag.ServerModifyAmmo(1)

upper vapor
celest thorn
#

i fully migrated to v2

#

BUt

#

there's a force coded line-height

upper vapor
celest thorn
upper vapor
celest thorn
#

like alot of people fixed it

#

i've seen none complain

#

but how they fixed it?

upper vapor
celest thorn
#

but how does this even help?

icy knoll
#

lol

#

or the center ig

celest thorn
#

im trying so hard

#

to fix this

#
        float line = (Size / 34.7f) *  40.6640648767f;
        
        StringBuilder sb = StringBuilderPool.Shared.Rent()
            .SetIndent(Position.x)
            .SetLineHeight(line)
            .SetAlignment(Align)
            .SetSize(Size);

        OnRender(display.Hub, sb);

        sb.CloseIndent();
        sb.CloseLineHeight();
        sb.CloseAlign();
        sb.CloseSize();
        
        return StringBuilderPool.Shared.ToStringReturn(sb);
#

that it does work

#

but sometimes snaps

#

for idk what reason

#

Oh my god

#

i figured it out

#

im going to cry in a corner

icy knoll
#

what are you even tryna do

celest thorn
#

i fixed it

#

but but

#

but

#

Chat still likes to make it snap

icy knoll
#

like whenever there is a new message, the messages move?

celest thorn
#

when it gets deleted

icy knoll
#

show a video or smth

celest thorn
#

yea give me a sec

#

because im so near rn

#

that i could cry

#

its from yesterday that im trying to fix this

#

idk what i did

#

but its fixed

#

like

#

don't ask me

icy knoll
#

ok i won’t

celest thorn
#

OH

#

i figured it out

#

there was a \n and a space in each one of Placeholders for the messages

#

and it bugged out the ui

upper vapor
#

bruh

celest thorn
#

because it was adding in some of them

#

BRUH

#

im going to shoot myself

#

Meow didn't had the issue probably sanitized

#

and instead ruei being more raw

#

didn't

#

and so yippe

#

im going to cry

#

i can rest in peace

#

im going to bed

upper vapor
celest thorn
#

btw the hardest wasn't this

#

but making temp registered UI elements

#

i needed to save a screen and everything

#

like it was hell

#

but modifying it its simple the logic behind it is complicated but scalable

#

i just cannot believe it works

celest thorn
celest thorn
#

not only for one

upper vapor
#

Then

#

Extension method

celest thorn
upper vapor
#

Apply it to every line

celest thorn
#

i just moved it in another position

#

but i will test

teal junco
#

why are people in exiled always requesting the most evil ass plugins

celest thorn
#

example?

#

im curious

#

last channel i checked was general

#

because inzi pinged me

teal junco
#

ive seen people asking for p2w plugins

#

and now the ability to blacklist certain steamids from scp

grand flower
#

whats wrong with a blacklist

hearty shard
#

its actually a valid request

grand flower
#

wish I was permitted to implement one for some of the idiots i had to deal with lol

hearty shard
teal junco
grand flower
#

Not really your problem though is it

#

If they make their server ass to play on DogKek

teal junco
#

never said it was, i just find the possibilities funny

#

its kinda like, i only get one piece of the puzzle and i get to invent the rest in my mind

modern lark
#

Is it possible to <font=NotoSans-RegularDynamic>TextFont</font> ?
Wonder if anyone tried this already

icy knoll
upper vapor
modern lark
upper vapor
#

There are many in the game files but some aren't added to the font store or whatever

#

Like RobotoMono

modern lark
#

aw :c

#

I'm gonna look for the list of available fonts then

celest thorn
#

Wait you can use font?

upper vapor
# modern lark I'm gonna look for the list of available fonts then

fake receipt.ttf
LiberationSans.ttf
NotoEmoji-Regular.ttf
NotoSansArabic-Regular.ttf
NotoSansArmenian-Regular.ttf
NotoSansEthiopic-Regular.ttf
NotoSansGeorgian-Regular.ttf
NotoSansHebrew-Regular.ttf
NotoSansSymbols-Regular.ttf
NotoSansThai-Regular.ttf
olivers barney.ttf
PerfectDOSVGA437.ttf
Roboto-Black.ttf
Roboto-BlackItalic.ttf
Roboto-Bold.ttf
Roboto-BoldItalic.ttf
Roboto-Italic.ttf
Roboto-Light.ttf
Roboto-Medium.ttf
Roboto-MediumItalic.ttf
Roboto-Regular.ttf
Roboto-Thin.ttf
Roboto-ThinItalic.ttf
Roboto-Thin_0.ttf
RobotoCondensed-Bold.ttf
RobotoMono-Bold.ttf
RobotoMono-BoldItalic.ttf
RobotoMono-Italic.ttf
RobotoMono-Light.ttf
RobotoMono-LightItalic.ttf
RobotoMono-Medium.ttf
RobotoMono-MediumItalic.ttf
RobotoMono-Regular.ttf
RobotoMono-Thin.ttf
RobotoMono-ThinItalic.ttf
Teko-Light.ttf
Teko-Medium.ttf
Teko-Regular.ttf
Teko-SemiBold.ttf
VCR_OSD_MONO.ttf

#

idk

celest thorn
#

Wait you can change to use this fonts??

upper vapor
#

i don't know

#

you can try ig

celest thorn
#

i don't think

celest thorn
#

last time i tried it didn't

modern lark
upper vapor
#

yep that happens in RA at least

#

they might work in hints

celest thorn
#

i can test rn

#

so i just do

#

<font= fake receipt></font>

modern lark
#

with ""

#

or without ?

#

idk

#

will try both

celest thorn
#

it doesn't matter

#

im changing it in the config

upper vapor
#

with quotes as per docs

#

but if you know tmpro

#

anything may be possible

celest thorn
#

even the impossible

restive turret
celest thorn
upper vapor
#

xd

celest thorn
#

im trying ""

upper vapor
restive turret
celest thorn
#

nope

upper vapor
#

what

celest thorn
modern lark
#

wot

celest thorn
#

let me check with another one

restive turret
#

Comic sans

celest thorn
#

100% work

upper vapor
#

100% blame NW

celest thorn
#

yep

#

its nw fault

#

im trying with Roboto Black

modern lark
#

It's my fault πŸ˜”

celest thorn
#

not with the name of the file

upper vapor
#

at some point i could have robotomono in the RA
and as i was updating the plugin
they fucking broke it

celest thorn
#

but like how you do in Css

upper vapor
#

darn unity

celest thorn
#

nope

upper vapor
celest thorn
#

We should ask the best man in this server

#

MR David

#

πŸ™ please add it :3

restive turret
#

Tag lumi

celest thorn
restive turret
celest thorn
#

why lumi?

#

lol

#

she is QA and Web dev

#

i think the best to ask is a dev

#

lol

upper vapor
#

<font="amogus>
why can TMPro parse this

restive turret
celest thorn
#

me rn

upper vapor
#

"just give me 1 second to transfer your call"

celest thorn
upper vapor
restive turret
celest thorn
#

no client explosion with 20k

#

150 fps :3

restive turret
#

Try spawn ushort.maxValue obj

celest thorn
upper vapor
#

did you mean ulong.MaxValue

celest thorn
#

i don't think thats going to save the server

restive turret
celest thorn
#

ushort.maxvalue

#

thats really heavy

upper vapor
celest thorn
#

byte.maxvalue

restive turret
#

I would say a joke

restive turret
celest thorn
restive turret
celest thorn
#

if you want lol

#

why asking me

restive turret
celest thorn
#

honestly

#

i wasn't expecting and i giggled

#

so

#

yea its funny

terse bone
#

you will have to find the material

#

Ig you can search for it with AssetRipper or something

celest thorn
#

wait let me check

#

if we can compile a list

#

that would be amazing

upper vapor
#

omg

celest thorn
#

im joining and testing

#

so

#

lets hope

#

Nope

upper vapor
#

works for me

celest thorn
upper vapor
#

because you escaped it

celest thorn
#

let me test

upper vapor
#

this might be the issue

modern lark
#

no way, I'll try too, been testing for hours lmao

celest thorn
#

like it doesn't work for me

modern lark
#

it works omg

upper vapor
celest thorn
#

broadcast works

#

for me too

upper vapor
#

does it not work with hints

celest thorn
upper vapor
#

you know why

#

becaquse that's not the default font

#

for hints

celest thorn
#

...

upper vapor
#

tried already, no l,uck

celest thorn
#

yes with broadcast it works

#

lets migrate from hints to broadcast

modern lark
#

This is bugging me

upper vapor
#

the have the fonts directory named "_Fonts"

celest thorn
#

I beg nw

upper vapor
#

even then, doing "_Fonts/Roboto" doesn't work

celest thorn
#

so we can do whatever we want

upper vapor
#

lΓ©eak the font assets

celest thorn
#

Who tf cares about that

#

i want to write random shit in the screen with fonts

upper vapor
#

duh

icy knoll
celest thorn
#

so go fix it :3

#

please

upper vapor
#

she's department?

icy knoll
upper vapor
#

hi department

celest thorn
#

shit

icy knoll
#

grrrr

#

ax

celest thorn
#

wtf

upper vapor
#

yes

#

πŸͺ“

celest thorn
#

axe

icy knoll
#

WHY DID U BRING OUT AN AXE

#

UR MEAN

celest thorn
#

πŸ‘© πŸšͺ πŸͺ“πŸ‘¨

upper vapor
icy knoll
#

ur name is ax

#

smh

celest thorn
#

axewabo

upper vapor
#

grandpa

upper vapor
grave eagle
celest thorn
upper vapor
celest thorn
#

from axe

#

to the Shining

grave eagle
#

What the fuck

celest thorn
#

in one second

tulip kiln
#

Does anyone know why ExplosionUtils.ServerExplode just doesn't damage anyone?

hearty shard
#

can u show ur actual code

tulip kiln
#

public static void ServerExplode(Vector3 position, Footprint footprint, ExplosionType explosionType)

hearty shard
#

it should be fine

tulip kiln
#

I'll do in a second

hearty shard
#

do you deny ExplosionSpawningEventArgs ?

tulip kiln
#

No

#
public void ExplodeOnDeath(PlayerDeathEventArgs ev)
{
    if (ev.OldRole != PlayerRoles.RoleTypeId.Scp173)
        return;

    Footprint scp173Foot = new Footprint(ev.Player.ReferenceHub);

    ExplosionUtils.ServerExplode(ev.OldPosition, scp173Foot, ExplosionType.Grenade);
}
hearty shard
#

do you have exiled installed

#

or purely labapi

tulip kiln
#

purely labapi

hearty shard
#

i dont know then kek

#

maybe its because of the players role

#

since theyre dead

#

but that should still work

tulip kiln
#

I tried changing the footprint's role but it still didn't do damage

hearty shard
#

you could always spawn the grenade urself kek

celest thorn
#

Or do the effect

upper vapor
#

are they spectator at this point

celest thorn
#

And apply the damage

tulip kiln
hearty shard
#

since death event

#

and spectators should be able to kill everyone and everything

upper vapor
#

this works for me

tulip kiln
terse bone
#

lmao

upper vapor
#

bruh

celest thorn
#

Same this morning

#

Not working

#

Video works

#

Magic

royal mica
#

wait wait

#

weren't there someone with the same problem

#

and you needed to do it 1 frame later

upper vapor
#

yeah i rember

royal mica
#

due to some frame issues

#

being invincible to your own grenade or something?

upper vapor
#

this one?

royal mica
#

like literally just putting in a

Timing.RunDelayed(0f, () => {
    ExplosionUtils.ServerExplode(ev.OldPosition, scp173Foot, ExplosionType.Grenade);
});
hearty shard
#

the issue isnt being invincible to ur own grenade

#

its everyone being immune to it

#

apparently its fixed

royal mica
#

fixed what

hearty shard
#

the grenade not doing damage ?

royal mica
#

Well that fix is not going to be out for a while lol

restive turret
#

14.1.2

hearty shard
#

it was

restive turret
#

In 2025 08 30

hearty shard
#

they made it do damage, theres no basegame bug for grenade damage afaik

upper vapor
#

because of this

#

@tulip kiln

#

just do what Sqbika said

tulip kiln
#

Why do normal thrown grenades work though

#

Like you'll die shooting if you stand on a nade

upper vapor
#

it doesn't happen during the processing of a shot

tulip kiln
#

ohh

upper vapor
#

i should make a "hall of fame" site for these quirky little things that people sometimes come across

#

like "this happens"
[short explanataion]
[fix]
[long explanation]

heady turret
#

how can i get a room on what elevator located?

hexed girder
#

Does anyone know how to disable the decontamination gas after it has already started?

heady turret
#

how can i get current room?

upper vapor
#

Oh

#

Elevator.LastDestination

#

If it doesn't exist, it's elevator.Base._lastDestination

#

Or lastKnownDestination

heady turret
#

i dont can get room

#

from that

worthy rune
#

what does it return

heady turret
worthy rune
#

try door.Rooms.First()

heady turret
worthy rune
#

can i see the code

heady turret
upper vapor
#

Should be good if the elevator is stationary

worthy rune
#

elevator.CurrentDestination.Rooms.First() should also work

upper vapor
#

Isn't there like a current destination prop

#

Was gonna say

restive turret
#

If elevatorMoving
wait
Run check again

upper vapor
restive turret
#

Real

#

It will gonna stop

#

At some point

celest thorn
#

And go back to exiled

hexed girder
celest thorn
#

Btw i saw on exiled someone playing with elevators saying there’s a prefab for them like i’ve never seen it and its usable?

hexed girder
#

console war: Disagree
framework war: Agree

celest thorn
#

Exiled is dead asf

#

And i was the first one glazing exiled but nw really did a good job

#

Labapi and SSSS are still probably the best things they did

#

In a long time

spare zodiac
slender lynx
hearty shard
spare zodiac
spare zodiac
celest thorn
#

elevators have culling

slender lynx
#

zurna did it

#

hold on

hearty shard
#

pretty sure u can spawn them

#

or maybe u cant anymore

slender lynx
#

you can teleport

#

but they dont work

#

so its useless

celest thorn
celest thorn
#

elevators from 13.0 have something called Elevator Group

#

and is settable because nw wanted something scalable for the future

#

(which was heavy elevators)

upper vapor
royal mica
spare zodiac
spare zodiac
upper vapor
#

Cuz she's dumb

hearty shard
spare zodiac
#

alr

royal mica
#

it's the same, thing, It could be named Special Sardine Swimming Session xdx

upper vapor
#

The sync thing is just a class

hearty shard
#

yea

upper vapor
celest thorn
#

they have Group and Destination

spare zodiac
# celest thorn

was the whole thing teleported or like only the lower part?

celest thorn
#

you can just do it in 30s

spare zodiac
#

no like generally how do elevators work in SL

celest thorn
#

elevators have an Enum

#

telling them

#

yo

#

group

#

see

royal mica
#

I find it interesting, that is not just a two vector destination implementation

spare zodiac
#

is it dynamically on position?

celest thorn
upper vapor
royal mica
#

what if elevator refactor, have an array of ElevatorDestnation NetworkHBehaviour, and the elevator can rotate between them

restive turret
royal mica
spare zodiac
#

so could you theoretically move only down or up part of elevator?

upper vapor
celest thorn
spare zodiac
royal mica
spare zodiac
#

NotEnoughToys

royal mica
restive turret
#

Yes

spare zodiac
#

XDD

celest thorn
restive turret
#

Aren't we always was?

spare zodiac
#

atleast you got the reference

royal mica
#

well duh

royal mica
#

I was there when it was written Oldge

celest thorn
#

WAIT

#

WHAT

#

ELEVATORS SUPPORT MULTIPLE FLOORS

royal mica
#

WHAT

upper vapor
spare zodiac
#

so why the fuck is not used?

celest thorn
restive turret
royal mica
#

WAIT YOU CAN MAKE A CAROUSSEL THEN?

restive turret
#

Cant really sync that to client right

upper vapor
royal mica
#

you can recreate London with London Eye

celest thorn
#

The elevator

#

the door

upper vapor
celest thorn
#

is taken by a list

#

so

#

in theory yes

#

but idk if desync

#

idk

spare zodiac
#

NW have the whole time chance to make 3 floor elevator and they just not pepehands

hearty shard
celest thorn
#

but i don't think

celest thorn
#

COOL FACILITY

upper vapor
royal mica
#

meanwhile servers already strugging with ppl camping elevators

spare zodiac
#

what would be the most great epic spot to move elevator to on surface?

upper vapor
#

We also need a VoidToy to remove geometry

royal mica
#

imo the more 3 directional movement there is, the better

celest thorn
#

OutsideSkyToy

spare zodiac
royal mica
#

BreakableToy

celest thorn
#

AntiPortalToy

#

FortniteToy

#

YourMomToy

royal mica
#

also a MeleeWeaponItem so we can play minecraft

spare zodiac
#

Bro why don't they make system where we can make our own toys?

restive turret
#

NpcToy

upper vapor
celest thorn
untold raft
#

Secret elevator to pocket dimention XD

restive turret
spare zodiac
royal mica
celest thorn
#

if i can figure it out

#

How to spawn elevator

restive turret
#

We need mekee

celest thorn
#

i can do it

spare zodiac
celest thorn
#

and i will implement client side elevators too

royal mica
#

We are slowly getting there

restive turret
#

Slowly

spare zodiac
celest thorn
royal mica
#

I wonder if CS surf can be reimplemented

restive turret
#

Frozen in the time and space

celest thorn
spare zodiac
celest thorn
#

the game checks for a Door in a list

restive turret
#

R u sure

celest thorn
restive turret
#

Please create an elevator

#

Wait that means

celest thorn
restive turret
#

You can potentially make a client side elevator?

#

:troll;

spare zodiac
#

if you figure how to spawn elevator you must share the amount of things that can be made through this would be insane

upper vapor
spare zodiac
#

"personal elevator" type shit

restive turret
#

Real

celest thorn
#

honestly

#

i need to scan the Prefab list

#

again

restive turret
spare zodiac
#

are elevator moves handled by server only and sent to clients?

celest thorn
#

they are server side for this

#

100%

spare zodiac
celest thorn
#

and they move it on the server

restive turret
#

@spare zodiac no personal elevator then

celest thorn
slate flume
#

Hello!
Quick issue
I want to spawn an explosion when a player dies
Currently, the explosion I spawn doesn't do damage, even if I set ForceFullFriendlyFire to true in the PlayerHurtingEvent
I've tried both TimedGrenadeProjectile.SpawnActive and ExplosionUtils.ServerExplode
I suspect this means the problem is the player footprint, but I would be unsure why as I did a method of storing the footprint in the ChangingRole, and then grabbing that footprint in the ChangedRole

celest thorn
#

and its synced

spare zodiac
slate flume
#

My whole thing is it doesn't work

restive turret
#

Wait 1 frame

spare zodiac
#

the grenade doesn't do damage?

spare zodiac
slate flume
spare zodiac
#

why

#

xd

upper vapor
#

Read the messages there

slate flume
#

Fucking

#

Bitch

#

I forgot that hitreg sucks ass

upper vapor
#

Yeah

restive turret
#

Elemao

spare zodiac
slate flume
#

I forgot what I did 😭

upper vapor
#

Who's Elemao

spare zodiac
#

he's @ hubert

celest thorn
#

wtf

#

no thats not italian

upper vapor
slate flume
upper vapor
#

XD

#

Γ–lΓΆmfaaΓ³

celest thorn
#

boys we got it

#

prefab

upper vapor
slate flume
#

I love how I had a whole conversation about this problem last month and then completely forgot

celest thorn
#

have alot of fun

slate flume
#

I was rewriting my code from the ground up for the classes so I needed to re-figure out the solution

slate flume
#

The problem is so mind-blowingly stupid to me that it never crossed my mind that it would happen

upper vapor
# celest thorn I will

I'd cry if it worked
Not because of happiness
But because I haven't been able to figure it out myself

slate flume
#

You have to admit it's pretty crazy that they just disable hit reg when a player is shooting

celest thorn
#

Canceled

#

Sadly ElevatorDoor it checks for the type

#

;(

slate flume
#

@upper vapor you're the GOAT

static osprey
celest thorn
#

the goat editor

slate flume
#

So meoweditor is like MER but with hyper-optimization?

celest thorn
#

20k prim 150 fps

#

:3

restive turret
celest thorn
restive turret
#

Patch

celest thorn
#

of work

#

and not even worth it

#

one update and everything is gone

slender lynx
celest thorn
slender lynx
#

tested it with rhets cube of doom

celest thorn
slate flume
#

So uh

#

Question

#

Why is player.EnableEffect<Ghostly>(); not working?

slate flume
#

case 4 code happens in changedrole event

#

Which calls CreateZombie which runs the enable effect after a 1 second delay

hearty shard
#

should be fine

slate flume
#

I did the 1 second delay to make sure role initialization wasn't fucking up the effect

slate flume
hearty shard
#

afaik it works

slate flume
#

I'm telling you it doesn't

#

I have the game launched and plugin on with it actively not working

hearty shard
#
if (statusEffectBase is Ghostly)
                {
                    if (!statusEffectBase.IsEnabled)
                        continue;

                    statusEffectBase.Intensity = 0;
                    Timing.CallDelayed(0, () => statusEffectBase.Intensity = 1);
                }
#

this is my code and it works

#

although that implies you already had it before escaping

hearty shard
slate flume
#

Yes

#

Awwww what the hell

#

What the fuck

#

I know the problem

#

I'm just stupid as hell

#

RIP Bozo

hearty shard
#

GUH

slate flume
#

Nothing makes me feel more inferior than making these kinds of mistakes in front of people

icy knoll
slate flume
tulip kiln
severe cave
#

How much does the radio battery drain normally?

restive turret
#

DeltaTime * range * somearbitraryNumber

thin shuttle
hearty shard
#

its required there

#

i tried without

#

you need the frame delay to let client disable ghostly properly so you can enable it

thin shuttle
#

That stupid

hearty shard
#

well

#

not my fault its like that

#

unless nw fixed it

#

but i tested in 14.1

slate flume
#

Then I come in here and ask "Why isn't my code working" and then wait an hour for some guy smarter than me to look at my code and go "Haha idiot"

#

And it's totally deserved cause I'm stupid

#

Like literally bro

#

Why do I do this to myself

#

Sitting here like "Why isn't my code working :("

#

For context I know the problem

#

I'm just laughing at myself because it's really obvious in retrospect

restive turret
slate flume
restive turret
#

No u should be using
ToFrozenCollection

slate flume
#

Are you being fr?

restive turret
#

Real

slate flume
#

I don't have .ToFrozenCollection

hearty shard
#

its fine

terse bone
#

.ToList() is faster in .net framework trolling

restive turret
#

Dont remember the exact name

slate flume
terse bone
#

use toarray and dont care SteamHappy

slate flume
#

Should I use array or list

#

Or something else

hearty shard
#

array !!!

#

or list

#

it doesnt matter

restive turret
#

HashSet

slate flume
#

Cool

#

So three conflicting answers

#

Lovely

#

Lmao

restive turret
#

I trolling you

celest thorn
#

someone knows why tf C# doesn't love me enough to remove this

.Replace("\\n", Environment.NewLine);

and instead leaves \ + new line

hearty shard
celest thorn
restive turret
#

Idk

#

I dotn even know what u do

#

9r what its generated

celest thorn
#

Its inside a component

#

and its written on unity

#

probably for some reason unity decided to add this

#

but this bugs out the hint system

hearty shard
#

i think its in ClearItems()

#

so just go array, nw knows best

restive turret
#

Or list

#

It really doesnt matter

slate flume
restive turret
#

Preference

slate flume
#

If they both have the same system performance, you could argue .ToList(); is more efficient because it's one less character, and thus saves you time in development

teal junco
hearty shard
hearty shard
#

theyre slightly different

#

theres also listpool troll

slate flume
#

I'll kill you

hearty shard
#

idk!

restive turret
#

.AsReadOnly();
.ToFrozenSet();
.ToImmutableList();

hearty shard
#
| Method  | Size   | Mean          | Error        | StdDev       | Gen0     | Gen1     | Gen2     | Allocated |
|-------- |------- |--------------:|-------------:|-------------:|---------:|---------:|---------:|----------:|
| ToArray | 10     |     166.31 ns |     1.013 ns |     0.947 ns |   0.0484 |        - |        - |     305 B |
| ToList  | 10     |     193.17 ns |     1.248 ns |     1.168 ns |   0.0446 |        - |        - |     281 B |
| ToArray | 100    |     965.26 ns |     8.436 ns |     7.479 ns |   0.2594 |        - |        - |    1637 B |
| ToList  | 100    |   1,032.99 ns |     4.144 ns |     3.876 ns |   0.1984 |        - |        - |    1252 B |
| ToArray | 1000   |   8,377.61 ns |    39.382 ns |    36.838 ns |   1.9836 |        - |        - |   12509 B |
| ToList  | 1000   |   8,665.62 ns |    57.777 ns |    54.045 ns |   1.3428 |   0.0153 |        - |    8514 B |
| ToArray | 10000  |  81,576.33 ns |   923.478 ns |   863.822 ns |  26.9775 |   5.3711 |        - |  171755 B |
| ToList  | 10000  |  83,476.64 ns |   410.694 ns |   342.948 ns |  20.7520 |   4.0283 |        - |  131606 B |
| ToArray | 100000 | 830,624.20 ns | 4,536.991 ns | 4,021.924 ns | 399.4141 | 399.4141 | 399.4141 | 1452144 B |
| ToList  | 100000 | 945,017.84 ns | 7,921.731 ns | 6,615.004 ns | 285.1563 | 285.1563 | 285.1563 | 1051184 B |
#

use this and determine it kek

#

array like a few extgra bytes but list is a few extra ns mean whatever that means:
The ToArray method is, on average, 10% faster than ToList in .NET Framework 4.8.

celest thorn
hearty shard
celest thorn
#

btw someone at unity should be shot

#

why use \\n for new line when you can just do \n

#

WHY

#

WHY

#

its so unpredictable unity

restive turret
#

Probably because some text Field are escaping the \ character?

celest thorn
#

oh i didn't think about that

#

but still why

#

just not directly serialize it like \n

restive turret
#

To un-escape

#

πŸ’€

celest thorn
#

i know

#

but when saving it escape it lol

restive turret
#

Better would be &

celest thorn
#

i added one line just for this case

#

so it works fine

restive turret
#

Or like
%0x45

celest thorn
#

and with this the hint system should not bug out and jitter

restive turret
#

(when zero realize it's still bugging out and jittering)

celest thorn
#

i will cry

#

and uninstall this game

#

but i tested ALOT of cases

restive turret
#

I offer you my shoulder

celest thorn
#

AND IT DOESN't

#

every hint

#

everything

#

every possible

#

all of them

#

so it works

#

if like there's not the secret shit that destroys everything and i don't know

#

unknown until now

#

thats not a problem my future self will solve it

restive turret
#

Game secretly update removing hints

celest thorn
#

for now it works fine with every use vase

celest thorn
restive turret
celest thorn
#

So the backlash would be so massive

#

that they need to replace it

#

With UI system

#

and everyone is happy

upper vapor
upper vapor
unique crane
#

Haii

pallid galleon
#

Anyone know how I can get/set 079's power?

hearty shard
#
if (Scp079Role && replacer.RoleBase is Scp079Role scp079Role)
                {
                    if (scp079Role.SubroutineModule.TryGetSubroutine(out Scp079TierManager tierManager))
                        tierManager.TotalExp = xp;
                }
slate flume
hearty shard
#

well thats xp

#

you should be able to easily set tier

slate flume
#

Literally in the name

#

Peak

#

I'm tweaking out lmao

hearty shard
#

yw

celest thorn
#

Helo

plain gazelle
#

Im trying to change a weapons ammo type to a non-ammo item type.
But since non-ammo is stored in the main inventory, yet the reloading checks the ammo inventory, is it possible to allow weapon to start the reloading process, even if its desired ammo isnt in the ammo inventory? So that i can do my own main inventory check afterwards?
Or is it limited to clientside, and the client doesnt even try to reload if it doesnt have ammo present?

plain gazelle
#

Aw :(

restive turret
#

Try giving them 1 ammo

#

For that type

#

So they can always try reloading and you can just deny it

plain gazelle
#

yes ofc that works, but it feels weird for players always having 1 phantom ammo in their inventory xd

#

or i could only give and remove it while the weapon is out firHmm

unique crane
#

What you can do is bind the reload to SSS

plain gazelle
#

hmmm

unique crane
#

put them ammo in the firearm

#

unequip and reequip

#

that will at least trigger the cocking animation

plain gazelle
celest thorn
#

they suck

unique crane
#

Β―_(ツ)_/Β―

#

why

#

they are just keybinds

plain gazelle
#

I want new players to not need to set 20 bindings to properly play

#

x3

celest thorn
plain gazelle
#

yeah

celest thorn
#

for QA 30 minutes to explain how to set them up

#

and it was easy only 2 keybinds

plain gazelle
#

Wish we could bind SSS per code to the actual game bindings, like the "Reload weapon" keybind. Or "Inspect item" keybind. So we could run our code with those bindings without needing players to bind them again, or even worry about other language keyboards

celest thorn
#

what you want to do is pretty easy

plain gazelle
#

PlayerEvents.Keybindings.ReloadWeapon
NW when pls

celest thorn
#

I think with reload and patience

#

you can perfect it

#

just block the reload and do it manually

#

thats what i did for alot of stuff like this

plain gazelle
#

but... but... animation....

celest thorn
#

and for non-ammo just patch it out ig

celest thorn
plain gazelle
#

o.O

#

what

unique crane
#

I think I had to edit client code for you to trigger reload anim?

unique crane
#

Or maybe that was just to make it public

#

yea

celest thorn
#

let me find the line

#

i know the line exist

#

because i used it

unique crane
#

What you need to do

#

With header being ReloaderMessageHeader

#

in ReloaderModuleBase or its subtypes

#

@plain gazelle

plain gazelle
#

uh

celest thorn
#

here for the automatic

plain gazelle
celest thorn
#

and you can copy and paste it

#

(obv tho you need the module)

unique crane
#

Yes

celest thorn
#

so you need the gun

plain gazelle
#

-# <-- feels very stupid rn
i think ill just leave it at "Its not possible" for me .w.

#

but thank you two anyway xd

celest thorn
#

you can do it

#

its possible

#

will is power

#

:3

#

(i know im schizo)

restive turret
celest thorn
plain gazelle
#

SL has multithreading o.O

celest thorn
#

its a joke

restive turret
#

no bc unity is only 1 threaded

plain gazelle
#

aw

celest thorn
#

this is for the query system

restive turret
#

query deez

celest thorn
#

but its funny in this alot of convos for multithreading

#

and sl has this

slate flume
#

Yooo I haven't even checked cause I'm laying in bed but anyone know off-hand if you can modify jump height/velocity?

slate flume
#

My bad I'm a little uh

#

What do you call it

#

Slow

#

I knew about the gravity controller I just never made the correlation in my mind that jump = gravity

grand flower
#

Why are you using Thread

#

Use Task

upper vapor
#

idk if i want to

#

do anything long-running xd

#

also, awaitables

#

are very cool

unique crane
grand flower
#

We do it fine for long running TCP sockets

untold raft
#

for server monitoring

upper vapor
upper vapor
grand flower
upper vapor
#

uh

grand flower
#

and it still stays in the background task