Event System Support (expert users only)

I believe I've actually just solved it myself.

1. Got rid of the Checks to see if the House was >=18. The House < 17 check is handling that anyways. That instantly fixed the freezing issue.

2. Saw the part where the house would draw an extra card at the Stay input. Got rid of that. Fixed that issue.

3. In the Else field under the Stay Option, added a Jump to Label (Calculate), which jumps itself out of the loop and starts tallying the variables. Each possibility Ends Event Handling, so there shouldn't be any junk floating around

I can post the new code if people want to use it for their own games, or better it on their own.

Thanks for the extra set of eyes everyone! You guys (and gals) are awesome.
Frapp, I agree with Celi. But you did change some things, so if you don't feel like it, updated screenshots would help.
As reqested.

Actually got rid of enough crap to whittle it down to 4 screenshots instead of 5. As I said, it's now working the way I had envisioned. Feel free to use it in your games if you wish. Any other feedback on it is always welcome and appreciated. 🙂

BlackjackFixed1.jpg

BlackjackFixed2.jpg

BlackjackFixed3.jpg

BlackjackFixed4.jpg

Also, if anyone is wondering what the "VortexYLWChip" variable is, it's just being run through a common event. I have Yellow, Green, Blue, and Red Chip items that can all be exchanged for prizes at a prize NPC. Each batch of 99 chips can upgrade into 1 of the next successive chip. Because the Max Item limit, without scripting it otherwise, is 99, the player can end up playing the mini-games without properly recieving the rewards. Each game NPC actually runs a check to make sure the player isn't holding 99 of the yellow chips, and refuses service if so.
Good job for fixing it~ I was looking at the code and didn't see that you fixed it haha. You don't need that Loop for Stay anymore since it automatically breaks it out after the conditional anyway, so you can get rid of it. Everything else looks fine assuming you're okay with a blackjack game that doesn't use a 52-card deck~ Also remember that in a normal blackjack game there's 4 chances to get "10" and Ace can either be a 1 or 11.
I'm fine with the way it is for now. I didn't want to spend too much time on it as it's mostly going to end up being a side quest of sorts for optional but awesome gear. I actually don't understand card games all that much, so this simplified version works for me.
What I don't understand is your usage of the loop (why not create a new event page and set it to autorun?), nor the usage of the label hit, which makes it jump to the end of the loop, just so that it can loop again, when you could have just make it jump to the very beginning where the loops starts. This is why I wanted to have your project 🙂
A valid point. Steam says I've only logged about 24 hours (give or take 2) into the program. This is all fairly new to me, so I'm just making stuff up as I go along really. There are probably dozens of ways to do anything I do better. I sat down and watched all the demo videos on YouTube on how to fiddle with things, forgot most of it, then started building my first game. I've always learned better by doing and figuring out, so this program is actually keeping my brain busy doing something other than looking at pictures of cats.
Hi everyone,

I am working on my first project so I am not quite sure if this fits the topic, but I am a Little desperate right now.
I have an Event (or a few connected events) that won't start. They worked before. I guessed I changed something, but I don't know what and even though I tried I can't fix it. I have not a clue why it suddenly won't work.
(How can I add pictures? Do I have to upload them first?)

Thanks for your help! 
This is not an Event System question. Please start a new thread, post your events, and explain what you mean by "won't work" - obviously SOMETHING must happen - what do you expect to happen that doesn't?


Yes, you load pictures to Photobucket or a similar site, and then you use the img tag to put them in your post.
People really do miss that 'expert' part in the title huh.
I am making a personal system called "Flight" for my forum based game. The problem I am having so far is its neat performance. Let me explain how this works first. When the player presses "Q", the player is asked if he wants to fly or learn the controls of flying. When he chooses fly, directly he is transported into the airship to fly. To do this as if the actor was actually flying is that I changed the airship's graphic to a winged character. 

To start off, I made a parallel process wherein if the engine detects the MAP ID, Player X and Player Y.

Spoiler
[IMG]http://img51.imageshack.us/img51/7215/jwxw.jpg[/IMG]
Then, if the player presses Q or in the engine is recognized as "L", the player is asked to choose whether to fly or to view controls.

Spoiler
[IMG]http://img713.imageshack.us/img713/9995/lln1.jpg[/IMG]
When I press W on the other hand, cancels the airship properly:

Spoiler
[IMG]http://img838.imageshack.us/img838/452/a8y1.jpg[/IMG]
Problem: How can I restrict the player to go down the airship when I press Z or Spacebar? Because if I do that, the airship goes down and leaves a sprite of the current sprite changed for the airship. Is there a way to restrict the spacebar for canceling the airship or going down the airship? the main problem on my system is that it leaves a sprite on the end when I press spacebar and get down the airship. As for the pressing W there is no problem since its already evented that if I do press it, it would revert the airship's sprite to null.
Why are you both boarding the vehicle *and* changing the player graphic to a vehicle?
You can do this by scripts - I know that there is a script on the master script list that allows the airship to land only on designated airport-tiles (sorry, don't know the name or link at the moment), you could probably use that and simply don't use the airport tiles in your map...
Why are you both boarding the vehicle *and* changing the player graphic to a vehicle?
I want to make the impression / the player like he is flying. 

You can do this by scripts - I know that there is a script on the master script list that allows the airship to land only on designated airport-tiles (sorry, don't know the name or link at the moment), you could probably use that and simply don't use the airport tiles in your map...
I'll look into this and see what I can do.
Not sure why there's 3 common events. You can do all of this in one event to reduce lag.
Hey guys, i was testing my skills at doing an Yume Nikki fangame effect, i worked on equiping the effect and it worked, but when i was putting an common event to act an effect when i had putted this:

@> Conditional Branch: The A Button is Being Pressed

  @> Play SE: 'Attack2', 80, 100

  @>

:   Else

  @>

:   Branch End

, i testplay it, equip the effect and try to press the A button, it doesn't work, what i have done?
John Leagsdurg don't post simple questions in the event system support that's meant for very complex eventing. Please create your own thread about this.
I'm having some trouble getting my Day Night common event System to work right with my Clock System.

I have a 12 hour Clock System with am and pm set up. But when I try to put a Day Night System to it the

timing is all wrong.

Anyone got some suggestions?
I really recommend reading through this. It's made with rm2k3 but the same logic and methods still apply to RMVXACE 🙂

It's just Fork Conditions = Conditional Branches for example.
John Leagsdurg don't post simple questions in the event system support that's meant for very complex eventing. Please create your own thread about this.
ok

Original thread: https://forums.rpgmakerweb.com/threads/event-system-support-expert-users-only.51/