#plugins-dev-chat
1 messages Β· Page 129 of 1
Will this be late as well
we need MΓV app on the chaos card
-# per schedule
XXXXXDDDDDDDDDD
what what the fuck
you can use regular spaces and the space tag too
i do wonder tho
what if
i make like a massive
move it out of screen
and just position it there
and rotate it
β using this
hints
yes you can
or text with textmeshpro in general
sushalombatta
S40
yes
oooh cabinets
how did you want to rotate the entire thing though
yes cabinets
no i will place a hint just remote
and make it massive
oh you want a gigantic full thingy
so it doens't collide with anything
Sl does support the alpha tag??
yea
it doesn't work
<alpha=#66>
like in the example
and i've set a color
<alpha=#66><color=#808080>text</color></alpha>
why not set the alpha in the color
insane
The hints are seperate not one
it took alot
but its really cool
because you can make alot of shit
like blindfold
nah you can make it cooler
like blood effect
and other stuff
hemorrhage
Hiii
Looks good
Thanks but what about sound?
Seems good if you are trying to make like a facility
which doesn't feel metalic
but more stale
True im making a underground facility
That area is meant to be a underground construction zone
Guys, I've got a small and basic question, how to add an item to someone's inventory?
This doesn't seem to work
ev.Player.AddItem(ItemType.KeycardJanitor);
that's how you do it
when do you do this
in an OnSpawn function
right
use ChangedRole
^
thx
spawned is called when the position is being set
the inventory might be cleared and reset afterwards
oh right
and yea inventory is done on PlayerRoleManager.OnRoleChanged event
which is actually a different spot than the basegame event
but ya:
- pos set (so Spawned event, if applicable)
- role basegame role changed event -> set loadout
- labapi role changed event
is there a simple way to check if someone died to fall damage, Tesla Gate, off map death etc?
UniversalDamageHandler
and then check for translations
if (damageHandler is UniversalDamageHandler universal && universal.TranslationId == DeathTranslations.Falldown.Id)
tesla is there too afaik
not every death reason is in there tho
Tesla Falldown Crushed
thanks, that helps allot
Something like this would work?
private bool IsDeathPremature(PlayerDeathEventArgs ev)
{
var player = ev.Player;
if (ev.DamageHandler is UniversalDamageHandler universal)
{
var prematureDeaths = new HashSet<byte>
{
DeathTranslations.Falldown.Id,
DeathTranslations.Tesla.Id,
DeathTranslations.Crushed.Id
};
if (prematureDeaths.Contains(universal.TranslationId))
{
return true;
}
}
return false;
}
theres no need to create a new hashset every time the method is called
but yes should be fine
ah true, thanks for the feedback
and you dont need to guard the if statement since returns
static readonly HashSet<byte> prematureDeaths = new
{
DeathTranslations.Falldown.Id,
DeathTranslations.Tesla.Id,
DeathTranslations.Crushed.Id
};
private bool IsDeathPremature(PlayerDeathEventArgs ev)
{
return ev.DamageHandler is UniversalDamageHandler universal && prematureDeaths.Contains(universal.TranslationId);
}
idk
is ev.Player that hard to type π
legacy code
zombie check i presume?
ev.Player.Role is 1 line rather than 2
was trying different things, forgot it was there
fair enough
already did a zombie check before
basically my idea is to give doc a buff if a zombie suicides
and in that state you can replace the event arg with just (this DamageHandler dmg) or smth
and make statis i guess
idk
anyways, thanks guys, I appreciate the help. First time coding a plugin so still a lot of figuring out
does anyone know if it'd be possible to enable vr support for the game without having to rebuild the entire project with openxr
just simple projection of the game into vr
not via the server no
i meant locally
aw man
that's unfortunate
wonder if it'd be possible to convince whoever is the project lead (i assume hubert?) to add headset projection support
adding vr support would be crazy
I dont think they will
adding simple support to simply display the image on headsets connected to your pc is really simple
its basically built into unity
yeah
in the slightest
there will be no body movements π
yeah
there is no point making a k&m vr game, nobody will play that π
i mean it should take like 5 minutes to install the package
but idk what the complications would be with how the game is managed
it is also very trippy controlling where you look with mnk while wearing a headset
rather silly even
wait what scripting backend does sl use
mono or il2cpp?
Mono for server
Il2cpp for client
okay then there should be no problems with it
what
idk why but for some reason vr projection is very buggy in mono
oh
yeah i have no idea why'
runs fine on the editor but if you build with mono it just doesnt work
honestly no idea
i spent like a week trying to fix it before giving up and just switching to il2cpp and it just worked
may just be an issue with my specific unity version
frfr
could just be a bug since my project was on a pretty early unity 6 version
wait the game is on hdrp right?
i think so
interesting
wonder why they went with HDRP instead of URP
The game doesn't really seem like it needs any of the super high end graphical features of HDRP
Β―_(γ)_/Β―

also u pinged the wrong acc but ummm
i dont know if i can feasibly make it work
try closing the mark whenever there's a line break
Lmao what
What world are we living in
This one
thats my alt
Why do you need an alt
why do the flowers need such beautiful pedals
why do the crickets need to sing
its just the natural order of things
No

Guh
kinda tiny but it'll be super nice to have
Finally not everything will be I'm no namespace
Wait in c++ you can create your own
Or is the engine getting namespaces?
Like
ue::UObject
You'll be able to use namespaces on engine exposed stuff
namespace MyGame
{
USTRUCT(BlueprintType)
struct MYGAME_API FMyStruct
{}
}
UHT yells at you if you try to do it right now
Lmao
Ah lel
it'll be nice cause right now I do AMyGamePawn, AMyGameGameMode etc
gets annoying
especially on some more low level stuff I'm writing
Real
It'll be nice to do RF::AHumanPawn or RF::ABaseGameMode
or even RF::Lua::FModInfo
Also interested in the new networking stack
Probably implementing it as soon as possible, if I can target 64 players @ 60FPS on servers, and maybe 100 @32, im happy
whats da issue
try to do this? doesn't work at all you dumbass completely wrong
BUT THIS WORKS??
constructor for AnimatedValue
i think it might be a fucked up unity thing
could be
check what WriteAnimationCurve does
im neck deep in engine memory leak debugging but sec
Seems like by doing this you're taking away some data that's expected on read?
but this basically does the same exact thing
Β―_(γ)_/Β―
i've already got a migraine with UE memory leaking, but maybe print out the writer as you write
See the difference in what's being written with the one that breaks, and the one that works
wait i might be fucking stupid
:?
I saw that in the code and was about to ask you if you had 2 frames
and forgot
rip
i was scared of ruei because there wasnt a guide to it like there was for the last one and i ended up figuring it out in 30 minutes
fml
:3
@hearty shard @icy knoll mark ur calendars ruei v3 is releasing on september 30th i have decided
unless something goes horribly wrong
i made a patch to make regular hints work with ruei
does anyone have any notes
public static bool Prefix(Hint hint, HintDisplay __instance)
{
if (hint is not TextHint textHint)
{
return true;
}
if (Assembly.GetCallingAssembly() == typeof(RueDisplay).Assembly)
{
return true;
}
if (ReferenceHub.TryGetHubNetID(__instance.netId, out ReferenceHub hub))
{
textHint.Text = LowercaseizeString(textHint.Text);
RueDisplay rueDisplay = RueDisplay.Get(hub);
Tag tag = new Tag($"{hub.netId}");
rueDisplay.Remove(tag);
rueDisplay.Show(tag, new BasicElement(400, textHint.Text), textHint.DurationScalar);
return false;
}
return true;
}
ummmmmmmm
ruei has a built in thing for converting a string to lowercase
i mean as in
a hint to lowercase
its in HintBuilder
oh yeah well like, i made it before i added ruei
o
but its mostly besides the point
it seemed to work, for me
like it let RUEI send hints and there wasnt any stack overflows or anything
oh
so its mostly fine?
u might wanna support hint parameters
which Type has parameters?
yeah
Bruh π
:3
UHT tej
hello chat
Hello cat

Anyone knows how can i disable the friend fire detector, enable the friendly fire and then make them do the same damage as normal?
because if i remember friendly fire makes you take less damage
this is the config entry you have to replace on config refresh
Automatically
is this you??
find where it's used
I have a plugin for that
πͺ what r u on about
Vut doesn't automatic
how tf i disable the friendly fire kick
By just not making it as friendly fire
what?
xd
Just normal damage
Works on my plugin
Lel
Or something i doing have ff set in my config
crazy
what is that formatting
ig its time
π
to do a new event
To able to read it easier by me
If you decompile it will change anyway
Not like i will touch the plugin again until damage rewrite
nothing implements IFriendlyFire
Ye cus its not been written yet
and why do you cal the base method in a CustomEventsHandler
that says "Hello World" every tick

until what
public class PlayerEventsHandler : CustomEventsHandler
Damage rewrite
i just use this :3
Y'know
drake laptop
They rewriting how the damage stuff works
how do you know that
who do you work for
I just saying IF they ever do it
what?
Not like they will do it in 18.1
death
:3
i'm stealing this
you aren't as cute as the cat

already seeing a cat
makes me die
some would say otherwise but i'm not complaining
I might wait for this week then I have to contact hr.
Because everyone was busy with 14.1.4 and probably beryl and jesus was in hold too
i mean cats are cute because idk
bro wants to speerdun
Idk why they pushed the job listings at the time before they released 14.1.4
doomsday
HR was busy on break prob
i mean on break from nw
And busy snoozing
Provided to YouTube by BWSCD Inc
Doomsday Β· MF DOOM Β· Pebbles The Invisible Girl
Operation: Doomsday (Complete)
β 1999 Metalface Records
Released on: 1999-10-19
Main Artist: MF DOOM
Featured Artist: Pebbles The Invisible Girl
Music Publisher: Lord Dihoo Music
Auto-generated by YouTube.
this?
why do you need to contact HR π
because why not
Been 2 weeks and no response as they said
true, id just be patient tho
i waited like 3 months for my web dev application π
Damn
Crazy
nw is slow
even slower than the italian government
god
As said they released the application at really inconvenient time
Is that yoi
You
no that's you
99% of the time
i am so close to posting the wrong stuff
sklll issue
don't have wrong stuff
problem solved
Ye my phone is filled with cat pics/memes
nameless there's alot of gif of you saying stuff that you shouldn't say
so
Mines just whatever i downloaded
another one in the pile
Or some images ive taken
I do not wanna know what kind of images you take
Scary grass
Ducks
Mostly my cats, some outside stuff
And ya
AND ME???
Ya
HOW
As in yas
Stalking
How do you have pic of me
skulliosus
magic
How do you get a the player object from a Ragdoll?
labapi_ragdoll.Base.Info.OwnerHub
Or just Info.OwnerHub
yum
kk thx
How do i get my life back togheter?
with the power of magic & friendship
brainrot
another question, how do you detect 049 attacking someone?
the Attacking and Attacked events exist for 939 but not for 049
Hurt(ing) event
ev.Attacker != null && ev.Attacker.Role == RoleTypeId.Scp049
also what
i dont see this
ok nvm i found it immediately
π
no clue
might be cuz theres multiple spots it gets called from
how does one check if player is actively wearing skins as 3114?
it used to be ev.Amount
StandardDamageHandler
alr
player.RoleBase is Scp3114Role scp3114 && scp3114.SubroutineModule.TryGetSubroutine(out Scp3114Identity identity) && identity.CurIdentity.Status == Scp3114Identity.DisguiseStatus.Active
me when
Scp049DamageHandler
no thanks
nw adding role wrappers will be so nice
Backflip
200000 years later
i might pr it for them 
so do I
They said soon but probably in 14.2
Or later
its prob being done internally
Or just in todo list
I don't even use exiled
exactly
does that require a 3+idk week long application process
no it requires exiled deciding new maintainers are needed and then being active
thank you eve
Yes you have to get flowers and chocolate and send your resume and portfolio to Yamato
vine boom
I am not
And also requires you to sell your soul , sacrifice your hard drive
what if i don't have either of those
you'ren't
Get someone else idk
Is it possible to make a box that players can collide with but it can be shot through?
There's like a layermask or something I can assign right?
XDDD
ignore raycast?
Gotcha I'll test this later
And by that I mean in like a week
I'm still in vacation haha
You suddenly wake up and think of these scenario or what
heisenbug in a nightmare
@lucid
oh
whyd it not let me click him
@mild ice ok now it works
lucid pls explain this
how bad has #general been
Stackoverflow exception my beloved β€οΈβ€οΈ
I swear there is not a single unity game that does not throw any error
Or warning
you should make one that doesnt
development issue
holy shit the antialiasing is so shit
Bet (i am trying)
not enough alpha resolution
thank you
sl clone 20000
it's the same shit
Working with MetaXR is so bad I turned off warnings all together and started debugging with Error messages
you WHAT

i am trying as well

i would try
just fix the wranings
Did you succeed
but i have no game ideas

not yet
make game about a game
Oh i have plenty
"rigidbody does not support non-convex meshcolliders"
get in the basement
I DON'T WANT THE CHILDREN AS COLLIDERS OF THE RIGIDBODY
this clip farm is crazy
Hey google, how can i kill a child without killing the parent
<A spanish "meta" joke about deez nuts here>
I did a few but digging into the Meta source code to remove any errors there was a pain. Especially since most of them werenβt even my fault and was legacy code they βforgotβ to remove
"PUTIN'S SAD LIFE [History lesson]"
This are the type of videos i watch while i code
oh right
meta
Glad I never have to touch that stuff again
delete meta
delete riot
I love working with VR but it can be a pain sometimes
Delete VMProtect
goofy ahh gradient
Delete Unity
i support this statement
adds up to the comedic effect
No and why
Delete .NET from your pc
Hey google, how can i kill a gameobject named "Timmy" without kill the parent named "Timmy's Family"
NO
the question should be
how to keep child alive when parent is being destroyed
Hey Google, how can i banish an angel back to heaven
"banish"
Hey Google how make speech gifs faster?
Hey google, how can i destroy the parents and leave the child called "Bruce Wayne", and then rename it to "Batman"
βOhh nooo, I have to to back to paradise and canβt stay in this hell hole, how sadβ
Hey google, how can i kill?
Thats just nw
being nw
java
that ain't Java
there is static class
Java deez nuts
you should get one that says "type hbctrl to abort" >>> hbctrl "heartbeat is not active!"
this was my average pile of cocaine i did while developing in java
the namespace
this is completely valid request
Jarvis can you love me?
oh my
Wtf
third thing that goes up if you type "Jarvis"
eat color
9th for me
sometimes
yes
I can manage my memory
if you want to end your life's suffering
couldn't type the 3 letter thing starting with k :(
Marshal.AllocHGlobal(ulong.MaxValue);
can we kill slime boy
is it useful?
no
can I allocate all memory crashing everytime?
Yes
I might not have a brain, but I have an idea
contradiction
when the stack overflow gets so bad it takes 5 minutes to exit playmode
Me when they make website after some unnamed exception
me when
hi bestie
what
it's still september tho smh
Shut up
wow ok
germanese
im too italian to know what that is (im joking i know what it is)
i love it when unity doesn't find a script upon git checkout and now it's missing even though the file exists
Do you by chance do
namespace YourNamespace;
public class YourMonoBehaviour : MonoBehaviours
{
...
}
nope
i just checked out an older branch and went back
solved by deleting the files and restoring them

yes
Interesting
i would if this stupid fucking engine would recognize file-scoped namespaces
Yeah well it doesnt XD
wait unity only recognises block scoped?
yea
it's on .net 5 so C# 9
if you install a package that lets you edit the csproj, you can change it to preview
but file-scoped namespaces just don't work
wow π
funnily enough, in roslyn, a file-scoped namespace is still the parent token of top-level classes so...
very much a unity skill issue
It is actually yes
what if it's a regex 
π
So sad i didn't know i could've disturbed you
thanks for letting us know you're available, your dms will soon have 100 urgent messages to respond to

Millions must fake syncvar
fake sync deez
Can you fake sync unity to work

Is there a way to reset an SCP's ability cooldowns? (for example 049's humeshield zombie buff)
rpc message
aight, thanks
MΓV is fake syncing the delays π
XDDDD
Fr
This is probably the best thing I've heard in months
The displays says 5 min (everyone knows this) but it's actually 1 hour
I love that the train stops at a random spot and nobody knows what the hell is going on
Most time they hit me with "BiztosΓtΓ©k berendezΓ©si hiba"
Due to a signaling failure, the train has stopped. We apologize for any inconvenience. Thank you.
BiztosΓtΓ³berendezΓ©s π€ βοΈ
Ah my bad
Can i modify micro's charge time
dont think its synced
Electrical fuse system failure 
Ask MΓV they know how to delay things π€£π€£π€£ ||yeah I stop these jokes||
Never used that xd
I don't even know what is that
Yeah that's why I live at the other side of the country
I'm going to GyΕr next week bc I'm an ultra at a football club
I will check it out xd
GyΕr Γ‘llomΓ‘s, GyΕr Γ‘llomΓ‘s. KΓΆszΓΆntjΓΌk kedves utasainkat.
-# GyΕr station, GyΕr station. We welcome our passengers.
SSS are great, sure, but itβs still a shame to have to rely on a Wrapper that isnβt integrated into LabAPI just to make it easily usableβ¦ Especially since when you split your logic into multiple plugins, you end up with yet another critical dependency. Is there anything planned on the LabAPI side to improve this?
There are FLIRT3s you might see
SSS wrappers afaik are planned
At jesusqc 
Planned (indeterminate time)
also what dependency r u using
Hmm
Itβs good that itβs planned, but I wonβt have time to wait, so Iβll be forced to waste time reintegrating this into an APIβ¦ 
i mean
there is an existing oneee
Or use SecretAPI / ASS
ya
idk what the 2nd is but
having an existing to use usually ends up being better
it really depends
Yeah, I know, but Iβm hesitant to rely on an external dependency for my API, since almost all my plugins depend on it. Anyway, it comes down to the same thing: it has to be maintained. Iβll think about the best technical option, but I really donβt know what to make of it. ASS isnβt even a wrapper, it completely rewrites the logicβ¦
makes sense
All in all, SecretAPI seems like the most viable option right now, but it still pisses me off, even though Iβm really grateful to the developers who made it.
thats me 
Ohh, in that case, thank you so much for your time! 
But I honestly wonder, why not make a PR to implement SecretAPIβs SSS wrapper directly into LabAPI? Is the rework planned on the game side or on LabAPIβs side?
Its up to NW how they want it implemented
if i was labapi maintainer, sure id pr it
but
id rather let NW handle it
looks like you can handle it server side
pay up
i got 0 in my paypal
so sad

Xd
We just need to start a petition aimed at JesusQC 
heart breaking
i want riptide to do it
bribery?!
Bribe
1 billion USD
a small price to pay
Donβt challenge me, Iβll code a bot to ping about this once a day otherwise 
I'll challenge you (to get you banned
)
I wonβt leave any evidence, Iβll be invisibleβjust like the SSS Wrapper on LabAPI 
Jokes aside, weβve come a long way with LabAPI β itβs great to finally have something offered by the studio for developers. Itβs just a shame that some QoL features as useful as SSS are missing, even though I donβt doubt theyβll eventually be added. The big question is: when?
Just a new Discord account 
And voilΓ
Well, they mustnβt stumble upon our exchange, otherwise itβll be dead in the water 


Btw this was the best place to talk about this xd

1 massive delicious steak and baked potatoes
how massive we talking
1km * 1km ?
You know what else is massive? π
π
mass
MY HEARTH
slejm died
And that's the correct answer
goog says The average steak typically weighs around 225 grams (approximately 8 ounces) when raw. For portioning, a good rule of thumb is to consider about 180 grams for children and smaller eaters, and 225 grams for average adults.
someone bury his corpse or its gonna start to rot soon
Yeah so half of kilo
so... cooked steak mass = raw steak mass?
No
tbf he never specified raw vs cooked
I aint eating raw meat
that's a lotta steak
thats a big meat
and give it to riptide?
And give it to the next person
cut it in half and give it to the previous person in the basement
food
i disagree
Goofy
goof ball
Ill have some semestral work with gitlab
david when role wrappers
Same stare as when the teacher says we will learn linux
and I hope we can choose what we do cause in that case im giving them public labapi repo and calling it a day
HUH
why
Leaking labapi update huh?
yoink
im telling beryl
Yeah we're learning Linux in uni
Leaking labapi update?
opening dotpeek immediately
cool!
u owe me a billion USD
jealous (i don't go to uni)
doesnt matter
I was at my first linux lecture today
and felt asleep almost
i dont discriminate
I know ton of it already π
It's a pain, because we have 4 different mathematics xd
this is exactly what i envisioned for a settings system
maybe a bit more complicated thuogh
removing secretapi NOW
GUH
We are replacing eve with this one
:(
goofbyte eve
a few things, no docs(cuz lazy) everything is subject to change(not even a PR yet in LabAPI), has missing features like version
but feedback is needed especially for stuff that you think is missing
yeah i think
a rewrite of the original SSSS system is missing
new Setting();
the internal:
idk
riptide can you please stop using snake case in C#
hollow
Heres just a small example
public class MySettingsPage : PageModel
{
public HeaderModel Group { get; } = new(...);
public ButtonModel MyButton { get; } = new(...);
public MySettingsPage()
{
MyButton.Updated += OnButtonUpdated;
}
private void OnButtonUpdated(PlayerButton button)
{
if (button.IsPressed)
button.Player ...
}
}
Plugin entry
ServerSettings.AddToGlobalPageDropdown(new MySettingsPage());
ServerSettings.SendToAllPlayers();
its a high level system, not really a wrapper itself
never
i also feel like pages should be sorta handled client side
like server tells the client what is a page and what it contains and then client can handle itself
cuz then you dont need to pin keybinds on every page
sorry guys, just a question, do players have to be online to get their SSSS values if they are set to server only?
paged example
public class DonatorPerksPage : PageModel
{
public PageDropdownModel<PageModel> Perks { get; } = new(null, "Perks", new PageModel[]
{
new DonatorPerksHomePage(),
new PlayerPage(),
new BadgePage(),
new GlowPage(),
});
public PlayerSelectionModel PerksResults => Perks.SelectedSettings; // results of page selection wont be visible otherwise, can be reordred if you want ot display it elsewhere
public override string ToString() => "Donator Perks";
}
riptide ^
yeah that's kinda important yeah
i guess NW could make it so every keybind would be hoisted to the top as in functionality, though it wouldn't show in the settings (can be confusing for players)
so keybinds would be handled regardless of viewed page
you dont have to pin keybinds here, although the way it handles is abit janky
wat
just add keybinds to the keybinds page
oh
just do ServerSettings.AddToKeybindPage()
genius
reason i didnt implement anything base game, was because i wanted something that works now
@rugged laurel ^^ for your keybind system could do smth like this instead of what we discussed in dms
ppl using this is gonna break secretapi
im gonna rage quit
i do like that this system handles keybinds nicer
well reason why i asked you this #1339704289291141130 message was to figure out away to make this system compatible with existing plugins
by just sending them on close
ah
i think its possible, but would requires some base game changes
yea it has a lot of caveats
PLEASE
it's done for
yea
thats all i could ever ask for π
Doubt we'll see clientside modding
mod
hows client side modding related
Guh
instead of the server resending the current page
ya
okay I see
rn you have to either pin the keybinds or show/hide on tab close/open
Thank you decompiling it
they wrote it
New SCP:SL Hacks
genius idea to receive every setting when the player joins
hoist all settings to the top
get the values
that's honestly smart asf
and resend only the current page
oh yeah i forgot to mention it but you must use properties not fields. i had to choose one over the other as you cant use both at the same time as .net framework doesnt return fields/properties in the order they are declared using reflection(in later version of c# it does but unityβ’)
what
right cuz
backing fields are generated by the compiler
and the order is not preserved
is that the reason
that's my guess
honestly it just puts all the fields at the front for no reason
if you mix fields/properties
yeah probabyl the compiler being the compiler
i agree
tbf its decent, just needs some stuff
IEnumerables of ISettingsNodes(thats SettingModels/Pages) e.g. List<ButtonModel>, List<List<ButtonModel>> and Dictionaries with Keys as Players and Values as ISettingsNodes or IEnumerables of ISettingsNodes e.g. Dictionary<Player, List<TextBoxModel>> are valid inside pages. the former is just flattened inplace, and the latter is a special case where you have to generate settings based on the player(that is there is no setting commonality between different players). it shows only the settings for the player in the dictionary. its only for very special cases. most of the time you can get away with a player filter or player transform
also another departure from the base-game system is that if you dont provide an id, it will default to a server side only setting and use a runtime generated id instead. it will not hash the label for its ids
in reference to the base-game or this?
basegame
departure?
fair
well base-game you can specify the id and server side property separately, thats impossible todo with this system







