Items on DB more than 999

I want to ask if I can change the maximum number of Items in database , it only have 999 and i really want to add some .

Can I request a script on how to add more than 999 items on database?
I am not sure that you can do that even with scripts. The problem is that VX Ace has this limit. Why having more than 999 items though?

If you share with us what you wanna do exactly, we MIGHT be able to help you out with an alternative solution or approach.

🙂
wortanas database script

Edit:

http://www.rpgmakervxace.net/topic/573-woratanas-database-limit-breaker/
As Dekita said, you'll need a database limit breaker script for that.


However, you should be warned that this is NOT a regular script, you need to follow the instructions exactly and can never use the "change maximum" button again, so you need to set it to the correct numbers when you run it.


And after the limits have been change, you better remove that script again.
Wow! Fantastic!

How does it affect performance Dekita?

I was not aware of this neat script but it seems to me that it can make a game somewhat heavy.

What is your experience on this?
As Andar said, run it once, remove it! Otherwise, each time you hit play, its gonna overwrite data, and lag, and cause issues.

Basically, just set it higher than you will ever need, but not excessive, cause larger databases will lead to longer loading times, for example, 9999 items loading, is almost 10x more than the regular limit, so it would be at least 10x slower. :/
As Andar said, run it once, remove it! Otherwise, each time you hit play, its gonna overwrite data, and lag, and cause issues.

Basically, just set it higher than you will ever need, but not excessive, cause larger databases will lead to longer loading times, for example, 9999 items loading, is almost 10x more than the regular limit, so it would be at least 10x slower. :/
Yeah that's what I thought. So does it affect the loading time only? I mean, you allocate more RAM when it comes to 3000 Items for instance.

They didn't limited VX Ace on 999 without a reason, of course the hardware that this limit was based is now deprecated, so it willprobably be no issue anyway. That is why I ask. This seems really the best way to do it.

Thanks for your time and insight man.
nah, it would affect everything really..

Like, lets say you have a snippet of code as follows:

$data_actors::each {|actor| actor.somemethod }That code is also going to take 10x longer to complete.  Mostly, it would be noticable at the loading, but depending on what kind of systems you are using, you might run into various issues of lag spikes - for example...

Lets say you have a custom equipment system, chances are thats gonna be doing something along the lines of this:

new_weapon = $data_weapons[1]::cloneold_params = $data_weapons[1]:😛aramslevel_bnus = new_weapon::level * 10 / 48.times {|index| new_weapon:😛arams[index] = old_params[index] + level_bnus }Even though you are specifying the exact location within the $data array (in this case, 1), the container holding the data ($data array) is considerably larger, so it would still take more time to locate.

Or lets say you want an insane amount of common events - what if some of those run very often, and then you are likely to see slower processing whenever those trigger, purely due to an over-excessive size..

I mean, vx ace has 999 for one reason (imo), and that is because during their tests, they figured more was just going to ad lag to the system, which is likely why they also allowed to change how many default database items can be shown, for example, if your weapons database list is a max size of 50, its gonna be fast to iterate over.

But yea, as long as you use it with moderation, it should be ok. Like, I wouldn't go making 999,999 of each database itemtype (weapon, armor, actor etc), cause thats just insane, but you should be ok with upto about 2000 of each (depending on your own computer hardware of course). 🙂
I mean, vx ace has 999 for one reason (imo), and that is because during their tests, they figured more was just going to ad lag to the system, which is likely why they also allowed to change how many default database items can be shown, for example, if your weapons database list is a max size of 50, its gonna be fast to iterate over.
Is that why MV is gonna increase it? Bacaues MV runs faster so it can cope?
most likely 🙂
And most likely because computers are stronger today. Check minimum Requirements for MV and you will understand that it DEMANDS your system to have way more RAM, CPU power and disk space than VX Ace did. Thus it is obvious that the database limit redesign, has considered different target machines. So it seems that it will be heavier anyway. Good news is that JS will be probably faster than Ruby. Of course there is always room for bad development and bad core design I suppose. But I hope they will pull this through. Otherwise SOURCE will have to make a JS Effectus. LOL! 😛
Oh It works thank you 

Original thread: https://forums.rpgmakerweb.com/threads/items-on-db-more-than-999.43697/