MV Increasing database limits, potential issues?

Hello, I am needing to increase the max skill limit from 2000 to 3000. I followed this video and it seems to work, I just want to know if there are any potential issues that could arise from doing so should I want to deploy my game upon its completion, or just in general with the way RMMV handles database objects.





Has anyone done this before, and if so, have you encountered any issues stemming from it during development and/or release?
I didn't try it before, but it could have issues.

like a map can have 256x256 and you can break that size to make it 300x300
or bigger, but once you go inside the map to edit the sound or something else,
you lose the alot of tiles.

the same thing could happen on the database increase size which has it's limits.
you problably want to overwrite the function as it goes to 2000, and might revert
to 2000 on deploment, but that is a matter of testing on your own.

it is not recommend unless you know what you do though.
I believe that's correct - that editing must be the last thing you do (or kept in another copy of the file), because as soon as you open the project in the editor it will reset the limits and erase any extra data.
I was noticing when trying to increase the limit that it would change the config file to the default limit of 2000 again, but it seems to keep it at 3000 otherwise, even with closing and re-opening the editor. I definitely cannot try to change the limit manually I don't think without losing the skills above 2000, and to be safe I figure I should also make a backup of the skills.json file.

Preferably I would like to cram everything in before deployment back under 2000, but with the tactical type battle system (LeTBS) I am using, it will be difficult to keep the number under this amount, as skills with different properties (such as weapon range) need to be unique, and this seems to more or less be the same with enemy skills as not every script/code bracket can be inserted into a conditional statement.

Will keep my fingers crossed and a lucky rabbit's foot by my side.
the key to the posts above is "editing the properties".

if you edit the map properties to get bigger maps, everything will work UNTIL you try to edit the properties by the official editor - like the random encounter or the background sound or anything you find in the map properties. That would enforce the map-properties of the editor again, effectively erasing the part of the map that is outside the original bounds.
which is why almost no one edits those map properties for bigger maps.


However, in case of the database the only properties that exist that way is beyond "change maximum" - the rest is data, not database properties.
as such it is relatively safe to edit the database limits, you just have to keep in mind that if your new limit is wrong, you have to change the limit by editing the json files again, not by using the change max button in the editor.
The other thing to keep in mind is that the limits are there to attempt to keep the total file size of your project to a reasonable level. If you break limits, you need to understand that in circumventing that you're also potentially going to end up with a significantly larger game.
I once looked for a way to break the limits through code, but you can recycle the data, using it in different ways, so it doesn't need so many extra spaces.
Are there ways to put code snippets inside brackets that belong to different plugins?

IE: <conditional statements> from yanfly scripts that have for example the <LeTBS> tag inside of them? I was not able to get this working when I attempted it. If this was possible, I suppose I could put several conditional statements inside the same skill, but aside from this, I don't know of any other way to make said scripting only perform the action if the condition is met. The battle system plugin by LeCode is excellent, but it definitely is lacking some of the finer attunements that scripts such as Yanfly's provide. Aside from that, it is definitely a lot easier to just make a separate skill for example for Crossbow users vs Longbow users, even if the base class is one and the same.

I did not notice any issues with game or ai slowdown when expanding the limits. Either way, my main concern is deployment, and errors occurring on steam, or as a smartphone app, or in a browser window, for instance.
it depends
you cannot have notetags inside an eval-type notetag, no matter what plugin.

but you can use script commands of other plugins in such an eval-type notetag.
so if you analyse the LeTBS plugin to learn what functions are triggered by the notetags, then you can use those functions directly in the yanfly notetag.

unfortunately that is something that will require substantial knowledge about programming to do.
I understand, and see the benefit of being able to perform such functions directly. I already have been in a way doing this, but in truth I would much rather spend my time building my game than learning JS. Although to be fair, the two seem to be intrinsically linked.

For something like this, I have no shame taking the easy route, as progress is something that best comes with time, rather than being forced under pressure and rushed. Plus, there is a lot more to building a world and breathing life into it, than simply knowing how to code it. Thank you for sharing your knowledge.

Original thread: https://forums.rpgmakerweb.com/threads/increasing-database-limits-potential-issues.147155/