Switch turns itself off (Solved)

Discussion in 'RPG Maker MV' started by Pyrathas, Jan 23, 2019.

Thread Status:
Not open for further replies.
  1. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    Ok so I have this bug and I can't figure out where the issue is.

    I made my quests but now I have a switch seems to self switch off: TQ 1-1
    upload_2019-1-22_17-32-7.png


    Here is the Event sheets:
    upload_2019-1-22_17-32-38.png
    It goes into this one afterwards:
    View attachment 107882
    upload_2019-1-22_17-32-56.png
    So far no issues

    And when you flip this switch, it turns off the previous:
    upload_2019-1-22_17-33-28.png

    Is there something Missing? I mean the quest still progresses, but when you go back to the quest giver she just says go to the temple. even when the quest is completed. It's annoying because I wanted to add a side quest from her when the player finds his party member. Advice?
    :
     
    #1
  2. Tw0Face

    Tw0Face Chief Executive Officer Veteran

    Messages:
    253
    Likes Received:
    284
    First Language:
    German
    Primarily Uses:
    RMVXA
    First up, you should check your Plugins and see if any of them uses Switch 0003 by default. This happened to me a few times while using Scripts in Vx Ace and I was searching like a mole on speed until I finally found out what's going on.

    Greetings,
    Tw0Face
     
    #2
  3. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    595
    Likes Received:
    3,665
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    I don't see any Switches being turned off anywhere. You might want to check your conditions on all your events. Unfortunately these screens don't tell us the whole story. You may want to post a screen where the issue occurs.
     
    #3
  4. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    Wow ok so @Tw0Face thank you but its not a plug in. But I checked:
    upload_2019-1-22_18-45-53.png
    @OmnislashXX thank you I found it:
    upload_2019-1-22_18-25-8.png
    upload_2019-1-22_18-36-28.png
    This is an optional part of the quest. it goes to self switch A.
    upload_2019-1-22_18-36-49.png
    upload_2019-1-22_18-37-0.png
    I didn't even think of it (I have been skipping her to test the cutscene events right after this). I am sorry I am still a novice at this. But how would I fix it?

    Edit no thats not the problem its the priest:
    upload_2019-1-22_18-44-30.png
    upload_2019-1-22_18-44-45.png
     
    Last edited: Jan 23, 2019
    #4
  5. Shaz

    Shaz Veteran Veteran

    Messages:
    37,711
    Likes Received:
    11,419
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Screenshots of the events are more useful than screenshots of the game.

    Are you certain it's not a plugin using that switch as one of its default parameters? That usually IS the cause when a switch or variable is being changed and you don't know where. Did you check all the parameters before saying it wasn't a plugin?
     
    #5
  6. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    I gave the screenshots. Are they not enough? Its all the ones that are affected by the switch
     
    #6
  7. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    12,082
    Likes Received:
    12,256
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    Those shots tell us nothing. For starters, what is page 4 and 5? Remember the engine runs the highest numbered page so if page 4 or 5 is always valid the other pages cannot run. Also remember other events can turn off a switch too. So you may need to check all events and see what they are doing too.
     
    #7
  8. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    @bgillisp 4@5 do not affect the switches. It trips before they come on but here:

    upload_2019-1-22_20-10-10.png
    upload_2019-1-22_20-10-27.png
    upload_2019-1-22_20-10-51.png
    upload_2019-1-22_20-13-29.png
    upload_2019-1-22_20-14-29.png

    Priest
    upload_2019-1-22_20-8-22.png
    upload_2019-1-22_20-8-34.png
    upload_2019-1-22_20-8-50.png
    upload_2019-1-22_20-9-9.png

    Here is all the event sheets. when I interact with these 2 the 3rd event switch flips off.
     
    #8
  9. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    12,082
    Likes Received:
    12,256
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    Two things I see:

    Page 3 has a different switch than page 2, so page 2 will keep looping for a while.

    You didn't post page 4 of the first event (it just says the file name, so probably an error in that upload). Please post just page 4 in the next reply though, it will make it easier for those on their phones to be able to access the page.

    On another note, I really don't get why you want to use all these switches. Why not just use one variable and keep increasing it at each step of the quest? That will be so much easier and a lot less to keep track of.

    Also have you checked the parameters of the quest plug-in? You are calling it in those commands, so if you set those parameters to say use switch 3 somewhere...
     
    Last edited: Jan 23, 2019
    #9
  10. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    upload_2019-1-22_20-39-54.png

    ok I see tht now here is page 4. to be honest I don't know how to set it as a variable. I used a Yanfly video here.
     
    #10
  11. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    12,082
    Likes Received:
    12,256
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    Control variable: Set to value. I usually set it to 1 when I start using it, then 2 at the next step, then 3 and so on. Then I just use the page conditions if >= variable to run the event when it is at that point. Self switches can be used to stop it from repeating.

    I think you will want to check into how to use them though as learning how to do variables will be required to make a decent game at some point. There's a link in my signature for the tutorials on that, though it was written for ACE the same ideas apply in MV.

    Back to the switch. I don't see what would cause it, but remember any event can cause that switch to turn off. So you may need to check every single event in the game, see if maybe you accidentally used it again somewhere.
     
    #11
  12. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    Well, for now, I just got done moving all the event switches away from 3. it worked. I labeled it as do not use. when I do find it I can address it.

    Thank you for the tip. I saw the post in your link before but turned away at the VXA tag. I'll be sure to read it (I don't want a plethora of switches anyways).
     
    #12
  13. Shaz

    Shaz Veteran Veteran

    Messages:
    37,711
    Likes Received:
    11,419
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Add this to your project, then choose the Cross Reference option from the title screen when you test play (it'll take a while to load, so disable it again when you're done).

    There's got to be something that's turning that switch off again - maybe it's a common event, maybe it's a completely different event on the map.



    It will show anything that uses or changes the switch, as long as you do it through an event command. If you do it via a script call, it won't pick it up.
     
    #13
  14. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    This worked! It's caused by my torch in my debug cell from pre level mapping (Im going to slap myself for not checking database CEs now). This plugin is very useful! Thanks!
     
    #14
    Shaz likes this.
  15. Shaz

    Shaz Veteran Veteran

    Messages:
    37,711
    Likes Received:
    11,419
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    yeah, keep it handy ;) Glad it helped you.
     
    #15
  16. Pyrathas

    Pyrathas Veteran Veteran

    Messages:
    91
    Likes Received:
    29
    First Language:
    English
    Primarily Uses:
    RMMV
    Oh its an essential plugin next to Yanfly now.
     
    #16
  17. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    595
    Likes Received:
    3,665
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    Most of your screenshots are broken links anyway.

    EDIT: Glad to see that it worked.
     
    Last edited: Jan 23, 2019
    #17
  18. Shaz

    Shaz Veteran Veteran

    Messages:
    37,711
    Likes Received:
    11,419
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    They all worked for me. Sometimes I can't see screenshots (broken links) and later I can. Could be where I'm accessing the page from, how long it's taking to load, or a number of other things.

    Just make sure you remove it before distributing your game - it's a dev tool only and not required for deployment.
     
    #18
    Pyrathas likes this.
  19. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,533
    Likes Received:
    4,121
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    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.

     
    #19
Thread Status:
Not open for further replies.

Share This Page