#plugins-dev-chat

1 messages · Page 130 of 1

hearty shard
#

if basegame had built in permission handling like how secretapi does so you dont need to manually handle sending other than just updating
and also menu system on client side

#

thatd be so cool

#

well actually if you were able to just send 1 setting to client at a time thatd be cool too

#

so if a new setting becomes available instead of sending all duplicates, youd just send the one

worthy rune
#

i removed that functionality in the API because setting a static id on a server side only setting is completely pointless, but someone coming from the base game system might not recognize that not setting the id is different semantically

worthy rune
#

would solve the problem i mentioned before

hearty shard
#

yeah

#

those 3 would fix ssss entirely i think

#

i mean wrappers would be cool still but less required

#

i still like my abstract way

rugged laurel
#

Wait is there another current way on live

#

Right after i finish my own page stuff Sadge

hearty shard
#

when the setting tab is closed

#

send all your keybind settings

#

when its open hide them and do the correct menu

rugged laurel
#

Oh ya i guess thats an option

hearty shard
#

riptide is doing that or smth

#

ServerSpecificSettingsSync.ServerOnStatusReceived

#

.TabOpen on the SSSUserStatusReport

upper vapor
#

probably yea

lusty fox
#

Thanks a lot for sharing this, Riptide! But now I’m wondering if I shouldn’t just wait until it’s available on LabAPI instead of integrating it into my API right now. Of course it’s hard to give an ETA, but would you say it’s likely to be available in the next version, or very unlikely?

unique crane
#

Nothing to promise

lusty fox
slender depot
#

Does LabAPI have any way to interract with SCP049's gate?

restive turret
#

yes

#

InteractingDoor

#

and you can check if the door is in room or the doorname of it

slender depot
#

I just meant it as in "How can I for example open 049's gate through code"

upper vapor
#

find the door

#

door.IsOpen = true

restive turret
#

ye basicly

slender depot
#

Bad thing is that it doesn't have it's own DoorName

upper vapor
#

then find all PryableDoors and

hearty shard
#

.name

upper vapor
#

check if it's in 049 room

hearty shard
slender depot
#

There are 2 gates

upper vapor
#

oh well

slender depot
#

that's the problem

upper vapor
#

check their gameobject names as eve said

spare zodiac
#

(best idea)

upper vapor
slender depot
#

I'm a dumbo

slender depot
#

What's the difference betwen Player::UserId and Player::NetworkId

#

?

hearty shard
slender depot
#

alright

hearty shard
#

networkid is the network assigned id to handle a player (i do believe its the player id you can see in RA)

#

its something

lusty fox
#

I dream of a world with an API where the server just says: "stick this thing on that head, camera, or random point"… and the client politely goes: "sure, I’ll make it follow around with position, rotation, and even pitch"—like a loyal puppy.

#

Do it, please. trolling

grand flower
#

lmao

obtuse spruce
shy karma
#

float t = Mathf.Clamp01(elapsed / duration);
Vector3 nextPos = Vector3.Lerp(start, target, t);
if (npc.RoleBase is IFpcRole fpcRole)
{
fpcRole.FpcModule.Motor.ReceivedPosition =
new RelativePosition(nextPos);
}

I tried this but the dummy hitbox is still off

worthy rune
teal junco
grand flower
#

trying to follow along Unreal's new networking system and it throws curveballs like this

warped prairie
#

2 very stupid questions, Does round restarting call OnPlayerLeft? and does the SpectatableVisibilityManager persist through rounds?

worthy rune
warped prairie
#

gotcha ty,

#

the SpectatableVisibility is the new thing where you can disable sombody being able to be spectated

worthy rune
#

ahh

warped prairie
#

but i assume if disconnect at end of each round it wouldnt persist so that answers 2 of my questions with 1 stone

worthy rune
#

yeah

warped prairie
#

ty Joe

worthy rune
#

kinda reminds me of mirror code with all the bitmasks

grand flower
#

which is fair

#

But yeah it's bitmasks and bitmasks and I'm all for it if it pushes performance a lot

worthy rune
#

makes sense

grand flower
#

I'm trying to figure out how to do something for my project and it's giving me headaches

#

like, I understand what they're doing pretty easily, but following along is hard

shy karma
# worthy rune looks good, but can i see the rest of the coroutine
        {
            while (npc != null)
            {
                Vector3 rot = npc.Rotation * Vector3.forward;
                rot.y = 0f;
                if (rot.sqrMagnitude < 0.0001f)
                    rot = Vector3.forward;
                rot.Normalize();
                Vector3 start = npc.Position;
                Vector3 target = start + rot * dist;
                target.y = npc.Position.y;
                Vector3 cubePos = target + new Vector3(0f, 1.5f, 0f);
                var cube = SpawnPrimitive(cubePos, Quaternion.identity, 0.5f);
                float elapsed = 0f;
                float duration = 2f;
                while (npc != null && elapsed < duration)
                {
                    elapsed += Time.deltaTime;
                    float t = Mathf.Clamp01(elapsed / duration);
                    Vector3 nextPos = Vector3.Lerp(start, target, t);
                    if (npc.RoleBase is IFpcRole fpcRole)
                    {
                        fpcRole.FpcModule.Motor.ReceivedPosition =
                            new RelativePosition(nextPos);
                    }
                    yield return Timing.WaitForOneFrame;
                }
                DespawnPrimitive(cube);
            }
        }
true cedar
#

bit of a feature demonstration

teal junco
#

!!

true cedar
#

im very proud of it

worthy rune
teal junco
#

I added parameters to my ruei patch. i will firstly test parameters on its own w vanilla hints and then try the ruei patch!

pallid galleon
#

Very impressive. I look forwards to seeing plugins using it so I can figure out how it works teehee

teal junco
#

so what do you want to do

pallid galleon
#

Uh well we're currently using HSM for an XP system plugin @warped prairie has made. But we've had some struggles with that. It seems to work pretty fine but the performance issues are a battle currently. It's hard to describe what exactly we need, but we just need a lot of hints on screen at the same time

#

Ill see if I have a sc in reserve

teal junco
#

well Ruei can certainly handle a lot of hints on screen at the same time xd

pallid galleon
#

This was from a while ago but we'd have xp events show up at the bottom of the screen, then stack ontop of each other and fade away

#

which worked... Until there was 30 players on the server doing a bunch of stuff

#

as well as hints for custom roles, custom items, showing effects etc

#

But anyway, we looked at the documentation before and couldn't figure out how REUI 3 worked

true cedar
#

ruei.

pallid galleon
#

partially because we're dumb but also because we're relatively new to all the plugin stuff

#

so we had nothing to go off of

true cedar
#

there'll be documentation for how to use ruei v3 eventually but the simple stuff is very easy

#

u just

#

RueDisplay display = RueDisplay.Get(player);
display.Show(new BasicElement(500f, "hello"), 5f);

teal junco
#

yeah

#

if you understand tags, those are also pretty helpful.

pallid galleon
#

I'll give it another look tomorrow. I think as soon as there's some example plugins out there it'll all click

true cedar
#

ill get one made eventually

#

i wanna make an example plugin that also doubles as like

#

an actual plugin

pallid galleon
#

I look forwards too it, keep up the good work!

true cedar
#

ty!

pallid galleon
#

It's definitely just a bit of being spooked to jump into the deep end with something new, which is tricking my mind into thinking it's way more complicated than it actually is lol

#

same stuff when I started using Unity after using UE for so long

#

then I just did it and it was all shrimple

teal junco
#

keybind params force DC for some reason, unsure if issue on my end or RUEI end. but it seems like item params work fine.

teal junco
pallid galleon
warped prairie
#

Yes

pallid galleon
#

But you can do 99.99% of things in UE through blueprint, then pretty easily port it to C++ if you need to, which you probably wont

warped prairie
#

Having used both c++ and C# for a variety of things. C# much nicer and cleaner

warped prairie
teal junco
#

just wondering

true cedar
#

prob a me issue

#

ill fix it before the official release

warped prairie
#

I mean just weaving it all
Together. I’m sure I’ll figure it all out eventually I just had basically 0 starting ground

grand flower
#

C++ hating heretics detected

true cedar
#

i am the no. 1 c++ hater

true cedar
#

and also its not even a proper iterator

worthy rune
#

you dont have massive packet loss do you?

shy karma
worthy rune
#

have you tested this with a real player instead, as in get someone real to join and they move on their own

shy karma
#

this is a fairly active eu pvp server

#

hitboxes work perfercly fine then but when it comes to dummies when they move well...

#

i think you see XD

worthy rune
#

yeah

grand flower
#

Time to decompile the game and see how it backtracks players, and then see if dummies are missing something that players have for backtracking purposes

#

have fun mmLul

upper vapor
grand flower
#

best movie ever

restive turret
upper vapor
#

However

#

Hsm said so

restive turret
#

Hollow Secret Makeup

celest thorn
#

HSM my beloved

tepid sluice
#

RueI v3 gonna come out

#

maybe i should change to it

celest thorn
#

And its already out

#

Its stable for what i’ve seen

#

Btw does someone know if we can force hints out of bounds

restive turret
#

Yes but they might just vanish

#

Or deleted

celest thorn
#

Enough to be good

#

Else im gonna punch the wall

#

I tried pos, indent

#

Everything but the go in just one place

upper vapor
upper vapor
upper vapor
celest thorn
#

Why tf my phone changed it to primitives

upper vapor
#

Xd

#

Check how RueI does it
Apparently it has native support for moving text out of bounds

#

(See the vid pai sent)

#

@true cedar how did you do that

celest thorn
#

It didn’t work

#

Because they were clamped in one location

upper vapor
#

-# Might be a skill issue

celest thorn
#

I did a dynamic hint

#

And just positioned it there with indents

#

But nope

late shoal
#

finally i can put stuff to the right side

restive turret
icy knoll
#

wait ruei v3 is out and stable? heck yeah

teal junco
#

its mostly stable but i think its not fully done

#

"stable" is on sept 30

icy knoll
#

oh yeah just seen the vid

slow pond
#

is there way to stop 106 sending people to pocket for custom role?

unique crane
slow pond
#

ahhh

#

makes sense

#

tanks

limber silo
celest thorn
limber silo
#

try again

celest thorn
static osprey
tulip kiln
#

Is there like a guide on how to use ruei? I've tried using it before, but got lost in trying to understand anything and went with HSM 😭

celest thorn
#

its like HSM

#

but 99% better

#

if you want i can try and help you / guide you

celest thorn
#

im bad

#

i tried using strudel again but bad

icy knoll
#

im sure the docs will come out by then

upper vapor
celest thorn
#

i swear im too stupid

upper vapor
celest thorn
#

to figure it out

icy knoll
hearty shard
#

v2 and v3 i kinda understand

icy knoll
#

@true cedar are you gunna add any more breaking changes between now and the 30th? if not ill probably start migrating over...

upper vapor
#

what the fucky

#

what are we supposed to see

#

-# i have no sound rn

hearty shard
#

yk?

upper vapor
#

i can't hear the sound

#

cuz i don't have speakers

#

atm

true cedar
#

then just use <align=left> or <align=right>

#

pos tags won't work with it tho so use something else

hearty shard
#

oh its actually "Daisy Bell"

celest thorn
upper vapor
#

right

hearty shard
true cedar
#

if you place them before the text you can get text in the far left side

#

place them after the text and it appears on the far right

#

well that and align tags

celest thorn
#

i will give it a try

#

ig

true cedar
#

for the most part it's gonna be a bunch of bug fixes

icy knoll
#

i’ll just take the risk and if you do i doubt it will be a massive change

celest thorn
#

and it looks fine

upper vapor
true cedar
#

:3

celest thorn
#

Btw paws i have a small issue using align the text doesn't really appear where i want it

#

so there's any way?

#

to like move it to the left without using the tag align?

restive turret
#

i like to move it move it

hearty shard
celest thorn
#

and the align works fine but the text in theory is from left to right

#

and not from right to left

true cedar
#

oh yeah u can't make it right to left or wtv

#

its a limitation of the hint system

celest thorn
#

example

restive turret
celest thorn
celest thorn
#

honestly

#

i have an idea

#

space

#

and alot of trials and errors

hearty shard
true cedar
#

shut up

upper vapor
#

align it to the right, add like -150px of space before the text

celest thorn
#

because there are stuff like text that can change

#

like player name

upper vapor
#

I was gonna say use the width tag but that probably doesn't work

#

Eh try it ig

hollow remnant
#

how to throw grenade in labapi?

restive turret
upper vapor
#

Well I do but it's not nearly as advanced as RueI

#

Plus I don't push text to the far edge of the screen

#

So I can just use align with no trickery

upper vapor
hollow remnant
#

thx

upper vapor
#

Np

rough tundra
#

How do you connect to a door interaction trigger when it's broken? PlayerEvents.InteractingDoor does not trigger

#

if there's no solution, how do you make a custom interaction object?

hollow remnant
upper vapor
#

oh you mean force throw the grenade in someone's inventory?

hearty shard
#

unbreak them

rough tundra
#

well, that's basically what I want to achieve

hollow remnant
rough tundra
#

I have the logic made, I just need to know how to trigger it

celest thorn
#

i tried removing and using align

#

<pos=115%>

#

but no

upper vapor
#

don't use pos

celest thorn
#

what should i use?

upper vapor
#

i have no idea how exactly ruei does it but you need to align it to the very right
then use negative space tags to bring it back

hollow remnant
#

hey, @celest thorn , can you help me pleaseeeee?pleaseee

celest thorn
#

Remove it from the inventory

#

and then get the camera and throw it

upper vapor
celest thorn
#

how do you combat negative?

#

with positive

#

it works with positive spaces

rough tundra
#

is there an event that triggers when a door breaks?

restive turret
upper vapor
#

-# that only tosses the grenade but not like a player would activate it

upper vapor
#

check Network_destroyed

restive turret
#

nah just destroy it agian

hearty shard
#

well

#

DoorEvents.OnDoorAction

tulip kiln
# hollow remnant throw from inventory forward in the direction the player is looking

I just do this:

public static class Grenades
{
    private static ThrowableItem _grenadeTemplate = null;
    public static ThrowableItem GrenadeTemplate
    {
        get
        {
            if (_grenadeTemplate != null)
                return _grenadeTemplate;

            if (!InventoryItemLoader.TryGetItem(ItemType.GrenadeHE, out _grenadeTemplate))
                return null;

            return _grenadeTemplate;
        }
    }

    public static ExplosionGrenade SpawnThrownExplosive(ReferenceHub thrower, float forceMultiplier = 1f, float upwardMultiplier = 1f)
    {
        float forceAmount = GrenadeTemplate.FullThrowSettings.StartVelocity * forceMultiplier;
        float upwardFactor = GrenadeTemplate.FullThrowSettings.UpwardsFactor * upwardMultiplier;
        Vector3 startTorque = GrenadeTemplate.FullThrowSettings.StartTorque;
        Vector3 startVel = ThrowableNetworkHandler.GetLimitedVelocity(new Vector3(0, 0, 0));

        ThrownProjectile thrownProjectile = UnityEngine.Object.Instantiate(GrenadeTemplate.Projectile, thrower.PlayerCameraReference.position, thrower.PlayerCameraReference.rotation);
        PickupSyncInfo info = new PickupSyncInfo()
        {
            ItemId = ItemType.GrenadeHE,
            Locked = true
        };
        thrownProjectile.Info = info;
        thrownProjectile.PreviousOwner = new Footprinting.Footprint(thrower);
        NetworkServer.Spawn(thrownProjectile.gameObject, ownerConnection: null);
        Rigidbody rb;
        if (thrownProjectile.TryGetComponent<Rigidbody>(out rb))
        {
            float d = 1f - Mathf.Abs(Vector3.Dot(thrower.PlayerCameraReference.forward, Vector3.up));
            Vector3 forward = thrower.PlayerCameraReference.forward;
            Vector3 a = thrower.PlayerCameraReference.up * upwardFactor;
            Vector3 a2 = forward + a * d;
            rb.centerOfMass = Vector3.zero;
            rb.angularVelocity = startTorque;
            rb.velocity = startVel + a2 * forceAmount;
        }
        thrownProjectile.ServerActivate();
        return thrownProjectile as ExplosionGrenade;
    }
}

Just call the SpawnThrownExplosive method (remember to remove the grenade from a player's inventory)

restive turret
#

holy makaroni

upper vapor
#

when players do stuff

#

but it's not called on break

upper vapor
hearty shard
#

u sure?

upper vapor
hearty shard
#

which is null

upper vapor
#

ah

#

nvm

#

im blind

restive turret
#

hi blind

upper vapor
upper vapor
hearty shard
restive turret
#

wait is it your code

#

or nw

hearty shard
#

thats mine

#

wrote it as an example

restive turret
#

ah right

#

i was like

#

huh

hearty shard
restive turret
#

why do you repair door when destroyed

celest thorn
#

any idea on how i could calculate the space? to just customize it and like make it align in some ways i want

upper vapor
#

measure the text

upper vapor
#

is that what you want

celest thorn
#

i have like to put them in a specific point

upper vapor
#

find every char's exact width

storm bridge
hollow remnant
upper vapor
#

well

#

then throw a grenade like normal

rough tundra
upper vapor
hollow remnant
upper vapor
restive turret
hollow remnant
hearty shard
upper vapor
#

ThrowablItem needs to be from basegame

#

InventorySystem.Items...

mild walrus
#

Hello, what are the best combination of effects to make like a "stun" effect?

celest thorn
#

how are you doing

mild walrus
tepid sluice
#

hello chat

celest thorn
celest thorn
#

hope i didn't say anything bad

#

or evoking any demons

tepid sluice
#

well it's pretty normalkek

#

nothing bad

celest thorn
#

it should be "hello"

tepid sluice
#

ciallo

celest thorn
#

ciao?

tepid sluice
#

mixed

celest thorn
#

lol

restive turret
celest thorn
restive turret
restive turret
#

tbh

celest thorn
#

don't steal the role of nameless

restive turret
celest thorn
#

example?

restive turret
#

none yet, i dont have any demonic power

restive turret
#

i dont like kotlin

#

i already dont like the typeless thing

celest thorn
#

even their functions are named fun

unique crane
restive turret
celest thorn
#

java

#

is already suffering

#

and pure

#

kotlin is even more fun

restive turret
#

pure like my hearth

slender depot
#

How to add Items other than itemtypes?

grand flower
#

what

restive turret
#

what

hearty shard
restive turret
#

Player.AddItem(alreadyExistingItem)

royal mica
restive turret
tepid sluice
#

I find golang better than c#

slender depot
#

Also how to create it

hearty shard
#

why not ItemType

#

if u dont already have an item to give, why create one manually?

slender depot
hearty shard
#

KeycardItem class has stuff for it

#

just use those

slender depot
#

But how could I give that item to someone?

#

(I'm used to exiled's way of creating items, so I might be a little confused)

hearty shard
restive turret
hearty shard
#

CreateCustomKeycardTaskForce CreateCustomKeycardMetal CreateCustomKeycardManagement

restive turret
#

as i remember you can pass Item object to it

royal mica
slender depot
royal mica
#

or what is messed up?

slender depot
#

that's the problem

restive turret
#

not that bad but its

#

unieque

royal mica
#

Honestly, the way it is built up, there is no point having ;

hearty shard
#

how to give a custom keycard

royal mica
#

Don't even give existing items to people, unless you know how to manage serials + pickups properly

#

you are going to introduce nasty bugs with trying to give existing items

hearty shard
#

KeycardItem has:

CreateCustomKeycardSite02
CreateCustomKeycardTaskForce
CreateCustomKeycardMetal
CreateCustomKeycardManagement

slender depot
royal mica
#

Defined how so?

slender depot
royal mica
#

as pretty sure 99% of the what eve said is the correct way to do it

hearty shard
#

CreateCustomKeycardSite02
CreateCustomKeycardTaskForce
CreateCustomKeycardMetal
CreateCustomKeycardManagement

all have a player to add to

#

just tell who to add to

slender depot
#

wait srsly?

#

Then I'm a dumbass

#

nevermind

hearty shard
#

its the first param

restive turret
royal mica
#

.apply, .let is your friend

#

you can pass everything to everywhere in kotlin

restive turret
#

😭 m message got blocked

royal mica
#

lmao

grand flower
#

I like C++'s designated initializers

restive turret
#

this initializer is ass

grand flower
#
struct MyStruct
{
  int SomeValue;
  bool SomeBool;
};

const MyStruct data { .SomeValue = 10, .SomeBool = true };
restive turret
#

sobbing

royal mica
#

what is wrong this this?

restive turret
#

feels wierd

#

just that

royal mica
#

also you can just

data class Dice(val sides: Int) {
  fun roll() = (0..sides).random()
}
restive turret
#

I WILL NOT USE JAVA or JS like stuff

royal mica
#

where is the Java stuff here what

#

or JS even lmao

restive turret
#

brackets

#

and the =

#

i think

royal mica
#

neither of those java or js

restive turret
#

it is mostly used in those

royal mica
#

you cannot assign to function declaration. In this case it is shorthand for result

#

= is used in every language wdym

#

= simply means in kotlin that thins function does this one thing and returns it as is

#

you are not assigning anything to it

restive turret
#

in c#its an arrow

#

and i find that wierd too

#

tbh

upper vapor
upper vapor
restive turret
#

not much

upper vapor
#

okay but like

#

if you think for a second

#

you don't gotta type 2 braces and no 3 extra lines

#

cyn would like to smite me

restive turret
#

the generator will do it anyway

upper vapor
#

😭

restive turret
#

generator in my pc

royal mica
#
public final class Dice {
   private final int sides;

   public Dice(int sides) {
      this.sides = sides;
   }

   public final int getSides() {
      return this.sides;
   }

   public final int roll() {
      return RangesKt.random(new IntRange(0, this.sides), (Random)Random.Default);
   }

   public final int component1() {
      return this.sides;
   }

   @NotNull
   public final Dice copy(int sides) {
      return new Dice(sides);
   }

   // $FF: synthetic method
   public static Dice copy$default(Dice var0, int var1, int var2, Object var3) {
      if ((var2 & 1) != 0) {
         var1 = var0.sides;
      }

      return var0.copy(var1);
   }

   @NotNull
   public String toString() {
      return "Dice(sides=" + this.sides + ")";
   }

   public int hashCode() {
      return Integer.hashCode(this.sides);
   }

   public boolean equals(@Nullable Object other) {
      if (this == other) {
         return true;
      } else if (!(other instanceof Dice)) {
         return false;
      } else {
         Dice var2 = (Dice)other;
         return this.sides == var2.sides;
      }
   }
}

here is it decompiled java

upper vapor
#

what the fucky

restive turret
#

ye

upper vapor
#

ugh

restive turret
#

ugly

upper vapor
#

did you use fernflower at least

royal mica
upper vapor
#

why tf does it contain the final keyword on almost every method if the class is already final

upper vapor
#

then good

unique crane
#

meant to reply 2 messages below

upper vapor
#

bru

#

i know but like

#

it can be omitted on methods

#

since the class is final

restive turret
#

my time is final for this class

upper vapor
#

the final braincell

#

meow meow meow meeeoowww

restive turret
#

losing after every java course

celest thorn
#

I swear im loosing my mind

upper vapor
#

goose on the loose

restive turret
#

me too

upper vapor
#

i don't swear because i know

restive turret
#

i swear

celest thorn
#

WHY that space ;((

restive turret
#

i dunno man

celest thorn
#

the code is so big that i cannot even send it here

hearty shard
#

stinky slime boy

#

why r u evil

upper vapor
restive turret
upper vapor
#

ifre

hearty shard
#

fire

#

good job

celest thorn
restive turret
#

typing in laptop is hell

upper vapor
celest thorn
upper vapor
#

zero you still can't spell represent smh

celest thorn
#

and im tired asf

#

its all day im tyring to fix this allignement

restive turret
celest thorn
upper vapor
#

what did you just call her

#

her name is tired asf

#

not tired af

#

ban

upper vapor
restive turret
celest thorn
#

like they are dynamic thats the issue

upper vapor
#

@true cedar how do you push text to the very right

upper vapor
celest thorn
#

i cannot

royal mica
#

Is the problem the Player's or the rest of the lines?

upper vapor
#

the problem is the game

celest thorn
upper vapor
#

existing

celest thorn
#

your team

#

and Your team's points

#

because the other 2 are correct

royal mica
#

looks like the trailing space for some reason is 1 plus?

celest thorn
#

yea but idk why

celest thorn
hearty shard
#

can we just brainrot already

celest thorn
#

this is the only place

#

where its called

royal mica
#

looks like the colon and the ' is wrongly spaced?

celest thorn
#

is it?

royal mica
#

does it go more wrong if you have :: instead?

#

can you test it

#

cause that is the only diff I can see

#

and the weird char width override calculation

upper vapor
royal mica
#

and quite possibly the / overcompensates at the top

celest thorn
royal mica
#

hueh

celest thorn
#

and got this numbers

upper vapor
#

and that python tool uses noto sans?

#

or

#

no

#

roboto

royal mica
#

you can just create a text component with font size 10 and use the component width for it

upper vapor
#

light

celest thorn
upper vapor
royal mica
#

you can even dynamically create a cache with a text component

#

why are you using python

upper vapor
#

i think ruei has code somewhere that measures text width

#

paws for sure did something like this where she got all char widths

upper vapor
#

well

#

sad

celest thorn
#

god

#

i spent so much time i cannot leave this

upper vapor
#

@true cedar wake up

celest thorn
#

i found this

restive turret
royal mica
#

wait how you get the aspect ratio of the player

#

whut

upper vapor
#

AspectRatioSync

royal mica
#

oh that is synced

celest thorn
#

btw yes it lowers it down

#

if i do "::"

#

wait

slender depot
#

How to add an effect to a player?

hearty shard
slender depot
#

Alrighty

#

thanks

royal mica
# celest thorn wait

Check the / as well, cause that is the diff between the bottom Your team and the Players

celest thorn
#

and saw that they have a file

#

unpacking it

#

i checked and they were off by 2f

#

not much

#

now im testing with new one

royal mica
#

2f IS A LOT

#

you mean 0.02f right?

celest thorn
#

NOW ITS BROKEN ;((((

#

Oh wait

#

wtf

#

ok i have 0.28

#

and meow has 25.430096

#

wtf

royal mica
#

uuuh

upper vapor
#

i still can't believe how someone was so "bad" at math that they used a polynomial to calculate half the width of the screen from the aspect ratio

royal mica
celest thorn
#

nope

royal mica
#

so your 1 is 25 in meow

royal mica
#

you are?

celest thorn
#

no im using ruei

#

you know what im probably going to cancel it

#

because god

royal mica
#

EstimatingTextWidth returns return widthUnits * fontSize;

celest thorn
#

it took me a day

royal mica
#

you are upscaling by fontSize

#

which is default 25 if I can see it correctly

celest thorn
#

yes im upscaling

celest thorn
royal mica
#

i know i literally copied it from there

celest thorn
#

honestly

#

should i leave this

#

and just do it in a different way

#

or try and continue?

royal mica
#

I mean you got to the one of the issues

#

Maybe leave it now and continue tomorrow

#

Put the whole thing in the back of your mind and let it parallel process in the background

#

I love doing that when I get a random DING! like a microwave that an issue has been solved

celest thorn
#

you know its been 5 hours

#

and after this im done

slender depot
#

Is there a way to change Player's Ammo/Item limits?

upper vapor
#

@royal mica do you like forgetting to allow unsafe code

#

allow me to present:
not needing unsafe code until a minor release

restive turret
#

yes

upper vapor
restive turret
hearty shard
upper vapor
restive turret
celest thorn
#

hope that paws can help me

#

rn i have a delusion

#

my fucking dl3 save file got corrupted

#

;(

#

so i will need to replay the game

#

or watch a video

#

which is what im gonna do watch a video

#

im not spending again 5 hours for farming back

#

in a new save file

magic gate
royal mica
upper vapor
#

stupid reflection user

unique crane
#

Average reflection fan vs average publicize enjoyer

upper vapor
#

RELEASES

#

VIEW

#

OMG

#

OMG

#

NOTES

royal mica
upper vapor
#

NFOIEFNESOIKFNSEOIFIESKFESOEMNIF

#

this is peak web dev

tulip kiln
#

reflection users be like: I can't wait to write 2137641 lines of code to fetch a method and call it, then have it break without the compiler telling me when there's an update 😎

upper vapor
royal mica
#

Atleast I do not have to modify the dependency and do cursed shit

upper vapor
#

also wtf is this naming convention

#

this is not C++

#

this is not .NET 1

tulip kiln
#

Apparently "cursed shit" is ticking a checkbox in Project Settings

royal mica
royal mica
upper vapor
upper vapor
royal mica
royal mica
upper vapor
royal mica
#

im going to die on this stupid hill

upper vapor
icy knoll
upper vapor
#

your life would be 10000000000x easier if you publicized

icy knoll
#

it's only for development

royal mica
celest thorn
#

ez

unique crane
hearty shard
#

ahahaa

hearty shard
#

hi david

royal mica
#

I aDd ed Publicze=treu and it don't work chat wtf is this

icy knoll
unique crane
#

or just yknow

royal mica
#

chat why this doesn't work? only know js btw

unique crane
#

AssemblyPublicizer.exe

upper vapor
upper vapor
#

it breaks events

unique crane
#

No I mean the good one

#

Maybe I just renamed the exe idk

upper vapor
#

apublicizer

unique crane
#

Maybe

#

Idk

#

I reinstalled windows so I dont have it anymore

upper vapor
unique crane
#

I did dual boot

#

Now I have linux aswell :3

upper vapor
#

and then your linux partition disappeared

#

yipee

unique crane
#

No

#

Im on windows 10 so no more updates

royal mica
#

you can just boot Win10 in virtualbox

unique crane
#

That would sucks ass

#

I need it for Unity

#

and VM overhead aint gonna help the performance xd

royal mica
#

if you need something and not unity in linux you can just mount it qemu

unique crane
#

Well i need Unity

royal mica
#

I fucking love discord finding public when I search for publicize

upper vapor
#

XXXDDDDDDDDDD

upper vapor
unique crane
#

Ehhhh

upper vapor
#

-# idk to what extent Kek

royal mica
#

I assume he needs it for WIndows build

unique crane
#

CachyOS?

royal mica
#

it works, I can attest

unique crane
#

idk

royal mica
#

it should work fine on Cachy

#

that is just arch

unique crane
#

we know it works

#

especially on cachy

#

but I need the editor

#

yknow

royal mica
#

Yes the full Editor works

unique crane
#

Hm

#

I can try it some day

upper vapor
#

i would love to switch to linux without having to install unity

unique crane
#

I would ask lumi about that cause

#

she said she might switch to Windows if she gets the maintainer position

#

Soooooo idk

#

more experience with linux and unity

upper vapor
#

no switching to windwos

spare zodiac
#

guys we do not trust the process

upper vapor
#

xddd

royal mica
#

when nix-shell -p unityhub && unityhub

restive turret
unique crane
#

Literally

royal mica
#

Just use refind

unique crane
#

I just followed the tutorial and it does what i want

restive turret
#

Sorry but i cannot find Minecraft grub

royal mica
#

ok the google login screen doesn't work ????

upper vapor
restive turret
#

💀

#

Ok google make unity work

#

sorry I cannot assist something that is broken af

royal mica
#

ok skipped google thumbs_up_exciting

glad pagoda
royal mica
#

Yyes

glad pagoda
#

good luck then kek

royal mica
#

why?

restive turret
#

What version?

glad pagoda
#

have fun with the x11 server crashes

restive turret
#

2022 damn

royal mica
#

lmao x11

glad pagoda
#

well

#

considering that

restive turret
#

Land of the way

glad pagoda
#

x11 is "fully supported"

#

and wayland is "experimental" and opt in with -force-wayland

#

I'd expect it to be even worse kek

restive turret
#

Well you have to restart it after some times y'know cus of unity memory leeks

glad pagoda
#

and Rider integration broke every 5 minutes

#

on linux

restive turret
#

Use vim

#

Or mcedit

glad pagoda
#

but yeah, the status last time I tried was: works better in Wine than native lol

#

same I guess as game builds kek

glad pagoda
#

i have 64GB of ram

#

i do something in Unity with SL

restive turret
#

And 72 used by unity

glad pagoda
#

and I suddenly get a C drive is out of space

#

error from windows

#

I look and

#

100% RAM usage

#

70GB pagefile on C

restive turret
#

Wtf

glad pagoda
#

i close unity

#

16GB used total

#

pagefile 0MB

restive turret
#

I open unity and like probably 25/32gb used (total)

#

I have many pages open (and VS22) but

royal mica
glad pagoda
restive turret
#

I usually have like 3 VS Instance open for doing stuff for side projects

glad pagoda
#

when it's open normally it's not that bad

#

but the editor has TONS of random memory leaks

upper vapor
#

"when it's open normally"

unique crane
#

Can confirm

upper vapor
#

tbh for my little project, initial startup only consumes 160 MB, when i start doing anything then it skyrockets

unique crane
#

especially when you search for a asset

#

it just

#

eats your ram

upper vapor
#

UH OHHHHH

upper vapor
unique crane
#

Never letting you touch my ram ax

upper vapor
#

:((

royal mica
#

this template works well tbh

restive turret
#

I even debloated my unity assets on that project but its ass

unique crane
upper vapor
upper vapor
#

you david

#

-# best comeback i could come up with

unique crane
#

Bought protobean for a friend's birthday btw

upper vapor
#

omg

#

adorable

restive turret
#

a what

unique crane
#

Dont even ask for the total price

upper vapor
#

this

unique crane
#

for the transport and taxes

restive turret
#

Okay nvm i dont think i wanna know

upper vapor
unique crane
restive turret
unique crane
#

protogen one

restive turret
unique crane
#

Your not far actually

upper vapor
unique crane
#

just in czech crowns

glad pagoda
#

only 29GB now

#

not 48GB

unique crane
#

My editor still gonna fucking die

upper vapor
unique crane
#

Buying 64GB for christmas it seems

restive turret
upper vapor
#

(i have done taht before)

unique crane
#

No no

glad pagoda
#

also it does this when searching lol

unique crane
#

You can still navigate the assets

#

like

#

manually

#

just dont search for stuff

upper vapor
upper vapor
restive turret
#

Who even though in unity thats good??

unique crane
#

Thats SL project btw

glad pagoda
#

@unique crane actually

unique crane
#

doesnt happen in normal games

glad pagoda
#

the new searcher

#

seems to have regressed stuff a bit

#

cause

#

while it is faster

#

and uses less ram like I said

unique crane
#

Im just gonna do my own assets search window xd

glad pagoda
#

the old one went back to 8GB after it cached stuff

upper vapor
unique crane
#

Like wtf is it doing

glad pagoda
#

the new one sits at 31GB still lol

unique crane
#

Just index stuff 😭

glad pagoda
#

seems it doesn't release stuff any,more

unique crane
#

Idk why it needs 40 gbs of ram for that

restive turret
#

You surprised by that??

glad pagoda
glad pagoda
#

it started releasing stuff

unique crane
#

I dont understand

#

I just dont

#

whats taking up the memory

restive turret
#

Strings

warped prairie
#

It’s me sorry

upper vapor
#

telemetry toomuchtrolling

glad pagoda
unique crane
#

what strings?

#

Name -> Path?

restive turret
#

Bro idk

restive turret
#

They caching all the files inside the package/asset

unique crane
#

Thats it

#

making my own search window

glad pagoda
unique crane
celest thorn
#

ngl im still trying

#

to fix that issue

#

and i cannot

#

im gonna loose it

glad pagoda
#

I think

#

unity also searches inside assets

unique crane
unique crane
celest thorn
upper vapor
celest thorn
#

and so little

glad pagoda
#

but like

unique crane
#

why

celest thorn
#

but once you see it

royal mica
celest thorn
#

you cannot stop

glad pagoda
#

SL PROJECT ISN'T EVEN THAT 30GB

celest thorn
glad pagoda
#

AND THEY'D NEED TO JUST LOAD WHOLE FILES FOR IT TO TAKE THAT MUCH

royal mica
#

yes I have the csproj edited, nuget installed

upper vapor
royal mica
#

also done

upper vapor
#

did you add publciize=true to mirror?

royal mica
#

oh im retarded I only added to Assembly-CSharp

#

bruh

restive turret
royal mica
#

I did not even need to build

#

the fuck is this voodoo magic

grand flower
#

currently at work debugging a memory leak potentially in the engine, and suddenly half the team working on hunting it can't reproduce the memory leak

#

we didn't touch jackshit

#

(╯°□°)╯︵ ┻━┻

restive turret
upper vapor
#

then it won't be a memory leak

unique crane
#

Dementia

upper vapor
#

wait...

#

if your memory leaks, do you have dementia

grand flower
#

kill me

royal mica
#

/kill @grand flower

celest thorn
#

kill me too