ACBS - Atoa Custom Battle System 3.2

@Huckleberry
Can you post an image with the line that returned the error on the script editor?

In the default IBC the line 235 is different and could never return the error you posted, so I suppose you edited the script.

Also i had no issue with IBC + Summon and ATB + IBC + Summon.

So it may be some setting on the IBC.
Everything Seems to be working fine. Except for this one small problem on the Equipment Multi-Slots add-on.

Equipment Multi-Slots Spoiler
Image


This error happens no matter if I use the New Status add-on or not. All other equipment i.e. Helmet, Armor, Accessories, work just fine. Only the Shield or Left hand has this error.
Yes, I forgot to put it.

Here is the message. Indeed, I edited the script.

Image

If that's a mistake setting, you can see where it could be, just watching the error message ? Otherwise, I will try other tests.
@No ID
Thanks for this one. fixed! ;D

@Huckleberry
Are you sure you updated the IBC?
On my code this line is:
"@skill_window.visible = false if @skill_window != nil"
what prevent this error.

In any case download the demo again and get the latest IBC code.
zareth wrote:
Lurker77 wrote:
zareth wrote:
EDIT: I have a little Question: Does any Materia Script work with this battle system?
Not necessary anymore, Charlie Fleeds Skills Learning System seems to work with this^^


How did you get his skill learning system to work with this? Mine freezes after a battle ends (without any add-ons).


Yeah I made a change in 3 lines but the problem is that if the skill is learned there is no window after battle so you know that it has been learned^^

But if you want to try it out and if you have version 2.2 try this:
Go to the script Skills Learning System and in line 386 there is this:

Content Hidden Spoiler
if $charlie_lee_ctb != nil and $charlie_lee_ctb_version != nil and $charlie_lee_ctb_version >= 2.11
@result_window2.visible = false
end
@phase=5.1
@wait_count = 16
else
# Dispose learning window
@learning_window.dispose
battle_end(0)
end
end
end
end


change it to this

Content Hidden Spoiler
# if $charlie_lee_ctb != nil and $charlie_lee_ctb_version != nil and $charlie_lee_ctb_version >= 2.11
# @result_window2.visible = false
end
@phase=5.1
@wait_count = 16
else
# Dispose learning window
@learning_window.dispose
battle_end(0)
end
end
end
# end


I tried that. I end up getting another error:

Content Hidden Spoiler
Image


An if I put a "#" before that line, it no longer freezes, but the battle reward screen immediately closes after the battle ends.

EDIT: If I use the FF7 victory window this isn't really a problem anymore because the window won't close until after you hit the action key and the EXP bars fill up.
Atoa wrote:
@Huckleberry
Are you sure you updated the IBC?
On my code this line is:
"@skill_window.visible = false if @skill_window != nil"
what prevent this error.

In any case download the demo again and get the latest IBC code.


How stupid am I... Indeed, I did not have updated the new Individual Battle Command script. I did not do it because I thought it was not necessary. It was negligence on my part (sorry).

I have just updated the IBC, and I made all settings ... And there is a new bug.

When the fight starts, when the ATB bar is loaded, this bug appears.

Image

Image

What a brainstorming ... I hope I did not forget to set anything in the settings, but I'm nearly sure I have done everything. If you look at the 206 line, you can see "set_name_windo_position" instead of "window". I tried to change it too, but the bug still appears.

I confess that I am a bit lost, but I won't stop to look for the solution.
@Huckleberry
Again are you *sure* that you updated *ALL* scripts?

Disconsidering the typo (windo instad of window), the method "def set_name_windo_position" exist.
it's on line 3402 of the "ACBS | Battle Main Code", so if you updated the scripts, this error can't happen.

The typo dont interfere because i copy/paste the line so the error was in all lines xD
That's it ! It took me a while, but I uploaded each script and set them all.

Everything is working now. I did not think it was necessary, fortunately that thou hast said. It seems logical really.

Next time I'll update each script.

Sorry to have made you waste your time with my stupid mistakes, and thank you again. ;)
@Huckleberry
Next time you wouldn't need to update all script.
That update was an major update that why you needed to change all

On next updates, you will need to update only the scripts listed on the version history. (But most likely you will have to always update the Battle Main Code)
I understand.

Whatever, before coming to ask you, I will first make these updates. That's funny, because sometimes you think you will never find the solution, so you browse the whole script editor, and the solution is close to you.

Thank you again, and good night. ;)
Hey Atoa,



Glad to hear youre still working on the ACBS. Just thought Id pass along a few problems that Ive had with with your most recent update.



When using the Chrono Trigger add on, after winning a battle I get the following error message.



Image



Also, I am having problems with the screen tone when using the Chrono Trigger interface. Before I was able to fix this problem by placing a "#" in front of "@viewport2.tone = $game_screen.tone" on the ACBS | Battle Main Code.



However I was unable to find this line of code in the most recent update of the script. Did I just miss it or is there another way to fix the problem?
Hey Atoa, here you have a fan of your work :D
But got 2 "glitches"
I got no error message that's why i didn't post any screen.
First glitch: Using ATB + Blitz Skill - You input the combination once and then when the "chanting" bar (the red one that appears when you select a skill) is full you have to in put the combination again. I think that's a glitch :/
Second glitch: Using Battle Animated Faces didn't work for me. No errors just didn't show up any face. I tried it in my game with ATB and then in your demo w/out ATB just basic scripts and that. I tried in both demos in the english and the portuguese one and got no faces. Maybe i'm doing something wrong? I even set to false the "show_Faces" in the "ACBS | Battle Windows" script.
(btw i'm using the portuguese version of the script cuz as you said before you make some typo errors in the translation so i preffer to use the "original" version ^^ and as for me is easy to understand portuguese)
Cya.
--Edit--
I got another glitch. Using Drain Skill, when you use a skill that's supposed to drain hp or sp from the enemy all you get is damage. I didn't tested it deeply but i think i'm correct saying that the error is here
Content Hidden Spoiler
  1. def absorb_damage(absorb, action)
  2.     for type in action.keys
  3.       if type == 'hp' and (action[type][0] >= rand(100))
  4.         base_absorb = ((absorb * action[type][1]) / 100).to_i
  5.         if base_absorb > 0
  6.           difference = @active_battler.maxhp - @active_battler.hp
  7.           base_absorb = [base_absorb, difference].min
  8.         elsif base_absorb < 0
  9.           base_absorb = [base_absorb, -@active_battler.hp].max
  10.         end
  11.         @active_battler.damage = -base_absorb
  12.         @active_battler.hp += @active_battler.damage
  13.         @active_battler.animation_id = action[type][2].nil? ? 0 : action[type][2]
  14.         @active_battler.damage_pop = action[type][3]
  15.         wait(6) if @active_battler.damage != 0
  16.       end
  17.       if type == 'sp' and (action[type][0] >= rand(100))
  18.         base_absorb = ((absorb * action[type][1]) / 100).to_i
  19.         if base_absorb > 0
  20.           difference = @active_battler.maxsp - @active_battler.sp
  21.           base_absorb = [base_absorb, difference].min
  22.         elsif base_absorb < 0
  23.           base_absorb = [base_absorb, -@active_battler.sp].max
  24.         end
  25.         @active_battler.damage = -base_absorb
  26.         @active_battler.sp += @active_battler.damage
  27.         @active_battler.animation_id = action[type][2].nil? ? 0 : action[type][2]
  28.         @active_battler.damage_pop = action[type][3]
  29.         @active_battler.sp_damage = action[type][3]
  30.         wait(6) if @active_battler.damage != 0
  31.       end
  32.     end
  33.   end
Expand to see the code.

I just changed those lines using "-base_absorb" to
  1. @active_battler.damage = base_absorb
Expand to see the code.

And now is working correctly for me.
I hope this help you Atoa ^^.
---Another Edit---
Hey i just got a error now with the Battle Animated Faces. I didn't test this until now cuz it didn't show up any face and maybe is the same cause. If you select "true" in "Hide Faces" constant on the config module and then in battle you try to enter item or skill menu you get this
Image
maybe the error is given cuz there is no face shown and then there is no "opacity".
@oyaji
CT Battle end bug:
This more likely an error on the enemy call battle settings. In any case, i added a line to prevent this error.
If another glitch occurs after that, it's surely because of bad configuration.

Tone bug:
Fixed id.

@X-Law
Blitz Bug:
I hate when an fix to an bug, brings back an already fixed bug.
In any case it was good because i added an new setting to it, now it's possible to configure if the input will be before or after the cast time.

Drain Bug:
I had no glitches with it, was you using another add-on?

Animated Faces:
I rally having an hard time with it, i'm going to rewrite it so the code works better.
Thanks Atoa,

Both bugs have been cleared up. I really appreciate all of your help.

There was just one other minor problem that I encountered after updating the scripts.

The screen-tone works perfectly now but all weather effects stop once you initiate a battle.
They start working again after the battle ends.
@oyajI
I forget to change all map settings to viewport2
look on line 2243 of ACBS | Battle Main Code for this
@weather = RPG::Weather.new(@viewport1)
change it to this
@weather = RPG::Weather.new(@viewport2)
Thanks Atoa,

Everything works perfectly now!
Hey Atoa

Then the Blitz script is alreeady updated? or you have to update the demo?
About de Drain Skill it was all alone. No other add-ons were used. The strange thing is that it worked fine for enemies but not for characters :S. Doing the change line i suggested work fine for enemies and characters. But strange that it worked before for enemies too but not for heroes.
About the Animated Faces; Thanks! i'll be waiting for this ^^
Cya.
@X-Law
I checked the fix you did, the heal works but HP pop damage becomes white, so i've made an small fix so the drain amount still green, but there's no glithc with the value recovered.

The blitz/atb fix is already avaliable on the demo

Edit.: demo uploaded with drain and blitz/atb fix
Hey
I didn't realized about the white pop lol. But thanks for the fix ^^
I'll update blitz and Drain skills in my project ;)
I'll be waiting for the Animated Faces ^^
I have a quick question atoa and for anyone who can answer.
All of my custom animations that I make myself are semi transparent. is there anything that i can do to fix this?
Can you use the extra add-ons without using the battle system?
Hey Atoa!

Just letting you know that I've been rigorously testing your ABS for about a week and apart from the small bugs that people have been reporting, I cannot find any major ones!

So far, so good!
coy13 wrote:
Can you use the extra add-ons without using the battle system?
Some of them can be used. But most of them can't. The only way to know wich work is trial and error. And it's up to you.

But i'm working on make most of them independent of the ACBS.

GenoHawk wrote:
All of my custom animations that I make myself are semi transparent. is there anything that i can do to fix this?
This has nothing with script.
By default, when you add an new frame on the animation it's semi-transparent. You must change it in each frame of the animation, there's no way to make it automatically.

MayorAnime wrote:
Hey Atoa!

Just letting you know that I've been rigorously testing your ABS for about a week and apart from the small bugs that people have been reporting, I cannot find any major ones!

So far, so good!
Good =]
This is a good thing to know.
I'm having an issue with the steal command. The game freezes when I try to steal anything from the enemy.

Error Spoiler
Image



Add-On's I am using:

Add-On Spoiler
Image


Here is the code. I don't believe I've made a typo of any kind.

  1.  
  2. # Steal Command
  3. Skill_Settings[117] = ["STEAL/BOTH","MOVETYPE/MOVETOTARGET"]
  4.  
  5. # Items that can be Stolen
  6. Enemy_Steal[1] = {'i69' => 90, 'g10' => 10}
  7. Enemy_Steal[2] = {'i71' => 95, 'g12' => 5}
Expand to see the code.
Hey Atoa!

Still no major errors, but I have some functionality questions. I believe that after reading all the ReadMe and FAQs for the engine, there is nothing to answer my question for me:

1) Right now, you can attached effects like random, multi-hit, etc to weapons, items, and skills. Is there a way to attach this to armor of any kind? My reasoning is that for a game I want to develop, I want a certain accessory to give multiple hits to whomever is wearing it. Is this something easily modified in the configs? Or would this require a major redesign on your part?

2) I figured out where this bug that was previously reported is coming from:
Quote:
Status Screen Error: If I want to access the status screen from the menu.
http://img689.imageshack.us/img689/2541/60687934.png

It happens due to some conflict coming from the most current version of the IBC and the Main Code. I cannot figure out what it is, since I am not a coder, but I replicated that error, and removed one module at a time. When I removed the IBC, the error stopped. I'm hoping that helps.

3) Does your Overdrive Plugin only support FFX style overdrives/FF7 overdrives? I am guessing that FF8 overdrives/limit breaks (where they are available after hit points of a character drop below a certain percentage) and FF9 overdrives/trances (where they automatically kick in after a certain amount of damage and then wear off) were not a part of your original design? I know that sounds n00bish, but please understand that I've always tested your code for bugs, not for functionality from a design perspective.

4) I am still learning your Custom Window plugin, so if the answer is there, just tell me, but does your code support room on the battle window or the main game menus for 5 and more characters, in the case of max party being 5 or more, or summons that appear? For example, if I have a party of 4 and summon, making it 5, will that summon's name and information be able to appear on the battle window? Is it just a manner of configuring the batle system from the top to have that many spaces?

5) One of the neat features of RPGMaker 2000, 2003, and VX was the ability to assign a character to be controlled by the computer. Does your summon code or battle engine in general support the ability to make a character, specifically a summoned one, controlled by the computer?


So far, exploring the full functionality of this battle engine, it's the most comprehensive I have ever seen. Good work!
@Lurker77
Are you using the latest 'ACBS | Battle Main Code' version?
This would happen if you were using the bestiary (where there's an small gitch with the steal), but without it, this wouldn't happen.
And by your script list you weren't using it.

@MayorAnime
1 - currenly not, but it's an good thing for v2.1

2 - I will take an look on it.

3 - FF8 Style limit isn't in my plans, but an FF9 like trance may be on an way, i've already made an new add-on: conditional state for skill and commands. So some skills can be used only when an specifc state is on. So now all i have to do is to make the overdrive to cause an state when full.

4 - The battle window suport more than 5 members, but for that i would suggest having the status vertical instead of horizontal, that way thigns would fit easier.
I you use horizontal pattern, you would need to change a lot of things, and make the status display tiny.
I also planning to add more customization opitions to it.
About the main manu, the script doesn't touch it.

5 - There's some scripts that do this, but sadly i didn't find any of them, and making one from the scratch would take some time. So if you know any good Actor AI system, let me know. It would be faster if i make an existing one compatible with this than making an new one.
For some reason my battlers don't appear in game but they will appear in the battle test? I can't figure it out at all.
Hi Atoa,

I'd really like to try out this script, but when trying out the demo none of the text is showing up. Because the text doesnt show up, I cant test anything out. Any suggestions how this can be fixed?

Thanks

Nevermind this post. I restarted a few times without any changes. About an hour later I tried again and the font worked. Not sure what the problem was, but its working now.
wow i can't see any text! 0.o
dylstew wrote:
wow i can't see any text! 0.o

oops.... didn't read above me sorry..

GREAT SCRIPT!

okay... for some reason the overdrive bar won't appear...

and i don't get the charecter sprite configuration thing........

hmmm... i CAN skin some battlers....


anyways this script kicks ass!

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=62914