Have an little Problem with my Project. And that is, that State no.20 yust always appears at the start of each battle. I checked the Actor and Class window, fought naked and checked all my common Events too. The troop and the enemy doesnt inflict it ether, so where might this come from? The state itself works ok, also removes itself normally after its Timeout of 2 rounds.
I also can just delete it, so it does nothing, no error appear if i do that. But i dislike my project doing things i dont understand, sooo any idea?
It might of course come from an script too, but strangely enough that never happened bevore and i didnt add a new script for a while.
do you use any state notetags (if used) or scripts that use stattes in it? can you provide screenshots?
Only stacking states. And the one who appears isnt one of them. Im not against doing an Screenshot, but i dont know how to do that.
Unless you're making your game based on my project (which is open source) that I hardcode my game to auto-apply state no 20 under a certain condition, I don't know. You can try to disable any script from your project by putting them under main. See which script causing it.
if this is a clean project and still appears, than i have no clue (specially if you did nothing in the state tab.
can you make a screenshot of that of this particlair state?
Could it be from a Common Event called in a script then? Our game calls a couple Common Events via scripts for the sake of some math and other things. Also, does it only appear from a savestate, or even if you do an empty test map with only an NPC to fight? Because if it only appears in a savestate, that may imply that some variable is set to 20 and then forces the state on a char. But if it happens anyway, that would require the "20" to be hard-coded somewhere.
It gets even stranger I just opened an old version of my Game (i do make save copys) Exactely same amount of scripts and scriptlines, but no appearing state. Only difference is included dlcs graphics/sounds and a few more bosses and events/abilities/states which wont have triggered at the point the screenshot has been made. (is first enemy 20 feet from start)
variable 20 is interesting. In a new project as told the state appearing doesnt happen. But i do start a new game have the opening talk with the Barkeeper and than go straight to Battle no variables should´ve been triggered there plus its all the same in the old version, but without the state appearing. Well, im checking the new content now, but again nothing of that should´ve triggered at the Game starts. My common events also need triggers so far every one of them.
hmm, pretty pathetic that there is actualls so few new content. 2 more enemy events who start talking to them, than the battles again not affecting this one 2 more inbattle events with no trigger outside of it, and thats pretty much it aside of included graphics and sounds.
So, what the actual f.... is happening here? It doesnt make any logical sense anymore? Could i get an Rpgmaker specific virus by downloading free dlc´s?
Yes instead of the old iconsheet i used the one of the dlc. Adding 5 more lines to the original. The Icon you see is number 303.
Based on your post i switched back to the original sheet too, but nothing changes state is still appearing.
To TheoAllen, tryed it now. Error message on Gamestart wrong Argument in Line 9022 in the insert material section. Which is hilarious since it only has around 3700 lines.
I've only seen one incident where the line in the error message did not match the line in which the error occurred. No idea why it happened back then, no idea why it would happen here, but I can attest these things are not impossible to happen.
The argument error would make sense here, and it should hopefully disappear when you replace
add_state_original
by
add_state_original(id)
in line 5 in TheoAllens second script.
But in any way, the script should have also created a textfile "Backtrace.txt" in your project folder, including the information we might seek here, if it was successful.