Loading my game gives extra items to the player.

So i copied my project and then renamed it. Then deleted all the maps and started over from scratch keeping the same data base scripts and and everything in the resources.

i deleted all the saved files in the folder because those maps and game no longer existed.

My new problem is, that every time i save in slot 1, then load the game, the player gets like 5 different pieces of armor and weapons from the list. they are all the same pieces every time i load.

So i deleted the save and tried it again same problem. this happens with Every new game that saves to slot 1.  I haven't tried the other slots on the save menu yet but i'm sure some sort of problem would be there as well since there was like 10 different saves.

The game is close to being finished and i don't know how to replicated the problem in a new project. 

This was ment to be a side project to my main game but i don't have this issue in the main game. so it's become a local problem. 

My question is, is this a script error? or is there something else i should be looking for.

my only option is to find the items and empty that slot on the data base, and i'd rather not have to do that. i'd have to change some drops and treasure events then.

Is there someplace that takes care of the loading in the scripts that i can check.

*edit*  Litterally after i wrote this i some how fixed it. But the issue is still there and would like some answers in the future. i have no idea how i fixed it was messing with saving over the file multiple times with a fresh game. but i don't want this problem to come up again so i'd like to explore why it happened
Mmm loading gives items... I will take note of that, seems like an interesting mechanic *v*.

===

I would suggest to look at common events, maybe one of them is being activated by some switch (seeing that you erased the maps but not the database).

This particular behaviour could be a event on the map with an "erase event" command, because an erased event returns any time the map is reloaded (i.e. loading a game), but I discard this possibility because you say your maps are new, so I guess you have everything under control there ;P.

I hope you get to a solution! Good luck!
Sounds very similar to a problem I've seen a couple of times before. What scripts are you using? Provide links.


Go through each one of them and see if they use switches or variables, and ensure none of them are using the SAME switches and variables, AND that you're also not using them for something different.


Also - does it happen on any map when you use that save slot? Any chance you've got any events that are set to parallel process or autorun on that map that give items to the player?
It was happening on any map. There was no triggers that gave items of the type that were given as they were meant to be used towards the end of the game and i was saving towards the beginning of the game. 

i am using victors animated battlers basic module and actors script. there's some other scripts i picked up but not sure if any of them would pertain to this there was a crafting script a script to make things go past level 99 and a script to

re spawn events on a timer.
If you want to zip it up and load it up somewhere, I can take a look. I KNOW this has happened before, and it seemed to be associated with a particular script, but we never got to the bottom of it.


You'll need to give me exact instructions on what to do / where to go, before saving. I don't want to have to play even ONE minute of the game to get to the point where I can reproduce the issue.
I would love to but as the edit in my first post it fixed it self after plaguing me for like 2 days right after i posted the issue, i will try and replicate it if i can but i'm not sure what cause it in the first place. I'll see if i can get a messed up version tomorrow.
Something similiar happened with a partial game I made two years ago or so: The players kept getting items as soon as I entered a specific map.


I was finally able to pinpoint the cause to a specific event - an event that had no commands for those items...


But when I erased that event, the bug no longer happened - even if the event itself had no item commands and was triggered by action button, not autorun.


Only some time later I remembered that before a rework of that map, one of the events had those commands. I erased them during the rework, but I think somehow those commands remained stored but invisible and were triggered most probably by a script that appearently also had nothing to do with it.


I stopped searching for the cause because it had to be mixed up with some form of memory leak or bug in the editor, and because I couldn't reproduce the defective event myself, I could only repair the project by erasing that event.
there was a crafting script a script to make things go past level 99
Could you try the solution given in this thread: http://forums.rpgmakerweb.com/index.php?/topic/39261-vxacebug-with-adjust-limits/
I think that might be it larva, but i wanna double check, I've found this nasty bug in my main game i'm working on so i was able to recreate the problem I'm trying to attach zipped version of the game, but it's so big i can't. I've tried compressing it to a zip file and it only goes down by a couple megabits its around 300 mb

you can just save then load the game and boom a shield appears in your inventory.

**edit** it doesn't matter what map, i even made a new map all together and it does this as soon as the game is loaded in after saving.

Do you think it would work in a fresh game if i copied the scriipts over?
Did you try adding the script provided by DoubleX from the other thread?
not yet, because i wanted to keep the issue up just in case that wasn't it, i'm trying to apply that fix at this very moment.

**edit** i tried the first fix where i replaced the perform level check and that didn't work

** edit 2** i am using the yanfy limit break script that allows you to level past 99 and just about everything past 9999

**edit 3** i maybe missunderstanding that fix post you posted to that doublex thread. what snippit am i to be replacing and with what?

Original thread: https://forums.rpgmakerweb.com/threads/loading-my-game-gives-extra-items-to-the-player.39534/