Conditional Branches which check if an actor has a skill have stopped working

A little background. I have been working on this project for over 4 years (ported myself from Ace to MV) and haven't installed or modified a plugin in about 3 months.


Just now I encounter the strangest thing that I cant seem to troubleshoot. All my conditional branches which check if my player has a skill have completely stopped working. Nothing else seems to be broken in my project, but even tho I can clearly confirm my player has a certain skill, an event which requires it is processing as if the player dosnt have the skill. I have been able to replicate this on every single event that has a conditional branch which checks for a skill.  Im lost on this one. only thing related I can think of that i even changed lately was the players starting name in the database (how it appears before I ask the player to input their name). Anyone have any idea what may have happened? I have a back up from a few days ago but I really dont want to try reverting if im just missing something stupid. Thanks in advanced.
We'll need screenshots of the event before we're really able to check and see what's wrong.
It may be from the update. They somehow broke the learn skills... try to make the check see if the script is true:

Code:
$gameActors.actor(actorid)._skills.contains(skillId)
We'll need screenshots of the event before we're really able to check and see what's wrong.

Hmm. I thought I explained it so clearly noone would misunderstand, but sure. Here you go.


the following will execute as if name dosnt have skill speak. despite it being in the skills etc.

Capture.PNG
It may be from the update. They somehow broke the learn skills... try to make the check see if the script is true:



$gameActors.actor(actorid)._skills.contains(skillId)

Im sorry im slightly confused. What exactly do you recommend I try. Im not very versed in scripting.


EDIT: sorry for double post. I thought it would auto merge.
A screenshot is ALWAYS better than explaining things, and should always be included in your very first post.  YOU know what's going on, but getting that across to others using just words is often difficult and sometimes just doesn't work.  In addition, you give the information YOU think is important, but there's often a lot of other stuff that comes into play that normally isn't given in a written description, but can clearly be seen with a full-event-window screenshot.


There's no auto-merging here.  If you want to add something, you need to use the Edit button on your existing post rather than posting a second time.  If it bothers you, just report your second post and ask if it can be merged with the previous post.
@Kozar927 It wasn't really a matter of if your explanation was clear or not, I understood what the issue was. Its more a matter of "needing to see how you're setting up the event to make sure there isn't a mistake in it". I understand this is typically a simple thing to event, but you'd be surprised with how often silly mistakes like that get made.


In any case, there is no mistake being made in the eventing, but its not something I'm able to replicate. Do your conditional branches have the same issue if you say, switch it from knowing a skill to having a specific weapon equipped?
@Kozar927 It wasn't really a matter of if your explanation was clear or not, I understood what the issue was. Its more a matter of "needing to see how you're setting up the event to make sure there isn't a mistake in it". I understand this is typically a simple thing to event, but you'd be surprised with how often silly mistakes like that get made.


In any case, there is no mistake being made in the eventing, but its not something I'm able to replicate. Do your conditional branches have the same issue if you say, switch it from knowing a skill to having a specific weapon equipped?"


No, all other conditional branches seem to work. Its simply branches checking for skills, but I can replicate it with branches checking for ANY skill.. Thanks for your reply.
What Waterguy meant was to run a script check in your conditional branch. You go to the fourth page, select the "Script" option, and copy-paste the script into the available box, replacing actorId and skilliD in the parenthesis with the ID number of the actor (Name) and skill (Speak) that you're checking for, like so.

Spoiler
skill check.png




This will essentially run the same function as the skill check on the second page.
What Waterguy meant was to run a script check in your conditional branch. You go to the fourth page, select the "Script" option, and copy-paste the script into the available box, replacing actorId and skilliD in the parenthesis with the ID number of the actor (Name) and skill (Speak) that you're checking for, like so.






This will essentially run the same function as the skill check on the second page.



Ty very much will test this as soon as im home. Either way replacing over 10,000 skill conditional branches in my game with a script would be an absolute nightmare. I hope I can get this fixed :'(
You will not have to do that.  If there is an issue with the scripts, at worst you will have to make a script change to fix it.  The above suggestion is only a one-off test to see if that is actually what's happening.


What version of MV are you running?  What version was your game originally created in?  Have you applied any updates, and have you updated your project fully (by replacing all the js files with the new versions)?  Are you starting a new game or are you playing a game that was saved in a previous version?
Its definitely a weird bug. And it was working properly in the past?


I'd also suggest creating a new blank project and see if the issue is still occurring there as well.
You will not have to do that.  If there is an issue with the scripts, at worst you will have to make a script change to fix it.  The above suggestion is only a one-off test to see if that is actually what's happening.


What version of MV are you running?  What version was your game originally created in?  Have you applied any updates, and have you updated your project fully (by replacing all the js files with the new versions)?  Are you starting a new game or are you playing a game that was saved in a previous version?

Oh man. I just changed over to use the steam version as of a few days ago for the sake of auto updates and DLC (Which i think only exists on steam, couldnt find alot of info about that). Do you think thats whats causing this? It just started happening yesterday tho. I didn't do the JS file thing you mentioned. Can you explain it to me a little more. And no everything is being tested with a new save. I originally made this project in ace. ported it to MV last year by hand. Then continued to update MV every chance I had until now where I use steam auto updates. is that going to be a problem for me and my project?
Updates do NOT update your project, so no, that's not the problem.  Because you "didn't do the JS thing" your project is still at the old version.  That's not a problem, but you probably should do it at some point.  It might even fix this issue, though I'm not sure what update Waterguy is referring to when he says it 'broke' the learn skills.


The update thread (pinned announcement) has the steps you need to follow to update your project.  Be aware that your plugins might not work afterwards - you might have to go and look for new versions that are compatible with the latest MV.
Updating fixed it. It was apparently a known glitch like someone said earlier in the thread. Heres a link to the changlog declaring the issue resolved.




either way. All set. Thread can be closed.
please report your initial post and ask for the thread to be closed
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/conditional-branches-which-check-if-an-actor-has-a-skill-have-stopped-working.70698/