#plugins-dev-chat

1 messages · Page 67 of 1

upper vapor
#

locker.Loot

celest thorn
#

LockerChamber.SpawnItem if you wanna substitute it with another item or else use Loot

random scaffold
#

why particle disruptor just kill the player?

#

by ev.Player.AddItem

hearty shard
#

what

tulip kiln
#

It does

upper vapor
tulip kiln
#

when reason is StartingItem

upper vapor
#

AdminCommand maybe

tulip kiln
#

MagazineModule freaks out

unique crane
#

You might need to set the ammo in the chamber

upper vapor
celest thorn
#

lol what

unique crane
#

magazine module

celest thorn
#

you can get killed

#

if the ammo is 0 for the Particle???

#

wtf

unique crane
#

Yea if you spawn with it

random scaffold
celest thorn
unique crane
#

Its been like that since disruptor has been added

celest thorn
#

it never happend to me

#

probably i spawned it always correctly

unique crane
#

Cause you-

#

yea

celest thorn
#

im cool ig

hearty shard
#

false?!

#

hi david

tulip kiln
#

It will silently disconnect the player if you give it with SpawningItem, because it tries to insert the mag

#

and guess what the disruptor does not have

#

an ammotype

hearty shard
#

when fix

celest thorn
spare zodiac
#

zo people is there epic way to detect when person opens inventory or is it client sided?

random scaffold
#

typical nw moment

#

my role is overwatch

royal mica
#

Clearly you are ClassD

#

what

random scaffold
royal mica
#

oh you are spectating I see

unique crane
#

I surely did not forget

tulip kiln
unique crane
#

Where tf is it defined

tulip kiln
#

Maybe in the prefab?

tulip kiln
#

The yellow dots

upper vapor
#

????

tulip kiln
#

?????

upper vapor
#

what yellow dots

tulip kiln
#

Did you see the photo attached?

#

In the message I linked?

upper vapor
#

OHHHH

#

you need the texture for that

tulip kiln
#

Afaik the server has no idea what the dots look like

#

only the client does

#

and a custom keycard takes a color

#

not a texture

upper vapor
#

well yeah cuz most textures are stripped

#

wait

#

@unique crane some keycardgfx relating to PermissionDetail

sinful bronze
#

@tulip kiln try #CDA825

#

or #CDAA26

upper vapor
#

where did you get that

tulip kiln
#

Will do in a second

#

Wait

#

how did you get it?

#

I thought x3j50 responded lmao

upper vapor
#

let me guess

sinful bronze
upper vapor
#

screenshot

sinful bronze
#

i open texture

unique crane
#

@tulip kiln #CEAB26

upper vapor
#

that's not the permission dots

tulip kiln
sinful bronze
#

i think it's a same color

unique crane
#

Its the same color yea

upper vapor
#

nope

unique crane
#

yellow

upper vapor
#

😭

sinful bronze
#

permission colors works funny

upper vapor
#

is this a reference to the "men can't tell the difference between two shades" video

tulip kiln
#

I wouldn't be able to tell if it wasn't for the game's lightning system

#

But that disrupts it a lot

tulip kiln
#

Looks perfect

unique crane
#

Very epic

celest thorn
random scaffold
#

how i can get friendly fire status from gameplay config?

upper vapor
#

look at how serverconfigsynchronizer does it

random scaffold
#

doesnt exists there

upper vapor
#

then

#

Server.FriendlyFire

#

or something

random scaffold
#

wrong way

upper vapor
#

decompile it

upper vapor
tulip kiln
#

ConfigFile.ServerConfig.GetBool("friendly_fire", false);

upper vapor
#

i'm delulu

#

mb

royal mica
unique crane
#

I love that you can spawn HCZ props

upper vapor
#

put a rigidbody on 'em and spawnmessage every frame toomuchtrolling

hearty shard
#

david do not cook

unique crane
#

I will cook!

#

Its easier to cook plugins for CZ servers cause there is barely none

upper vapor
#

can you cook whoever f'd up the audio mixer when migrating to unity 6
-# you can cook unity employees, too, idm

unique crane
#

I think thats Unity employee

#

and I dont mind cooking these

upper vapor
upper vapor
#

-# idk if i spelled it correctly

#

are you telling me that czechia has less "custom" plugins than hungary

unique crane
#

Praha hlavní nádraží

upper vapor
unique crane
upper vapor
#

@restive turret surely you know more about that than i do

unique crane
#

But here its either public labapi / exiled plugins

#

or copied ones from other servers

#

xd

unique crane
#

Or its custom made plugin

#

thats the same as public one

unique crane
#

Oh coin gambling ones are favourite

celest thorn
#

italian server are even worse

#

only one server has custom plugins

unique crane
#

¨(its yours)

#

isnt it

celest thorn
#

fuck the italians

upper vapor
unique crane
#

Idk

celest thorn
#

they don't understand art

unique crane
#

It sometimes appear as I type fast

#

like when I click on brackets fast

upper vapor
celest thorn
#

that cry

unique crane
#

Oh I found it

celest thorn
#

and complain that you're server is not the same as the others

#

only one server is entirely custom and that is Inzi's Server

unique crane
#

What the fuck

unique crane
#

Here its always

celest thorn
upper vapor
#

i wanna play official servers!!!

unique crane
#

"your copying the other server!!!!"

upper vapor
#

so i'm gonna shit on a custom server

celest thorn
#

Nah people REALLY like vanilla servers

unique crane
#

"ill report you to the NW!!"

celest thorn
#

or an RP

unique crane
celest thorn
#

lol

upper vapor
#

sounds

#

very intimidating

unique crane
#

But I do not like playing on some servers anymore

celest thorn
#

i even laughed because someone at verification

#

couldn't understand why i was banned

#

lol

upper vapor
celest thorn
#

the lifted it one hour later

celest thorn
#

because i was bringing american modded server in italy

#

and their server were loosing members

#

and everyone started copying us

upper vapor
celest thorn
#

and then we died

celest thorn
upper vapor
celest thorn
#

i just know i got banned

#

and none knew the reason

upper vapor
celest thorn
#

funny enough

#

but it was 3 years ago

#

so i guess its lost to time

#

wait

#

we are in 2025

#

nope its 5 years ago

unique crane
upper vapor
#

i'm what

celest thorn
#

im still 18

unique crane
#

Whats unc

upper vapor
#

i'm not 18 yet

celest thorn
#

NAH NAH

#

i don't believe

celest thorn
upper vapor
#

do you need ID & shi

unique crane
#

Nah ax doesnt sound 18+

celest thorn
#

wtf are you guys on

#

he sounds old

upper vapor
#

🤯

celest thorn
#

i gave him 20/19 years old

unique crane
#

Yea you just said that

celest thorn
#

lol

unique crane
#

I see that

celest thorn
#

not fucking 17/16 lol

upper vapor
celest thorn
#

i hope you aren't less than 17/16

#

else i feel old

upper vapor
#

i'm not

#

in fact

celest thorn
#

lol

upper vapor
#

i don't even exist

celest thorn
#

Crazy

upper vapor
unique crane
#

Hungary doesnt exists (hopefully)

upper vapor
#

PLEASE

celest thorn
upper vapor
#

END MY SUFFERING

celest thorn
#

where tf did i go

unique crane
#

There is only north hungary

#

(slovakia)

celest thorn
#

LOL

upper vapor
#

sun-kissed land

unique crane
#

idk what do you mean by that

#

But I mean slovakia

celest thorn
#

lets behonest the best country in europe is france

upper vapor
#

nógrád county

upper vapor
unique crane
#

no

unique crane
#

this

upper vapor
#

yeah that includes nógrád

unique crane
#

Okay

celest thorn
#

geopolitcal discussion crazy

upper vapor
#

Győzike lives there

celest thorn
#

if you go a bit under

#

you will see a country that is dying

#

old people

upper vapor
celest thorn
upper vapor
#

alföld is the big flat area

upper vapor
#

that's

celest thorn
#

Looks cool

upper vapor
#

not NW-related

celest thorn
#

like full reports on how italy is dying

upper vapor
#

are you happy about that or sad about that

celest thorn
#

im going to be honest im starting to hate this country more and more

celest thorn
upper vapor
#

lmao

celest thorn
#

because i know when im gone the old fuckers

#

are gonna be dead

upper vapor
#

😭

celest thorn
#

italy rn is censorship

#

and i was the first one saying it wasn't

#

but recently i saw with my eyes

#

how it was censored

#

from books to stuff

upper vapor
#

pfff

celest thorn
#

and people are escaping from this country

upper vapor
#

okay

celest thorn
upper vapor
#

sad okay

#

like

#

familiar

celest thorn
#

removing rights to people to protest is not ok

celest thorn
upper vapor
#

can we make politics simulator in SL

celest thorn
#

if one day we don't see you i know you are in some hungarian prison

celest thorn
upper vapor
#

it wouldn't be very entertaining

#

except for old ppl maybe

celest thorn
#

if you don't find the correct people

#

and the correct mindset

upper vapor
celest thorn
#

in hungary yes lol

upper vapor
#

no, but

#

i'm not gonna say anything about that here

celest thorn
#

in italy no but they will give you the the treatments to make you go crazy

#

if you got the wrong people

#

lol

#

at least the gov pays me for being inside a cell and get medicated

unique crane
#

what

upper vapor
#

they put you in a room
a rubber room with SL devs

unique crane
#

No thats basement

restive turret
#

i slowly making a 100% in doom eternal

celest thorn
# unique crane what

there are some parents who actually close their sons / daughters for stuff they don't like if they start developing some symptoms they don't like they can ask for "TSO" which is like going to an hospital but staying there forever and constantly watched

upper vapor
celest thorn
#

the only one who can revoke it is a judge

#

but imagine that is impossible

#

now adays is harder to get it

#

but some people still slip through the cracks

#

recently a guy on tiktok went viral for a case like this

unique crane
#

Crazy

celest thorn
#

but he will die in there 100%

#

none is going to believe someone who is constantly medicated

upper vapor
#

solution: pipe bomb simple_cat_lol

upper vapor
#

😭😭

restive turret
tulip kiln
slender lynx
#

lock them in a room and it'll sort itself out

unique crane
#

Man im just going to buy a shed in middle of nowhere

#

and goodbye

upper vapor
celest thorn
upper vapor
#

we need to find sheds

#

and live out there

slender lynx
upper vapor
#

peace

celest thorn
upper vapor
#

become monks but not necessarily for religion

#

idk how that makes sense

celest thorn
#

someone will still find me

unique crane
#

South pole it is :3

upper vapor
#

just dig down to bedrock

celest thorn
#

i will do a big ARG to catch me

#

just because i wanna mess with people

upper vapor
#

make a skybase

#

-# bad idea

celest thorn
#

leave like a trail of bread crumbs around

#

and just for the most schizo of my family to find me

upper vapor
tulip kiln
upper vapor
celest thorn
upper vapor
#

yeah

celest thorn
#

oh yea im not worth that much

upper vapor
#

that's the prize?

celest thorn
#

ig money

#

and a free shed in the middle of nowhere

upper vapor
#

1 buckaroo

celest thorn
#

1 euro

upper vapor
#

and 6 rants about SL, politics and pizza

unique crane
#

deal

celest thorn
#

just rats

unique crane
#

ew

celest thorn
#

i love rats

unique crane
#

Get parrots

#

much better

celest thorn
#

you are telling me you prefer a parrot

#

that mimics you

#

than a rat

unique crane
#

Nah just get a cockatiel

celest thorn
#

that is smarter

unique crane
#

she doesnt mimic me

upper vapor
#

i mean as in

celest thorn
upper vapor
#

annoying guests

celest thorn
#

"fuck you"

#

it was the parrot not me

restive turret
#

Or it will scream "let me out"

upper vapor
#

now teach the parrot that in language the guests will not understand

celest thorn
restive turret
#

And someone will call the cops on u bc of it

restive turret
celest thorn
#

if the parrot learns "let me out" that means she/he hears it everyday

#

lol

#

SO THAT MEANS YOU HAVE PEOPLE IN YoUR BASEMENT?

#

Hubert reference

upper vapor
#

LMFOA

celest thorn
#

im pretty sure the entire nw team is in hubert's basement

unique crane
#

Yes correct

upper vapor
#

would you rather stay in italy or

celest thorn
#

see

celest thorn
upper vapor
unique crane
upper vapor
unique crane
#

im there

upper vapor
#

then how do you know there others outside the basement

restive turret
unique crane
#

wait i cant read

#

uhh

#

You can count discord members

#

yknow

celest thorn
unique crane
#

and people inside

restive turret
#

You get like 0.1 eu/h

upper vapor
#

or

#

levels

unique crane
#

Well I dont know

celest thorn
#

this is the room used by safety compliance when a cheater gets found

unique crane
#

Nah they just get shot

celest thorn
#

Crazy

#

execution like the cartel

upper vapor
#

i can get to NW HQ with 3 trains

upper vapor
#

not even dificult

celest thorn
restive turret
#

Who's mason

upper vapor
celest thorn
upper vapor
#

okay who

celest thorn
#

this guy

upper vapor
#

who named that

restive turret
upper vapor
#

no

#

that's KözEI

#

közép-európai időzóna

#

i thought it was közel but it's távol toomuchtrolling

restive turret
#

💀

celest thorn
#

corvin was my stop for the hotel

#

i still remember it

slender lynx
celest thorn
#

i could pull it of

#

but none would care

restive turret
#

Pull some

celest thorn
#

everytime

#

it was a pain

#

understanding

#

but if it was strange no

#

if it was corvin

#

then yea

#

next one was and if we were with the tram that was the one

upper vapor
#

a semmelweis klinikák állomás következik

restive turret
celest thorn
#

let me find the hotel

upper vapor
celest thorn
#

why?

#

im not there anymore lol

celest thorn
#

here

upper vapor
#

ungheria

celest thorn
#

yea thats in italian

#

hungary

upper vapor
#

okay olaszország

celest thorn
#

for italy

#

lol

upper vapor
#

now you know how it feels

celest thorn
#

ungheria sounds nice

#

lol

#

it seems spanish

#

holasorsaa

#

like lol

restive turret
celest thorn
#

this is how its said in italian

#

same as in english

restive turret
#

Not in Hungarian lol

upper vapor
static osprey
royal mica
#

You know I love more?

#

When RA says you are not connected to a server

#

best feeling

static osprey
# hearty shard fix it

idk if it was this issue or not but i think someone looked into it and couldnt find out why its happening

royal mica
#

isn't it cause of clientConnection is null?

#

also it is one of those forever bugs that are impossible to repro so fixing is almost impossible

royal mica
#

pog

static osprey
#

my plugin is doing player.disconnect on me then when i join back it just does that

royal mica
#

oh so it is a race condition on clientside

static osprey
#

perhaps, maybe some dev will look here and look into it

celest thorn
#

Schrödinger's server fix?

hearty shard
#

.Scp939VisibilityController::ValidateVisibility(ReferenceHub hub) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at HarmonyLib.CodeMatcher.CreateLabel (System.Reflection.Emit.Label& label) [0x00000] in <0020ee40255b4dc7a0eb8b2a76225b38>:

#

me when

#

oh actually

#

nvm still issue

#

ok im stupid i didnt pass the ILGenerator

obtuse spruce
#

Why NW implement AudioTransmitter and not a method to just pass an filePath argument wtf SkullClownRainbow

grand flower
#

Making your own isn't too hard

#

at least

hearty shard
#

hi cyn

obtuse spruce
grand flower
hearty shard
#

slowly figuring out transpilers

grand flower
obtuse spruce
#

ive deleted my wrapper to use LabAPI wrapper but the wrapper are.....

tulip kiln
#

You'll be like 130km away from me

slate flume
#

Still sucks though

slate flume
static osprey
#

wdym

#

whts gd

slate flume
#

I almost had a stroke trying to parse what you were saying

static osprey
#

dewd

slate flume
#

You're like micro-optimizing sentences to compact them as much as possible for no reason

static osprey
#

unc dnt know english 🙏 🙏 🙏

slate flume
#

I know English I just don't know a lot of brain rot lmao

#

You're just removing random vowels for no reason

#

"dnt" "evn" "jking"

#

Like just

#

"don't" "even" "joking"

#

I get abbreviating shit but you're removing one letter from words for literally no reason

#

This is the type of shit old-school newspapers used to do lmao

static osprey
#

brv its nt tht srs fr

slate flume
#

I just don't get it

#

I'm not like trying to scold or anything I'm just genuinely a little confused

#

I'm like a boomer who doesn't understand modern trends rn

#

No hate I'm just trying to get why you do it

grand flower
#

It's brain rot

barren pasture
#

How can I change player scale client side?

hearty shard
hearty shard
#

yea

slate flume
plain gazelle
#

How can i spawn in the three target toys? (mainly the dboy target)
And is it possible to spawn in the Lockers, SCP Pedestals, Workstations, etc, without MER? Just with LabAPI?

Im not smart enough to search through MER code to find out how they do it ,_,

upper vapor
upper vapor
teal junco
upper vapor
#

you can just use AudioPlayerApi or read the samples yourself

upper vapor
upper vapor
#

wow...

upper vapor
teal junco
#
GitHub

Contribute to Michal78900/ProjectMER development by creating an account on GitHub.

GitHub

Contribute to Michal78900/ProjectMER development by creating an account on GitHub.

celest thorn
#

hii chat

spare zodiac
#

what is the maximum number for seed?

#

like can I have seed:
-# 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

upper vapor
#

int.MaxValue

#

idk why you need that though

spare zodiac
upper vapor
#

the seed is just a 32-bit integer

spare zodiac
#

you can know what room will be where based on seed right?

#

I'm just interested why is there not seed finder for SL like for mc

upper vapor
#

because people didn't feel like replicating the map generation code

royal mica
#

There is nothing interesting to find in the seeds

random scaffold
royal mica
#

you don1t need to lol

hearty shard
#

Or at least a viewer of it

hearty shard
#

So only positive numbers

royal mica
#

-1 just generated a random positive seed

#

but with plugin you can have -2

#

Ah but how System.Random works, negative numbers are Absoluted

#

so -2 == 2 for the seed

unique crane
#

@upper vapor Did you have to do something with primitive object colliders to get OnTrigger event to work?

#

And yes, I did set the onTrigger to true

upper vapor
#

nope

unique crane
#

but it just wont trigger 😭

upper vapor
#

well

#

client has to have the collider off

#

if it's a primitive

#

and the server must have the collider enabled

#

you can use sloc, it works :3

unique crane
#

Hm?

icy knoll
#

for me, this makes an invisible cube and CheckVoid has a OnTriggerEnter method that is called properly here

#

idk if that's exactly what you want but ye :3

upper vapor
#

bruh

#

that works

icy knoll
#

yes

upper vapor
#

for cubes

royal mica
#

I had this issue a while ago and literally adding a box collider to it was the solution

upper vapor
#

also why don't you set the flags before spawning it

royal mica
icy knoll
icy knoll
#

also, here are the flag methods

upper vapor
#

primitve.Flags = 0

royal mica
icy knoll
upper vapor
unique crane
#

Lets see

#

Okay so I had to add extra collider

#

wtf

#

Unity

upper vapor
#

you don't have to

#

set the primitive type & flags
then enable its collider

royal mica
#

No?

#

Anything you do on the existing collider is synced

upper vapor
#

no

#

the flags are synced

unique crane
#

Honestly

#

I just want to get this done

#

and not touch this 2 year old code again

tulip kiln
#

Anyone knows how do I patch this? I have this and harmony can't find it.

worthy rune
#

public readonly bool?

hearty shard
#

wait you can put readonly mark into a method?

worthy rune
#

maybe its likes c++'s const

#

just saying the function is pure

hearty shard
#
public readonly bool CheckPermissions(
      IDoorPermissionProvider provider,
      IDoorPermissionRequester requester,
      out PermissionUsed callback)
    {
      if (this.RequiredPermissions == DoorPermissionFlags.None)
      {
        callback = (PermissionUsed) null;
        return true;
      }
      callback = provider.PermissionsUsedCallback;
      return this.CheckPermissions(provider.GetPermissions(requester));
    }
#

it actually is that

hearty shard
worthy rune
#

it wont mutate the class

hearty shard
#
using InventorySystem.Items;
using System;

#nullable disable
namespace Interactables.Interobjects.DoorUtils
{
  [Serializable]
  public struct DoorPermissionsPolicy(
    DoorPermissionFlags requiredPermissions,
    bool requireAll = false,
    bool bypass2176 = false)
  {
    public DoorPermissionFlags RequiredPermissions = requiredPermissions;
    public bool RequireAll = requireAll;
    public bool Bypass2176 = bypass2176;

    public readonly bool CheckPermissions(
      IDoorPermissionProvider provider,
      IDoorPermissionRequester requester,
      out PermissionUsed callback)
    {
      if (this.RequiredPermissions == DoorPermissionFlags.None)
      {
        callback = (PermissionUsed) null;
        return true;
      }
      callback = provider.PermissionsUsedCallback;
      return this.CheckPermissions(provider.GetPermissions(requester));
    }

    public readonly bool CheckPermissions(DoorPermissionFlags flags)
    {
      return (this.RequireAll ? (flags.HasFlagAll(this.RequiredPermissions) ? 1 : 0) : (flags.HasFlagAny(this.RequiredPermissions) ? 1 : 0)) != 0 || this.RequiredPermissions == DoorPermissionFlags.None;
    }

    public readonly bool CheckPermissions(
      ReferenceHub hub,
      IDoorPermissionRequester requester,
      out PermissionUsed callback)
    {
      callback = (PermissionUsed) null;
      if (this.RequiredPermissions == DoorPermissionFlags.None || hub.serverRoles.BypassMode)
        return true;
      if (hub.roleManager.CurrentRole is IDoorPermissionProvider currentRole)
        return this.CheckPermissions(currentRole, requester, out callback);
      ItemBase curInstance = hub.inventory.CurInstance;
      return (UnityEngine.Object) curInstance != (UnityEngine.Object) null && curInstance is IDoorPermissionProvider provider && this.CheckPermissions(provider, requester, out callback);
    }
  }
}
#

it should be patchable

tulip kiln
#

Harmony claims otherwise 😭

hearty shard
#

can u show full code

tulip kiln
#
[HarmonyPatch(typeof(DoorPermissionsPolicy), 
    nameof(DoorPermissionsPolicy.CheckPermissions),
    argumentTypes: [typeof(IDoorPermissionProvider), typeof(IDoorPermissionRequester), typeof(PermissionUsed)])]
public static class PolicyCheckPermissionsPatch
{
    public static bool Prefix(ref bool __result, IDoorPermissionProvider provider, IDoorPermissionRequester requester, out PermissionUsed callback)
    {
        callback = null;
        return true;
    }
}
upper vapor
#

uh

tulip kiln
#

I also tried doing ref PermissionUsed callback but the effect is the same

upper vapor
#

you can't patch out methods with attribute

#

you need TargetMethods()

hearty shard
upper vapor
#

and typeof(PermissionUsed).MakeByRefType()

upper vapor
hearty shard
#

oh yeah

#

cuz MakByRefType cant be done since its not a const

royal mica
#

Actually, does the compiler report an error if you mutate the class when using readonly?

hearty shard
#

compiler wont let you do it directly though

royal mica
#

No I meant the function

#

not readonly variable, duh

hearty shard
#

idk

#

cuz idk how it works

royal mica
#

oh yeah it does

#

This is a struct only thing

hearty shard
#

try it

upper vapor
#

is there a TargetMethod?
i thought harmony only had TargetMethods

hearty shard
tulip kiln
#

Got it to work with this:

            MethodInfo original = typeof(DoorPermissionsPolicy).GetMethod("CheckPermissions", [typeof(IDoorPermissionProvider), typeof(IDoorPermissionRequester), typeof(PermissionUsed).MakeByRefType()]);
            MethodInfo prefixMethod = typeof(PolicyCheckPermissionsPatch).GetMethod("Prefix");

            RoleplayPack.Instance.harmony.Patch(original, new HarmonyLib.HarmonyMethod(prefixMethod));
royal mica
#

LabAPI Harmony extensions when xdx

upper vapor
royal mica
#

That is not build in

upper vapor
#

right

#

PR it toomuchtrolling

royal mica
#

cat SCPSL-Helpers.dll >> LabAPI.dll troll_smile

upper vapor
#

😭

#

i plan to extend my harmony extensions sometime for codematcher

royal mica
#

I mustn't forget to delete META-INF folder

upper vapor
#

is that...

#

is that j*va

royal mica
#

perhaps

#

That sounds so cursed

unique crane
#

Java SL plugins

#

skull

carmine prawn
#

i know jvav

spare zodiac
upper vapor
#

imagine

#

Bukkit in SL

tepid sluice
#

Yo there is a prob in Assembly-CSharp

#

MainModule.CharController may be null

#

and cause console spam

[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) [0x00018] in <6869b1608d104370ab4484f8f699b3fc>:0
[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at UnityEngine.CharacterController.get_radius () [0x00006] in <8ec4296b0b8f44929cd444aea301ae68>:0
[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at PlayerRoles.FirstPersonControl.FpcStateProcessor.UpdateMovementState (PlayerRoles.FirstPersonControl.PlayerMovementState state) [0x00075] in <093a5c0d652d42d593cd177a9f57d69f>:0
[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at PlayerRoles.FirstPersonControl.FirstPersonMovementModule.UpdateMovement () [0x0000d] in <093a5c0d652d42d593cd177a9f57d69f>:0
[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at (wrapper delegate-invoke) <Module>.invoke_void()
[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at PlayerRoles.FirstPersonControl.FirstPersonMovementModule+<>c.<Init>b__109_0 () [0x0000e] in <093a5c0d652d42d593cd177a9f57d69f>:0
[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at (wrapper delegate-invoke) <Module>.invoke_void()
[2025-07-14 20:10:27.589 +08:00] [STDOUT]   at StaticUnityMethods.Update () [0x00009] in <093a5c0d652d42d593cd177a9f57d69f>:0```
#

and players' pos wont be updated anymore

hearty shard
#

this is usually caused by an exception in StaticUnityMethods.Update which breaks the game

#

its plugin afaik

tepid sluice
#

should add a null check

hearty shard
#

thats a unity error

#

CharController isnt null

#

CharController.get_radius is throwing a null error when called

#

which is unity error

tepid sluice
#

okay

hearty shard
#

and like i said its usually caused by a plugin breaking

tepid sluice
royal mica
tepid sluice
#

And i used a patch to fix it

royal mica
#

imagine someone start putting down dirt blocks in heav 💀

upper vapor
plain gazelle
#

Does storing a players steamID for the entire duration of a round go against official server guidelines?
I wanted to save who did what using just a Player reference, but what they did should stay even if they reconnect. But since players can have DoNotTrack, im not 110% sure how i could handle this.

#

Eh ill probably avoid it in any case

upper vapor
#

that's fine, if you delete it when the round ends

plain gazelle
#

Thank you

upper vapor
#

yeah you can't keep them for extended periods, but per-round is okay

plain gazelle
#

Alrighty ExcitedCatBlob

hearty shard
#

gameplay has to be per round tho afaik

plain gazelle
#

Okiii
Basically i want players to be able to spawn something in but only have one of those per round, but they dont get deleted on disconnect.
So i wanted to not use Player references to avoid someone constantly rejoining and keep spawning new ones xd

true cedar
#

shut up eve

upper vapor
#

she hasn't argued today

true cedar
#

idc!!!

upper vapor
#

you should be proud of her

#

eve not being mad (legendary occurrence)

hearty shard
#

its okay

#

i forgive u for ur crimes

true cedar
#

MY crimes???

hearty shard
true cedar
#

im innocent

hearty shard
#

guilty

true cedar
#

of what.

hearty shard
#

everything

#

ur very hurtful

true cedar
#

lies

#

idk why you feel the need to defame me

hearty shard
#

ur mean

#

:c

true cedar
#

is that french

obtuse spruce
#

ok mb it work just a file skill issue

obtuse spruce
true cedar
#

my condolences

obtuse spruce
true cedar
#

get better soon

obtuse spruce
#

049 gate didnt have it own DoorName ?

severe cave
#

is there a way to play the sound when a keycard door is declined

unique crane
severe cave
#

the sound

unique crane
#

Thanks for specifying the answer...

#

oh

#

Well

severe cave
unique crane
#

you will have to get it and play it via speaker toy then

severe cave
#

not the sound

unique crane
#

Wdym

severe cave
#

on the door

unique crane
#

Like play the denied anim

#

?

#

I meant denied anim by that

severe cave
royal mica
#

oh no another magyar, how many are there

#

What exactly do want to do? If you write it in hungarian I can help translate

royal mica
#

But I assume you need DoorVariant.PermissionsDenied

severe cave
#

I just explained it to him, and he explained it to me how to do it.

upper vapor
severe cave
royal mica
#

it also plays the no permission animation

severe cave
royal mica
#

this is called when you do not have a keycard

upper vapor
upper vapor
severe cave
#

alr

upper vapor
#

RpcPermissionDenied needs permissions too and you'll see the effect too

#

Like visually

#

So if you only want the sound, use a SpeakerToy

severe cave
royal mica
royal mica
#

it is private though and is in BasicDoor

#

so reflection / publicize magic

upper vapor
spare zodiac
#

what is dirty bit inside fake sync vars?

icy knoll
#

all i know is that 2 is rotation and 3 is scale

#

so 1 is position probably

#

idk

upper vapor
#

There's no 3

#

They're powers of 2

icy knoll
#

0-2 ig then?

#

OH

#

okie

upper vapor
#

Dirty bit

icy knoll
#

from what i know about computer science a bit is 1 and a byte is 8

upper vapor
upper vapor
icy knoll
#

oh okie i get it

#

4 is scale then :3

spare zodiac
#

this is what I got:
player.SendFakeSyncVar(player, typeof(playerrolecontroller), nameof(Role), RoleTypeId.smth...)

blissful pike
#

hey, I'm new to LabAPI, I made plugins on Exiled before this. I have this plugin which I'm trying to migrate from Exiled to LabAPI. I've put three of my events on and I'm trying to test in in SCP:SL. There is absolutely no feedback. It says in console that the plugin has been enabled, but there is no log output or anything happening. Where am I going wrong?

spare zodiac
#

so idk what method is this using

blissful pike
#

So far it's all pretty basic. Just getting absolutely nothing in game.

icy knoll
#

you are unsubscribing when the plugin is enabled

blissful pike
#

ohhhhhh

#

myyyy

#

god

icy knoll
#

and subscribing when the plugin is disabled

blissful pike
#

guys

#

I am so sorry

icy knoll
#

it's fine

blissful pike
#

for wasting your time 😂

icy knoll
#

very small mistake

icy knoll
upper vapor
#

There's no PlayerRoleController

#

There's no Role

icy knoll
#

exiled

upper vapor
#

Bruh

icy knoll
#

they are an exiled dev

upper vapor
#

Copium

icy knoll
#

that's exiled code

#

so

hearty shard
#

role isnt a sync var

blissful pike
icy knoll
#

huh

blissful pike
#

do you remember this lmao

icy knoll
#

OH IT'S YOU

blissful pike
#

HAHAHA

#

this was when I was super fresh into making plugins

spare zodiac
upper vapor
#

[SyncVar]

#

is on the field

spare zodiac
#

oh epic

#

so I can't change everything?

restive turret
#

bruh ofc

#

some stuff wont even sync

spare zodiac
restive turret
#

how would i know

#

decompile the game and see if has attribute as rpc, target, or sync or any mirror related attribute

spare zodiac
#

guys how decompile game 2000km away from my pc?

#

:tf:

restive turret
#

how tf are you even making a plugin 20000km away

#

sorry one zero extra

spare zodiac
#

the magic is

#

I am not

restive turret
#

then

spare zodiac
#

getting information that I can use when I'll be able to

restive turret
#

@spare zodiac yes has a mirror attribute

#

also cmd

spare zodiac
#

itemSerial?

restive turret
#

ye

#

the serial of the item,

#

kinda like an id

spare zodiac
#

do I need to create item of every type somewhere in void and write it there?

restive turret
#

what

spare zodiac
#

no I mean get the serial of that item me dumbass

restive turret
#

no it selects either nothing or item from the inventory

spare zodiac
restive turret
#

yeah

#

you prob have to fake add item

#

i think

#

but thats a lot of shit to just fake a logicer on someone hands instead of pistol

#

i dont even know if possible

spare zodiac
#

why's there not on github the decompiled source code of SL?

#

like the assembly csharp

restive turret
#

eula or tos

hearty shard
#

just private

icy knoll
#

i believe exiled has a private one

#

ya

hearty shard
#

theres like 3

spare zodiac
#

if I would upload the whole source code just decompiled could I get in problems for that?

upper vapor
#

remote desktop

#

or you can even ssh on android

restive turret
#

if you set as private not much

upper vapor
restive turret
#

just not be public

spare zodiac
#

is the decompiled source code classified as this:

royal mica
#

Yes

#

Source of SL is still the very private property

#

regardless if actual source or decompiled

#

otherwise NW would provide the source themselves

spare zodiac
spare zodiac
#

nevermind only myself

severe cave
#

What is the doors name next to 049armory?

#

the big gate

barren pasture
#

How can I make a FirearmItem unable to disarm, and how can I change mag size for it?

unique crane
unique crane
#

or its equivalents

severe cave
#

How do I make a raycast and check if the player is looking at a button for a door

unique crane
#

CylinderMagazineModule

upper vapor
unique crane
#

Or.. that

upper vapor
#

though a patch is more uh

#

intuitive

unique crane
#

Wont be synced properly either way

upper vapor
unique crane
#

real

upper vapor
#

(to be able to reload a 200mag logicer for example, khm)

severe cave
#

or know this how to make it work

upper vapor
#

use the layermask "InteractableCollider"

#

um

#

one of these

unique crane
#

Yes

hearty shard
#

does anyone know about porting from normal docker to pterodactyl supported

#

idk what im doing!

restive turret
#

Sorry i am an old man and stick with regular server instead of pre install

restive turret
#

No

#

Or idk might

blissful pike
#

Hey, how do I get the amount of ammo in the gun that the player is shooting?

blissful pike
#

Exiled had ev.Firearm.TotalAmmo, I can't seem to find a LabAPI alternative.

restive turret
#

Firearm.Base.GetTotalAmmo or smth

blissful pike
#

yup, thank you <3

restive turret
#

The last one is part of a static class with (this Firearm f) stuff

#

Your ide will help with that part, or check decompiled dll

blissful pike
#

I don't understand what this means, I just put shit together and hope it works

restive turret
#

Pray your ide helps you

blissful pike
#

it does

restive turret
#

And that you imported Assembly CSharp dll

blissful pike
#

I did

#

idk what the fuck "static" means, my ide just tells me when to throw it in 😭

hearty shard
#

it also means Player.List works instead of Player.Get().List

blissful pike
#

i see

restive turret
#

Probably best response would be "learn c#" ClassDTroll1

restive turret
#

woke up
shit
get out of bed
read 10 pages of msdoc c#
breakfast

restive turret
#

This one will haunt you

hearty shard
#

eh

#

i dont rly care xd

#

And thats not c# knowledge

#

Thats knowledge of a feature released 2 days prior or smth

restive turret
#

Ye bc is a common knowledge

hearty shard
#

common knowledge is that gravity is 19.6

#

?

#

The c# issue wasnt even the wrong value, it was that it applied it even when not needed

hearty shard
#

Swear sl has it a bit different than irl

restive turret
hearty shard
static osprey
restive turret
hearty shard
#

💀

#

i dont rly care still

#

Soo

restive turret
#

go to coordinate 1 in X,Y,Z. So depending on engine, up, right, forward

hearty shard
#

okay?

restive turret
#

Okay

#

Now you can tell me when and where i made a c# common knowledge failure

#

I'm just curious

hearty shard
#

Idk its 2 an

#

Am*

#

im saying stuff and u kinda gotts guess if its accurate wording

restive turret
#

Ye same here

hearty shard
#

Entirely up to urself to figure out what i mean

restive turret
#

Go to sleep then

hearty shard
#

Nah

restive turret
#

Shh eve

#

Y'know what would be cool

hearty shard
#

Not you

restive turret
#

How could you

#

Your hurt my feeling

blissful pike
hearty shard
#

i dont actually remember sl values but

#

Afaik its not realism

blissful pike
#

Hello people, it's me again. My plugin kills my server on round end and I have no idea why cryign

blissful pike
#

Round ends, and like 3 seconds before round restart, all player health bars go to 0hp. Then it goes to loading screen whilst round restarts, but round never ends up actually restarting. No output in console except this endless loop.

blissful pike
#

how do I send it as a code snippet?

#

wait 😭

#

it gets blocked if I send it as a message

#

ended up fixing it myself 👀

spare zodiac
grand flower
#

Did you send something to the host player mmLul

mild ice
gilded thicket
true cedar
#

im posting this here too idgaf im so proud of myself

grand flower
#

what is it

true cedar
#

yea