New account registration is temporarily disabled.

[HELP] CAN'T ATTACK & GUARDING = GAME FREEZE?

Posts

Pages: 1
Hi there,
I currently use RPG Maker VX Ace. I decided to start learning the ins and outs of the software by following a set of tutorials to create a small practice game so that I get the jist of it. That way I can venture off on my own and create my truly ambitious project and know what I'm doing.

All went well until I got into the battle system. The setup seems pretty straight-forward, however, I have run into an unexpected problem that my friends and I have no clue how to even begin to address. Even typing the error code into Google got me nowhere.

Now, I don't know Ruby code, so if I were to go into the script I wouldn't really know what I'm looking for or how to fix it on my own. The best I can do is explain my problem as thoroughly as possible. It's gotten to the point where I can't progress in the tutorials or my learning experience any further until this problem is resolved, so the software is just kind of sitting there, unused.


THE PROBLEM:
Whenever I get into a random encounter during playtesting (this also applies to Battle Testing in the Troops tab) the first thing I notice is that the Attack command is grayed out. I have tried creating a custom weapon and have also used the default "Hand Axe" sword-type weapon and I could not attack with either one.







I am not sure what is causing this since the default "Hand Axe" is equipped. This seems to be a multi-faceted problem though. The SECOND problem I have is when I attempt to do the only thing I can really do in battle given that I can't attack, and that is to Guard. The image below shows what happens whenever I use the Guard command.





After clicking on the OK button, the game shuts itself down. I have no idea where to even begin addressing this problem. I have provided further specifics in the images below.











Any help would be greatly appreciated. I cannot proceed until it is resolved.
That is rather odd. I don't suppose you got rid of the first two skills in the skill list did you? Those both handle Attack and Guard commands and should be left in there since the game references them when you go to use a weapon or guard.
Which skills are they and where should I go to check?
Look under the skill tab in the database. The first two should be the Attack and Guard skills.
Check the Skills tab right next to Classes. They are the first 2 skills on the list. ;)
Skill 1 is Focus and Skill 2 is Guard... I think I may have accidentally changed the Attack skill into Focus... Not sure how to go about fixing that. However, I applied the Guard skill to my test character's class just now to test it out and I still got the same error message when I battle tested.

I think that's because you taught him Guard as a skill, possibly causing the game to counfound things. Delete those 2 skills and create the Attack skill again! Make sure the target is 1 enemy, and use the quick formula. =]
Would that be the "a.atk * 4 - b.def * 2"? I'm still new to the software and don't fully comprehend the nature of the formulas yet.

I wrote over the Focus (skill 1) with all the functionality of the Attack skill once again and I've made a little progress. I can use the attack command now and select the enemy I want to attack. It then shows the attack animation, then I get the same error code box mentioned in my original post.
Are you using any battle scripts?
author=Liberty
Are you using any battle scripts?

If you are asking if I have imported any scripts beyond what inherently came with the software, no I have not.


-EDITED-
Okay, I completely cleared out the Attack and Guard skills and recreated them from scratch and that seemed to fix all my battle problems. Thanks guys!

Before this thread comes to a close, I would like a brief explanation of how to properly use the Quick Formula button. What determines what numbers goes into those fields and how how high those numbers are? I'm still learning how the formulas work.

Thanks
It's probably best not to use the quick formula since it can be rather samey, but the first number is the base damage. The second deals with physical and the third with magic. Then the variance (set to 20 by default) is the amount of difference two attacks could have between them.
If you hover over most things in the database (the names of things) you'll get a pop-up which helps you understand a little more.

So, for example, if we put 10, 10, 10 it will give us this: 10 + a.atk * 0.4 + a.mat * 0.2 - b.def * 0.2 - b.mdf * 0.2
10 is the base damage.
+ a.atk*.4 means "add the attackers attack power multiplied by .4" If the attackers attack was 5, this would be 5*.4, which = 2
+ a.mat*.2 means "add the attackers magical attack power multiplied by .2" If the attackers magical attack power was 5, this would be 5*.2 = 1
- b.def*.2 means "subtract the targets defence power multiplied by .2" If the targets defence is 10, then this would be 10*.2 = 2
- b.mdf*.2 means "subtract the targets magic defence power multiplied by .2" If the targets magic defence is 10, then this would be 10*.2 = 2
All together this would be: 10 +2 +1 -2 -2 = 9
So the damage would be 9.
Now, if you had the variance at 20 then (since it only goes to 100 it acts as a percentage) 20% of 9 is 1.8, so damage would range from 8-10 damage.

Hope that helps a bit.
If you hover the cursor over the formula field, a brief explanation will be there, along with a few parameters you can reference (such as magic or luck).
(a) is the attacker and (b) is the target.
The default formula for a normal attack is a.atk*4 - b.def*2, wich basically means that a character with 25 attack aganist a monster with 25 defense will deal 50 damage.

25*4 - 25*2 = 100 - 50 = 50

After that the variance is applied, being it a percentage between 0 and 100.

Base power is a fixed number independent from your attack power, but that still gets subtracted from defense or magic defense. For example:

Attack skill wit the same formula than for Attack comand, but with 10 base power:
(considering 25 as the character's parameters)

(10 + 25*4) - 25*2 = 110 - 50 = 60.

Attack and MAgic influence basically define how much will these parameters come into play. For example, an attack with double the regular attack influence:
See how the multipliers are doubled? Influences and Base power never affect each other in any way.

25*8 - 25*4 = 200 - 100 = 10


To give you a few nice ideas, a skill that partially ignores defense:

a.atk*4 - b.def
25*4 - 25
75

Healing magic based on caster & target Magic Defense (the higher the magic defense of the caster AND the target, the higher the healing.)
(base power = 100)
100 + a.mdf*4 + b.mdf*2
100 + 100 + 50
250

There you go, you can develop a multitude of interesting formulas from this principle! Any further doubts, just ask us. :]

EDIT: Oh, I was redundant, Liberty posted while I wrote. >=
WEll, this post still can be of use.
Yeah, more use than mine. XD
Aha! >_<
I just learnt how to edit formulae in RGSS, is so fun *-------*
I'm using XP, but >_____>
Pages: 1