#plugins-dev-chat

1 messages · Page 183 of 1

ashen hound
#

effects are bytes tho? or not

harsh thorn
#

what the fuck is an sbyte

celest thorn
#

isn't player effects a sbyte?

ashen hound
#

its byte

harsh thorn
#

lmao

restive turret
harsh thorn
#

who could have known

restive turret
#

Guh

hearty shard
hearty shard
#

you mean negative 128

restive turret
#

Or that ye

celest thorn
harsh thorn
celest thorn
#

else i will trust centrals

harsh thorn
#

well, they might

#

but server doesnt use it

celest thorn
ashen hound
#

I dont care much about auth on proxy

#

just forward to target server and thats it

#

let target server take the pain of handling it

harsh thorn
celest thorn
#

I spawn now

#

but no effect ;(

harsh thorn
#

it migth send it, but it doesnt seem used

#

cuz ik we send the nick in auth

celest thorn
#

i compare them

#

at the end of Finializing

restive turret
#

End of me eating the server

harsh thorn
#

yeah we just set it in finalizing

#

cuz CS is the name authority anyway

#

iirc cmdsetnick was from before

ashen hound
#

manually sending stuff its also fun

harsh thorn
#

(and offline mode)

celest thorn
#

ngl a synclist is harder than auth of sl

ashen hound
#

wdym its hard aah

restive turret
#

You just ehrm

#

Bad

celest thorn
#

IT IS

restive turret
celest thorn
#

i cannot get this fucker to say "plz 42 = 1"

#

ig

ashen hound
#

how much you cant not understand by just seeing that

celest thorn
#

I do undertsand it

#

the problem is

#

i do that

restive turret
#

Its literally the same thing I do in fake syncing

ashen hound
#

did you send delta with BYTE?

celest thorn
#

but nope

#
    public override void OnSerializeDelta(NetworkWriter writer)
    {
        if (Count != 200)
        {
            writer.WriteUInt(0);
            return;
        }
        
        writer.WriteUInt(1);

        uint index = 42;
        
        writer.WriteByte(2);
        writer.WriteUInt(index);
        writer.WriteByte(1);
    }
#

i did this

#

wait

#

did i forget to send the update

restive turret
#

💀

celest thorn
#

i did...

restive turret
celest thorn
#

obv it doesn't work

#

im gonna cry

restive turret
#

Lel

#

Take a nap

#

Will fix it in your dream

celest thorn
#

i don't do anything wrong too

restive turret
#

Usually works for me

ashen hound
#

Im too lazy to test it on my thing ti get effect to work lol

harsh thorn
#

(dont nap too long though, or ignore the alarm)

#

i love waking up at 2:30 am after taking a "short" nap

celest thorn
#

i think i found why

#

42 - 1 is 41

harsh thorn
#

index starts at 0, makes sense

celest thorn
#

yea

ashen hound
#

you using set operation tho?

celest thorn
#

so 43 should be the one?

ashen hound
#

not add

celest thorn
#

my game theory is not correct

#

writer.WriteUInt(1);

    uint index = 42;
    
    writer.WriteByte(2);
    writer.WriteUInt(index);
    writer.WriteByte(1);

2 = Set

#

wait

#

set is 1

#

bruh

#

its probably time to go to bed

ashen hound
#

Insert is add If im dumb lol

restive turret
#

I said it

ashen hound
#

no lol

#

im dumb

#

insert adds at specific index

celest thorn
#

Nope

#

ngl magic of synclist

#

no error

#

but hopes and dreams

harsh thorn
#

but idk why it does -1 now that i think about it

celest thorn
#

idk

harsh thorn
#

or well "item already exists"

#

what

#

too late for mirror shenanigans

celest thorn
#

nope

#

im probably done

#

fuck the effect

#

fuck mirror

#

and fuck synclist

#

idk who made them im gonna check that

#

im coming mf

hearty shard
#

Im eve

slate flume
#

Hi eve

hearty shard
slate flume
#

Why is it that BarrelTipExtension.TryFindWorldmodelBarrelTip sometimes fails for weapons

restive turret
#

Barreltip not exists?

#

Idk

#

I had issues with that too

hearty shard
#

Guh

slate flume
#

Sometimes it happens, sometimes it doesn't

#

Like I just had a user have TryFindWorldmodelBarrelTip fail for 127

#

But the round before it was working

#

Maybe it's something with the OnValidate not properly populating the Extensions?

#

Might have to switch to a GetComponent call or something similar to see if that works

hearty shard
#

Honk shoo mimimi

true cedar
slate flume
#

Okay am I crazy

#

Oh wait

#

I know why

#

I am crazy

restive turret
#

Ik

#

@slate flume
I aint used drawable line but how would you even do such a thing I dont get the double array

#

Nvm it was someone not youHeartbreaking

restive turret
restive turret
#

Mybad I just wake up

slate flume
celest thorn
#

im going crazy

#

i see rats

#

synclist make me go crazy

#

i was crazy one

#

they put me in a rubber room a rubber room full of synclist

#

i forgot the other part

#

ngl

upper vapor
#

and synclists make me crazy

celest thorn
#

old wise man

#

of wisdom of fucking mirror

#

why tf sync list no sync

#

200 is the count i gave it so unique

upper vapor
#

OP_SET is 4

slate flume
#

Can I outsource my dev work

upper vapor
celest thorn
upper vapor
#

what no

#

it's 4

#

do you wanna add an item or set it?

celest thorn
#

its 1

upper vapor
#

well

celest thorn
#

WHAT

upper vapor
#

it's 4

celest thorn
#

;(

upper vapor
#

you shouldn't be looking at the mirror source

celest thorn
#

fuck you old version of mirror

#

btw i think i know why it didn't work

#

i forgot to set the dirty

upper vapor
#

bruh

celest thorn
#

nope i was joking

#
PlayerEffectsController.SyncObjectsDirtyBits |= (1UL << 1);

Should be fine

#

but nope

#

life when mirror is mirroring

upper vapor
#

that'll be 2

#

not 1

celest thorn
#

Why 2?

upper vapor
#

1 << 1

celest thorn
#

if i do one change?

upper vapor
#

is 0010

celest thorn
#

Oh

upper vapor
#

one bit shift left

celest thorn
#

Yea

#

but should be syncing

#

but nope

#

i just wanna say this

#

Synclist are harder than the auth of sl

restive turret
#

Ur just didn't do it right

celest thorn
#

am i going crazy?

restive turret
#

That part is true

#

You should see the src source and not in the mirror repp

celest thorn
#

I need to open up dnspy then

#

lovely

#

that one has comment so atleast i understand something crazy

restive turret
#

You can also ask us

celest thorn
#

The thing is i know where the issue is

#

if ((SyncObjectsDirtyBits & 1UL << i) != 0UL)
syncObject.OnSerializeDelta(writer);

Right here

#
            MeowLogger.Info(SyncObjectsDirtyBits + " " + ((SyncObjectsDirtyBits & 1UL << i) != 0UL));
            
            if ((SyncObjectsDirtyBits & 1UL << i) != 0UL)
                syncObject.OnSerializeDelta(writer);

And returns "2 False"

restive turret
#

tf is "i"

celest thorn
#
    void SerializeObjectsDelta(NetworkWriter writer)
    {
        writer.WriteULong(SyncObjectsDirtyBits);
        for (int i = 0; i < SyncObjects.Length; i++)
        {
            SyncObject syncObject = SyncObjects[i];

            MeowLogger.Info(SyncObjectsDirtyBits + " " + ((SyncObjectsDirtyBits & 1UL << i) != 0UL));
            
            if ((SyncObjectsDirtyBits & 1UL << i) != 0UL)
                syncObject.OnSerializeDelta(writer);
        }
    }
#

YES

#

IT WORKED

#

i set the dirty bit wrong

#

it should've been 0

#

i set it to 1

vast canopy
# celest thorn i see rats

Crazy? I was crazy once. They locked me in the room with rubber walls. The room was filled with rats. Rats make me crazy

vast canopy
#

I saw somewhere in mer workshop a rat

#

Now i make every possible rat i can imagine

celest thorn
#

I made for a gamemode a giant rat shopkeeper

#

i called him jef

vast canopy
celest thorn
#

btw

#

rat bomb existed in ww2

vast canopy
#

I have rat bomb

#

Rat chaos

celest thorn
#

The explosive rat, also known as a rat bomb, was a weapon developed by the British Special Operations Executive (SOE) in World War II for use against Germany. Rat carcasses were filled with plastic explosives, and were to be distributed near German boiler rooms where it was expected they would be disposed of by burning, with the subsequent explo...

vast canopy
#

Rat mtf

vast canopy
#

The hell..

celest thorn
#

British

vast canopy
#

Predictable somehow

#

But still

#

Man..

celest thorn
#

Im not the one who wrote history

#

Ok now it works im not gonna touch this code forever for synclist i can send operations and stuff

#

and ngl the song name "Counterattack" is so perfect lol FUCK MIRROR

#

Now i need to document each Lovely EffectTYpe

thin shuttle
#

@celest thorn

SendFakeSyncObject(target, effectOwner.NetworkIdentity, typeof(PlayerEffectsController), (writer) =>
            {
                StatusEffectBase foundEffect = effectOwner.GetEffect(effect);
                int foundIndex = effectOwner.ReferenceHub.playerEffectsController.AllEffects.IndexOf(foundEffect);
                if (foundIndex == -1)
                {
                    Log.Error($"Effect {effect} not found in {effectOwner.Nickname}'s effects list.");
                    return;
                }

                writer.WriteULong(0b0001);
                writer.WriteUInt(1);
                writer.WriteByte((byte)SyncList<byte>.Operation.OP_SET);
                writer.WriteUInt((uint)foundIndex);
                writer.WriteByte(intensity);
            });
thin shuttle
#

Why you struggle this much ?

#

When it's was already accessible very easily

thin shuttle
thin shuttle
#

Ok

#

Why you need readvalue ?

celest thorn
#

too

thin shuttle
#

Ok

restive turret
#

"Why is the behaviour not behaving " - Zero

worn gull
#

Why is the dedicated server not playing?

#

Xd

upper vapor
#

the dedicated server is not dedicating

celest thorn
#

nah rn the client is not behaving

#

soft disconnect for updating the position

vast canopy
#

@celest thorn i remember that i posted it already here but still.. rat family

vast canopy
#

there r more but they more cringy

celest thorn
#

The bun one

#

is so cuteeee

celest thorn
celest thorn
#

my love for rats is immense

#

they are such adorable creatures

covert flame
#

What if I use the nuget package?

upper vapor
#

BepInEx publicizer, same approach as if you were publlicizing a normal reference

covert flame
#

Wait, how do I publicize a nuget package?

upper vapor
covert flame
#

Thank you very much

upper vapor
#

np

soft depot
restive turret
#

How would an example of it would look like

soft depot
upper vapor
restive turret
#

Creating 2 separate line would look like this for example?

V3[0] 0.0.0, 0.5.0, 0.10.0
V3[1] 5.0.9, 7.0.6, 7.9.3

celest thorn
sacred sierra
celest thorn
#

thats the best part

celest thorn
#

oh my goddd

soft depot
celest thorn
#

this are so cuteeee

celest thorn
#

DOn't even try

#

doing a triangle with that stuff

#

i tried before you

#

great mistake

#

my gpu didn't like it

soft depot
#

Yamato did it somehow

celest thorn
#

WHAT?

upper vapor
celest thorn
#

without melting a gpu?

soft depot
upper vapor
#

right

#

i forg

#

damn nvm i'm not joining vc, can't choose the output device

celest thorn
#

lol

upper vapor
#

thanks pipewire & electron

restive turret
restive turret
#

Never used drawline tbh

celest thorn
#

i did use them

#

alot of time

#

for drawing collisions on ATOH

restive turret
#

So i just guessing how the function would look like

celest thorn
#

but thats it

soft depot
#

You could also keep the old constructor with just a single array of points to appease Zero

soft depot
# celest thorn for drawing collisions on ATOH

Yea so imagine iterating over your colliders and drawing them, with the double array you could pack all the collision lines into only one message instead of a message for every triangle or box you draw

celest thorn
celest thorn
#

i have other way to test

restive turret
#

Max size would be 255

celest thorn
restive turret
#

I ain't gonna let someone send int.MaxValues array

celest thorn
#

int.MinValues?

restive turret
#

Troll

#

Anyway my class starts soon

upper vapor
restive turret
#

16h -> 19h

#

Only class and it's online

unique crane
#

Not a big deal if they get send seperate

#
  • Mirror packs all messages sent in 1 frame into a single packet if your worried about that
restive turret
#

ye also that

#

which is ehrm queueee

#

batching stuff

next jungle
#

batching best

upper vapor
#

❌ batching
✅ bashing

restive turret
#

🔵 crying

upper vapor
obtuse spruce
#

dirtyBit nerd_fast

celest thorn
warped prairie
#

🧼

obtuse spruce
restive turret
#

QBit

obtuse spruce
warped prairie
obtuse spruce
celest thorn
#

Bitcoin

obtuse spruce
#

Bitdefender

sweet flax
worn gull
#

If I spawn a locker and I call this before spawning, why it still desync? It looks like it's in the correct position but the collision for items and the item spawn is not

if (locker.TryGetComponent(out StructurePositionSync sync))
  sync.Start();``` 
This is the full code:
```cs
var room = Room.Get(RoomName.Hcz049).First();
if (!NetworkClient.prefabs.TryGetValue(1763950070, out var prefab) ||
    !prefab.TryGetComponent(out Locker lockerPrefab))
{
    LogManager.Error("Failed to find locker prefab in NetworkClient prefabs.");
    return;
}

var locker = Object.Instantiate(lockerPrefab);
var absolutePosition = room.Transform.TransformPoint(new Vector3(33f, 95.841f, 13.246f));
var absoluteRotation = room.Transform.rotation * Quaternion.Euler(new Vector3(180f, 0f, 0f));
locker.transform.SetPositionAndRotation(absolutePosition, absoluteRotation);

if (locker.TryGetComponent(out StructurePositionSync sync))
    sync.Start();

NetworkServer.Spawn(locker.gameObject);```
celest thorn
upper vapor
upper vapor
#

np

#

we love vector math

#

bruhű

worn gull
#

If I rotate it on the X it LOOKS like it rotated on Y

celest thorn
worn gull
#

And they're facing the same way

#

And I thought that I rotated okay

upper vapor
#

dunno why this happens ngl

celest thorn
#

skill issue

#

just tell to rotate them yell at mirror

#

or beg

#

idk

obtuse spruce
#

Oh btw nw ? DisplayKit will be something that u need to instanciate each time you wanna do something or you can create one object and SendUpdate like SSS ?

celest thorn
#

sendupdate 100%

obtuse spruce
#

Goatted

#

i hope so

celest thorn
#

because

restive turret
#

idk i didnt made the system

celest thorn
#

thats how it works in default unity

obtuse spruce
celest thorn
#

i did alt tab

#

and then alt tab again on wt

#

and found my plain crashing

obtuse spruce
celest thorn
#

Mr NW trolling

restive turret
#

flashing all my enemies

worn gull
obtuse spruce
#

Can be also fun to let overwrite Vanilla display component RealMan like Role info

obtuse spruce
#

something like this

hearty shard
#

bwaaaaa

#

CHAT IM LITERALLY THE BEST

restive turret
#

are you sure

hearty shard
#

yes.

#

im never wrong

#

also

#

how does displaykit work

#

😨

restive turret
#

with magic and unity & mirror

hearty shard
#

i mean

#

im fully expecting it to be as goofy as SSS

#

so like

#

time to make secretapi stuff

celest thorn
#

tbh im thinking

#

what if

#

i recode

#

once again

#

Meow Editor

#

but more performant trolling

icy knoll
#

what if

#

no code

#

:3

restive turret
#

wha tif

hearty shard
#

what if

#

slime boy

ashen hound
#

goofy as sss madge

upper vapor
upper vapor
celest thorn
#

I wanna make a readable

#

client side

soft depot
worn gull
#

I don't use exiled ClassDBlobHappy

#

It was just my skill issue xd

ashen hound
hearty shard
#

😨

#

rly depends on the system itself

#

cuz idm that by itself

soft depot
#

Really what I think is important is the ability for devs to create their own canvas or something and target that rather than sharing the same base thing. The SSS equivalent would be pages

sweet flax
#

will canvas have buttons?

unique crane
#

Buttons are not planned for initial release

sweet flax
sacred sierra
sweet flax
#

@stone prawn i dont think its fixed

upper vapor
#

SLAC is SLACKing

wheat flower
#

lul

#

so cooked

sweet flax
#

northwood picked your name out of the basket

obtuse spruce
unique crane
#

No

obtuse spruce
#

pleaase

wheat flower
#

david thank you for your work :)

#

(i dont know you at all)

unique crane
#

This was stated on the labapi stage

upper vapor
#

didn't know that "initial release" meant "fully featured product"

slate flume
#

@hearty shard depending on this displaykit release I may have a new idea for SecretAPI

wheat flower
#

why is bro gatekeeping

#

just say it

#

😢

ashen hound
#

I can say I dont think any apis would be needed to use displaykit

wheat flower
#

proof?

slate flume
ashen hound
#

good luck wrapping things from displaykit Trolley

slate flume
unique crane
#

ik

slate flume
ashen hound
#

I used all my sweat to make it dev friendly

unique crane
#

Im here with the power to call mods trolling

ashen hound
#

I will make examples for displaykit when we release it for sure lol

icy knoll
unique crane
ashen hound
#

xdd

unique crane
ashen hound
#

someone wrapping something 2x times would be broo

unique crane
#

anyone saying exiled in this chat from now on is getting deported to eve's house

ashen hound
#

Im already wrapping around UI toolkit elements

icy knoll
wheat flower
#

after labapi

#

i left exiled to rot

wheat flower
#

sure its got cool features, but like

#

id rather make my own shit

#

lol

slate flume
#

I considered using Exiled during NWAPI days but now like I have no reason to switch

icy knoll
slate flume
#

I need to make that a sticker

#

And an emoji

icy knoll
hearty shard
#

secretapi >>>

ashen hound
#

best thing is using 2 frameworks on one server while other frameworks still patches things mostly and both running adds 2x event calls

wheat flower
#

ive just been doing it for sl for so long

#

i know most ins and outs

#

characterclassmanager

icy knoll
#

someone asked me to put AutoEvent on my server the other day

#

i said "how dare you ask for that plugin"

wheat flower
#

i remember opening the code for that plugin in ILSpy

#

and was losing brain cells

icy knoll
#

exactly why i dont want it

icy knoll
slate flume
icy knoll
#

only accept code from other api maintainers, eve and paws

restive turret
slate flume
unique crane
icy knoll
restive turret
icy knoll
ashen hound
#

if someone wonders yes if you spawn it once it kinda works similary how mirror syncvars work soo these animations are coming from [REDACTED] just guess lol

restive turret
#

I write PoC

icy knoll
slate flume
#

I write optimized code when it matters

restive turret
#

I let others optimize my code 🔥

icy knoll
#

also

#

i only use APIs

restive turret
#

(the compiler)

icy knoll
#

if i need a feature

#

ill just make it myself

#

not gunna add a plugin to add that feature

restive turret
#

I did with fake stuff

icy knoll
#

waste of storage space

restive turret
#

And dummy stuff too

wheat flower
#

bro is just yappin now

slate flume
wheat flower
#

(real)

#

i have not looked at secretapi

restive turret
#

Fake

wheat flower
#

but if i did i would probably be annoyed that im incapable of writing good code

#

so i wont look

restive turret
#

(i contributed to secretapi)

#

I dont use sss so

icy knoll
slate flume
icy knoll
#

same

#

and RueI

restive turret
#

Hey my custom items doesnt drop tps either!

slate flume
#

Nah I don't like RueI

icy knoll
#

i do

slate flume
#

Half the shit is broken

icy knoll
#

it works for what i want it for

#

so

restive turret
#

All my homies dont like working with UI

slate flume
#

Just make your own hint manager

icy knoll
#

id rather not want to behead myself

#

thanks for the suggestion tho

unique crane
#

bro at this point just wait for 15.0

slate flume
wheat flower
#

ruei is so complicated

unique crane
#

than banging your head against TMPro wall

slate flume
#

That's all a hint manager does

wheat flower
#

my head died looking at it

slate flume
#

RueI doesn't even do horizontal positioning iirc

restive turret
#

TMPro more like TMFail

slate flume
wheat flower
#

?

slate flume
# wheat flower pos=

Other hint managers have it built-in and don't require manual positioning with pos

#

Also <voffset>

unique crane
#

Is it necessary to ask that in a public chat

icy knoll
icy knoll
slate flume
#

Most big servers do

#

It's not that difficult

unique crane
#

silly lumi

restive turret
#

Screenshitted

slate flume
#

I don't glaze hint managers because every publicly available LabAPI hint manager currently sucks in some way shape or form

wheat flower
#

hint managers are annoying to have to use

restive turret
#

Not like exiled ones are Gret either

wheat flower
#

it is what it is

icy knoll
slate flume
#

Way overhyped too

wheat flower
#

RueI is good for what I need so i dont really complain too much

#

for people who need to do crazier stuff

#

then yeah make your own

slate flume
icy knoll
#

honestly

slate flume
#

DisplayKit drop is going to be fire so then people don't have to rely on shit that hasn't been updated in like >6 months

icy knoll
#

the amount of times ive asked paws to fix this 1 annoying bug is insane

#

and they say "soon"

#

bruh

slate flume
#

Literally delayed so long the plugin becomes obsolete 😭

slate flume
#

If I made a public plugin it would be straight gas and not some of this slop I see ong

icy knoll
#

dont like making crap code

slate flume
#

Goat mentality

restive turret
#

I create poc

slate flume
#

I take the advice other people have given me to heart

restive turret
#

Then if works I iterate over it

wheat flower
#

"write all your code as if someone knows your home address"

restive turret
#

Until I find best one

wheat flower
slate flume
#

I started using way more components in my code than coroutines and it's beautiful 🥹

restive turret
#

Well it not every time be the best, I am not the best C# coder so every suggestion helps mtfplush

slate flume
#

Coroutine abuse is real

restive turret
#

Unreal

wheat flower
#

found the quote: "always code as if the person who will maintain your code is a maniac serial killer knows where you live"

sacred sierra
slate flume
# wheat flower elaborate sir

Okay like let's say you have a LightSourceToy and you want it to change colors smoothly like a gradient
You could use a coroutine that sets it every frame, and manage that independently
The better option, however, is adding a component to the light that does it instead

slate flume
wheat flower
#

true, less management

sacred sierra
slate flume
#

Components get attached to the gameobject, and are handled with the base object

wheat flower
#

its funny you use that as an example

slate flume
#

I'm just that goated

snow pulsar
slate flume
#

I mean biggest example, you have to explicitly tell a coroutine to die when you destroy the base object, you don't have to do that with a component

hearty shard
#

im literally eve

slate flume
#

Hi eve

hearty shard
#

hi tech

wheat flower
slate flume
slate flume
#

Coroutines are great for some scenarios

#

But people use them where components should be used instead

hearty shard
#

im literally the best

slate flume
#

You made SecretAPI so yeah absolutely

wheat flower
#

i just checked my code for skillz cabana

#

i only have 9 coroutines used

hearty shard
wheat flower
#

idk

hearty shard
#

nah i will eventually

#

its just not a priority

slate flume
hearty shard
#

i need to finish the damn source gen

#

but holy shit does that suck ass

slate flume
snow pulsar
#

Me when I still have a unbreakable gambling plugin that is ancient and hasn't been updated in ages trololol

hearty shard
#

i wish someone else would do it for me

slate flume
snow pulsar
sacred sierra
hearty shard
slate flume
sacred sierra
wheat flower
#

but depends on usage case

#

im too lazy to even care kekw

slate flume
wheat flower
#

2 biggest performance hitters for large player counts is FpcServerPositionDistributor and FpcMotor.Update

#

from my testing

slate flume
hearty shard
#

tech

#

can you do

#

source gen for me

slate flume
hearty shard
#

thanks

#

im losing it

slate flume
restive turret
#

Time

#

I use it

slate flume
restive turret
#

Lemme grab it

hearty shard
#

CallRepeating

snow pulsar
hearty shard
#

or wtv

slate flume
#

I loooove transpilers

hearty shard
#

i hate doing it though

#

which is why i wish secretapi wasnt a solo project

slate flume
#

Tuffff

wheat flower
#

im good at transpilers

slate flume
#

Can I PR secretapi with AI slop

slate flume
#

A lot of people hard-code local indexes and things

hearty shard
restive turret
slate flume
wheat flower
#

i wouldnt say im actually "good" at transpilers now that i think about it

#

i just know how to make them

slate flume
#

That makes you good at transpilers comparatively

sweet flax
#

HarmonyLib.HarmonyException: Patching exception in method <3

wheat flower
#

not really

slate flume
wheat flower
#

i just know how to write basic IL

slate flume
#

There's a small segment of the community that knows how to make transpilers

wheat flower
#

not much more than that

slate flume
#

You're part of that

slate flume
restive turret
#

Found it

hearty shard
restive turret
#
public abstract class CoreCustomEffect : MonoBehaviour
{
    public abstract float TickTime { get; }
    public Player Player;
    private float ticker;
    public bool IsSet;

    public virtual bool Precondition()
    {
        if (!IsSet)
            return false;
        if (Player == null)
            return false;
        return true;
    }
    public virtual void LateUpdate()
    {
        if (!Precondition())
            return;
        ticker -= Time.deltaTime;
        if (ticker > 0f)
            return;
        ticker += TickTime;
        Tick();
    }

    public abstract void Tick();
}
hearty shard
#

I LOVE IT

slate flume
wheat flower
#

ive never used codematcher

#

dunno what it is

slate flume
#

CodeMatcher is epic

hearty shard
restive turret
hearty shard
#

it matches code

#

and goes there

slate flume
#

There's literally like no reason to not use a CodeMatcher

restive turret
#

And what if i wanna add extra stuff

hearty shard
#

and then you can do whatever u want

hearty shard
#

oh

#

nvm

#

its InvokeRepeating

#
public class ExampleScript : MonoBehaviour
{
    public Rigidbody projectile;

    void Start()
    {
        InvokeRepeating(nameof(LaunchProjectile), 2.0f, 0.3f);
    }

    void LaunchProjectile()
    {
        Rigidbody instance = Instantiate(projectile);

        instance.velocity = Random.insideUnitSphere * 5;
    }
}
wheat flower
#

57 gagillion messages bro

#

what is this

#

😭

slate flume
#

What kind of messages

restive turret
#

I don't like invoke repeating, you can't cancel it

hearty shard
#

To cancel InvokeRepeating, use MonoBehaviour.CancelInvoke.

restive turret
#

Well delete the go but

wheat flower
#

anytime i look at other peoples good code i realize that i know nothing

#

so i just go back to my hole

restive turret
hearty shard
#

I HATE LOOKING FOR DEVS

#

I HATE IT

#

@slate flume thats it

#

get in the basement

restive turret
#

Say no

hearty shard
#

say yes

#

slime you too

#

hop in

wheat flower
#

no

hearty shard
#

Yes

sacred sierra
snow pulsar
wheat flower
restive turret
#

I gonna make serous changes

#

15 will break everything

snow pulsar
#

Too bad, I need my gambling and custom door placements

restive turret
#

Or well after 15

unique crane
#

Hey guys, are there any specific fonts which you would like to use with display kit?
Im not confirming any, just asking for your ideas

wheat flower
#

a pixel font

#

for sure

#

like the uhhhh

sweet flax
#

comic sans

wheat flower
#

monospace pixel font of some kind

restive turret
restive turret
wheat flower
#

couldnt you realistically just include all existing fonts already in the game as well?

hearty shard
wheat flower
#

(truly)

snow pulsar
wheat flower
restive turret
#

UbiSans

snow pulsar
#

I have not a clue, I don't really use fonts that often. And I don't type in other languages aside from english

slate flume
restive turret
#

He's already in other basement

slate flume
#

Would be cool to import fonts but I don't think that's gonna happen Sadge

snow pulsar
restive turret
#

Ye

snow pulsar
upper vapor
upper vapor
slate flume
upper vapor
restive turret
rugged laurel
#

i have seen coroutine hate in this chat and i agree

slate flume
#

Based component enjoyer

rugged laurel
#

a lot of times i wont even use components

#

just staticunity.update

slate flume
#

Ah interesting and fair

restive turret
rugged laurel
#

been rewriting all my plugins to lab api and iv made a rule that my devs arent allowed to use coroutines or call delays unless they can give a good reason why its better than using update. and like the only acceptable reason is async stuff and one frame delays cause of client stuff

upper vapor
upper vapor
#

which is like

#

meh

#

coroutines don't eat as much ram though

restive turret
#

Since you ate all

rugged laurel
#

Coroutines are evil

#

i hate them with a passion

upper vapor
wheat flower
slate flume
upper vapor
slate flume
#

You know what I need

#

In my life

upper vapor
#

friends?

#

/srs

snow pulsar
#

Damnstare

slate flume
upper vapor
#

btw i didn't mean it like "haha you have no friends"

snow pulsar
#

Anyways back to making the current surface model for map editing nostalgia

hearty shard
#

guh

slate flume
#

Why have friends when you can consume more AI SLOP 🙏🏻

#

I need my daily dose

hearty shard
#

guh

snow pulsar
# upper vapor what the furry

Don't you what the furry me, my pfp in servers in cannonically Mr. Unigamia (A modified administrator image that was from the wiki)

upper vapor
#

what the helly

#

what the fucky

#

what the furry

hearty shard
#

ax

#

get out

upper vapor
#

i will

snow pulsar
upper vapor
#

you wanna bomb earth's core?

snow pulsar
#

Just don't allow 0 cause that just makes explode

hearty shard
#

evil

snow pulsar
hearty shard
#

bwaaa

slate flume
#

That way you can rocket anyone in any way

slate flume
#

They call me the goat

upper vapor
#

though it will look a bit weird if you go up sideways

slate flume
snow pulsar
#

Do not add more direction to where people explode...

#

Last thing I need is someone to abuse it and then kill an SCP with a rocketed player

sweet flax
#

is it possible / legal to delete <color=#855439>*</color> this at the end of players customname

slate flume
slate flume
#

I love being an authority figure in a community

hearty shard
#

i love being eve

#

and i love my girlfriend

slate flume
#

I went in general and said I needed an emoji that said "BASED!" and someone made it for me

hearty shard
#

oh em gee

#

almost valentines

restive turret
snow pulsar
# restive turret LMAO

You should have seen the shit that went down in the [MEMES] server when it was actually popular. Admins abused (a bit) and it was mostly funny. Then there were literal stacks of bodies in teslagate or some random room.

hearty shard
#

its the same day as my 9 month anniversary lel

restive turret
static meteor
restive turret
#

Like what you have in MC

static meteor
#

Or atleast it was against the vsr before it was replaced

hearty shard
snow pulsar
hearty shard
restive turret
hearty shard
#

SLIME

#

ur evil....

slate flume
restive turret
#

Y'know do "hey you got damage by 3x dmg"

snow pulsar
slate flume
#

But idk

restive turret
#

You don't own your pc

snow pulsar
#

Yeah, I don't self host. I mean I could but i'd rather not get my shit DDoS'd

restive turret
snow pulsar
restive turret
#

*local

harsh thorn
#

UPNP is hit or miss

#

it works or it doesnt

restive turret
#

My network doesn't, and not in server places either

harsh thorn
#

most routers have it off by default iirc

restive turret
snow pulsar
#

Also I have servers that aren't dedicated ones

restive turret
#

If you testing plugins and dont need other people you can still host your own dedicated server on your own pc and join via localhost

snow pulsar
#

I know, but I gotta harass Ced and Ghostz since idk if my live server will shit itself or not. And it's a whole funny thing

#

Reasons why I back up my servers

restive turret
#

Your local has no connection with the other server if you aint hosting in the same place (which you prob arent)

slate flume
harsh thorn
restive turret
#

I even hosted a semi-public server when it was some Halloween update or something

harsh thorn
#

while you can
doing so will break a number of things;
global badges
cheater reporting

slate flume
#

🔥

restive turret
#

The server was run on my own pc so

harsh thorn
#

breaking gbadges violates the CSG
breaking cheater reporting is just shooting yourself in the foot

snow pulsar
#

@harsh thorn Can I get my refund yet from your hosting service stare

harsh thorn
#

and modified nicknames without the * may lead to cheater reports being denied because we see a funny name that doesnt match the name on the auth token

harsh thorn
#

and press refund on the latest payment (if eligable itl be pressable)

slate flume
snow pulsar
harsh thorn
#

and probably also interfering with NW staff duties

slate flume
#

Problem solved

harsh thorn
#

indeed

sweet flax
slate flume
#

Tuffff

#

I'm gonna make someone's name "Hubert Moszka"

harsh thorn
#

it wont violate CSG
but you do break cheater reports iirc, which i mean you kinda just put more work on your staff and the cheater wont be banned by us as we cant validate the proof kek

slate flume
harsh thorn
#

but if you try using other means to change the name to avoid using DisplayName you may break things

sweet flax
#

Oh i use displayname

harsh thorn
#

which could inturn break some rules or features that you shoot yourself in the foot with if you break them

restive turret
#

Nickname

sweet flax
#

Just patched it to not add the star on server side

restive turret
#

Or smth

slate flume
#

Clients still see a star

harsh thorn
#

itl hide it from the server itself, but clients will still see it

sweet flax
slate flume
#

Gotcha

harsh thorn
#

fair enough tbh

hearty shard
#

guh

hearty shard
#

evil creatures

wheat flower
#

does anyone know if the displaykit will have like layers?

#

or how will it work etc.

#

🦗

slate flume
#

It works off a canvas, you add elements to that canvas, then send it to players

soft depot
#

I was also told we can send individual updates to specific components (at least iirc) so that's also really nice

wheat flower
#

what i mean is, can the elements be ordered in layers

#

but ig we wont know until later

#

id imagine so

restive turret
#

You will see

#

I cant tell much since I dont know half of the ui keywords

slate flume
#

Well I'd have to imagine so, how else would conflicts be handled

#

It's like layering hints on top of one another

#

DisplayKit is just a much much more advanced iteration of that

#

It would be really odd if 2D UI elements could do something like z-fighting

wheat flower
#

make a funny animation of 2 ui elements fighting for higher z value please

#

🙏

#

(idk wtf im saying bro)

soft depot
soft depot
slate flume
#

Maybe I've been a chatbot this whole time

soft depot
slate flume
#

Especially since it doesn't already do that with hints

slate flume
#

With BuckshotHitreg

#

Why is it that this._hitmarketMaxHits uses this.ActivePattern and not the local activePattern

upper vapor
slate flume
#

It just requires fake syncing name

restive turret
#

Syncing fakename ig

#

Or displayname

#

ev.Player.ReferenceHub.nicknameSync.MyNick = "yeet";
ev.Player.DisplayName = "yeet";
Maybe idk

#

Even if you do that don't expect goes tru vsr Heartbreaking

#

*if it removes the star

celest thorn
#

We love CSG or VSR

restive turret
#

Ah csg

#

Ma bad