Having an issue to break other page processing.

I have an issue with a car event on map that is changing it's pages halfway through it's movement path.


This is complicated because I have pages set on variables to consider the events delay of showing itself on map, it's graphic when shown, and it's pathway which can be multiple depending on what map it's on. Now actually showing what I have here might be difficult, so the first 5 pages are screenshots.


Page 6-7 are long pages full of move routs so I will condense them into text here to show you the paths.


Page 6


Comment: Teal Sedan


Control Variables: #0003 Car Route=1..3


If: Car Route=1


Set Movement Route: This Event (Wait) (bunch of facing direction, Image: $Car Sedan Teal (0) opacity changes etc


Set Movement Route: This Event (Wait) ( Various movement paths )


Set Movement Route: This Event (Wait) (Opacity changes and wait timers)


If: Car Route=2


Set Movement Route: This Event (Wait) (bunch of facing direction, Image: $Car Sedan Teal (0) opacity changes etc


Set Movement Route: This Event (Wait) ( Opposite Various movement paths to route 1 )


Set Movement Route: This Event (Wait) (Opacity changes and wait timers)


:End


Control Variables: #0004 Car Shown?=0


Control Variables: #0001 Car Type=0


Page 7


Comment: Red Sedan


Control Variables: #0003 Car Route=1..3


If: Car Route=1


Set Movement Route: This Event (Wait) (bunch of facing direction, Image: $Car Sedan Teal (0) opacity changes etc


Set Movement Route: This Event (Wait) ( Various movement paths )


Set Movement Route: This Event (Wait) (Opacity changes and wait timers)


If: Car Route=2


Set Movement Route: This Event (Wait) (bunch of facing direction, Image: $Car Sedan Teal (0) opacity changes etc


Set Movement Route: This Event (Wait) ( Opposite Various movement paths to route 1 )


Set Movement Route: This Event (Wait) (Opacity changes and wait timers)


:End


Control Variables: #0004 Car Shown?=0


Control Variables: #0001 Car Type=0


Now what it's supposed to do in order is:

  • Determin it's location on setting it's event location and then controlling whether the car is shown
  • 2nd page gives the ok for the vehicle to actually show itself and chooses it's graphic and path to take- then reverting back to page 1
  • page 3-5 deny the car to be shown and each set a different wait timer on itself then reverting back to page 1
  • page 6-7 choose a different graphic, and then randomly decide a path to take via the conditional branch.



The problem so far is that the vehicle when chosen a graphic and a path- some random point in time it changes it's path and graphic sending the event off course and when the page is supposed to return to page 1- it does not seem to teleport it back to it's original position.


I hope this explains things enough for the reader.


wtf.png


wtf2.png


wtf3.png


wtf4.png


wtf5.png

wtf6.png

wtf7.png
Can't see the images.  Looks like you've made one single image with all screenshots, so when I click on it, it wants to show everything on my monitor, and I end up with it only slightly larger than in your post.


Can you please separate them into individual images and load each one up?  That means we'll be able to look at the conditions and what's happening on the pages. I know you typed a lot of stuff out, but sorry - it really doesn't help - we need to see the actual event window.  There are also 2 event pages you haven't shown (I'm just assuming all those screenshots are from different pages of the same event).  What's on those might be important, too.


The first thing I would question, without being able to look at them, is whether you have any plugins using the same variables/switches.
I have edited the 1st post with multible pictures. I hope this helps you understand what I am having trouble with.
You should combine pages 1 to 5 into a single page at minimum.


After the control variable on the first page, make conditional branches for the different results placing the different waits, and completely delete page 2 to 5 as that will already have the results you split among different pages.


I suggest you read the background info on timing problems in my bughunting tutorial (link in signature) to learn why you should never split simple sequences through different parallel processes.


Whether to place the sixth and seventh page into the first page is something that can be decided either way - it depends on what else you plan to do. Technically it would be better to have them in a single page, but for handling and organizing different events it might be better to keep them separate.


However, you should consider using autonomouse movement and the image property of the event instead of handling everything by set move route.


Set move route has its disadvantages, especially if used in a parallel process, and since all those routes go "this event", there is nothing preventing you from using custom autonomous movement, but that would have to be organised differently.
Just quickly before I change pages around- on the map there are car events that serve as background objects that move and when off screen they randomly change graphics. There variable random handouts seem to work for them individually- but I think there effecting my lone event that I'm trying to complete as an individual thing. Is there some glitch where events that are supposed to run there own variable handouts passively working on other events?


Looking at the background car events they perform a car type hand out randomly between 1-7, where as my current car event does 1-2.


Would that mean that the 1-7 handout is somehow effecting the car?
sorry - can you describe that again?


you've mixed up several different english word in your text (for example their and there) and use other words where I simply don't understand the reference (what are handouts here for you)?
Sorry about that.


I'll try to explain in a simple term- I have one event using a variable conditional branch (Car type) which is on random between 1-2. Note that the event is set on parallel process so it's moving by itself without player command.


Elsewhere on the maps I just realised I have 3 other events that are using the same variable but instead are on a conditional branch handout with a random number set between 1-7, these 3 other events are also on parallel process.


Pressing F9 to check the variables in game I've noticed that the first event that is using 1-2 reacts and changes it's paths in the middle of it's move route when the Car type variable hits 3-7. From what I am guessing the 3 other events random variable roll are effecting the 1-2 Car type event. Why it is doing that I don't know- I thought variable controls only effect the event itself if specified on it's page? And if that is the cast am I supposed to have that variable involving all events to use the maximum number the handout gives.


I hope that clears my question.
post the other events. if you used different variables then that should not happen. If you use the same variables for all events, that is automatically and needs to happen because all variables are general variables - changing one variable in one event will effect all events using the same variable.


And you still didn't explain what you mean by "handout" - because I strongly suspect you aren't talking about advertisement flyers for your game that are handed out to passerbys...
These screen caps are of the car events using the 1-7 variable. This is one of the three event's pages, the other two are virtually the same except there directions are reversed. Right click and view for the large image.


As by handout i'm talking in outcome handouts, like rolling a dice, rollout is 6 etc.


wtf8.png


wtf9.png
Again, the important picture is unreadable - please do not post pictures that large (as was said several posts above by shaz)


And you need to learn to use the terminology of the RPG-Makers if you really want help.

These screen caps are of the car events using the 1-7 variable.

1-7 is NOT a variable ID, those are always single numbers. Please tell us what IDs are the variables used by the events, then we can tell you if you did something wrong
I am using variable controls 0001 Car Type random 1~7. If you are talking about event IDs- the events using these commands are:


ID: 016


ID: 043


ID: 017

wtf8.png

wtf10.png

wtf11.png

wtf12.png

wtf13.png

wtf9.png
 If you are talking about event IDs

No, I'm talking about variable IDs - and that is why you have the problem.


You're always using the variable with the ID 001 for the car type of every event, which means that every event will always have the same car type, and that will change whenever you change the variable 001 with another random number. your events need to use different variables to stay different car types.
@Skurge...


All Variables and Switches are Common across the whole Game. If you're using these in autonomous parallel processes, it is imperative to use a different Variable for each process, otherwise the processes will 'tread on each other's toes', falsifying the outcome for each and every process.


It is possible to re-use a Variable in other Events, but only if there is a certitude of having only that one Event running at any one time.


Your solution is to create other Variables for each of these parallel processes so that there is no risk of inter-action between them. They may have the same name (although that is confusing, and not recommended...); they must have separate ID numbers.


Hope this helps.
Hmm. I was hoping something else was the problem, if this is the case looks like I'm going to have to make more of the same ID for each event, but of course there limits for a map.
@Skurge...


Just to be sure you've understood, you appear to have 3 Variable for a Car. You will need a Car Shown?; Car Type and Car Route for each of these Events, and it would be advisable to name them as Car Shown? 1, Car Type 1 and Car Route 1, then Car Shown? 2, Car Type 2 and Car Route 2, Car Shown? 3, Car Type 3 and Car Route 3 and so on. The is little risk of running out of resources for the Game; one may have several hundred Variables and Switches. Only an extremely massive Game (or badly organised one..!) would run that risk.


Take your time, change all of the Variables in all of your Car Events and you'll see that it works. Your programming is maybe not the most elegant, but it should at least work, once these Variables have been sorted out.
I'm looking to have 5 cars max on a map that run this process so that will require me to change each's variable switches which can take a while but atleast will work. When you bring ID into it- is there a way to change the ID or have the variables exclusive to an event and not run for others?
Well, first thing I can see on the list of event pages in the first post is that you have a lot of processing that could all be rolled into a single event page.  The first 5 pages could be combined to a single page just by using conditional branches.  And in fact the last two pages could probably also be put onto the same page, again with conditional branches.


Sometimes reducing the number of pages can make things more clear.
I did decide later that I should combine those pages, page 1 so far sorts out whether the car is on map or not-what type of car, pages 2 and onwards will depict it's graphic and path.
@Skurge...


Whether or not the pages are optimised (not a bad thing in itself, but not the fundamental issue here...), each of your Car Events will need its own, separate set of Variables, so that the Game can distinguish between them. 5 Cars on a Map, at 3 variable each..? That's 15 in all. Chicken feed, I say..! 
gXWG4Qr.png
 I have a Farm system being prepared, in which each Plot Event consumes 5 Variables and 5 Switches. I'm planning on having 20, maybe more, Plot Events, perhaps spread over several Maps, so that's a minimum of some 200 Variables and Switches..! It takes what it takes; one cannot 'buck' the system..!


Once you get at least one Car up and running correctly, you can turn your attention to cleaning up the Event pages; this will make it quite a lot easier to 'roll out' more Cars on your Maps. Good luck with it all; ask away if there are further issues. 
YEY7qB3.png
Taking the advice here has helped alot with this system and I can't wait to show it for another demo release.


Say does anyone know a reliable game recording software I can use to demonstrate this system I have?

Original thread: https://forums.rpgmakerweb.com/threads/having-an-issue-to-break-other-page-processing.67478/