#plugins-dev-chat
1 messages · Page 163 of 1
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
or with WS you can send the raw vorbis data
are you planning to transmit players' voice or your own audio

base after base
if you are doing player voices
voices and audio
nono
ok no

EU safety and privacy
Yes Im aware there is rules about voices
what privacy law are they violating if they have explicit consent from the user and the endpoints require auth
they still violate SL ask 2 times
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
and the only people using it are probably fully aware of it snyway
or else contact nw verification for it
im curious does it even matter if i dont intend to let regular players use it
how would you write the data
any input?
or like a file
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 
you sponsor everything you make
you are like mrbreast
but of SL
there are some youtuber who do that
low level
i don't remember who but i heard it alot of time
btw you pay your bills
so
it makes sense

sure everyone says this
-# except nitor
Bruh
i bet 100%
you have an egirl account
on 20 discord servers
thats how alot of people i know got nitro
what the fuck
bro ngl
i dropped in a few days
for a dress, tarkov and gifts 200 bucks
:trolling:
you dropped 200 bucks where
can you just
rewrite the whole sentence 😭
you replied to the wrong message that's why i was confused
oh i just saw it lol
crazy
bro i love doing shopping
i love both keeping and spending
if i have something coming up
"i love keeping"
i don't spend
you know
its christmas
you mean
I wanna buy a gift for myself
honestly that's based
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

female mr crab
im female mr crab

my 2 biggest desire
girly girl
and swimming in money
Euros idk why they make a smell
so good
you can just
print money 
-# fake money
I want real one
to then go buy another dress
and another
i mean i could
because money that are shredded can be bought
Depends, websockets are fully reliable
What
Doing C and having to take care of releasing memory sucks

Ah
Well ye
wait
SceneMessage
what is this
WAIT

I can use it to change player scene
"MainMenuRemastered"
no
Yes
i already documented this lol
I don't
when the old exiled existed
I meant as you send to the PreLoader every time player joins
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
Would be goated if rooms would be spawnable
PR it 
I could say something but not here xd
That would need a heavy rewrite (haha heavy! you get it?!)
could you show example le example?
I want to see how it works
Send message to client , client will change scene to that
fun
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
Ye many stuff have syncvars
network messages are easier but syncvars smh
its still network message but way complex
Ye ik
syncvars are vars that var
dirty bits etc, component index and stuff like that
Rpc's are other example of that
Rpc's are other example of that
xd
SyncVars are vars that sync
double ping
Dc sent it twice
yeah those are weird
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
aka the net id
primitives & schematics
soo you can idk make lobby which is fully clientside in case of primitives
Server
Server
<color=red>Server</color>
would be neat if we could add Elevators of our own in 
Only issue with adding things is removing the colliders fully/rendering so many primitives near a player before their PC tries to shit itself
Project MER is goated. I'm still waiting for AMERT to be updated though so I can make an exploding button
waypoint toys

Still no clue how to use those ;-;
Anyone know how to get if a player has died to a death pit?
check the PitDeath effect
or
UniversalDamageHandler with id crushed (also includes chaos car)
ty!
h
This display is it a hint, or why does it have that font?
And how can I create something like that?
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
Honestly if we could have like a custom page like ServerSide Settings but in RA, that woudl be already godsent
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
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
its not like you can just connect to server but you would need to modify preauth a bit to server accept it
Could work, but I think SCP:SL’s anti cheat would flag it as cheating.
why?
Not really, since you can just go online
idk
those are just emojis
thx!
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?
yep
This system
I’ve already built once before.
I might release it as open source.
Personally I would like to see ingame cusotmizability
But web based sounds cool as well
I agree.
We as developers want more features, for example custom screen and so on.
We are heading in a good direction
it just takes time
cause game needs development as well
true
i read "web sebes you online"
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;
}```
Player.ReadyList?
Player.List includes unauthenticated and the dedicated server player
What is that?
it only contains players that are authenticated
late answer but yes
try readylist instead od list
Web zónázó you online
funny
Doesn't it only let authenticated people spawn?
Yes, but the LINQ ( List.Where ) searches every member of the list
stop using Player.List
Fair. Didn't know readylist existed.
It's labapi, just a custom framework
well i think i trust this guy enough not to post exiled to labapi
where do you call this method
oh btw
if you have 0 zombies
you're cooked
Oh yeah
That's true, I'll fix that in a few minutes
i'd also recommend using Time.time or NetworkTime.time over DateTime for this purpose
I call it in a ServerSpecificSettingsSync.ServerOnSettingValueRecieved event
yeah well ive seen lots of people do that
so
yeah then that's why
if you have any exception
the server soft-disconnects the client
just add a try-catch around your own event handler
well some may misunderstand it as meaning the client itself cant handle it and dcs by itself
which the client is not aware of any out of bounds errors on the server side
just try catch ur whole codebase or smth
try
{
LocalAdmin();
}
catch {}
yes
why am i here 
Because you were here
hello
goodbye
omg
and... its hitbox is very strange
how can I see the correct hitbox on the client side?
i see
this are cubes stack togheter?
use parent and scale
Yeah i think 14.0 or 14.1 when client parenting was added
Funky ahhh shapes
this has been a thing since the dawn of primitives 
you can just scale the parent and rotate the child to deform the latter
💀
thanks unity
Update leak!!
how could i make a player hitbox be ignored by firearms?
ev.IsAllowed
i dont want to disallow a hurting event
because when someone shoots that person the bullet will stop
and i want the bullet to go through
that's a problem then
I suppose you could make damage handler be changed to 0 damage
that's not gonna help
why?
that's true
cuz it hit the player
Bullet doesn't go tru people
plr.ReferenceHub.GetComponent<HitboxIdentity>().TargetColliders.ForEach(c => c.enabled = false);
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
I gonna use it everywhere now
your performance shall perish
my performance shall be not cared about
that works a lil too well
things like death pits are also ignored
which is a slight problem
now clue what this means
my first guess is to put it as ignore raycast
that could work but check how firearms raycast
and choose a layer that isn't used by them
hitregmodulebase has something like this iirc
Why does everytime I try to get the item.Owner it just gives me dedicated server?
its in their inventory?
of someone
thats strange because you should have it as Owned if you have the item
No yours
I should, all I did was add the item first to Player.Host
dropped it
and gave the pickup to a player
why not giving it to the player directly
I cant remember why
but even if I did, I think it would just set the owner to the first player that had it
no?
Turns out it does work like that
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
can we see the code for that
when do you get the item owner
try with a command
how to do that?
I mean
is there a command?
to check the owner
[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
Why does scp sl modding community have so many russians and stuff?
is it just because Northwood itself is european
Maybe this is a stupid question lol
compare the size of playerbase and get the answer
but then we can get to the question why is russian playerbase bigger
answer: no idea
I did not know i could even sort by region
My guess is it would be popular for russians because its european? but that might sound really stupid (im just american so idk)
i dont think most people even know its european until some hrs in SL
also one russian SL youtuber was big 5-6 years ago
not the best videos but he had a lot of views
I lowkey didnt until like a few months of playing, it always struck me as pretty neutral where that's concerned and even kind of American considering that the only voices in it are American-English. But the OG characters were Polish
interesting
scp sl youtubers were biggest in general around that timeframe id say
didnt a few videos break 1 mil views 2019-2021
Yea
Thanks for telling me this, this is very interesting
What is the LabApi equivalent of EatenScp300Event from Exiled?
iirc there isnt one currently
Well shit
Seems to be InteractedScp330
I thought that was for the bowl
Apparently it is. Also I can't get candy type from the UsedItem event, far as I know.
SCP330Bag::Candies[SCP330Bag::SelectedCandyId]
Pretty sure I've asked this before, but how do I get a player's most recent ragdoll?
what happens if someone changes the server-side code of assembly-csharp in managed folder?
unity may not accept it
in what cases would that happen?
theory I have is changing the namespaces?
thank you though
ofc that would require patches instead of changing the base game code
does labapi plugins have to use labapi or could I post dependency in there? The dependency would not interact with base game code, just library what other plugins could use.
technically, secretapi is a dependency
and that exists in there
there is also custom role stuff in there
so
that all interacts with SL's code though
I meant like smth that communicates only with discord api
noted
needs to have some sort of connection to SL
Me when malom enters the chat
rendben van 🐻 Marci
What would be a reason to permanently patch the base game
That's very sus
Doing that just to change a namespace is pointless and might do more harm than good
XDDDD
fixing spagetti code
I didn't want to do that
just a theoretical thought I had
Literally smod2
I'm newgen so I've heard of smod, but never experienced it
Technically SecretAPI is a plugin
It's loaded alongside plugins instead of dependencies
Yeah but it's still technically a plugin as a result
Depends on what you change and how
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
I see the context for this message now though
Doesn't SecretAPI use elements of LabAPI? Or does it use literally none of it
I'm not at my computer rn to check so idrk
i think it does
If you're creating a wrapper for something that isn't related to SL then it's not a plugin you can post in #1336031121699377213
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
Player is used, same with some other wrappers like Generator
Yeah so there's no question that it's valid to post in #1336031121699377213
Doesn't seem like much of a grey area to me
ya
is I create server-side aimbot can I still get flagged by global mod?
Hi! If a 3114 has a disguise, is it possible to color the CustomInfo?
Someone else might have better information but afaik the player display info text color is handled client-side
SL doesn't "flag" people
Afaik the moderation is entirely dependent on player reports and, to a much lesser extent, mod patrols
reports do
😭
You can't just prevent players from reporting you
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
uhh
you can send a report through report menu
didn't say that
This was something I talked about a while back and I was told that generally cheater reports sent through that way typically don't turn out
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
yea
So my point still stands
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
no I didn't say I want to prevent
I asked if It's possible for me to be flagged when I create server side aimbot
I think you're misunderstanding the moderation pipeline
People can send still send in reports about you
I don't understand the question because there is no "flagging"
It's reports
because then after report comes this fella called global mod and either smites me or says wrong report
Then refer back to my previous comment
^
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
- le monobehaviour
- le epic calculation'
- le apply calculation
💥
?
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
not myself for everyone 
Wouldn't say that
Server side aimbot as in a plugin? Or what exactly do you mean by this?
hi miller
as an plugin yes
-# typo
-# I'm keeping it
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
Why does one need aimbot as a plugin
Because they're bored
Just download aimlabs and train your aim
imagine everyone perfect aim
So they wanna simulate cheats
Word
And get mods mad
Xdd
I'm not necessarily talking about the watchlist
I already made esp
You're gonna piss off NW mods
server side
No but like if you cant shoot then train your aim 😭
well @tribal dagger did
Could you elaborate then?
No
I program not aim
If later cedric wants to say something I'll let him but I'm not gonna say anything that could get me in trouble
It's called left click
I get it
I'll stand by my view until I know more though
imagine voice activationiactvioanzicoation shooting
@spare zodiac For now I wouldn't start that server side aimbot project
Yeah!
I'd say you have a fair chance of getting falsely banned
:(
Well that depends
Ban the dummies in my server
What
Violin?
All of them cheating
hello
Don't most cheater reports use clips for evidence in the ban?
Xd
Furry
reporting to global mod rn
woman 😭
Can i do a spam to global mod on my local server :trolling:
remember the time I made ESP from your system
All in-game clips must have the auth token displayed yes
I mean still better lol
Auth token
i scare mans
Return evidence is Aimbot
Then that requires a server mod who would then have the context that this player isn't actually cheating and wouldn't make the report
tf is an esp
I'm banning all peoples who habe @northwood in their useris
trust
That breaks CSG btw
wallhack

CSG breaks me :(
what is CSG the government created that
we don't follow that
Can't ban me if I don't have a nw tag
I think the fears of getting falsely banned are fair but largely wouldn't actually happen
It would require mutiny
all my homies don't follow CSG
-# @tribal dagger
is there a easy way to disable ac to get unityexplorer running?
XDD
vsr doesn't exist
You can use offline mode.
now CSG
vsr was back then
the big brother text
like -noaauth? doesn't it still use the AC?
when i made the thing
Btw what the fuck are you doing here???
But iirc ac is still enabled
Why wouldnt i be here
Im a tech support and i do plugins sometimes
I'll use local modeeeeee
Avr user can still submit a player report, if a gmod joins they can mistakenly still ban him
Offline mode has no SL-AC
I will mistakenly ban gmod

YOU DO PLUGINS????
Too bad you can't :(
Yes Zero
You cannot ban global staff.
I was told reports can be overtaken by plugins
who's gonna stop me
how to enable it?
muhahaha
Watch him 
As in?
*disable
My IgnoreBans auth flag 💔
If reporting
return
like enable offline mode
My hint with scale 100000
Imagine doing ctrl a and banning everyone and suddenly on the server left is you and the admin
😭
you can join not see at same time
@languid temple
Obstruction S&C is a violation of csg 7.2/7.4 
global mod can't ban people of my server?
Thats not what i meant
Yes they can
I will make global mod spawn as tutorial and rotate really fast
do you know how can i enable the offline mode
not anymore then
Nope
I mean why would a server do that
funnies
-noauth launch arg
If reports are sent to the server's moderators instead of global mods then there's no risk of a false ban, meaning saskyc can make the plugin without worry
You told him not to do it because of that risk
Then you will have real cheaters that won't get banned
Your server will get in deep trouble if you interfere with global staff handling something
I will add flag for global mod when they spectate player or whatever zero told me
I'd argue that can be seen as obstruction of S&C as well
I have never seen a global mod ban a cheater before
I have
At least not without a clip
they can handle stuff and rotate at the same time right?

Well yeah you're on the mod team lol
You shouldn't do that
(he's not)
I'm osm
shouldn't doesn't mean I can't!
guys I have idea
You could but you shouldn't
what if I give aimbot only to global moderators
That CAN get you in trouble
Hi osm I'm Aras
checkmate
You would be breaking CSG.
Either way, my point is 99% of cheater reports are handled via Polaris and clips, which is handled by the server's mod team anyways
they won't play on your server 
does CSG stop me from trolling the NW staff because they are NW staff?
Server Staff may not interfere with the duties of Studio Staff.
Yes
can i dm cuz it seems that the ac is still running
So in-game reports without evidence are how a majority of cheaters are caught and banned @subtle ravine ?
it's not server staff it's the plugin not me
it has consiousness
Falls under the same category
I'm not sure I might be wrong or Miller but IIRC ac is still enabled in offline mode
Ced/Zenlet probably would have more info
I won't help in dms tho
the plugin is server staff?
I'm not S&C
server staff installing plugins
afaik it's disabled 
Then why were you claiming I was wrong
Become s&c
what if plugin installs itself?
is it considered server staff?
tbats a concerned stuff
I didn't claim that you are wrong.
You saw my comment and reacted with ❌ so I assumed that meant you thought I was wrong
if you gonna install something on my pc without any knownledge i will deny and remove everything that connected to that + you gonna get reported
Wouldn't call that 99%
it will be anonymous
It was a hyperbole for sake of argument
doesnt matter
In-game reports get manually investigated by online gmods, obviously the majority is not banned that way, but I can assure you that we do indeed ban a significant people based on those, but since there's no feedback people assume it does nothing
thats why i dont like self-updating plugins too
That's pretty much what I thought
that's a valid opinion though
and it's the reason why I never made them
-# not because I was lazy
I rather control when i gonna update
they can say "new version avlb"
or some shit
CedMod automatically sends reports to a server's staff team, does it also send those reports to global mods?
that's why I don't update windows and keep windows 7
I'm not sure how cedric did it, I assume it forwards specific reports to us as well, but I don't know for sure, you'd have to ask him
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
And I still don't get the point to "simulate cheating" with plugins
Me neither
Then don't do that
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
So I think it's dumb to prevent him from doing it
No one is preventing them
It's just a suggestion that they shouldn't do that.
I think if you do stuff and you are not on the server list, your possibility is endless
I can't prevent him from doing it, I just advise not doing it
He doesn't actually break any rules
(confirmed this with cedric)
This to me seemed more like a statement than a suggestion but given the context I can see what you mean
true
True
I wouldn't
until copyright issues
Could have worded that better
Yeah yeah yeah my bad
wdym
I hope it's known I'm not trying to diss on NW staff or anything I just wanted to advocate a bit
they SHOULD be able to know it if they join and see you killing people through walls
That's good I like that
Is there a way to get an item by it's serial?
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"
Item.Get()
Item.List
I thought the Item wrapper had a get function
Item.Get or Item.List.FirstOrDefault(i => i.Serial == mySerial);
it might
Like Player.Get
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)
I love being awesome
Did LabAPI add a 1509 wrapper yet?
I've been gone for a while
no, not yet
Plugin dev chat
Indeed
I might talk about it after has been added
Truly
Slejm i got some good news
Can I hear the good news too
ya
I spammed bools and if statements for my scripts
Based
What
Average C++ experience
if (cond1 && cond2 && cond3 && cond4 && cond5 ... && cond10)?




I havent really started working on the AI yet but i'll probably use unity behavior tree
Make it all one function
Sure
Making your variable names shit like temp9

private static int variable = 4
🧙♂️
I put docs in my scripts now in case i forgor
Put everything in one giant if statement instead of doing early returns

I relearn my entire codebase every other week
Lmao
I used to smoke weed with relative frequency and write code
Do you work on a unity project or scpsl plugins?
So sometimes I look back at sections and I go "What the hell"
SL plugins mostly
Cool
The Ballmer Peak is a humorous concept invented by Randall Munroe in the xkcd webcomic, joking that a programmer who is appropriately intoxicated (between 0.129-0.138% BAC) will achieve a high level of programming productivity; the peak occurs at 0.1337%, a reference to leet. The concept is loosely tied to former Microsoft CEO, Steve Ballmer, an...
Apply for valve
They love collecting data and giving it to people so the smartest people can make something amazing
This is just what I do now lmao
thats why you should drink a little before coding 🔥
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
I like numbers
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
real
I understand i wish you good luck on your journey
And I primarily enjoy crunching numbers to solve a problem
me creating the 43th PoC
Hell yeah I really appreciate it
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
Depends on who you bribe
I accept foob as bribe
Can I bribe someone from S&C like I'm a restaurant owner bribing the health inspector
yes /j
should PlayerEvents.InteractedToy be triggering when an interactabletoy is searched? because it isn't right now
search isnt equal to interact
so when/what does the event trigger
when it finishes
i held it for the whole duration too
like uhh when you start interacting is different from finishing successfully
idk then
it just never triggers for me
this is fire
Check the docs
Interacted triggers when search time is 0
Search events trigger when it's greater than 0
Why is Item.Get(Pickup.Serial) returning null?
I give myself an item through RA, drop it, and then Item.Get returns null
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)
^^^
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
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?
Do some attack damage , I think if you do custom reason it should work
Yeah was doing firearms but got it to work
nope it doesn't
F
Scp3114Disguise::AnyValidateBegin
3114's disguising ability doesn't have a time limit on the corpses
Scp049ResurrectAbility::CheckBeginConditions
It checks the ragdoll existence time using ragdoll.Info.ExistenceTime on BasicRagdoll
idk why but still nothing
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
i love transpilers
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
In what context are you doing this?
OnPlayerSpawningRagdoll
Have you tried to see what happens if you use a different damagehandler?
i can't
the ragdoll doesn't exist at the time
i need to use CustomReasonDamageHandler
bro smart
.
i respawn it
with my own code
I know
But have you tried
Using a different one
To test
no
why don't you use OnSpawnedRagdoll
L bozo
ev.IsAllowed
because else slingshot wouldn't work
So the issue is that you're using CustomDamageHandler
maybe
Which means something in the code doesn't like it
idk
Maybe?
If it works without using it then customdamagehandler is breaking something
Or it's intentional
yea but if its intentional that sucks
It's intentional
So give it a death translation
its custom
it will not read on the client
so its useless
okay why is it called CustomReasonFirearmDamageHandler if the reason is not custom
Idk figure it out yourself 
is the ragdoll an 049-2 ragdoll?
No.
then what are we on
its a classD
- owner has to be a spectator
classd needs to be revived
- existence time
Obv they are
that too
.
Its because CustomReason isn't an AttackerDamageHandler
that's only for 049-2
why should i destroy that?
we're just blind ig
wdym destroy
It's because CustomReasonDamageHandler doesn't have a valid ownerhub
or does it generally not work
lol
Right?
it seems to be like so
i cannot add a owner or something
When you spawn a ragdoll I think it doesn't set ownerhub on the Info to something meaningful
make a labapi issue
So ownerhub returns null
lol
cuz the owner isn't set on the ragdoll data
this is funny
yea



