Two Problems at the same time.

Problem 1
I am trying to use (The Great!) Tsukihime 's Recoil Damage and it's precursor needed script Effects Manager (Which can easily be found ~HERE~)
but I get some weird error
 
effect10.png
error210.png

 
I was wondering why I was getting these weird errors? When I noteout these scripts everything is fine again.

additional information.

This is line 61 btw.

damage = eval(effect.value1[0]).to_iin section of the code

def effect_recoil_damage(user, item, effect) return if user == self damage = eval(effect.value1[0]).to_i user.hp -= damage user.perform_collapse_effect if user.dead? @result.effect_results.push(sprintf(Effect::Recoil_Damage::Vocab, user.name, damage)) @result.success = true end 

Problem 2
 
In Saba Kan's and Rokan's Ao No Kiseki Battle System translated by kirinelf (Which can be easily found ~Here~)I can't get my enemies to change graphics in the AT bar Like the demo one.

( I am using Rokan's Bonus Scipt too)

*Demo one
2jfden6.png

 
See mine are all the same.
woow10.jpg


From the script:

    # This sets the notetag to be used to define monster graphics.
    # Enter like this in an enemy's notetag:
      # <GRAPHIC_MARKER> <Filename> <index>
      # E.g. GRAPHIC Monster2 2
    GRAPHIC_MARKER = "GRAPHIC"

 
 

I put <GRAPHIC Monster2 2> and it didn't change anything.

So I tried <GRAPHIC Monster2 1> and still nothing change.

 

<GRAPHIC, Monster2, 1>

<GRAPHIC: Monster2: 1>

Would it be one of those?

 

or 

<GRAPHIC> <Monster2> <1>

 

Also what about the default for the hero(s)

I wish I could change that by default also.

 



I need to solve these two issues so I can get back to working on m project this weekend hence I hadn't had a day off in 3 months and I got a four day weeknd to work on my game.

 

Thank you and have a great holiday weekend.
This is line 61 btw.

damage = eval(effect.value1[0]).to_i
No it's not ... unless you modified the script (so if you did, you'd better give us your modified version). And that line could not possibly produce that error, unless effect.value1[0] had something about actor.formula in it. The error is saying you're trying to look at a formula on an actor. An actor does not have a formula. A skill, or item, has a formula.

Create a new line before that line, and add this:

p effect.value1[0].to_sThen turn the console on and play until it crashes. What's shown in the console?And since the effect manager is set up via notes, it may well be that you've set something up incorrectly. So you better give us screenshots of how your actor or skill (or whatever triggers the recoil damage) is set up, making sure the note that's used by this script is visible.
well the console read

"Loaded : DPBz - Param Limit Breaker"

and I didn't edit the script except to add what you just told me to.

MIght just have to not use it.

 What about the second question?
Copy the contents of the entire note-box.

It's possible that my regex is capturing more than it should.

For example if you wrote something like this

<eff: recoil_damage ... > <formula: blah>It will capture
Code:
> <formula: blah
as well, which will cause problems.You need to make sure they are on separate lines

Code:
<eff: recoil_damage ... ><formula: blah>
the script says to write out the notetage like

<eff: recoil_damage formula>

** Usage Tag effect objects with <eff: recoil_damage formula> Where the formula is any valid ruby statement that evaluates to a number(I have the script comment out at the moment)

What would the notetag for the saba kan issue. I can't get it to reconize the notetag. I figured that one would be easy for someone to figure out.


Is there a limit to how many or how much notetags that can be used>? i dunno an idea maybe.
the script says to write out the notetage like

<eff: recoil_damage formula>

** Usage Tag effect objects with <eff: recoil_damage formula> Where the formula is any valid ruby statement that evaluates to a number
If I look at your error message, I think I found your bug. Could it be that you ignored the last line of the description?
Or in other words, ist your specific notetag

<eff: recoil_damage formula>

or is it

<eff: recoil_damage 300>

(doing 300 as recoil damage)?

After all, the original error message is that the program doesn't know the method "formula", but the last part of the instruction tell you to replace the placeholder "formula" (which doesn't exist in the scripts) with that formula that you want to use for calculating the recoil damage...
<eff: recoil_damage 300>

Didn't work

Wonder if i need to say 30 percent of attack/ defense
<eff: recoil_damage 300>

Didn't work
Do you still get the same error message as previously? if yes, then post a screenshot for us to check.

If not, then please state the current error message.
Make sure you have the latest version of the recoil damage effect.


How are you using it?
Version 2.6 of the Effects manager

and recoil is the only version I guess.

Was trying to add it to actors and enemy notetags

Original thread: https://forums.rpgmakerweb.com/threads/two-problems-at-the-same-time.17616/