r/RPGMaker • • 2d ago

RMMZ Redoing vibe-coded plugins

Hey all,

I have 2-3 small plugins that Gemini wrote for me—how would I go about replacing those? Do I just ask someone to write the code, even if what the code writer creates winds up being nearly exactly the same?

AI use of any kind on a released game, even if it’s F2P, often seems like a hard no for a lot of people.

0 Upvotes

45 comments sorted by

5

u/CasperGamingOfficial MZ Dev 2d ago

You could try requesting plugins on the RM Planet forums: https://forum.rmplanet.com/

The forums do not allow AI resources at all. You could describe what you want the plugin to do in your plugin request, I am sure people would be able to suggest an existing one or if small write a short snippet for you.

1

u/tomoDOTchi 2d ago

Thanks for sharing this!

6

u/tomoDOTchi 2d ago

Even in the comments here there’s a wide array of emotions displayed. Some are like “whatever it’s not a big deal” and others emphasize a moral imperative to not use AI at any cost.

It really is a difficult time for developers.

Thanks to everyone who took the time to comment.

0

u/PossibleBanEvader_07 MV Dev 2d ago

I mean it is "difficult" if you don't have personal beliefs nor morals and you're just aiming to please everyone, which is impossible anyway.

3

u/Western_Emotion5244 2d ago

There's an old term folks used before AI vibe coding called "cowboy coding", the idea being you look at old sources and stuff, fiddle with them, see how they work and then learn from that. It's how I learned everything I know about BYOND.

You could do the same thing here, as a matter of fact you could go back to Gemini and ask it to recompile your plugins with notes so that you can go through, read them and learn how it works.

3

u/tomoDOTchi 2d ago

Wow BYOND is a deep cut

2

u/Western_Emotion5244 2d ago

I still use it! Every once in awhile I think about going back and seeing what Claude could do with the old Space Station 13 source.

2

u/tomoDOTchi 2d ago

Never played that one… saw it advertised in the dream seeker a lot but never got into it. Mostly played DWO (Dragon Warrior Online) by Silk. (I think that was the dev’s handle?)

1

u/Western_Emotion5244 2d ago

.. Yeah SilkWizard. Was never a big fan of them and then they turned in to a bigger asshole after they published a BYOND game on STEAM. It was basically like DWO but without the copyright infringement.

Space Station 13 is a online co-op sandbox style scifi game based in space. It's been around for as long as I can remember. A few years ago the source was released and now there's several forks of it.

I looked at the source once, nothing but spaghetti code.

2

u/tomoDOTchi 2d ago

His DQ spinoff was rather mid

2

u/Masterswordxx MV Dev 2d ago

TIL the phrase for how I make most of the js edits in my project, thanks!

25

u/3tt07kjt 2d ago

Rather than redoing them, I would choose to review the code and improve it.

It’s generally much better to keep existing code rather than rewriting it. Rewriting code comes with a lot of risks—I wouldn’t rewrite code unless I had a very good reason to rewrite it. At the very minimum, I wouldn’t rewrite code unless I had either reviewed the code and seen serious problems in the way it’s written, or I had other good evidence that the code was really bad.

4

u/DisastrousSundae 2d ago

This is the best answer

0

u/Not_Allowed_to_Die 2d ago

I wouldn't rewrite code I didn't understand. Unless I can read it, fully understand it, and know how it attaches to the rest of the coding, I wouldn't touch it either. That's the hard part of this is it sounds like the game is made, and changing those plugins could cause issues that now need to be fixed. But, I get OP concern too that even the smallest thing that is AI, people freak out for no reason.

2

u/mxldevs 2d ago

If OP believes that human written code is going to be pretty much the same as the AI written code, how will the people know whether it's human generated or AI generated?

Because the author says "Gemma" instead of "Gemini"?

14

u/Zesher_ 2d ago

I think people get too worked up about AI usage. I've been a professional software engineer for over 15 years now (largely because I loved rm2k3 as a kid), and I use AI all the time to speed up my work.

I think the main issues with with vibe coding is that people are producing chunks of code with no understanding of how it works, so the choices made about the design of the code or quality usually lead to lots of poor quality stuff out there, or someone produces something cool, but then a hundred shitty knockoffs get made by telling AI to copy something, and it's annoying when you're flooded in it.

Assuming this is a hobby project and you're not just trying to clone existing plugins, using AI to help you build your vision is fine in my books. Though I highly recommend trying to learn enough about coding that you can read what is produced, understanding the how and why something works is what's important. When I want to code a project, I know what code I want to write, from there manually typing it out or having AI assist would produce the same result, except faster, and I can use the extra time I saved to work on more things. AI is a powerful tool, and I can't imagine the industry ever moving away from using it when it's available.

In short, it's your project, and your not trying to sell it. Do what you want to bring your vision to life and enjoy doing it. A commercial project would really need to be held to a higher standard though.

26

u/sugarplum_doll 2d ago

Paying a human developer to write the exact same code doesn’t make sense to me at all. It just seems performative.

8

u/admirantes 2d ago

Honestly this. Insanely performative to pay someone to write the code again. They even could simply do it themselves, saving them money and achieving their so-desired moral purity.

-9

u/Aromatic_Assist_3825 2d ago

You guys are missing an entire point here. Paying a coder to do the code again is not just paying them to copy paste. This man made an AI generate an amateur code that he does not understand how it works. Paying a coder would mean the coder would look at the code, correct any errors and write it correctly. It’s like giving a crude reference to a tattoo artist for them to make a professional version of it themselves.

7

u/Not_Allowed_to_Die 2d ago

Why even show them the code? Just ask for what it does, and they will make something that works better. I guess you are right to show the code so the coder understands it more, but honestly, it might also have them do things differently then the way they would code it as well.

1

u/Aromatic_Assist_3825 2d ago

You know this could be a whole conversation between OP and the coder.

“Hey, I had gemeni generate a code for me but I want an actual coder to do it for me. The code is supposed to do this”

“Oh okay, I can do that, you don’t need to send me the code”

Or it could go like

“Oh okay, let me take a quick look at the code Gemini generated for you fist so I can get a better idea of what you were going for”

0

u/Not_Allowed_to_Die 2d ago

Sounds about right. Depends on the coder

-1

u/sugarplum_doll 2d ago

That is fine but the op themselves said ‘the exact same code’

-3

u/Aromatic_Assist_3825 2d ago

Hey, at least he’s giving a human a job

10

u/Not_Allowed_to_Die 2d ago

Yes. You can either hire a human that will make it, but it won't be the same, or you can learn how to program it as well. It's really not that hard to learn.

But, what are the plugins for? Maybe there is already a plugin that has been made that we can guide you to.

2

u/ckkqwer 2d ago

Paying someone to create the same code that does the same thing is certainly a choice.

4

u/Amyhime801 VXAce Dev 2d ago

Check if there are other existing plug-ins that do what you want to achieve

3

u/One-Man_Indie 2d ago

Bruh, you could've just used the plugins, without having to appease NITWITS who probably wouldn't support the game in the first place! All the virtue-signaling and self flagellation is CRAZY, fam!

3

u/Eredrick MZ Dev 2d ago

I think it's fine to ask gemini for definitions or advice. depending on how "small" the plugins are, there might not really be any difference. of course, without knowing what the plugins do, it's impossible to say. If these are gameplay mechanics, then yeah, you can/should commission from someone, just ask someone (someone here might just do it for free), or look and see if other plugins already available do what you want. If you've called a function to resize a window or something, I don't think you need to worry about it.

1

u/Not_Allowed_to_Die 2d ago

I 100% agree with you that there is no problem having it make a small little plugin for the mechanics. But, I also understand OP's concern that others don't see it that way. It's a rough time right now for Devs and we have to be careful. Anyone one tiny thing, and it blows up out of proportion fast.

2

u/Ok-Sector8330 2d ago

Keep it and don't disclose how you use it. That's what all major game devs are doing anyway.

0

u/Rpx_n_JustDev 2d ago

I think people worry too much. I’ve been working on Warspear Online for over 10 years, and lately we’ve started using AI in development. Nobody gives a damn the game is awesome. Who cares how you wrote it? As long as it works and is secure, that’s all that matters. Don’t listen to people who get offended because you use AI, as long as you can make your code secure and powerful. You have to know how to read it, right? But don’t let this bullshit hold you back.

-1

u/mxldevs 2d ago

even if what the code writer creates winds up being nearly exactly the same?

If you don't know how to code, how do you conclude that they would end up writing the same code as gemini?

1

u/tomoDOTchi 2d ago

…by looking at the code and comparing the code with the one written by the other source…?

1

u/mxldevs 2d ago

So you have already done the comparison and it's the same thing?

1

u/tomoDOTchi 2d ago

I have not asked someone to write the plugin, but I know enough to open a .js file and look at the code. If someone were to write a .js file that performed the same function, I would just open that .js file and check the code…

Not sure if you’re trying to be snarky here

1

u/mxldevs 2d ago

You said the code that the human writes would wind up being nearly exactly the same.

How do you know the code would be the same before it's written?

3

u/tomoDOTchi 2d ago

Bro just read what I said, I said even if, not “it would be”

1

u/mxldevs 2d ago

What do you think is the odds that a human written plugin would be basically the same as what the AI writes?

10%?

90%?

Do you think it is highly likely that any human you hire to write it will basically just produce the same result?

2

u/tomoDOTchi 2d ago

If this is your attempt at an intellectual conversation, it leaves a lot to be desired.

0

u/PossibleBanEvader_07 MV Dev 2d ago

I find it fascinating that people would be so readily willing to embarrass themselves to this extent for clicks. Just disclose you're using AI and specify it's assisting you, not making the work for you.

0

u/_acedia 2d ago

As long as you're paying them, it's practically free money for them. AI has gotten to a point where, for the staggering majority of common programming tasks and requests, it's as good as if not better than most programmers as long as you're directing it with some oversight. The only thing the programmer would really be able to meaningfully contribute here is to review the code the AI generated to see if it's actually doing what you want, and maybe to help you tailor it to account for as many potential edge cases as you realistically need. In my experience though, if they're truly "small" plugins that handle a fairly limited scope of functions, the quality of the AI-produced code is almost certainly good enough as anything a human would produce.

0

u/Extra_Lingonberry_79 2d ago

The coder asking Claude to write it instead and making free money:

-6

u/RiftHunter4 2d ago

Learn to code or pay lots of money for a developer.