#InfiniteStamina

1 messages · Page 1 of 1 (latest)

distant depot
solemn garden
#

Thank you very helpful

#

❤️

worldly schooner
#

Using a background thread for this is a little overkill

#

Not even sure you're meant to touch game thread objects outside of it

distant depot
worldly schooner
#

Would be better to make a component that sets it on tick

solar badger
#

This is in the config_gameplay

#

There's a ton of settings already baked into the game

solemn garden
#

ah i didnt know that

solar badger
#

Every plugin generates a properties.yml where it generates configs that has this already

lean galleon
#

you should look at the wiki regarding coroutines

#

this is just so cooked 😭

wispy comet
#

I know him, he uses AI.
The code is really poorly written.
Why does everyone have to use AI for everything?
I think coding should stay AI free.

static aurora
worldly schooner
#

I figured it was AI but wasnt entirely sure

#

Rip

solar badger
#

Just a little compilation of some of the most obvious AI mistakes and tendencies

solar badger
wispy comet
#

@distant depot

#

That’s absolute trash.

distant depot
#

Thanks for the feedback everyone.

I appreciate the technical advice about coroutines, components, and the built in config settings. I am still learning and trying to improve my understanding of LabAPI, so constructive criticism is helpful.

Yes, I sometimes use AI as a tool, but I do not just copy and paste blindly. I test everything myself and I am working on understanding the code better so I can improve it properly.

If you have specific suggestions on how I can structure it better or implement it in a cleaner way, I am open to learning.

#

🙁

alpine kernel
#

i found a bug

#

Nice INVALID

#

lol

solar badger
#

The most respectable thing is to hone in your craft privately and try to do your best to improve

#

I've been doing dev work for probably 1.5 years now here as my first foray into the life of a developer, and I only released my first public plugin like a few days ago

#

The reason people are so critical of your work is because you're releasing it publicly intending for other people to use it
When you do that, you are instantly held to a higher standard

#

That is a standard that, so far, you have not lived up to

distant depot
# solar badger That is a standard that, so far, you have not lived up to

Thank you for taking the time to explain your perspective.

I understand what you are saying. Releasing something publicly does come with responsibility and higher expectations. That is fair.

My intention was not to push out low quality work, but to learn through feedback and real world usage. I agree that I still have a lot to improve, and I will take this as motivation to refine my skills and clean up my implementations before publishing future projects.

I genuinely appreciate constructive criticism like this. It helps more than you might think.

kindred slate
#

My opinion, AI is a grey area, AI is a tool and is literally designed to be used to make things easier, it should not be used to do it for you, for example this can be something like asking for ideas, asking to help identify an error (as sometimes it's a simple spelling error or something like that which can sometimes take long to find and debug), so should you AI, absolutely, should you use AI entirely, no, that would not be your work, when it comes to generating code AI just generate absolute slop, as some other developers have identified mistakes in your code, my advice, yes use AI, but do not rely on it, do not use it for everything, do not use it to generate your code for you, coding is an art, it takes time, it takes effort, if you take shortcuts, especially too many you will just create a sloppy plugin.

distant depot
# kindred slate My opinion, AI is a grey area, AI is a tool and is literally designed to be used...

I understand your point and I actually agree with a lot of it.

I do see AI as a tool, not as a replacement for learning. I use it mainly to speed up understanding concepts, get suggestions, or help identify mistakes, but I know that relying on it too much can hurt long term growth.

You are right that coding takes time and effort, and I do not want to take shortcuts that prevent me from improving properly. I am still in the process of learning and refining my skills, and feedback like this helps me understand where I need to focus more.

I appreciate you taking the time to explain your perspective.

kindred slate
#

And yes, when you release a plugin publicly there are certain "expectations" that you must live up to, which as stated before, you have not, but that's okay, don't let that discourage you, keep going and trying

distant depot
distant depot
alpine kernel
kindred slate
#

Also, I am unsure as to why this is a plugin, there seems to be configs for it already

solar badger
solar badger
solar badger
kindred slate
kindred slate
solar badger
distant depot
#

I write the answers myself

kindred slate
#

Well for starters it's in an AI structure, it sounds like AI and you wrote that response like, really quickly after I sent my message, like 200wpm quickly

distant depot
distant depot
solar badger
# solar badger I appreciate that

I think too often people use AI as a crutch
You can claim you use it for learning, but there's only so much an AI can actually teach you
All the AI knows is what gets put into it, it doesn't have any actual comprehension
Generative chatbots weren't trained to understand the inner workings of SL nor LabAPI, they will tell you what you want to hear

#

The code produced here is a shining example of something that looks good at a surface-level, but is filled with flaws

#

And it sets a bad example for people coming into this community trying to find simple plugins to learn off of

kindred slate
#

I think I will thank you, as well as other people, look, if you're gonna just use AI for almost everything then I don't see you as a fellow developer, please, with all due respect and in the nicest way possible, go back to VS and learn more, maybe with you're own brain and knowledge, AI should be a privilege as well, before you even use it you should know how to do that thing yourself first

distant depot
solar badger
#

You have to actually learn the skills required to not only maintain a good codebase, but to create it in the first place

distant depot
kindred slate
#

Here's an example, cars have advanced quite a lot, most of them have parking cameras now, however, you should not be allowed to use parking cameras until you know how to park without them, only then do you get the luxury of making that shortcut

solar badger
#

It's based of old code and faulty assumptions

kindred slate
#

Nor do you know how to do it efficiently

#

becuase the AI has fed you a load of rubbish

solar badger
#

You weren't even knowledgeable enough in the SL codebase to know that stamina options were defined in the gameplay config, making this plugin instantly obsolete

#

I know I'm being critical but I'm not even being critical of your work, as most of it isn't your work

kindred slate
distant depot
solar badger
kindred slate
#

Who in the world uses ; lmao

#

In casual texting on discord

#

Sorry, just another hint of AI lmao

solar badger
distant depot
#

Google Translator

#

@kindred slate

kindred slate
#

I don't think google translate puts that in for you

distant depot
kindred slate
solar badger
kindred slate
#

Well said, there are plenty of developers that will gladly help you in your journey, hell, @solar badger helped me like 10 minutes ago

solar badger
#

It saddens me as I keep seeing more and more plugins made by AI, or some low-effort port of an existing plugin
It feels like we're losing any semblance of creativity, of actual merit

#

I'll never stop being critical of people relying on AI for their work

#

I use AI myself, but I use it as a proper tool, not as a crutch for making my work for me

#

It should streamline the process, not replace it

distant depot
#

I'm supposed to write to the developer: "You're just mad because you're getting replaced by AI."

kindred slate
#

Look @distant depot, we aren't trying to crack down on you, we're not trying to be rude, we are simply telling you that what you have done is not the right approach and that you should change it, we can even offer advice, @solar badger already has, we understand that this is your first public, maybe even first plugin, but you need to understand that you cannot just use AI to create your first plugin and the publish (not even knowing that the feature is already in the game configs), before you start publishing just learn, @solar badger even said he's been coding SL for 1.5 years and only recently published his first plugins, same here, I've been doing it for about 1.25 years and I've only just started releasing plugins and they aren't even the best that they could be becuase I'm inexperienced still, it's hard, coding in general is hard, like I said it's an art, it takes time, dedication, it is not something you can learn on a whim, please, take this not in a way to push you down, but to you bring you up, to help you

steady jungle
#

i am horrified

kindred slate
steady jungle
#

everything in the source code

kindred slate
#

Oohhh

steady jungle
#

i just read the chat

#

but like

#

😭

distant depot
#

but it works

kindred slate
#

I thought you were talking about the very inspirational messages that @solar badger and I cooked up

steady jungle
kindred slate
steady jungle
#

i dont think any bit of this was written by a human

solar badger
#

"It works"

steady jungle
kindred slate
#

Yeah lets get a car from the junkyard, no mirrors, wipers, the left back wheel doesnt work but hey, it drives so like lets use it

steady jungle
#

i mean

kindred slate
steady jungle
#

i assume theyve not coded before

distant depot
steady jungle
#

but yeah

solar badger
steady jungle
#

please learn unity, sl or anything before using AI to write it, so you at least understand why its sub optimal what the AI gave you

kindred slate
#

-# if you say yes then I don't know what I'll do to myself

distant depot
kindred slate
#

bugs = problems, like what

#

You cant say might have bugs but works without problems, that's the most contradicting thing I've seen tonight

steady jungle
# distant depot The game runs flawlessly.

i mean:

  • the game has config loading that you can use, no need to write a custom thing and handle all that
  • theres LoadConfigs override instead of doing it in Enable
  • Using a new thread in Unity, is horrific and CAN result in your plugin killing the server
  • I'm pretty sure you can set a players stamina without getting the module manually, but maybe im wrong
  • this functionality requires no plugin
#

did i miss anything

kindred slate
#

Also, one more thing, coding is a language, it quite literally is another language, if you're using google translate to go from german to english no wonder you're using AI to get code, if learning another language for you is hard then learning how to code/learning another language will also be hard

steady jungle
#

they were saying that THEYVE seen tonight, yk.. their timezone, not yours

#

but yeah

kindred slate
#

Since it was in my message and I was saying it, it was being said relative to my own timezone

#

But okay then

distant depot
#

yes

steady jungle
#

anyway off i go, ive seen enough AI slop for today - please learn to code

kindred slate
kindred slate
#

Lemme correct that real quick, please learn to code properly

distant depot
#

So, I wish you all a good day or a good night, and I will continue working to manage without AI! Thanks for the feedback!

kindred slate
#

Wow, great message

#

-# lord have mercy on your soul

#

Anyway, off to coding

kindred slate
distant depot
pure rune
#

image
-# Google Search: man using ai as a developer

#

peak

wispy comet
#

This guy is awful.
I hate that he uses AI all the time and keeps saying he made everything himself.
@kindred slate, you’re my hero.
I can’t deal with this anymore.

kindred slate
pure rune
#

Always 4 points
And in every Message there is Atleast one: I appreciate
Lmao

kindred slate
pure rune
#

xD

#

Hey ChatGPT, Kitt Anwsered to my Message… What should I reply?
Ahh Message xD

kindred slate
#

By the way, that's not to say I don't use it, now before you go calling me a hypocrite, I don't use chatGPT for quite literally everything, it is a pretty powerful tool and can come in handy, a very good example of this is errors, chatGPT should be used as a search engine, not as a creating tool, chatGPT and AI in general is no where near advanced to create something better than a human could, however, searching things, now that's something else, instead of me spending 2 hours searching website like stack overflow and reddit and going on discord and asking people I can simply ask ChatGPT and it does a a search that would've taken 2 hours in just 10 seconds, that's is where chatGPT becomes useful, for me that is where I'm fine with it, also a good thing to mention this is my 2nd last resort to finding a fix to an error, not my first, I don't just ask chatGPT for any error I get as most time the error is a simple or close to simple fix

worldly schooner
#

I just don't use AI

#

Easy way to avoid all the drama

alpine kernel
#

i use ChatGPT to learn :3

static aurora
#

Claude better trollface

distant depot
zinc cape
#

@distant depot

distant depot
#

If any problems arise, you can write them here.

stone folio
wintry coyote
#

Made by **YourName** 🙏

lean galleon
#

mein name

kindred slate
#

Also I thought we discussed that there was an in built feature for this already?

wintry coyote
solar badger
distant depot
distant depot
# solar badger

My plugin has one advantage, namely that you can configure it using the SCPS.

distant depot
stone folio
#

I'm pretty sure the stamina configs are also applied to 939 as well, idrk

distant depot
#

it is for all SCPS

distant depot
distant depot
#

jo

distant depot
#

InfiniteStamina v1.3.0 is out!

Hey everyone! Dropped a new update for InfiniteStamina.

What's new:
stamina_value lets you set a custom stamina level now (0.0 = empty, 1.0 = full, default is 1.0)
allow_scps lets SCPs optionally be affected by the plugin too

Under the hood the background thread is completely gone, the plugin now uses StaticUnityMethods.OnUpdate which is way cleaner and more stable. Also migrated to Plugin<Config> with YamlConfig so LabAPI handles the config natively. Invalid stamina_value inputs get automatically clamped and logged on startup so no more silent issues.

Download here: https://github.com/Leifur713/InfiniteStamina/releases/tag/InfiniteStaminaSCPSL

If you run into any issues feel free to drop a message here!

GitHub

InfiniteStamina v1.3.0

Added stamina_value — you can now set a custom stamina level (0.0 = empty, 1.0 = full, default: 1.0)
Added allow_scps — SCPs can now optionally be affected by the plugin
Swi...

pure rune
pure rune
#

I don't see any changes here except the Readme.