To be clear with whats working and what's not working. No the problem is not as Andar assumes, I can call 10 play movies after each other using the common event without causing the game to freeze. I tested this when I removed the show picture command from the common event.
However if I add show picture before the play movie command it causes the game to freeze. When adding a small wait between the play movie and the show picture commands it works just fine. But if the show picture and play movie commands are being called from a regular event on a random map it also works.
Game freezes only when I call a common event with play movie and show picture as commands and are fixed by either removing the show picture command or put a wait between the commands. It works fine when calling multiple movies after each other in my case.
Play movie freezes the game.
● ARCHIVED · READ-ONLY
-
-
To be clear with whats working and what's not working. No the problem is not as Andar assumes, I can call 10 play movies after each other using the common event without causing the game to freeze. I tested this when I removed the show picture command from the common event.
However if I add show picture before the play movie command it causes the game to freeze. When adding a small wait between the play movie and the show picture commands it works just fine. But if the show picture and play movie commands are being called from a regular event on a random map it also works.
Game freezes only when I call a common event with play movie and show picture as commands and are fixed by either removing the show picture command or put a wait between the commands. It works fine when calling multiple movies after each other in my case.
When Andar says about the logic in your processes, take heed of that!
I'd also recommend (if you haven't already) spending some time with Andar's compilation of info for new users.
Perhaps there is some other items in there that might help speed things up or help with things for future!
Either way, it sounds like you got it working and that's great! :)
Best of luck for the project -
Thanks, well I don't think that he doesn't know what he's talking about and I wouldn't call myself a new user. But in this case he's wrong and there's no logic to show since the game crashes even if the event only contains two rows: show picture and play movie.
I did also find out that smaller movies works and only movies bigger than around 800-900 kB causes the game to freeze. This event below freezes the game, in this case the movie was 970 kB and the picture 604 kB if the size has something to do with the freeze, there's 1000+ images and 300+ movies, yes all movies and images are used in the game.
-
what you've missed here is that bughunting for unknown bugs needs to be methodical. If you're only guessing what it might be, then in half the time you're wrong - and I can't even count the cases where someone missed an obvious error because he "knew" that he didn't make a mistake there and refused to check that part.
That even goes for myself - there was one math test where I was finished with everything but one task very early, and then had to use the remaining time to recalculate that task three times, because I knew that the result was wrong but couldn't find the error despite three complete calculations.
The reason for this was that I started all recalculations at the second line, never believing I could have made a mistake in the very simple step from the first to second line. When I got the test back, I learned that I calculated 1*2=3 exactly on the very first step (OK, it was a bit more hidden, but I really had a 1*2 there and wrote 3 as the result in the second line.
And your refusal to even allow for the possibility that you could have made a mistake in that first step of the event sounded a lot like that possibility - if you had given that last screenshot (with the info "trigger = action button", which was where you could have made a big mistake), then I would have stepped on to the next part of bughunting.
I can think of several reasons why the bug could happen there (and that it only happens with larger movies and pictures basically confirms my suspicions), but those parts are outside the event area, they have to do with memory allocation processes. It might be worth to check this in a clean new project to give as a bugreport to try to get the MV development team to optimize that part of the memory allocation, but most probably this case is too rare to spare the effort (a lot of requested improvements had to be refused because either a veto from the japanese owners or because the resources were not available to change something).
That said, you might want to follow the link "bughunting" in my signature to learn more about how to search for bugs and why some bugs happen. -
The thing is that you just assumes that I'm a newbie that don't know how to bug test. Not to sound like a jerk but if you read my posts I tell you that there's nothing wrong with the logic because there's no logic to be faulty. This bug happens when one event have 2 commands as I said already to many times... and it happens on every map, even if the map is small and the player spawns there in a fresh start or the project is fresh. But you just ignore these parts of my posts? As I said before I tested a fresh project with one picture and one movie, the pic was 604 kB and the movie was 968 kB... since you love pics so much I'll give you some.
This event freeze 50% of the times it's triggered.
I've programmed neural nets that learns to recognize facial expressions and have a good knowledge in system close programming, I know how to hunt for bugs. I also know that the design phase is more important than the implementation keeping the number of bugs down. Just assuming that the problem is on my end instead of reading my whole messages is just frustrating. With that said I hope I don't sound like the biggest jerk, I'm just trying to find a solution to the problem I described in the first post and right now I only have temporarily solutions. -
Hi! I know there is a lot of posts about freezing video... But I still don’t have answer what going wrong. I have 3seconds webm video and I want to show this movie before title, I downloaded 2 plugins - this one about preloaded video and event title. I have still the same problem. Any solutions?
-