Troubles with Number Variables/Point System

Hi, there!
I've been looking all over in the guide, in the Blackjack Example, and asking some friends who know more about game design than I do on how to get a point system down, and I just can't figure it out.

What I have so far are three categories: Nice, Cold, and Quiet points depending on the player's choices.

I have 5 Common Events, one that I set up at the start of the game to set all the values to 0.
upload_2017-12-27_19-32-2.png


And then three more to Add+1 Value after certain choices are picked, and those look like this one (changed properly in the variable department):
upload_2017-12-27_19-33-44.png


And then I had a Show_Stats Event to have the numbers in the upper left so I could see if it was working right. (it wouldn't be in the final game)
It doesn't refresh the numbers and stays at 0 until a scene change, but when it does refresh, I get this.
upload_2017-12-27_19-35-6.png


Instead of acting like 1+1, it's just slapping another literal 1 into the value. I want to make sure it actually adds, so the Nice category should say '5', not '11111'.

Obviously, I'm doing something wrong, but I can't figure out what, and I've scoured the internet for hours and reread everything to come up empty. I even copied some stuff from the Blackjack example and changed it to fit my project in hopes it would work, aaand it did not LOL.

If anyone would mind helping me and showing me what I'm doing wrong and how to fix it, I'd be forever grateful. This whole game is gonna run on points for the character and affection for npcs, so if I can't get this down right, I'm at a loss. Thank you so much for reading, and let me know if any more information is needed. I'm real new to this.<3
weird.....

all numeric operations on numbers should turn themselves into numbers when operating :/
looks like it's turning itself into string? o0
Is this in live preview or does it also happen in Play Test. (the green button)

EDIT:
I just tested this out and I'm not getting any errors:
upload_2017-12-28_14-5-20.png


My Scene:
upload_2017-12-28_14-5-38.png


Common Event:
upload_2017-12-28_14-6-4.png
@Archeia - It was happening in both live preview and Play Test.

But ooh, I'll try out what you did in a bit to see if it works! Hopefully it will!

Edit: So, it didn't work on my main file. I'm gonna try a new quick thing from scratch to see if I can get it working there.

Edit 2: So I did another file from scratch and did your method @Archeia, and it did work for what it was in just a simple, repeating counter.

But, it's also not quite what I wanted though? ;;

So I made another example: There's someone's cake on the counter. Do you eat it?
-Yes.
-No.
-Do Nothing.

Yes should give +1 cold, No +1 nice, Do Nothing +1 quiet. And then the same question appears for a glass of orange juice and same replies.

Except this time, the counter stays at 0. Sometimes can get it to show a 1 in the live preview if I click around enough times, but it never shows up in the Play Test.

Is my problem the use of Common Events? From the looks of the Blackjack Guide, it made it look and sound like I should be able to use them as simple point modifiers.

This is what I have.
upload_2017-12-28_0-41-1.png

upload_2017-12-28_0-40-44.png

upload_2017-12-28_0-41-49.png


The scene change is just a simple message to see if the counter would refresh (which it did not).
And, again, the Number Variables are set up exactly as they were shown in the first post and in your example, just shoved into a Common Event.

Am I just messing something up trying to take a shortcut? I'm so baffled. XD
galThto
I don't quite understand what's wrong. Your method confuses me sorry. You are just setting variables on choices right?
Ah sorry if I'm not explaining it right, but yeah I want the variables on the choices. I was also trying to set up the counter so I could make sure it was tracking everything correctly.

I'm still getting the same problem where the tracker isn't refreshing the points when I jump to a new label. I pick a choice, it should give me +1, and instead it stays at 0.

Even testing without the counter in play, the variables aren't working right either in the first place.

So I had a Condition in one part for the example in my original post
Condition | If: Number | Variable: G[0001: nice] | Is: Equal to | Value: 3 |
==========================
Ends up not working even if I pick 3 "nice" variables, because it's registering as 111.

Essentially, I just want these to be like the characters "stats" like a dating sim, kinda.
Am I just going about my placement of the variables in the wrong way? Should I not use them as common events? I've tried both with just the Number Variable and a Common Event and I tend to get the same result.

If I can just get the numbers adding properly I'll be dandy. Sorry if I'm still not clear enough, I'm not sure how else to explain it? Thank you so much for trying to help so far though ;;
But that's exactly what I did for the example I gave? That's why I'm confused. I could probably try transferring the variable addition in a common event instead.
Hi, I think you probably just forgot to call Refresh Text command? A text cannot refresh automatically if you change a variable. That is something you have to do with Refresh Text command. Also, may I see the exact content of your common events? It sounds weird, I am sure there is probably a tiny mistake somewhere.

EDIT: Or maybe you can PM us the data folder of your project? So we can reproduce this easier.
Hi, I fixed your project. I found your issues.

Remove the Global Number reset in Story Generator Event. You are restarting the values of the variables for some reason after the stats were already made. This is the main reason why you were getting "111"
upload_2018-1-2_7-8-33.png


The reason why your values weren't updating from 0 is because you are not refreshing the values. The Text display does not automatically update when you adjust the stats. You need to do your common events like this:
upload_2018-1-2_7-4-59.png
Oh gosh, thank you so much!! I knew it was gonna be something simple that i just overlooked aaaaaaa XD<33
Thank you so much for your help, it works perfectly now! Have a wonderful day and thank you again!

Original thread: https://forums.rpgmakerweb.com/threads/troubles-with-number-variables-point-system.89020/