#plugins-dev-chat

1 messages · Page 163 of 1

celest thorn
#

they take 1-2 days

#

but they do the job

teal junco
#

Im not sure how I would send the audio even, should i encode it first then decode it on the other end or just send it

upper vapor
#

or with WS you can send the raw vorbis data

celest thorn
#

base64 encoding

#

done

upper vapor
#

are you planning to transmit players' voice or your own audio

celest thorn
upper vapor
celest thorn
#

if you are doing player voices

teal junco
celest thorn
#

nono

celest thorn
upper vapor
celest thorn
#

then no

#

you can't

upper vapor
celest thorn
#

EU safety and privacy

teal junco
#

Yes Im aware there is rules about voices

celest thorn
#

lol

#

its EU

celest thorn
#

then don't do it

upper vapor
#

what privacy law are they violating if they have explicit consent from the user and the endpoints require auth

celest thorn
#

even if you have dnt disabled

#

because thats required

#

you need to consent

#

so they would need to do a command or something

#

that the player can choose

#

and they know what they are sending

teal junco
#

this wouldnt be something you accidentally engage

#

i know you need consent

celest thorn
#

like can you be more clear

teal junco
#

and the only people using it are probably fully aware of it snyway

celest thorn
#

or else contact nw verification for it

teal junco
#

im curious does it even matter if i dont intend to let regular players use it

upper vapor
#

any input?

#

or like a file

teal junco
#

no file

upper vapor
#

yea

#

well i'd recommend using ffmpeg to stream the audio
though that doesn't solve auth, hmm

#

yeah probably go with WS and the SL-provided opus solution

#

i mean

#

you could use ffmpeg out-of-process with rtmp if you have a really long unguessable url (security by obscurity)
but that doesn't give that much flexibility

#

WS is bidirectional anyway, so that's gonna be easier to use

#

you can use SecretLabNAudio with a custom send engine toomuchtrolling

celest thorn
#

you are like mrbreast

#

but of SL

upper vapor
#

shameless plug

#

"today's video's sponsor is... me!"

celest thorn
upper vapor
#

low level

celest thorn
#

i don't remember who but i heard it alot of time

#

btw you pay your bills

#

so

#

it makes sense

upper vapor
#

i don't pay my bills

#

cuz i don't have any

celest thorn
#

sure everyone says this

upper vapor
#

-# except nitor

celest thorn
#

i bet 100%

#

you have an egirl account

#

on 20 discord servers

#

thats how alot of people i know got nitro

upper vapor
#

what the fuck

celest thorn
#

which is fucking insane

#

but funny

upper vapor
#

it's called a credit card

celest thorn
#

bro ngl

#

i dropped in a few days

#

for a dress, tarkov and gifts 200 bucks

#

:trolling:

upper vapor
#

???

#

english?

celest thorn
#

in a few day in:

  • dress
  • tarkov
  • gifts
upper vapor
#

can you just

#

rewrite the whole sentence 😭

celest thorn
#

lol

upper vapor
#

that is not a meaningful sentence

#

oh on

#

you "dropped" the money there

#

right

celest thorn
#

its another way to say "spent"

upper vapor
#

you replied to the wrong message that's why i was confused

celest thorn
#

oh i just saw it lol

celest thorn
#

bro i love doing shopping

upper vapor
#

shopping vs

#

depends on who you ask

celest thorn
#

if i have something coming up

upper vapor
#

"i love keeping"

celest thorn
#

i don't spend

celest thorn
#

you know

upper vapor
#

what the f

#

is this gif

celest thorn
#

its christmas

upper vapor
celest thorn
#

I wanna buy a gift for myself

upper vapor
celest thorn
#

i bought 2 of them ig

#

tarkov

#

which i wanted to buy

#

and a dress which i wanted to buy too

#

ngl i love working and then getting my money there and just seeing it grow

#

especially when i go withdraw all of them

#

the SMELL :3

#

i love money

upper vapor
celest thorn
#

female mr crab

upper vapor
#

what

#

Mrs Krabs?

celest thorn
upper vapor
celest thorn
#

my 2 biggest desire

#

girly girl

#

and swimming in money

#

Euros idk why they make a smell

#

so good

upper vapor
celest thorn
#

to then go buy another dress

#

and another

upper vapor
#

or

#

you can buy money

#

with money

celest thorn
#

because money that are shredded can be bought

waxen kayak
#

Patch the functions that receive packs

#

"harmony is the best".toUpper()

restive turret
#

Depends, websockets are fully reliable

restive turret
#

What

unique crane
unique crane
restive turret
#

Well ye

waxen kayak
#

wait

#

SceneMessage

#

what is this

#

WAIT

#

I can use it to change player scene

#

"MainMenuRemastered"

restive turret
#

Ye

#

But they woulnt be happy i assume

#

(send them to infinity loading screen)

celest thorn
restive turret
#

Yes

celest thorn
#

i already documented this lol

restive turret
#

I don't

celest thorn
#

when the old exiled existed

restive turret
#

I meant as you send to the PreLoader every time player joins

ashen hound
#

in case of me Im faking client loading into server soo it thinks its real facility but its just own client having this only

#

thats mostly inside my proxy

#

whole lobby code

restive turret
#

Would be goated if rooms would be spawnable

upper vapor
ashen hound
#

I could say something but not here xd

restive turret
#

That would need a heavy rewrite (haha heavy! you get it?!)

spare zodiac
#

I want to see how it works

restive turret
#

Send message to client , client will change scene to that

ashen hound
#

still im happy I managed to get players working on proxy xd even ability to take syncvars send to set their name properly

#

same I can modify server name under playerlist to proxy just handle it soo you can idk info about total players on proxy or list of others servers and players

restive turret
#

Ye many stuff have syncvars

ashen hound
#

network messages are easier but syncvars smh

#

its still network message but way complex

restive turret
#

Ye ik

spare zodiac
#

syncvars are vars that var

ashen hound
#

dirty bits etc, component index and stuff like that

restive turret
restive turret
ashen hound
#

xd

restive turret
ashen hound
#

double ping

restive turret
#

Dc sent it twice

spare zodiac
ashen hound
#

I did manage to easily spawn text toy fully clientside, server only has data that this client has it spawned for use like if I wanted to destroy it later

ashen hound
#

someone wanted to add MER support

#

to like spawn primitives from schematic

spare zodiac
ashen hound
#

soo you can idk make lobby which is fully clientside in case of primitives

burnt hearth
spare zodiac
waxen kayak
#

<color=red>Server</color>

snow pulsar
snow pulsar
#

Project MER is goated. I'm still waiting for AMERT to be updated though so I can make an exploding button

snow pulsar
#

Still no clue how to use those ;-;

pallid galleon
#

Anyone know how to get if a player has died to a death pit?

upper vapor
upper vapor
#

np

#

h

warped prairie
#

h

west tide
#

This display is it a hint, or why does it have that font?
And how can I create something like that?

ashen hound
#

imagine if making "better" remoteadmin would be worth xd but as like plugin to one app I published on steam, it would work in way where if you have my app open it would connect to server after joining and in other monitor you can have stats, info about reports, popups, other plugins could add new tabs in player profile like you could view someones warnings/past bans, view 3D preview of map, have ability to click on map and teleport players on specific position etc

royal mica
ashen hound
#

for me I would be happy to have this stuff on seperate monitor thats my goal

#

like you could see 2d preview of map with everyone on it etc

royal mica
#

That is achieveable since you are able to connect steam to discord to web

#

or skip dicord and have steam login

#

and then you have direct online - web connection

ashen hound
#

its not like you can just connect to server but you would need to modify preauth a bit to server accept it

west tide
ashen hound
#

why?

royal mica
west tide
royal mica
#

Server knows your ID

#

you login on web

#

web sees you online, it is connected now

west tide
upper vapor
#

np

#

there's a (not fully extensive) SL emoji list somewhere but i can't find it rn

#

@spare zodiac maybe you happen to know?

upper vapor
#

yep

west tide
royal mica
#

Personally I would like to see ingame cusotmizability

#

But web based sounds cool as well

west tide
royal mica
#

We are heading in a good direction

#

it just takes time

#

cause game needs development as well

west tide
upper vapor
barren pasture
#

Why does this code keep kicking me from the server?

#
{
    if (!Check(player)) return;

    if ((DateTime.UtcNow - abilityLastUsed[player]).TotalSeconds < 30)
    {
        player.SendBroadcast("This ability is not ready yet.", 3);
        return;
    }

    var zombs = Player.List.Where(t => t.GetTeam() == Teams.SCP0492.ToString()).ToList();

    var zomb = zombs[new Random().Next(0, zombs.Count)];

    player.Position = zomb.Position;

    abilityLastUsed[player] = DateTime.UtcNow;
}```
teal junco
#

Player.List includes unauthenticated and the dedicated server player

barren pasture
teal junco
spare zodiac
teal junco
#

try readylist instead od list

royal mica
spare zodiac
upper vapor
#

😭

ashen hound
barren pasture
teal junco
barren pasture
#

Fair. Didn't know readylist existed.

icy knoll
#

that might be exiled code

#

lol

barren pasture
#

It's labapi, just a custom framework

teal junco
#

well i think i trust this guy enough not to post exiled to labapi

upper vapor
#

oh btw

#

if you have 0 zombies

#

you're cooked

teal junco
#

Oh yeah

barren pasture
upper vapor
#

i'd also recommend using Time.time or NetworkTime.time over DateTime for this purpose

barren pasture
icy knoll
#

so

upper vapor
#

if you have any exception

#

the server soft-disconnects the client

#

just add a try-catch around your own event handler

teal junco
#

its not the client going boom, to be specidic

#

the server kicks it automatically

upper vapor
#

soft boom

teal junco
#

which the client is not aware of any out of bounds errors on the server side

upper vapor
#

edited

#

imagine if

#

the client went back to the menu upon being soft-disconnected

icy knoll
upper vapor
#

try
{
LocalAdmin();
}
catch {}

icy knoll
#

yes

teal junco
celest thorn
teal junco
#

Because you were here

spare zodiac
#

hello

hidden horizon
#

goodbye

carmine prawn
#

omg

#

and... its hitbox is very strange

#

how can I see the correct hitbox on the client side?

celest thorn
carmine prawn
#

use parent and scale

teal junco
#

yes

#

what he said

carmine prawn
#

this was allowed after some previous update, probably

teal junco
snow pulsar
#

Funky ahhh shapes

upper vapor
#

you can just scale the parent and rotate the child to deform the latter

carmine prawn
#

💀

upper vapor
#

thanks unity

unique crane
#

Update leak!!

upper vapor
#

biggest leak of history

tribal dagger
#

how could i make a player hitbox be ignored by firearms?

spare zodiac
tribal dagger
#

i dont want to disallow a hurting event

#

because when someone shoots that person the bullet will stop

tribal dagger
#

and i want the bullet to go through

spare zodiac
upper vapor
#

get hitboxidentity

#

get collider

#

collider.enabled = false

spare zodiac
#

I suppose you could make damage handler be changed to 0 damage

upper vapor
spare zodiac
upper vapor
#

if you zero the damage

#

the bullet won't continue traveling

spare zodiac
#

that's true

upper vapor
#

cuz it hit the player

restive turret
#

Bullet doesn't go tru people

upper vapor
tribal dagger
#

plr.ReferenceHub.GetComponent<HitboxIdentity>().TargetColliders.ForEach(c => c.enabled = false);

upper vapor
#

no

#

get them from the IFpcRole

#

and also

#

when the player's role changes, you need to re-enable them

#

also

#

STOP USING THE FOREACH METHOD

restive turret
#

I gonna use it everywhere now

tribal dagger
#

hater

#

im a linq addict

upper vapor
#

your performance shall perish

tribal dagger
#

my performance shall be not cared about

tribal dagger
#

things like death pits are also ignored

#

which is a slight problem

upper vapor
#

well uhhh

#

i guess you can change the layer

tribal dagger
#

my first guess is to put it as ignore raycast

upper vapor
#

that could work but check how firearms raycast

#

and choose a layer that isn't used by them

#

hitregmodulebase has something like this iirc

tribal dagger
#

hitreg mask has these

#

so ig itll be fine

slender depot
#

Why does everytime I try to get the item.Owner it just gives me dedicated server?

celest thorn
#

of someone

slender depot
#

it's in my inv

celest thorn
#

...

#

so its your inventory

#

its generic

slender depot
#

My brain not braining

#

I thought you meant if it's in their as in the host's inv

celest thorn
#

thats strange because you should have it as Owned if you have the item

slender depot
#

dropped it

#

and gave the pickup to a player

celest thorn
slender depot
#

but even if I did, I think it would just set the owner to the first player that had it

celest thorn
#

no?

slender depot
#

So wait

#

I'll try to do it that way

slender depot
#

My ID is 2, the dummies is 3

#

Gave it to the dummy

#

made it drop it

#

picked it up and the item owner still hasnt changed

worthy rune
sweet flax
#

try with a command

slender depot
#

I mean

#

is there a command?

#

to check the owner

sweet flax
#
[CommandHandler(typeof(RemoteAdminCommandHandler))]
public void Command : ICommand
{
  public bool Execute(blah blah blah)
  {
    Player player = Player.Get(sender);
      
    foreach(Item item in player.Items)
    {
      Logger.Info($"owner : {item.CurrentOwner}");
    }
  }
}
#

smth like this

#

to check if its updated or if its a events faoult

teal junco
#

Why does scp sl modding community have so many russians and stuff?

#

is it just because Northwood itself is european

teal junco
sacred sierra
#

but then we can get to the question why is russian playerbase bigger

#

answer: no idea

teal junco
sacred sierra
#

more than 1/3

teal junco
teal junco
#

I gotta get on Russian studies

sacred sierra
#

also one russian SL youtuber was big 5-6 years ago

#

not the best videos but he had a lot of views

teal junco
teal junco
#

scp sl youtubers were biggest in general around that timeframe id say

#

didnt a few videos break 1 mil views 2019-2021

teal junco
#

Yeah no kidding they got more people over there

sacred sierra
#

also those servers

#

(its late rn so not a lot of players)

teal junco
#

Yea

sacred sierra
teal junco
#

Thanks for telling me this, this is very interesting

barren pasture
#

What is the LabApi equivalent of EatenScp300Event from Exiled?

static meteor
#

iirc there isnt one currently

barren pasture
#

Well shit

static meteor
#

or it may just be used item

#

and check if the item is scp330bag

barren pasture
static meteor
#

I thought that was for the bowl

barren pasture
#

Apparently it is. Also I can't get candy type from the UsedItem event, far as I know.

static meteor
barren pasture
#

Pretty sure I've asked this before, but how do I get a player's most recent ragdoll?

spare zodiac
#

what happens if someone changes the server-side code of assembly-csharp in managed folder?

spare zodiac
icy knoll
#

¯_(ツ)_/¯

#

try it and see

spare zodiac
#

thank you though

spare zodiac
spare zodiac
icy knoll
#

technically, secretapi is a dependency

#

and that exists in there

#

there is also custom role stuff in there

#

so

spare zodiac
#

I meant like smth that communicates only with discord api

icy knoll
#

no

#

i dont think that's allowed

spare zodiac
#

noted

icy knoll
#

needs to have some sort of connection to SL

worn gull
languid temple
upper vapor
#

That's very sus

#

Doing that just to change a namespace is pointless and might do more harm than good

upper vapor
spare zodiac
upper vapor
#

Just

#

Dont

spare zodiac
#

just a theoretical thought I had

upper vapor
spare zodiac
teal junco
#

Same

#

How long ago did smod die? Was it like 2020 level or like 2023

slate flume
#

It's loaded alongside plugins instead of dependencies

icy knoll
#

yes

#

im aware

#

but that's only for harmony patching

slate flume
#

Yeah but it's still technically a plugin as a result

slate flume
#

If you modify purely client-side code then there'll generally be no change in what your plugin does

#

If you modify server-side code and try to interface with it, what the plugin finds at run-time will be different than what it finds at compile-time

#

This can cause any number of errors depending on what you changed in the base-game code and what you do in the plugin

#

Generally, there is literally zero reason to modify the base-game assembly for plugin development, it doesn't solve literally any problems
The only exception I can think of is publicizing the assembly, but that doesn't really change any of the code, it just gives you access to private members that would otherwise be inaccessible

slate flume
slate flume
#

If you add even just one feature that connects to the base game then it'll pass

#

Very odd that you want to make a dependency for other SL plugins to use but don't add any functionality for your plugin and SL

hearty shard
slate flume
#

Doesn't seem like much of a grey area to me

hearty shard
#

ya

spare zodiac
#

is I create server-side aimbot can I still get flagged by global mod?

worn gull
#

Hi! If a 3114 has a disguise, is it possible to color the CustomInfo?

slate flume
slate flume
slate flume
#

To the best of my knowledge, cheater reports with Northwood have to include auth ID with the report, meaning that any official reports sent in have to be sent in by a moderator on the server

#

If I'm correct then that means the only reason you'd inquire about trying to prevent cheater reports is if you're not informing the moderators of a server that you're coding yourself an aim bot, and that's highly questionable

hearty shard
#

you can send a report through report menu

spare zodiac
hearty shard
#

same as reporting to moderators

#

but yeah it could be patched out by a plugin

slate flume
#

Sending a report through the report menu doesn't provide any actual evidence, the main method for reporting cheaters is getting clips with an auth ID included and sending them in through Polaris

slate flume
#

So my point still stands

slate flume
# spare zodiac didn't say that

You said you want to prevent being "flagged"
You said being reported causes you to be "flagged"
So you're asking how to prevent players from reporting you

#

Maybe I'm just not following your line of reasoning here

spare zodiac
#

I asked if It's possible for me to be flagged when I create server side aimbot

slate flume
#

People can send still send in reports about you

#

I don't understand the question because there is no "flagging"

#

It's reports

spare zodiac
#

because then after report comes this fella called global mod and either smites me or says wrong report

slate flume
slate flume
#

There has to be actual evidence that you're cheating in order to ban you

#

If you're not actually cheating (e.g. using external software) then you may have to have some awkward conversations with people about how you made an aim bot for yourself on whatever server you're making it for, but to my understanding it's not actually against the rules

#

And if you're not breaking the rules then you shouldn't be getting banned for it

spare zodiac
slate flume
#

?

#

Oh you mean making your aim bot

#

Yeah I know it's not external software, I had to make some aim bot-adjascent stuff for dummy NPCs

#

I still think it's a highly questionable choice making an aim bot for yourself

#

But it's not technically against the rules

languid temple
hearty shard
#

hi miller

upper vapor
spare zodiac
#

-# I'm keeping it

slate flume
# languid temple Wouldn't say that

Getting put on a watch list doesn't matter if you're not breaking the rules
His question was more in regards to wondering if he was going to get punished for it

subtle ravine
#

Why does one need aimbot as a plugin

spare zodiac
#

we love le funny

upper vapor
subtle ravine
#

Just download aimlabs and train your aim

spare zodiac
#

imagine everyone perfect aim

upper vapor
#

So they wanna simulate cheats

slate flume
upper vapor
#

And get mods mad

upper vapor
languid temple
spare zodiac
#

I already made esp

slate flume
#

You're gonna piss off NW mods

spare zodiac
#

server side

subtle ravine
spare zodiac
#

well @tribal dagger did

slate flume
languid temple
#

No

spare zodiac
slate flume
#

Fair enough

#

Then I'll stand by my point

languid temple
#

If later cedric wants to say something I'll let him but I'm not gonna say anything that could get me in trouble

upper vapor
slate flume
#

I'll stand by my view until I know more though

spare zodiac
languid temple
#

@spare zodiac For now I wouldn't start that server side aimbot project

subtle ravine
languid temple
#

I'd say you have a fair chance of getting falsely banned

slate flume
restive turret
#

Ban the dummies in my server

upper vapor
restive turret
#

All of them cheating

tribal dagger
slate flume
#

Don't most cheater reports use clips for evidence in the ban?

upper vapor
celest thorn
spare zodiac
tribal dagger
celest thorn
spare zodiac
languid temple
celest thorn
celest thorn
#

i scare mans

upper vapor
slate flume
tribal dagger
spare zodiac
#

trust

subtle ravine
spare zodiac
subtle ravine
spare zodiac
celest thorn
#

we don't follow that

upper vapor
#

Can't ban me if I don't have a nw tag

slate flume
#

It would require mutiny

spare zodiac
#

all my homies don't follow CSG
-# @tribal dagger

sweet flax
#

is there a easy way to disable ac to get unityexplorer running?

tribal dagger
#

for legal reasons

#

saskyc is lying

spare zodiac
#

XDD

celest thorn
#

i will try

spare zodiac
#

vsr doesn't exist

subtle ravine
spare zodiac
#

now CSG

tribal dagger
#

vsr was back then

spare zodiac
#

the big brother text

sweet flax
tribal dagger
#

when i made the thing

celest thorn
subtle ravine
subtle ravine
spare zodiac
languid temple
languid temple
spare zodiac
#

I will mistakenly ban gmod

burnt hearth
languid temple
subtle ravine
burnt hearth
#

You cannot ban global staff.

slate flume
spare zodiac
sweet flax
spare zodiac
#

muhahaha

slate flume
languid temple
spare zodiac
languid temple
restive turret
#

If reporting
return

sweet flax
spare zodiac
subtle ravine
languid temple
#

😭

spare zodiac
#

you can join not see at same time

slate flume
languid temple
spare zodiac
subtle ravine
slate flume
spare zodiac
sweet flax
spare zodiac
languid temple
languid temple
spare zodiac
subtle ravine
slate flume
#

You told him not to do it because of that risk

subtle ravine
burnt hearth
spare zodiac
#

I will add flag for global mod when they spectate player or whatever zero told me

languid temple
slate flume
burnt hearth
#

I have

slate flume
spare zodiac
slate flume
subtle ravine
slate flume
#

I'm not saying it doesn't happen

#

I'm just saying it's rare

subtle ravine
burnt hearth
#

I'm osm

spare zodiac
#

guys I have idea

burnt hearth
#

Not safety and compliance

subtle ravine
spare zodiac
#

what if I give aimbot only to global moderators

subtle ravine
#

That CAN get you in trouble

lethal cradle
spare zodiac
#

checkmate

burnt hearth
#

You would be breaking CSG.

slate flume
subtle ravine
spare zodiac
#

does CSG stop me from trolling the NW staff because they are NW staff?

languid temple
subtle ravine
#

Yes

sweet flax
slate flume
spare zodiac
#

it has consiousness

languid temple
subtle ravine
spare zodiac
restive turret
slate flume
burnt hearth
spare zodiac
#

is it considered server staff?

restive turret
#

tbats a concerned stuff

subtle ravine
slate flume
restive turret
subtle ravine
#

Wouldn't call that 99%

slate flume
restive turret
#

doesnt matter

languid temple
restive turret
#

thats why i dont like self-updating plugins too

slate flume
spare zodiac
#

and it's the reason why I never made them
-# not because I was lazy

restive turret
#

I rather control when i gonna update

#

they can say "new version avlb"

#

or some shit

slate flume
#

CedMod automatically sends reports to a server's staff team, does it also send those reports to global mods?

spare zodiac
#

that's why I don't update windows and keep windows 7

restive turret
#

real

#

back to win xp

spare zodiac
#

windows xp with rtx 3060

#

can windows xp compile windows xp?

languid temple
slate flume
#

The only reason I'm getting into the weeds on this is because I think it's dumb that someone shouldn't do something for risk of being "falsely banned by global mods"
That's an admission that bans can be made without knowing the full story of whatever situation it was
As a result it seemed to make sense to prevent that possibility by redirecting reports to the server's moderators instead to take care of themselves but you said that counts as obstructing S&C

#

Which means if that's true there's no circumventing the issue that a global mod can pop on and ban someone for a plugin feature

#

Which in my opinion is stupid

#

I brought up the fact that a majority of cheater reports are handled by a server's staff team anyways to make my comment of redirecting reports make more sense

subtle ravine
#

And I still don't get the point to "simulate cheating" with plugins

subtle ravine
#

Then don't do that

slate flume
#

I won't

#

But another dev wants to

#

And it's not against the rules

languid temple
#

At the end of the day, I'd still wouldn't advise you to do it Saskyc, but if you decide to proceed, do at your own discretion

slate flume
#

So I think it's dumb to prevent him from doing it

subtle ravine
#

No one is preventing them
It's just a suggestion that they shouldn't do that.

restive turret
#

I think if you do stuff and you are not on the server list, your possibility is endless

languid temple
#

He doesn't actually break any rules

#

(confirmed this with cedric)

slate flume
spare zodiac
#

until copyright issues

languid temple
#

Could have worded that better

slate flume
restive turret
hearty shard
#

but yeah

#

if you do it put a hint to any S&C and mention it

#

cuz like...

slate flume
#

I hope it's known I'm not trying to diss on NW staff or anything I just wanted to advocate a bit

hearty shard
#

they SHOULD be able to know it if they join and see you killing people through walls

slate flume
slender depot
#

Is there a way to get an item by it's serial?

hearty shard
#

getting banned because you used aim bot and didnt inform S&C it was intended and not a cheat feels like "thats how it is"

slate flume
hearty shard
#

Item.List

slate flume
#

I thought the Item wrapper had a get function

restive turret
hearty shard
#

it might

slate flume
#

Like Player.Get

hearty shard
#

i mean its not guaranteed as an item

#

i think it should be TryGet since yk pickup and item are different

#

(i really wish it wasnt like that)

restive turret
#

ye it has get

hearty shard
#

TryGet too

#

cool

slate flume
#

I love being awesome

#

Did LabAPI add a 1509 wrapper yet?

#

I've been gone for a while

restive turret
#

no, not yet

cyan crown
#

Plugin dev chat

slate flume
cyan crown
#

Indeed

restive turret
#

I might talk about it after has been added

slate flume
#

Truly

cyan crown
#

Slejm i got some good news

slate flume
#

Can I hear the good news too

restive turret
#

ya

cyan crown
#

I spammed bools and if statements for my scripts

slate flume
#

Based

restive turret
#

real

#

have you done smth liek

slate flume
#

Average C++ experience

restive turret
#

if (cond1 && cond2 && cond3 && cond4 && cond5 ... && cond10)?

slate flume
spare zodiac
cyan crown
slate flume
cyan crown
#

I havent really started working on the AI yet but i'll probably use unity behavior tree

cyan crown
#

Sure

slate flume
#

Making your variable names shit like temp9

cyan crown
slate flume
#

private static int variable = 4

cyan crown
#

🧙‍♂️

slate flume
#

Use that everywhere

#

No docs

cyan crown
#

I put docs in my scripts now in case i forgor

slate flume
#

Put everything in one giant if statement instead of doing early returns

cyan crown
slate flume
cyan crown
#

Lmao

slate flume
#

I used to smoke weed with relative frequency and write code

cyan crown
#

Do you work on a unity project or scpsl plugins?

slate flume
#

So sometimes I look back at sections and I go "What the hell"

slate flume
cyan crown
#

Cool

slate flume
#

But I make other random programs to compute stuff

#

I love data analysis

unique crane
cyan crown
#

They love collecting data and giving it to people so the smartest people can make something amazing

slate flume
restive turret
slate flume
#

Not even 12 hours ago I got plastered and finished this huge computational constexpr function I've been working on for days

#

And it surprisingly actually worked

slate flume
#

I've done programming for a long time but I'm not a big ideas guy, I'm not a big designer, I just like implementing stuff

restive turret
#

real

cyan crown
#

I understand i wish you good luck on your journey

slate flume
#

And I primarily enjoy crunching numbers to solve a problem

restive turret
#

me creating the 43th PoC

slate flume
#

Okay so I know we can't discriminate against Northwood staff and like automatically loop kill them when they join the server but are we allowed to reverse-discriminate

#

What if anytime a Northwood staff member joins the server they get a parade and god mode

#

Is that against the rules

#

Also

#

How do we feel about bribery

languid temple
unique crane
#

I accept foob as bribe

slate flume
slate flume
#

Word

#

Who do I make the check out to

#

Or is it a cash-only beat

wispy dirge
#

should PlayerEvents.InteractedToy be triggering when an interactabletoy is searched? because it isn't right now

hearty shard
wispy dirge
hearty shard
#

when it finishes

wispy dirge
#

i held it for the whole duration too

hearty shard
#

like uhh when you start interacting is different from finishing successfully

#

idk then

wispy dirge
#

it just never triggers for me

plush glade
#

took more effort than i care to admit to get it to work but i'm proud

plush glade
teal junco
#

this is fire

upper vapor
#

Interacted triggers when search time is 0

#

Search events trigger when it's greater than 0

plush glade
#

Why is Item.Get(Pickup.Serial) returning null?

#

I give myself an item through RA, drop it, and then Item.Get returns null

restive turret
#

If you provide a serial that doesnt exist

#

Yes, because Item.Get only gets the item from the players inventory, for the pickup you already have Pickup.Get(serial)

upper vapor
#

You need to give the pickup to a player for you to get the item

#

If you wanna modify properties of a pickup, that's either simple via the designated pickup wrapper, or a bit complicated for autosync items & firearms

celest thorn
#

How can i make a ragdoll spawned from a player make revivable from 049 or usable by 3114 and if there's any flag or something i could check?

restive turret
#

Do some attack damage , I think if you do custom reason it should work

plush glade
restive turret
#

F

slate flume
celest thorn
#

idk why but still nothing

slate flume
#

So you can either change the existence time on ragdolls, transpiler patch the bool ? 18f : 12f to make it return different values, or do a prefix

celest thorn
#
        CustomReasonDamageHandler damageHandler = new CustomReasonDamageHandler(message.SyncInputText);

        damageHandler.StartVelocity += TheCorePlugin.Instance.Config!.VelocitySlingShot;
        damageHandler._velX += (short)TheCorePlugin.Instance.Config!.VelocitySlingShot.x;
        damageHandler._velY += (short)TheCorePlugin.Instance.Config!.VelocitySlingShot.y;
        damageHandler._velZ += (short)TheCorePlugin.Instance.Config!.VelocitySlingShot.z;

        Ragdoll.SpawnRagdoll(ev.Player, damageHandler);

I use this but nope

#

Still not usable by the player

#

3114 and 049

slate flume
celest thorn
slate flume
#

Have you tried to see what happens if you use a different damagehandler?

upper vapor
celest thorn
#

i need to use CustomReasonDamageHandler

celest thorn
celest thorn
#

i respawn it

#

with my own code

slate flume
#

But have you tried

#

Using a different one

#

To test

celest thorn
#

no

upper vapor
#

why don't you use OnSpawnedRagdoll

slate flume
#

L bozo

slate flume
celest thorn
upper vapor
#

right

#

Ragdoll.SpawnRagdoll(ev.Player, damageHandler);

#

ah

slate flume
#

Maybe try a different damagehandler

#

To experiment

celest thorn
#

i tried

#

and it works

slate flume
#

So the issue is that you're using CustomDamageHandler

celest thorn
#

maybe

slate flume
#

Which means something in the code doesn't like it

celest thorn
#

idk

slate flume
#

Maybe?

celest thorn
#

nw side of skill issue

#

so not my problem

slate flume
#

If it works without using it then customdamagehandler is breaking something

slate flume
celest thorn
slate flume
celest thorn
#

yea

#

Hmmm wait

#

firearm

upper vapor
#

so

#

CustomFirearmdh

#

ye

celest thorn
#

nope

#

it ask for a death translation

slate flume
#

So give it a death translation

celest thorn
slate flume
#

Make your own damagehandler

celest thorn
celest thorn
#

so its useless

upper vapor
#

okay why is it called CustomReasonFirearmDamageHandler if the reason is not custom

celest thorn
#

Idk figure it out yourself Trolley

slate flume
#

I'd usually be more help but I'm playing a game

#

Give me a little bit

upper vapor
#

is the ragdoll an 049-2 ragdoll?

celest thorn
upper vapor
#

then what are we on

celest thorn
upper vapor
#
  1. owner has to be a spectator
celest thorn
#

classd needs to be revived

upper vapor
#
  1. existence time
celest thorn
celest thorn
upper vapor
#

you can set the ragdoll info's CreationTime to a big number

#

like

#

46448496841

celest thorn
upper vapor
#

that's only for 049-2

celest thorn
#

oh yea

#

honestly idk why it doesn't work

#

i have 0 clue

upper vapor
celest thorn
#

why should i destroy that?

upper vapor
#

we're just blind ig

celest thorn
#

shouldn't the game do it

#

the countdown

upper vapor
#

wdym destroy

slate flume
#

Oh

#

No

upper vapor
#

do you wanna extend it

slate flume
#

It's because CustomReasonDamageHandler doesn't have a valid ownerhub

upper vapor
#

or does it generally not work

celest thorn
#

lol

celest thorn
#

it seems to be like so

slate flume
#

Maybe I'm dumb idk

#

I haven't looked at it

celest thorn
#

i cannot add a owner or something

slate flume
#

When you spawn a ragdoll I think it doesn't set ownerhub on the Info to something meaningful

upper vapor
#

make a labapi issue

slate flume
#

So ownerhub returns null

celest thorn
#

lol

upper vapor
#

cuz the owner isn't set on the ragdoll data

celest thorn
#

which version of labapi are we in

#

?

upper vapor
#

this is funny

upper vapor
#

check it

celest thorn
#

yea