#FunnyPills (SCP500)
307 messages Β· Page 1 of 1 (latest)
There are so many unnecessary references here.
So many unused Unity Imports. Along with that what's the point of having AdminTools as a reference? There's nothing (to what I can tell) that uses AdminTools related commands
I have a main plugin system for my server and i decided to just take the item script out of the solution and posted it here
the original script form last month when i first added the item it used to use AdminTools, but that had failed so i decided to rework it, just havent done much with the refs
oh my
it doesnt generate seperate config file
funny_pills:
is_enabled: true
debug: true
is_pills_enabled: true
pill_folder_path: 'C:\Users\Gamek\AppData\Roaming\EXILED\Configs\FunnyPills'
pill_file_path: 'Funny_Pill.yml'
it should make another config folder
but it doesnt
i will fix that! thank you for pointing that out
yw
fixed configs and cleaned up the code!
https://github.com/SCP-Aurora/Funny_Pills/releases
thanks!
also btw
it would be nice to be able to change the chances for the funny pills to do things
pills dont work
are they registered in the custom items?
i will take a look
Do "ci give 30"
You just gave youself the Normal 500
Also @sharp magnet Funny Plugin i will test it
i will be adding item chances and more funny things in the next update...
Hyped
Dw I downgraded cus I liked a feature or a bug from the old 1.0 release that made it so all 500 were funny
If you could make that optional in the new update that would be nice
@loud hazel
@bright thorn
Update Is Here!
https://github.com/SCP-Aurora/Funny_Pills/releases
Yipee
thank you!
the extra stuff in the config isnt loading
its in the Items.yml file inside of the funny pills folder
if thats what you are talking about
that is correct
O_O THATS GOOD FINALLY A PLUGIN WHERE NO PREMADE SH*TS THANK YOU
Premade what π€£
I mean so many plugins hava premade things idk if the "premade" is correct but... for example customroles: the roles are already created for us some of them and i dont really like it cuz when i'm delete all of them and create my own and restart the server the whole thing is goes back to normal state and my roles are gone forever
Oh yeah, talking about the custom role config reset thing? Yeah it sucks, you have to cod an entire custom plugin
yep
right now i'm rework the custom roles plugin cuz i have better idea and i want make it more controllable than the original cuz original is sometimes updated and sometimes just dont have update
and that customrole config reset thing haaaa thats annoying
Have you tried uncomplicated roles?
#plugin-submissions message
no but lemme check
interesting... hmm when i'm home i try this
Alr!
idk how to change the chances in the config because it doesnt come premade is that intentional?
i guess but I'm checking now the plugin
sorry kinda forgot to check here last couple days, been busy with work for school, that is intentional. there would be too many config options for there ti be custom chances
yeah no problem i have been busy with school too. But if that is intentional how would i configure the plugin if i dont know what things to put in to make it work
Dont be afraid to ping me or DM me Abt this plugin, also I think I broke it, I'm going to add debug logs for testing
hey! Are the effects configurable, i dont want them to be random
Looking for a way to make CI Pills (:
would you like that in the next update?
i guess
what exactly are the configs like?
if not that
@burnt sluice @bright thorn @loud hazel
I just realized a massive bug with the code that will be fixed later today, I cannot do it while in school.
Yeah no problem I'm happy to wait I really appreciate all the effort you are putting in for the plugin
Alr thanks for the support!
In the code you can see that it's checking the chance after it checks the effect
Also I will add the ability to customize the chances, hopefully it won't take me longer than needed to fix.
New Release For Funny Pills!!!!
https://github.com/SCP-Aurora/Funny_Pills/releases/tag/v1.4.0
This Is What The New Update Has To Offer:
- Added Custom Chance Configurations According To The Effect.
- CHANCE VALUE MUST BE BETWEEN 1-1000 (for 0.1%-100%)
Yippie
It's taking a bit longer than expected, but I expect to have it done soon. Thank you all for your patience and support.
where I can find Funny Pills?
It's slightly broken right now, I'm trying to get chance preset working
a, ok
https://github.com/SCP-Aurora/Funny_Pills/releases
FunnyPills Has Been Updated!!!
- What's Changed?
- Fixed Configs Not Generating Properly.
- Fixed Custom Chance Values:
- CHANCE VALUE MUST BE BETWEEN 1-1000 (for 0.1%-100%)
- Reworked The ApplyEffect Method, And Made Some QOL Changes.
- To Do:
- Add a IsEnabled (bool) To Only Allow Certain Effects
I still can't fint it
It's on the link
If you still can't find it here is the download link π
https://github.com/SCP-Aurora/Funny_Pills/releases/download/v1.4.1/FunnyPills.dll
what Pills ID?
you can set it in the FunnyPills config folder
however it is primarily set to 1
ok thank you
All working, author sigma
should i report a issue that i have with this plugin here orr?
@sharp magnet (sorry for ping)
your good to ping me anytime, whats up?
Config issue on newest release for me
Is it not auto generating
something with yaml
Well is it an error?
think so because the plug-in wonβt load for me
Wdym?
wait
Did you download the latest release?
[2024-03-02 20:16:27.173 +00:00] [ERROR] [Exiled.Loader] Plugin "Funny Pills" threw an exception while enabling: YamlDotNet.Core.YamlException: (Line: 16, Col: 7, Idx: 328) - (Line: 16, Col: 7, Idx: 328): Exception during deserialization ---> System.InvalidOperationException: Failed to create an instance of type 'FunnyPills.Chance'. ---> System.MissingMethodException: Default constructor not found for type FunnyPills.Chance
on the newest release for me
Oh, I know why that exists. I will fix it hopefully within the hour
alright
If you don't care about the chance configs then it shouldn't be much of an issue. But I will do my best to get that issue taken care of.
@swift hound
https://github.com/SCP-Aurora/Funny_Pills/releases
fixed!
v1.4.2 Fixed the "No Default Constructer" error for YAML
- Note: auto gen configs are now working and fully operational! this will be the last version of FunnyPills unless more effects are wanted
@here please make sure you update your version to v1.4.2 as it is the most stable right now.
What do these pills do again
Scp-500 but adds gambling with custom effects
Does it do it to every scp-500?
That's a Configurable option
how would i make it spawn in different places not just 079 @sharp magnet
You should be able to change it in the config directly, soon I might implement a way to spawn it on surface.
like what are the names of the locations
[Click This](#1175306191262466138 message) @bright thorn
thanks
anytime!
hello! can i make all scp 500 as funny pills?
Yes you can set the option in the config
Affec_all500s: true
thanks sir
Yw
I 100% forgot what this plugin does, do these funny pills include the betray pills from other servers?
yes
Do you have a list of all the stuff the pills can do?
AllSpec: Revive All Spectators
#
OneSpec: Revive One Spectator
#
Add5MoveBoost: (Its Actually 25 Movement boost Stackable to 100)
#
Die: You Get Vaporized
#
BetrayTeam: You Become One With The Enemy
#
AddRandomGoodEffect: Adds A Random Positive Effect (Intensity: 255, Time: 90 Sec)
#
AddRandomBadEffect: Adds A Random Negative Effect (Intensity: 255, Time: 90 Sec)
#
StartTheFuckingNuke: Starts The Alpha Warhead
#
ReplaceInventory: Replaces Your Inventory With A Random Item
#
SizeChange: (Randomly Changes Your Size [Min: 0.5, Max: 1.125])
#
Kaboom: Spawns A Grenade At Your Feet
#
Blackout: Blackouts The Zone You Are In For 5 Sec
@burnt sluice
I had no idea how amazing your plugin was
And I can set spawn rates and locations for each individual one right @sharp magnet
the pill effect is random, it is not based on what pill you have. it is based on chance which can be changed in the config.
Can you maybe make it have an option to be based on what pill you find
then it would be a direct knockoff of chaos theory
Whatβs the problem of doing something already done before?
Especially if it improves gameplay on servers
@sharp magnet
what this guy said ^
Another problem is for each effect, I would need to add a custom item, which would take the random out of it, also there would need to be spawn points which for 12 items/effects would be somewhat difficult. I'm trying to keep the plugin on the Dr. Bright Mayhem Side instead of Chaos Theory
It would still be good to make one thats on the chaos theory side, and i speak for a lot of us server owners that it would be the best thing ever
What if you made custom items (Funny pills) that would look like 500s, but when you use them, it does a random effect just like it is right now, but also make it so that the 500s that spawn naturally and that are made with 914 function normally
I understood like 5% of that
I think my brain commited suicide while typing that lmfao
Maybe
Please take the time to implement the non random functionality, make it a seperate plugin if you gotta
Call it funny pills empire strikes back
@sharp magnet does this require custom items plugin?
i am a idiot so yea
No it does not, it only uses the exiled API
Kk
Have you thought about making the pills based on what one you find
π
Yeah, I'm going to try my best to do it, but it will be up to y'all to do the spawn locations
YIPPEEEE
wait what does that mean
Do you mean itβs up to us to set the locations in the configuration file or itβs up to us to code it
Use MER to do the spawn locations
Canβt you make them just replace a scp500 that spawns in
Or have it as an option?
@sharp magnet
or cant you also use exiled to have us use configs to set the spawns with the - lczarmory or whatever
with that option, i dont know if i could since there would need to be at least 7 custom items, which would all try to do the effect at the same time.
well since all of them are 500's maybe they can just replace those?
or maybe have them all binded to the same rooms
while yes that is an option, it only allows for specific and precoded places only, i recommend using MER for making spawn points.
what if im ok with that? (since - locker is a thing)
im fine with using mer tho (i just dont know how to replace existing 500's)
you asked for the funny pills to be pre-selected as an effect, that would mean I need to make at least 7 custom items like CT did, then if i make it so that it affects all SCP-500s, it would make it so that all effects are triggering at the same time, i cant just replace all 500s...
no not affect all 500's just delete a 500 and replace it
when you are setting a spawn (im talking about with unity, not in game) there is a check box for vustom items
i know but its fine
more like, lets say rng says its pill effect 1, it gives the pill the name and tells you what it does
i don't know how to do that, since when a 500 spawns, it doesn't actually create a pickup until the door is open from my knowledge
yes, i know what you are saying
im fine with whatever, im just really wanting it a thing
if you need to cut corners then im fine
i don't like cutting corners, i'll see what i can do when i come back to this project.
embed fail (stinky)
gif didnt work cuz ofc it does, but please get it does asap
i want chaos on my server

bro listen, I'm a dev on 3 servers, I have 3 projects I'm working on atm (not including this one), and one that's being updated constantly, this is not getting done asap
Asap means as soon as possible
Not that it needs to be done now or even soon
@sharp magnet i have a issue with ur plugin
it says the limit for the pills in the config is 50 and theres a 50% chance that each one spawns, but none of them spawned
also tf is with the max and minimum chance stuff, 301 and 350?
The funny pills arent spawning
Sorry I was replying to this, I didn't see the other messages
Change chance to 100, and change limit to 1, or just go through and spawn using MER, it's much easier. (It's what I did)
oh itβs broken that makes sense lol
@sharp magnet
How can I make the normal pills as SCP-500?
Would you like me to make that configurable?
idk
would be nice
yep thats would be nice
Alr, I will do that tonight and get the thing built and updated, also I need more effects to add @here
Yeah that didn't happen, I got a migraine π but I will actually do it tonight, I promise
if you are sick. you dont have to just wait til it chills down and if you are okay. do that time (srry bad english :/ )
Alright
we have time π
first you have to take care of yourself and then do the plugin if you want of course
thx
@sharp magnet is it possible to tweak the effect chances to a point where its guaranteed to get the "betray team" effect? cause i tried putting them all to 0 besides betray, didnt work. put betray min 0 and max 100 didnt work as well and well im out of ideas and i figured out if someone knew a way it would be you
did you mean 1000?
im pretty sure i did both 100 and 1000
can you send a ss?
it was at 1000 i think before but i changed it to 100
but ill try maybe my dummy goldfish brain forgor already
doesnt work
with a 1000
actually
after booting the server it auto changes to 100
okeey
it works?
i had to restart the server in the console
and it didnt change
weird
now it doesnt change
huh
well, it works so i guess its that! thx for help! i propably wouldnt think to try again if u didnt sugest it
np, sometimes problems fix themselves XD
yes
np
imma hide them in the most devious places
π€£
download the plugin
add the plugin to my server
restart my server
and my server said this π
i have the auto def config
my server is said: π€π€π€π€π€
wich version do you have bc nobody else has that problem?
this version
@sharp magnet
i tired use more effect together and give priority to the effect i wanted but not working i tired using older versions of plugin but everything its the same π¦
its says
wdym "-" indicator?
wut
i just see this now
wait lemme check smth
wait i got it noowww
okay i fixed it
i tryd add more locations for one pill and threw up this error now i tryd again with three locations threw up same error, and then i delete two locations and boom no error
and its spawning aswell
noicee
then i said nothing π
Ah
Yeah this version is the most stable build π€£
That's why im always confused when someone has an error
do these spawn naturally?
dont work for me
ye but you can't set more than 1 location
update exiled or update the plugin to the stable vers (newest) if it not working like this try remove some of your plugins cuz some plugin, f*ck up this plugin
@sharp magnet is there any way to set up broadcast when using SCP-500?
Have you decided to look through all the configs?
If you have and cannot find then no

Ok
Have you ever encountered such a error?
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <75633565436c42f0a6426b33f0132ade>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <75633565436c42f0a6426b33f0132ade>:0
at Exiled.CustomItems.API.Features.CustomItem.Init () [0x0000b] in <5a822196b7c84860847bfcf52ba95fa8>:0
at Exiled.CustomItems.API.Features.CustomItem.TryRegister () [0x000a7] in <5a822196b7c84860847bfcf52ba95fa8>:0
at Exiled.CustomItems.API.Features.CustomItem.RegisterItems (System.Boolean skipReflection, System.Object overrideClass) [0x001b8] in <5a822196b7c84860847bfcf52ba95fa8>:0
at FunnyPills.Plugin.OnEnabled () [0x0003b] in <839a7ec9507c4a7788856db77bfa75da>:0
at Exiled.Loader.Loader.EnablePlugins () [0x000c6] in <3c2aac4d5c3141bf85c639e3fe40b7f4>:0```
oh nvm
item with the same key alreadya dded
I haven't touched the source code yet
Isn't the plugin designed to create new items, I changed the items id
it creates it's own kinda 500 but YOU duplicated the plugin so there is now 2 on the server
the server cannot handle 2 of the same plugin
Oh
I get it, thanks
There is another custom item taking the same ID that funny pills are trying to register as.
Thanks, but it's already been explained to me.
I hate delayed notifications ππ€£
But I would still like to ask about broadcasts when using funny pills, is it possible to configure them in the configuration in the near future (if you release a plugin update, of course)?
In the near future yes. Most likely later td possibly in a couple hours π π
π₯΄
Funni pills To-do:
- Allow Painkillers To Work As Funni Pills (Toggle)
- Chaos Theory Like Pills (Instances With Thier Own Predetermined Effect)
- Customizable Broadcasts
(Ping me if I missed anything)
wait you gonna make funny pills to have like -a -b now??
yay
Yup
How should I make all the scp 500 be like this?
if you don't mind me asking, when would you be able to implement this?
yaay
when do you do it
affecall500s: true
In config
tbh, idk man
It sounds good, Funni pills To-do. I'm looking forward to the update.
