#plugins-dev-chat

1 messages · Page 59 of 1

severe cave
#

ikr

#

I dont how i found this

true cedar
#

um

celest thorn
#

bro

#

we all know what you searched up...

restive turret
#

yup

severe cave
celest thorn
#

you are making it worst

#

trust me

#

you can stop typing

slender lynx
#

sl devs i SWEAR

celest thorn
#

lol

severe cave
celest thorn
#

Im not the one

#

assuming the worst

severe cave
celest thorn
#

im just saying facts

#

Im not the one who sent

severe cave
celest thorn
#

spongebob getting white liquid in his face

celest thorn
severe cave
severe cave
slender lynx
#

what ate yall on abt

celest thorn
severe cave
true cedar
#

i think u guys should maybe perhaps stop

celest thorn
#

yea i think

slender lynx
#

used to it atp

celest thorn
#

valentines day...

slender lynx
#

dms off

#

i did get a lot of steam games though

severe cave
celest thorn
celest thorn
#

im confused by this entire convo

slender lynx
#

i dont blame you

celest thorn
#

im too normal sorry

slate flume
slender lynx
severe cave
slender lynx
#

ngl i dont even remember

restive turret
teal junco
#

an empty sample is basically 0.0f right?

spare zodiac
#

hey any idea why navmesh in HCZ is fucked up?

restive turret
#

Because HcZ is fucked up

#

Some rooms just

#

Special

spare zodiac
#

how special though?

#

is it fixable

restive turret
#

Idk

#

Maybe somehow can visualize the waypoints or smth

spare zodiac
#

idk if I can use only hitboxes or colliders

humble haven
#

How to create gunshots from nothing?

upper vapor
unique crane
#

Or get the audio file and play it from speaker toy

teal junco
#

i was gonna make a node based ai system but im starting to think I maybe should just figure out navmeshes

icy knoll
#

Does anyone know how to add static properties/methods to an interface? I see SecretAPI and some other plugins do it and it seems to work fine but when I do it for my project I always get Target runtime does not support default interface implementation

grand flower
#

Pretty sure I tried that a few days ago

#

didn't work

#

oh right no

#

static abstract

icy knoll
restive turret
#

Its net5+

#

Net standard wouldn't do shit

grand flower
#

If it works in secret api

upper vapor
grand flower
#

they probs just have latest C# version enabled

#

check that you do

restive turret
upper vapor
upper vapor
grand flower
#

yeah that's not static abstract

icy knoll
#

target framework is net48

restive turret
grand flower
#

Make sure you have latest C# enabled

terse bone
#

that's the key to success

grand flower
#

oh

restive turret
#

Hmm

icy knoll
#

is it fuckin mscorlib?

terse bone
#

yup

icy knoll
restive turret
#

Dont fuck the mscorlib

icy knoll
#

alright ill add mscorlib

#

see if that does smth

upper vapor
restive turret
#

Blowing your plugin app

icy knoll
#

dw

upper vapor
#

= [];

icy knoll
#

added mscorlib, still have the issue :c

upper vapor
#

Show your csproj

upper vapor
restive turret
#

Because its public, set it to private

icy knoll
icy knoll
#

but sure

upper vapor
#

Show your csproj file

icy knoll
restive turret
#

Btw.
SecretAPI doesn't use mscorlib as reference

icy knoll
restive turret
#

Ah ye

icy knoll
#

just checked

upper vapor
# icy knoll

Why are you running a Discord bot in an SL server...

icy knoll
#

I put it on a seperate thread dw

upper vapor
#

And what if the server restarts
The bot has to restart, too

icy knoll
#

yes

#

im aware

upper vapor
#

😭

icy knoll
#

Discord gives you 1000 bot restarts a day

#

if you exceed that then wtf are you doing

upper vapor
#

Okay how about you move the methods and field to a static class

icy knoll
#

that's what I did before but it was ugly as hell and annoying to maintain as I would have to go to seperate folders in API

upper vapor
#

Why

#

Place it next to the interface

icy knoll
#

i could make a new folder for it, true

upper vapor
icy knoll
#

im just tryna structure it in a good way 😭

upper vapor
#

Okay

icy knoll
#

idk what is best lol

upper vapor
#

Works on net standard 2.1 shrug

#

Dunno how eve hacked it

#

@hearty shard

#

How did you get default interface impl in net framework 4.8

hearty shard
#

its in server files

icy knoll
#

why did it not work for me then 😭

hearty shard
#

removing does this

#

add it

#

<Reference Include="mscorlib" HintPath="$(SL_REFERENCES)\mscorlib.dll" />

icy knoll
#

<Reference Include="mscorlib" HintPath="$(EXILED_REFERENCES)\mscorlib.dll" Private="false" />

#

I did add it

#

grrrr

upper vapor
#

Maybe do <DisableImplicitFrameworkReferences>true

unique crane
icy knoll
#

wait lemme clone secretapi on this machine

#

might be smth to do with me being on my mac rn

upper vapor
#

Imagine

hearty shard
icy knoll
#

it is because im on my mac

#

wtf

#

this is racism

#

or it may be because mscorlib is corrupted

#

lemme reinstall exiled references

#

yup it's not that, okie time to wait until i get home to finish this stuff then 😭

upper vapor
#

Did you update mscorlib from the SL files?

restive turret
icy knoll
#

usually works fine

#

unless they outdated

#

i dont have steam

icy knoll
#

it's really nice

#

windows is nice too but i prefer macs for developing 99% of things

restive turret
icy knoll
#

not rly

#

macs can have steam

restive turret
#

Mac doesn't have games

icy knoll
#

false

#

it does

restive turret
#

True it doesn't

icy knoll
#

it does tho 😭

restive turret
#

Nah in my mind there is 0 games on Mac, and only suffering

#

Anyway

#

Try it in Linux VM

#

Can Mac create vm?

icy knoll
icy knoll
unique crane
#

Mac when anything: no

restive turret
#

Or y'know lumi

icy knoll
#

😭

restive turret
#

Try it in GitHub actions

icy knoll
#

true

restive turret
#

Push changes see compile

restive turret
icy knoll
#

bruh

restive turret
#

Also you might wanna change the public observebale

#

Ti smtv lkmd

#

private / internal
and just a List

#

Also initialize too

unique crane
#

Or you can make your own ObservableCollection

#

Its just List wrapper with event delegates

icy knoll
#

ill just code with the errors

#

seems to work fine

#

and ill compile when at home or use github

restive turret
#

Or just don't do it inside the interface

icy knoll
#

no!

#

silly idea

#

i want it to be 1 class, easier to maintain imo :3

upper vapor
#

From jesus-qc's reference downloader

icy knoll
#

can you provide the link so i can star it

upper vapor
#

I can't find it lol

icy knoll
#

lol

restive turret
#

DepotDownloader should work

upper vapor
#

It's. NET so it should work

#

Uses DepotDownloader under the hood

royal mica
#

Should basegame issues be reported on the LabAPI github as well, or where

#

Rather, will this be fixed in the next update or yet to be reported?

hearty shard
#

!bugreport

regal lakeBOT
royal mica
#

bruh, I should learn to read

hearty shard
#

so serial is 0

restive turret
#

Oh lel

hearty shard
#

yeah

upper vapor
#

Northfart

royal mica
#

And reported SMILE

#

and also, the old bodies of players do not get their Ragdoll component stored?!

hearty shard
#

what

royal mica
#

Old ragdolls do not have the BasicRagdoll component

#

ok nvm something is very weird going on

#

yeah wtf, some ragdolls do not have BasicRagdoll component on it lol

restive turret
#

Because it's not a basic is advanced

royal mica
#

There is advanced ragdoll?!

#

me when I deal with Basic and Advanced walks in

#

(I love when I have to delete a reference from the list, so the Rider decompiler ACTUALLY DECOMPILES THE DLLS AND NOT CRASHES NOT DOING ANYTHING)

#

But wait, all ragdolls inherit the BasicRagdoll

#

wtf

restive turret
#

Lmao

#

I said it

royal mica
#

Just to double check myself, go.GetComponentInParent<BasicRagdoll>() gets all of the components that inherit BasicRagdoll, right?

restive turret
#

¯_(ツ)_/¯

teal junco
#

how do I install unity AI packages into scp sl? or is it already there?

#

sorry im just not at my pc

royal mica
restive turret
#

Already exists

teal junco
#

so its already in the managed dlls for SL dedicated server?

restive turret
#

Yes

restive turret
#

Also what u want with ai module

teal junco
#

i wanted to see if i could get a basic navmesh agent working

#

and then next i was gonna attach it to a dummy

restive turret
#

I don't think nw conpuled nawmesh

hearty shard
#

NOOO

royal mica
#

Someone shared a custom navmesh

hearty shard
#

JESUSSSA

restive turret
hearty shard
#

jesus got hacked or smth

languid temple
#

Yep

restive turret
#

F

languid temple
#

Their account is compromised

royal mica
#

clicked on a phising link evilWheeze

hearty shard
#

i asked him in dms and he gave me a thumbs up

#

xd

teal junco
#

if i attach the navmesh component to something and then bake it

royal mica
#

I think you can do that, but wouldn't that make the map gen much longer?

restive turret
#

I DO NOT KNOW

#

never used unity

#

Never used navmehs

#

Never made ai

teal junco
restive turret
teal junco
#

i could also have a program that runs through every possible room and caches the resulting navmesh and embed that into my plugin

restive turret
#

You can do is, make a nawmesh inside the prefab

#

I think

teal junco
#

that way its mostly a matter of grabbing the cached mesh

restive turret
hearty shard
teal junco
languid temple
hearty shard
#

#bringbackjesus

teal junco
#

so i wouldnt know how to find the gameobject

restive turret
royal mica
#

You could generate the room navmeshes and save them longterm serialized and them load them dynamically based on map generation

languid temple
unique crane
restive turret
#

iced, i think you should check out how navmesh and these stuff works

teal junco
restive turret
#

Or ask someone who know

teal junco
#

I might just put off this project until after vacation

teal junco
teal junco
restive turret
royal mica
#

AI enshittifcation arrives at SL: Every server is filled with AI bots despair

#

You see 24/25, you join and it just slot fill bots waiting for normal players

restive turret
#

I think you can patch that

#

SCP: SL BattleRoyal

teal junco
#

i wanted to make squad based AIs so they would coordinate and talk over vc and use their radios

#

that would be so tuff

unique crane
#

5 TPS

teal junco
#

I doubt it would be that heavy

limber silo
# hearty shard JESUSSSA

I installed an open source fat32 formatter because I was modding an old psp weeks ago and seems like it had a cookie stealer. I use a encrypted password manager and passkeys, my old password was ^V^NTfeycH9%pzsn08fUeJA16&rzaCXX, hate discord for not rotating session cookies periodically.

restive turret
#

Thanks for the password

#

Now im inside your account

#

Posting a cat pic.
Shhh jesus you should post a cat pic rn

restive turret
restive turret
upper vapor
restive turret
#

Ban this guy

teal junco
restive turret
#

Ye, like 1v1

teal junco
#

what would be cool would be an advanced knowledge construct

upper vapor
teal junco
#

so they can build their knowledge of the map and pickups and SCPs

#

they see the 127 room and run to search it and find nothing so the next time they see it they dont bother

restive turret
#

You need goal systems, many stuff

royal mica
upper vapor
#

XDDd

#

Kalácsképű

royal mica
#

yupyup xdx

restive turret
teal junco
royal mica
teal junco
#

apparently the schedules dont allow more advanced behavior like shooting while running

restive turret
teal junco
#

idk

#

i dont know much about programming AIs

restive turret
#

Me neither

teal junco
#

this would be my first NPC AI

restive turret
#

Never did such a thing

#

Currently my ai is just spinning around

#

Trying to find a door

#

In classD cells

teal junco
#

but i would have maybe a goal system and a state machine controlled by the goals

restive turret
#

As said

#

We should combine our knowledge

teal junco
#

so a goal to explore would have the state machine make the NPC navigate to new areas

teal junco
teal junco
upper vapor
teal junco
#

when take cover would tell the NPC's character to find a position out of the enemy's line of sight and fire would control the mouselook and dummy key emulator to shoot at the enemy

hearty shard
#

0 + 1 = 0

restive turret
#

1 + 1 = 1

upper vapor
hearty shard
#

yes

upper vapor
#

Yayayaya

teal junco
restive turret
restive turret
#

For statemachine.
Goal: Go to hcz.
Check if has card.
no => find card room
yes => go to one of the elev room
go to room
open door
is goal kc pickup => add inv
Else => open door
Do smth else

#

Heavilysimplified

teal junco
restive turret
#

So you can have a box that seed, but doesn't in next generation

teal junco
teal junco
#

thats a solid point though

#

that means you will not be able to cache the navmesh

restive turret
teal junco
#

that would be a pretty simple NPC though

#

as in there would have to be more features for stuff like adapting the goals based on the game state

restive turret
#

Ye would be cool for just a simple things

teal junco
#

like if Nuke is activated it should be able to void all goals to prioritize entering surface zone

#

or if it takes fire from a player on a different team it should void short term goals

restive turret
#

Basically would be simple as.
Find pickup with type.
Find pickup with category.
Go to room
Go to zone
Activate this.
Open door front of myself.

#

And you can parse params

#

UseItem,
Shoot,
Drop,
Reload,
And if scp.
UseAbility

But can do some state change

#

Like

#

StartSprint
This would edit the value inside Go to room to TP user faster.
StopSprint will just set back the value

teal junco
#

@restive turret do U use recieved position to move your character?

restive turret
#

No

#

Tbh code is not published to git so no idea what I use

#

I think its kinda same as the FollowPlayer one

celest thorn
#

does someone know if the rich text rotate works?

worthy rune
#

it works

celest thorn
#

like i was expecting the entire stuff to rotate

#

not like the single words

mossy prism
#

before i go to the effort of making one, is there a labapi version of allowing cuffed MTF/Chaos to escape and switch teams

hearty shard
#

like 3 of them

mossy prism
#

wonderful, i think in terms of finding these plugins I am struggling more as github keeps returning complete unrelated garbage

#

thanks

celest thorn
hearty shard
celest thorn
#

nah idc

#

im just trolling

#

calm down

slate flume
#

So it appears the server I do shit for has encountered issues yesterday and this morning where, for seemingly no reason, the server stopped sending heartbeats, and crashed

#

I say it's for seemingly no reason because I get no errors in the LocalAdminLogs

#

Is this just a likely server host issue or what might be the culprit here?

royal mica
#

Is it reproducable? Something might lock up the main thread

slate flume
#

But let me check something to confirm that

#

It was floated around that it might be a chaos spawn wave thing but I'll check it rq

#

Nope the issue appears to be gone

slate flume
royal mica
#

With no data or logs, it is possible

#

I only encountered this with plugin issues though

slate flume
# royal mica I only encountered this with plugin issues though

Yeah that's what I thought too but for the life of me I can't figure out why it would be doing this if it's not throwing an error
The only time I run any kind of while loop is inside of coroutines which wouldn't lock up the main thread
Is there any other way that the thread could be locking up?

royal mica
#

For us this happens when our webhook service dies cause couldn1t send to Discord

#

It runs in a Task though so that is the issue

slate flume
restive turret
#

CedMod can shutdown the server or smth

slate flume
#

I'm so confused

royal mica
#

Good question if those two are conflicting or something broke

restive turret
#

/shrug It restarted my server too, so maybe

royal mica
#

Why would server shutdown prevent heartbeat lol

#

or you mean it killed it internally?

slate flume
tulip kiln
#

Why is decontamination using IHealthbarRole's MaxHelath instead of HealthStat's MaxValue?

grand flower
#

NW moment

tulip kiln
grand flower
#

Patch it

#

Had to do it a few weeks ago

slate flume
soft turtle
#

What is the speed of the bullet?

#

I need to know the speed of the bullet to make a prediction

restive turret
#

2km/s²

hearty shard
#

depends how fast your CPU runs

#

if its REALLY slow then itll never occur!

restive turret
#

Then 1 cm / day

hearty shard
#

otherwise its done instantly

teal junco
#

it's a raycast

true cedar
#

^

teal junco
slate flume
soft turtle
teal junco
#

Ohh

#

you want to predict the tracer?

soft turtle
#

A yellow line that flies in the direction where the player shot

teal junco
#

well the tracers are client sided, and because theyre so short lived any kind of timing you could do relating to them would be irrelevant because of ping

sinful bronze
#

yooo

#

when was added new fogs for fog control??

#

8-13

restive turret
#

Idk

slate flume
#

I just

#

Don't know why

grand flower
#

Do you do scale stuff

slate flume
grand flower
#

Do you do it in the role changed event

slate flume
#

Uhhh good question

#

I don't believe so

#

There are two cases in which I do any player scaling

  1. Player flipped a coin and shrunk (the minimum scale is .6f)
  2. A command is run by a patreon member that changes their visible scale through sending ScaleMessages
#

I'm very lost tbh

#

No idea if anything in the clip is even relevant or if anything shown there caused the issue

#

I have no idea how to reproduce it

#

It feels very random

#

That one too

grand flower
#

check server logs for connId=0

royal mica
grand flower
#

or connection(0)

unique crane
#

They do not travel

#

simulated

hearty shard
#

David im gonna hit you with a scan

slate flume
harsh thorn
slate flume
#

Yeah I was talking with cedric about it

#

I don't know

#

What is happening

harsh thorn
slate flume
#

I tried rebuilding and pushing an updated version of our in-house plugin so we'll see if it crashes again

#

I republicized and updated the references and dependencies before building

#

Maybe it'll magically disappear

grand flower
#

heh

royal mica
#

Kinda bad suggestion, but as a last resort, you can put logs for start and ending certain suspicious functions so you can see in the log where the pause happens

#

Triangulate the problem

slate flume
#

I wish I even knew what suspicious functions there are but my plugin is mostly basic shit

royal mica
#

I've seen some basic stuff explode due to ??? reasons

#

Today I had to update my RA cause for some reason someone had null Refhub passed to the message

#

like what

#

undefined in c# ICANT

slate flume
#

The problem is

#

I have so many classes and functions and bullshit

#

It'd take me a huge amount of time to log each one

grand flower
#

find a way to reproduce it

slate flume
cedar jungle
#

Sigma

grand flower
#

You'll figure it out eventually

restive turret
#

ban

grand flower
#

I kinda wish servers wouldn't die like this without at least giving a glimmer of a hint

royal mica
#

I mean the only way would be running in pdb an gather the pointer stack

#

since most probably it is just stuck somewhere in the process

#

when there is no heartbeat then the process is stuck / completly dead

slate flume
#

The thing is my code shouldn't be getting stuck anywhere

#

Ced said it can't be CedMod

#

The only other plugin I have is SecretAPI

hearty shard
#

by itself it shouldnt though

slate flume
hearty shard
#

which version btw

slate flume
#

I can check

slate flume
#

I should update it

hearty shard
#

do not update to 2.0.0-beta

#

unless ur doing it in testing first

#

but yes use 1.1.2, its stable

true cedar
#

its eves fault

hollow oxide
#

@harsh thorn, theres a problem with cedmod

harsh thorn
#

you might want to explain what said problem is

icy knoll
royal mica
#

Someone tell ced77ric there is a problem with his Plugin.

#

also what is SODA

restive turret
#

a can of SODA

slate flume
#

Then let them handle it

#

You don't need to step in for them

slate flume
severe cave
#

Why is that when I change the scale of a player they noclip do I need to give them an upvector or smth like that?

severe cave
royal mica
slate flume
#

Or actually just generally too large

slate flume
#

Like if you're on surface and you set a player's height to be like 2x, they may fall through the floor if you don't move them up

severe cave
slate flume
#

How large were they?

severe cave
slate flume
#

That's very likely the problem

#

I tell you now as someone who's fucked with scaling a lot

severe cave
slate flume
#

Yeah

#

Give 'em upvector

severe cave
slate flume
#

That's my typical scale for determining shit

severe cave
slate flume
#

So yeah 5 units on the z-axis means 5x normal player width

#

Or height

severe cave
#

y and z are flipped

slate flume
#

Move them up and it shouldn't be an issue

severe cave
#

alr thx

slate flume
#

x-z width

severe cave
grand flower
#

You can check the capsule radius

slate flume
#

I know because it's shifted from desmos3d which uses z for height

hollow oxide
#

srry tech

slate flume
hollow oxide
slate flume
hollow oxide
slate flume
hollow oxide
spring swan
#

Screw being nice

#

Choose violence always fancytroll

hollow oxide
spring swan
hearty shard
#

and i will rage real soon

slate flume
#

I code as a hobby I'm filled with anger and rage

spring swan
hearty shard
#

uh i exist as a hobby

spring swan
#

I don’t even know how to code smug

restive turret
#

hello i dont even know how to code
Im slejmur

tulip kiln
#

hello I know how to code and I hate const

icy knoll
tulip kiln
# icy knoll why 😭

const by itself is fine, but finding it in a SL native class means I'll have to patch 129746 methods using it.

restive turret
#

REAL

hearty shard
icy knoll
#

cant you just patch the getter of the const and modify the result?

restive turret
#

me when i need to edit the const value for make my 173 TP faster or do anything

tulip kiln
#

It's replaced at compile-time

hearty shard
#

when you reference a const

icy knoll
#

shame

restive turret
#

bro

hearty shard
#

there is no getter

#

its compiled to that

#

yeah

restive turret
#

const is compile time

icy knoll
#

damn

hearty shard
#

exiled was gonna have a thing for it

#

but never got completed

restive turret
#

I did some patches for myself

hearty shard
#

i lied

#

it just wasnt part of exmod

restive turret
#

what the hell is this

hearty shard
#

ask valera on how it works

restive turret
#

not really interested on it

#

tbh

true cedar
hearty shard
icy knoll
#

paw can't be replaced

restive turret
#

also look horrid

#

cant really know what and where would be used

#

ConstProperty so bad even github doesnt know it </3

#

oh prob bc its only on dev

hearty shard
#

i gave u a link

#

xd

true cedar
hearty shard
icy knoll
#

ignore the opps

#

smh

restive turret
#

lumi

#

did you succeded with the static interface one

slate flume
#

So

#

The server stops giving heartbeats

#

It's something related to role changing

grand flower
#

probably scale related

#

are you setting scale on role change

#

at all

slate flume
#

OH FUCK

#

WAIT

slate flume
#

YES

#

HOW FIX

#

PLEASE 🙏🏼

#

I'm adding one frame delay GoodOne

grand flower
#

I literally asked you earlier lmao

#
[HarmonyPatch(typeof(FpcScaleController), MethodType.Constructor, typeof(FpcMotor))]
public static class NWFpcScaleControllerCtorFixes
{
    [HarmonyTranspiler]
    public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions, MethodBase method, ILGenerator generator)
    {
        var matcher = new CodeMatcher(instructions, generator)
            .MatchEndForward(
                new(OpCodes.Ldarg_0),
                new(OpCodes.Call),
                new(OpCodes.Call)
            )
            .ThrowIfNotMatch("Failed to find this.Scale = Vector3.one, did NW fix it?")
            .Set(OpCodes.Stfld, AccessTools.Field(typeof(FpcScaleController), nameof(FpcScaleController._scale)));

        return matcher.InstructionEnumeration();
    }
}

[HarmonyPatch(typeof(FpcScaleController), nameof(FpcScaleController.Scale), MethodType.Setter)]
public static class NWFpcScaleSetterFixes
{
    [HarmonyPrefix]
    public static bool Prefix(FpcScaleController __instance, Vector3 value)
    {
        if (value == __instance._scale)
        {
            return false;
        }
        
        __instance._scale = value;
        __instance.Hub.transform.localScale = __instance._scale;
        if (!NetworkServer.active || __instance.Motor.Hub == null)
        {
            return false;
        }
        
        new SyncedScaleMessages.ScaleMessage(__instance._scale, __instance.Hub)
            .SendToHubsConditionally(hub => hub.authManager && hub.authManager.InstanceMode == ClientInstanceMode.ReadyClient);
        return false;
    }
}
#

@slate flume

#

that'll fix (most) of it

#

if not all of it

slate flume
#

I'm sorry :(

grand flower
#

no worries hah

slate flume
#

I'm curious as to the specifics behind the problem

grand flower
#

Check if that works first, not sure if it's all of it

#

but basically some stuff was set in the constructor (which sent a message) and it would also send to the host player

#

which would cause an infinite loop

slate flume
#

Huh

#

So sending it to the host player causes a loop?

#

Why?

#

Sorry I'm just curious

grand flower
#

the host player is the server

#

host player receives the scale message

#

sets it locally

#

but locally is the server

#

so it sends it to everyone again

#

including the host player

#

rince and repeat

slate flume
#

So why was it only a problem when you do it during a player role change?

grand flower
#

some stuff isn't initialized

#

well

#

that'll still break (probably)

#

delay it by one frame

#

I have another patch for that but it changes a lot

slate flume
grand flower
#

and I wouldn't recommend using it

#

because we had to fix a ton of bugs due to events changing order

severe cave
#

what does fpc mean?

grand flower
#

first person controller

#

or character

severe cave
#

ok

#

never knew that

slate flume
#

This sucks

#

So much ass

#

I won't lie I'm still confused as to why this is a problem

#

So it's just magic initialization bullshit errors I can't understand

#

Got it

grand flower
#

So

#

Fun fact

#

Everything spewed here by the AI is bullshit in regards to the issue

slate flume
#

Love misinformation

#

This is why I avoid AI lmao

#

I'm just

#

Confused

grand flower
#

That's why I never use AI and most places I work at end up banning it

slate flume
#

Yeah I just don't understand the problem

#

Two questions and it can't even get it right 😭

slate flume
#

I'm just trying

#

To understand

#

Why everything breaks

#

Because like I get the sending messages thing I'm just confused why it only happens when initialization breaks

#

What does that have to do with each other idk I'm lost

grand flower
#

Idk ask Northwood for that part

#

I don't work on the codebase hah

#

I just know how it breaks, not why

#

For that part at least

slate flume
#

I appreciate you @grand flower

#

Thanks for the help

#

It means a lot

hearty shard
#

Alright

#

Whats up plugins-dev-chat

slate flume
hearty shard
#

Rage

slate flume
#

Fr

#

It's not often I have to ask AI to help me figure something out but not even other devs know why this is an issue

#

But AI sucks so it doesn't even help

severe cave
slate flume
#

NREs

grand flower
#

You'll get the guillotine where I work

slate flume
#

AI is a tool

#

It doesn't replace workflow but it helps with it

grand flower
#

Eh

#

Depends on the codebase

severe cave
grand flower
#

We blanket ban it nowadays because it costs us more in headaches and rewrites than it gives in time saved (which is in the negatives)

severe cave
#

watched the terminator movie yesterday

slate flume
#

But I didn't want to write the entire switch statement by hand

slate flume
#

So I asked AI to do it and then cleaned up the weird strings

slate flume
severe cave
#

oh

slate flume
#

So like it helped the workflow for me there and I saved like 10 minutes of time

#

But to me it's kind of like RegEx

severe cave
grand flower
#

I mean that switch would take 1 minute tops

slate flume
#

I pretty much never use it but when I do it's just to save a bit of time

hearty shard
#

Writing hard

slate flume
grand flower
#

Experience in writing switch statements? DogKek

hearty shard
#

hey cyn

severe cave
hearty shard
#

hows brights

slate flume
grand flower
slate flume
#

I apologize for being lazy but I didn't wanna type that all by hand lol

hearty shard
severe cave
grand flower
#

At this point I spend more time patching out exploits the community abuses than actual new stuff

slate flume
#

That existed

grand flower
#

But the next big plugin I've been writing for a week now will help

slate flume
#

This whole time

hearty shard
slate flume
#

Oh

hearty shard
#

its the gameobject name

#

So what nw called it

slate flume
hearty shard
#

try logging it

slate flume
#

Wait

hearty shard
#

id do it but i cba to get my laptop

slate flume
#

Right?

hearty shard
slate flume
hearty shard
#

the prefab name

#

Or wtv

slate flume
#

Bet

#

Lemme write that down for later

hearty shard
#

Check that

#

Has what its like to use for doors

#

i just realized

#

is that even working

#

i swear i tested but now im doubting myself

grand flower
#

Hah

slate flume
#

@grand flower should I vibe-code my whole plugin 🤔

hearty shard
#

cyn you

#

this chat makes me doubt myself every day

grand flower
hearty shard
#

cyn can i see what brights organisation is like

slate flume
grand flower
#

Define organisation

hearty shard
#

hows ur folder structure

#

For project

grand flower
#

Uhhhh depends on the person, but I've been rewriting a lot of plugins so mostly looks like mine nowadays

#

I'll send an example when home

hearty shard
#

um

#

how many plugins do you have over there

grand flower
#

46 i think

hearty shard
#

....

#

WHAT THE HELL

#

i have 3

#

Cedmod, PMER and custom stuff

grand flower
#

Bright's is the most heavily modded server lol (afaik)

hearty shard
grand flower
#

And we make all of them in house

hearty shard
#

i hate organising everything with a new project for each

grand flower
#

I like it

hearty shard
slate flume
grand flower
#

Something's fucked? I can disable plugins one by one to find the issue

grand flower
#

We have one big core and then plugins on top

hearty shard
#

i can disable half my plugin by commenting 1 line

grand flower
#

But yeah I'm used to stuff like that

#

Working on games that separate into different modules/plugins for cleanliness

hearty shard
#

i also have stuff loaded into like modules for stuff so they auto load and can have configs

hearty shard
#

Nws with

#

Labapi, local admin and the game

grand flower
#

You can and should apply that to servers too

#

Makes it way easier to maintain things

hearty shard
#

idk its weird

#

CT will do it too

grand flower
#

¯_(ツ)_/¯

hearty shard
#

for their labapi rework

#

but

grand flower
#

It's like having 100 mods in your minecraft modpack

#

Normal

hearty shard
#

fair ig

grand flower
#

Imagine all those mods as one big fucky mod

#

That's ass

hearty shard
#

it depends

tulip kiln
#

Anyone knows if there is a way for a client to send a SSSS keybind message to the server if said client can't see the keybind setting? I have a shitton of settings and wanted to make "pages", where certain settings are visible at once.

hearty shard
#

Im confused by it

#

Oh

#

No you shouldnt be able to

#

Send a keybind you dont know about

tulip kiln
#

Is there a way to make the client know about it, but not see it?

hearty shard
#

i mean theres SSMenu so kt might have smth

true cedar
hearty shard
#

💔

true cedar
#

:3

hearty shard
#

you give me fears

true cedar
#

look

#

u can look at the source code rn

#

for what the api will prob look like

hearty shard
#

U scare me

#

What if i make u fix it

#

thanks pai!!

true cedar
#

events

grand flower
#

I just find it cleaner organization wise

true cedar
#

thats the main reason why brights did it iirc

hearty shard
grand flower
#

Yeah

hearty shard
#

Or configs

#

To disable features

grand flower
#

I mean being able to just delete a dll to get rid of a plugin is nice

teal junco
teal junco
#

idk the full context but its safest to delete or move the plugin than disable it programatically

hearty shard
#

my point is
If you need a config for a specific part you can add that you dont need a new plugin for it

#

And yeah

#

If you need to dynamically disable, add that feature

#

I havent personally since i dont use it

#

however i might in the future, then id add it rather than having an event class disable a plugin in its config and restart server

#

i think what i said makes sense, if it doesnt whoops its 3 am

hearty shard
true cedar
#

what

hearty shard
#

Yes

#

Pai!

grand flower
grand flower
#

Wrong server

restive turret
#

Lel

upper vapor
upper vapor
upper vapor
upper vapor
carmine prawn
#

NO ASYNC TASK AWAIT LOOP

upper vapor
royal mica
royal mica
upper vapor
upper vapor
restive turret
#

Why creating another v3 if you already have one

upper vapor
restive turret
upper vapor
restive turret
#

Alao

upper vapor
restive turret
#

They could have just used
= value 😭

#

I swear if I ever get into NW I will do all of the things to run faster.

yknow removing the polimorphism from the code ClassDTroll1

#

My millisecond!

upper vapor
#

if (role.Type === adf)
callThis()
else if ...

restive turret
#

Changable color for tutorial SteamHappy

restive turret
#

😭 😢 Fear

upper vapor
#

yeah

#

you'll have to start unity to work at nw

#

csproj regeneration...

restive turret
#

I hate that

#

Like actually fuck off with that regeneration

#

Cant wait to migrate to better .net so they can ditch out the regeneration of csproj

#

Which will when happen.
Say with us!

Never!

slate flume
royal mica
upper vapor
#

Rider attaches with LLDB 🥲

restive turret
#

F

teal junco
restive turret
#

Maybe at 17

#

Or ∞

teal junco
#

most likely, if ever, maybe likr 15-17

restive turret
#

Get hired make it and fix things

teal junco
#

it would be a huge rework of roles systems i think

restive turret
#

Didn't they already have RoleTypeId.Custom

teal junco
teal junco
#

its Role Id 17 i think

#

and its just straight up missing

#

but in the enum is labeled as custom role

restive turret
#

No role used for it

teal junco
#

maybe role id 17 will be used for that

restive turret
#

They have to make a prefab for that

#

Which yknow well

#

Need a model or something

#

Would be funny if can be changed

#

But that would break a lot of things

#

Idk

upper vapor
#

material.color = Color.red

#

imagine if you sent an HDR color toomuchtrolling

#

holy players

restive turret
#

If you overshoot your color it will also do that

#

Like

#

new Color(10, 0.6, 80)

royal mica
#

Walking torch

upper vapor
#

-10 -10 -10

upper vapor
#

no need to parent light toys anymore

#

built-in optifine

royal mica
#

Become the light

restive turret
upper vapor
#

🗣️🗣️🔥🔥🔥🔥

royal mica
#

Bring back all the candies Smadge

restive turret
#

Real

#

Give us hubert moon again

#

With changable texture

#

Capybara moon

royal mica
#

Moon moon

restive turret
#

137 moon

upper vapor
sinful bronze
upper vapor
#

it might have been caused by some network awaitable bs i did

#

back to tasks ig sign_smh

restive turret
#

You prob didn't dispatch on main thread

frail pilot
upper vapor
hearty shard
random scaffold
#

typical nw moment

carmine prawn
#

what events related to 3114 are in basic game?

restive turret
#

None

#

There ks no 3114 events

carmine prawn
#

💀

restive turret
#

Make a git issue or smth, idk if already being worked on