DoubleX RMVXA Enhanced YSA Battle System: Classical ATB

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Patches


(DoubleX)ECATB Base Formula(Possibly hurts code performance but frees you from copying the same <ecatb rate: RX> to every battler)


Note

 



Even though it's indeed a complete script, I still decided to call its 1st version a testing version, as it's the 1st time I write such a massive script(8500+ lines) with such a huge user settings region(2400+ lines), and the user scripting proficiency demand is so high that I want to know how can I make it more user-friendly by listening to user feedbacks.


Right now I'm especially worrying about:


1. If the instructions aren't helpful enough


2. If this script's too hard for even an user with decent scripting knowledge to use


3. If the user settings region is too big


4. If the user's control and freedom aren't enough


5. If this script's too unperformant



Introduction

 



Back on last year's September, I've begun to think of rewriting the CATB system entirely. I thought "Maybe the rewrite should bundle everything into a single package, as right now the CATB isn't in this way and some users may prefer the former."


As I began working on it, I realized my desired style's quite different from Yami's. For instance, I prefer methods with no more than 10 lines(although a few of mines still breached this limit), while Yami clearly doesn't mind the long methods(up to 60+ lines afaik). The style difference led to more and more redesign and refactoring, to the point that this script might seem to be completely different from CATB, even though this script's core skeleton's still quite similar to CATB's.


I learned a lot during this 7 months(although the actual time I've put is about 7 full weeks), and I want to know how much I've improved. So I used this script as a test. I want to give users as many control and freedom as possible while still keeping this script as user-friendly as possible. That's an extremely tough balance for me to work with and right now I'm not satisfied with this yet. So I want to listen to user feedbacks to see how can I get a better balance.


Finally, I want to emphasize that Yami deserves all the credits, and I'm still going to support CATB as some users may prefer the CATB's easy-to-use and modular addons style.



Purpose


Be an enhanced version of YSA-CATB with bug fixes and addons integrated


Features

 




# 1. Action Input Events(Core) |
# You can set something to occur right before/after inputting actions |
# 2. Action Input Speed(Speed) |
# You can set some enemys and/or actors with autobattle and/or confusion |
# to have action input speeds set by you |
# 3. ATB Bar Colors(Core) |
# You can set some actors, classes, weapons, armors, enemies and/or |
# states to alter their owner's atb bar colors by ways set by you |
# 4. ATB Clock Window(Clock) |
# You can set if and how the atb clock info will be shown in battle |
# 5. ATB Fill Rate(Core) |
# You can set some actors, classes, weapons, armors, enemies and/or |
# states to alter their owner's atb fill rate by ways set by you |
# 6. ATB Force Run/Stop(Force) |
# You can set keys to force the atb clock to run or stop when pressed |
# You can also set if and how the atb force status will be shown |
# 7. ATB Pool(Pool) |
# You can set the atb and action points to be shared among the party or |
# troop |
# Right now it doesn't support toogling this feature in battles |
# (v0.05a+)Right now it doesn't work well with the Gradual Action Points |
# Gain feature |
# 8. ATB Reset Events(Core) |
# You can set something to occur right before and/or after an atb reset |
# 9. ATB Reset Value(Core) |
# You can set some skill or items to reset their users' atb value by |
# values set by You |
# 10. ATB Turn Type(Core) |
# You can set if the turn is based on time, number of actions/battlers |
# 11. ATB Update Events(Core) |
# You can set something to occur right before and/or after an atb update|
# 12. Battler Charging Cancellation/Setup/Target Selection Hotkeys(Hotkey) |
# You can set hotkeys to call actors/enemies that can input actions, be |
# targeted or are charging skills/items |
# 13. Battler Cool Down(Cooldown) |
# You can set some skills or items to cause their users to have to cool |
# down for a while before their atb bar will be filled again |
# 14. Battler Order Window(Order) |
# You can set if and how the battler orders will be shown in battle |
# 15. Battler Ready SE(SE) |
# You can set some battlers to play a se set by users when the battlers |
# become able to act |
# 16. Battler Sprite ATB Bars(Bar) |
# You can set the contents and layouts of the battler sprite atb bars |
# and the conditions for them to be shown |
# 17. Changing battle systems(Core) |
# You can change the battle system to any of those supported by |
# Yanfly Engine Ace - Ace Battle Engine outside battles |
# 18. Cooldown Finish Events(Cooldown) |
# You can set something to occur right after finishing cooldown normally|
# 19. Countdown States(Countdown) |
# You can set some states having duration in seconds and conditions |
# that trigger actions when they're met |
# 20. (v0.04a+)CTB Replication(Core) |
# You can set this script to replicate a CTB system by skipping the atb,|
# charge and cooldown filling times, and the global atb tick clock |
# 21. Dynamic configuration values(Core) |
# Almost all user configuration values can be changed by you on the fly |
# 22. Escape/ATB Wait Conditions(Core) |
# You can set the conditions for party escape and/or the atb clock to |
# stop running |
# 23. Failed Escape Attempt Action Cost(Core) |
# You can set the action costed paid by all party members right after |
# a failed escape attempt |
# 24. (v0.05a+)Gradual Action Points Gain(Action) |
# You can set some battlers' action points to be gained 1 by 1 instead |
# of gaining all action points at once |
# Right now it doesn't work well with the ATB Pool feature |
# 25. Skill/Item Action Cost(Core) |
# You can set some skills or items to have their own action point |
# demands |
# 26. Skill/Item Cancel(Cancel) |
# You can cancel party members' charging skill/items |
# 27. Skill/Item Charging(Charge) |
# You can set party escape, some skills or items to demand users to |
# charge for a while before executing them |
# You can also set some skills or items requiring charging to demands |
# their users to pay the costs after started or finished charging |
# 28. Start ATB Value(Core) |
# You can set some battlers to have their own initial atb values at |
# the beginning of a battle under conditions set by you |
# 29. Unison Skills(Unison) |
# You can set some skills/items to need more than 1 battler to use |
# Right now it only supports actor unison skills/items |



Possibly upcoming features

 




# 1. Action Batch Execution |
# You can set some battlers to input and execute more than 1 actions in a|
# single action input and execution phase respectively |
# 2. Multiple ATB Types |
# You can set some skills/items to use some ATB types and some other |
# skills/items to use some other ATB types |
# 3. Premature Discharge |
# You can set some skills/items to be able to be prematurely executed |
# before it finishes charging under some conditions and trade offs |



Games Using This Script


None so far


Compatibility Fix
http://forums.rpgmakerweb.com/index.php?/topic/38754-doublex-rmvxa-enhanced-ysa-battle-system-classical-atb-compatibility/


Screenshots

 






Video


















Demo


Coming Soon


Tutorial


http://forums.rpgmakerweb.com/index.php?/topic/39020-doublex-rmvxa-enhanced-ysa-battle-system-classical-atb-tutorial/


Prerequisites

 



Scripts:


Yanfly Engine Ace - Ace Battle Engine


Abilities:


1. Solid understanding of the basic active time battle concept


2. Solid understanding of the RMVXA notetag and script call usages


3. Decent RGSS3 scripting proficiency to fully utilize this script



Terms Of Use

 




# You shall: |
# 1. Follow the terms of use of YSA Battle System: Classical ATB |
# 2. Let your published edits of this script be integrated as parts of it |
# 3. Keep this script's Script Info part's contents intact |
# You shalln't: |
# 1. Claim that this script's written by anyone other than DoubleX, his |
# aliases, Yami, or his/her aliases |
# 2. Make an edit of this script while saying it isn't |
# 3. Make a RMVXA project based on this script's demo while saying it isn't |
# None of the above applies to Yami or his/her aliases |



Instructions

 




# 1. Open the script editor and put this script into an open slot between |
# Yanfly Engine Ace - Ace Battle Engine and Main. Save to take effect. |
# 2. This script can't be used with YSA Battle System: Classical ATB. |
# 3. Set DEFAULT_BATTLE_SYSTEM in Yanfly Engine Ace - Ace Battle Engine as |
# :ecatb to set the default battle system as that of this script. |



Author's Notes

 



1. Using Yanfly Engine Ace - Ace Core Engine as well is highly recommended as it fixes the force action bug of this script and improve the atb percent and action points display in the actor atb bars.


2. Using Yanfly Engine Ace - Buff & State Manager is highly recommended as it displays the states' remaining turns.


3. Using Yanfly Engine Ace - Skill Cost Manager is highly recommended as it can display the skills/items' action point requirements by adding AC0 in front of ACX used by those skills/items and using <custom cost: skill.ecatb_act_cost[@actor]>.


4. Using Cidiomar's Input as well is highly recommended as it lets users set custom keymaps, which is useful for features using keyboard inputs.


5. Using DoubleX RMVXA Dynamic Data is highly recommemded as it lets you change the notetag values on the fly.


- ecatb_note_strings[note] is an accessor letting you store your new notetag values of notetag note.


- reset_ecatb_notes(note) applies the above changes.


6. Using DoubleX RMVXA State Counters is highly recommended as it displays the enemy countdown states
7. Using DoubleX RMVXA State Triggers is highly recommended as the CATB Clear Addon and some features of the CATB Countdown Addon are outsourced to that script


8. This is an advanced complicated script, meaning testings are likely needed to comprehend the use of every configuration of this script.


9. This script can run using the default settings but you're still highly recommended to comprehend all user settings of this script.


10. This script checks and corrects most configuration(but not notetag) values, but you're still highly recommended to validate every configuration(and notetag) values themselves.


11. Using too many notetags and/or complicated configuration settings and/or notetag values can cause severe performance issues.



FAQ

 




# Q1. What's the main difference between ECATB and CATB? |
# A1. 1. The former integrates everything except compatibility fix into 1 |
# script while the addons and bug fix of the latter are all separate |
# scripts. |
# 2. Almost all user settings of the former can be changed on the fly |
# easily while lots of the latter are always fixed once set by users |
# or even just hardcoded. |
# 3. Some notetags of the former lets users do more stuffs than some of |
# those of the latter. |
# 4. The code structures and documentations of the former are generally |
# clearer, neater and more logical than those of the latter. |
# 5. The codes of the former are generally more effective, efficient, |
# flexible, maintainable, reliable and robust than the latter. |
# 6. The former does a more thorough user error checking and corrections|
# than the latter for most user settings in most cases. |
# 7. The former generally demands much more from both the users and |
# scripters than the latter. |
# 8. Users can't disable addons in the former while they can add and/or |
# remove the addon of the latter effortlessly. |
# 9. The latter outsources little features to other scripts while the |
# former does this significantly more heavily. |
# Q2. Some settings need scripting knowledge to use. May you please teach me|
# scripting? |
# A2. You can ask me how to set specific settings to meet your specific |
# needs, but it seems to me that there are many good scripting teachers |
# so you may want to ask them instead of me for learning scripting. |
# Q3. Why don't you implement the reverse atb bar feature in this script |
# like what Victor Sant did in his atb script? |
# A3. It's implicitly implemented but the feature is still in this script: |
# 1. Set :ecatb_bar_colors as %Q(Color.new(0, 0, 0, 0), |
# Color.new(0, 0, 0, 0)). |
# It makes the atb bar invisible. |
# 2. Set :ecatb_base_fill_t as %Q(1 / Graphics.frame_rate). |
# It sets the base atb fill rate to be 100% per frame. |
# 3. Set the charge rate of each skill or item as "x". |
# It makes the skill or item to charge x% atb per frame. |
# Q4. Why I'll have to credit Yami but not you when it's your work? |
# A4. It's because this script's an edit of CATB and is heavily based on it.|
# Without Yami's CATB, this script won't exist; Without his term of use |
# permitting editing his CATB, this script won't exist as well. |
# Q5. What's the point of making ECATB when we've CATB? |
# A5. 1. Some users may prefer having everything bundled into a single |
# script and that's the main reason for me to make ECATB. |
# 2. Lets advanced users have much more control and freedom over the |
# script settings. ECATB does that at the cost of significantly |
# raising the demand of user proficiency, while CATB keeps the |
# settings simple at the cost of obviously reducing the settting |
# flexibilities. |
# Q6. Can you make this script easier for non-scripters to use? |
# A6. I tried to make it as easy as I can but right now that's my limit. |
# Q7. Why some settings aren't hardcoded when no users would change them? |
# A7. If that's really the case, I'll consider making them hardcoded. |
# Q8. Why the script configuration part needs to have 2400+ lines? |
# A8. That's because this script does need that many lines to let users set |
# the configurations of this script. You may want to use CATB instead if|
# you don't need most of this script's configurations. |
# Q9. Why 'Let your published edits of this script be integrated as parts of|
# it' is included in the terms of use? |
# A9. 1. It means I want to reserve that right but that doesn't mean I'll |
# always do so. I'll never do so without discussing that with you. |
# I'll even try to have your permissions beforehand. |
# 2. Integrating the edits into this script may perform better in some |
# cases. A case-by-case approach will be used for discussing that. |
# 3. If I didn't reserve that right, things could be chaotic when some |
# edits done by some people did conflict with some of the others by |
# some other people. Reserving this right can indeed be an insurance.|
# 4. I'll credit you and clearly stating which parts are your work. |



Authors

 




# DoubleX: |
# 1. This script |
# Yami: |
# 1. YSA Battle System: Classical ATB |



Changelog

 




# v0.05b(GMT 0200 7-11-2015): |
# 1. Updated (DoubleX)ECATB Base Formula |
# 2. Notetag values are now symbols of methods in the configuration regions |
# 3. Fixed battler order icon not placed correctly when atb >= 100.0 bug |
# 4. Simplified the party/troop atb pool reset implementations |
# 5. Updated some outdated documentations |
# 6. Further improved this script's compatibility, efficiency and simplicity|
# v0.05a(GMT 0400 21-10-2015): |
# 1. Implemented the Gradual Action Points Gain feature |
# - Right now it doesn't work well with the ATB Pool feature |
# 2. Updated (DoubleX)ECATB Base Formula |
# 3. Added configuration :ecatb_countdown_mib in the added feature COUNTDOWN|
# 4. ecatb_se_ready_act changed to take SE or nil instead of an array |
# 5. Fixed battler order and se notetags falsely returning nil bug |
# 6. Fixed undisposed battler atb order icons upon battle end bug |
# 7. Fixed repeated actor sprite creation bug |
# 8. Fixed battler atb order icons not keeping updated upon icon change bug |
# 9. Fixed pre ecatb input act only triggering upon becoming able to act bug|
# 10. Fixed split second countdown interval never updating turns bug |
# 11. Fixed active actor command window not showing in atb pool mode bug |
# 12. Fixed enemy atb bar not showing for those having at least 1 state bug |
# 13. Fixed nil cooldown rate when the atb gain rate remain unchanged bug |
# 14. Fixed false unison charging for non unison skills/items after using |
# unison ones bug |
# 15. Fixed corrupted battler's last skill/item cache bug |
# 16. Fixed running the atb frame update upon battle end bug |
# 17. Fixed non-sync unison cooldown with party/troop atb pool mode bug |
# 18. Fixed troop atb pool reset not resetting all enemies' atb values bug |
# 19. Fixed party/troop atb pool reset falsely resetting other members' |
# actions bug |
# Right now all members' actions will still be reset when the action |
# point pool's depleted |
# 21. Fixed battler ready se not playing when the battler's become able to |
# act bug |
# 22. Debugging this script becomes easier and simpler with the console open|
# 23. Removed some more redundant variables and methods |
# 24. Further boosted this script's compactness, correctness, effectiveness,|
# efficiency, maintainability, readability, robustness and simplicity |
# v0.04f(GMT 0400 12-9-2015): |
# 1. Added 3 script calls for notifying changes of new status window methods|
# 2. The battler sprite atb bar methods are now under ECATB_Bar |
# 3. Fixed issues with clearing/resetting battler blocks twice consecutively|
# 4. Further improved this script's effectiveness, efficiency and robustness|
# v0.04e(GMT 1500 11-8-2015): |
# 1. Fixed crash upon changing equips outside battles bug |
# 2. Fixed triggering pre and post atb reset effects upon battle end bug |
# 3. Fixed enemy ecatb bar show not working properly bug |
# 4. Fixed actors added during battles not properly initialized bug |
# 5. Fixed disabling party escape if not all party members are movable bug |
# 6. Fixed failed party escape attempts not cooling down properly bug |
# 7. Updated the outdated configuration documentations |
# 8. Further improved this script's compactness, memory usage and robustness|
# v0.04d(GMT 1400 1-8-2015): |
# 1. Updated (DoubleX)ECATB Base Formula |
# 2. Changed :color to :atb and %Q(%Q()) to %Q() |
# 3. Added configuration :ecatb_bar_multilayer in feature BAR |
# 4. Changed configuration :ecatb_actor_hotkeys to :ecatb_battler_hotkeys |
# 5. UNISON_DEFS doesn't have to include method arguments now |
# 6. Battler bars displayed on their sprites can overlap with status window |
# 7. Added video https://www.youtube.com/watch?v=6E0-X0wbLAM |
# 8. Fixed complete freeze upon battle end in the ctb replication mode bug |
# 9. Fixed actors being inputable without action points in the atb pool mode|
# 10. Fixed uncleared blocks for actors not in the party when saving bug |
# 11. Fixed unison rules not being properly applied to user's methods bug |
# 12. Fixed countdown freeze not freezing the countdown clock entirely bug |
# 13. Fixed notetag value reevaluation not always correctly triggered bug |
# 14. Further increased this script's compactness, compatibility, |
# correctness, effectiveness, efficiency, flexibility, maintainability, |
# modularity, readability, robustness, simplicity and user-friendliness |
# v0.04c(GMT 1600 5-7-2015): |
# 1. Fixed duplicate actor sprite creations from other scripts doing so |
# 2. Fixed executing and/or inputting actions from/to hidden battlers bug |
# 3. Further increased this script's compactness and efficiency |
# 4. Removed some more redundant variables and compatibility socket methods |
# v0.04b(GMT 1600 29-6-2015): |
# 1. Reduced lag right after executing actions with ctb replication |
# 2. Fixed nil atb bar color bug upon party member change at battle end |
# 3. Removed some redundant variables and compatibility socket methods |
# v0.04a(GMT 0300 27-6-2015): |
# 1. Implemented the CTB Replication feature |
# 2. Lets users set if problematic configuration values will be reset |
# 3. Fixed retrieving nil battler name bug in the help window |
# 4. Increased this script's compactness and memory performance |
# v0.03a(GMT 0900 27-5-2015): |
# 1. Implemented these features: |
# - Action Input Events |
# - ATB Reset Events |
# - Cooldown Finish Events |
# 2. Improved this script's efficiency and robustness |
# v0.02d(GMT 0400 25-5-2015): |
# 1. Fixed starting atb value not working bug |
# 2. Fixed some typos and outdated stuffs |
# v0.02c(GMT 1300 15-5-2015): |
# 1. Fixed default atb starting value not working bug |
# 2. Fixed nil color upon victory and unexpected change equip results bug |
# 3. Fixed not clearing battlers' lambdas before calling Marshal bug |
# 4. Fixed failing to load saved games upon restarting the game bug |
# 5. Fixed unison method rules not working bug |
# 6. Improved the battler cooldown and party escape implementations |
# 7. Further improved this script's efficiency |
# v0.02b(GMT 1500 12-5-2015): |
# 1. Fixed some typos and outdated stuffs |
# 2. Fixed order battler icon bugs upon adding/removing party members |
# v0.02a(GMT 0700 9-5-2015): |
# 1. Implemented the Action Input Speed feature |
# 2. Further improved this script's efficiency |
# v0.01b(GMT 1600 4-5-2015): |
# 1. Improved this script's efficiency |
# v0.01a(GMT 1300 2-5-2015): |
# 1. Implemented the Battler Order Window feature |
# v0.00d(GMT 0800 22-4-2015): |
# 1. Fixed actor auto battle and confusion action not executing properly bug|
# 2. Fixed compatibility methods not being called bug |
# 3. Fixed unison charging value reset bug(the charging finishes upon reset)|
# v0.00c(GMT 1200 18-4-2015): |
# 1. Fixed the atb bar y offset not working bug |
# 2. Fixed the faulty example notetag values of <ecatb color: type, num, CX>|
# 3. Found unison charging value reset bug(the charging finishes upon reset)|
# v0.00b(GMT 0900 15-4-2015): |
# 1. Outsourced the countdown state sprite display to |
# DoubleX RMVXA State Counters |
# 2. Actor atb bars can be displayed on their sprites |
# v0.00a(GMT 1200 9-4-2015): |
# 1. 1st testing version of this script finished |



(DoubleX)ECATB v0.05b.rar
 

Attachments

Last edited by a moderator:

Dr.Yami

。◕‿◕。
Developer
Joined
Mar 5, 2012
Messages
994
Reaction score
738
First Language
Vietnamese
Primarily Uses
Other
@DoubleX: I think people should credit you as well, since the script has been heavily modified. All of my scripts can be found in my github is published under MIT License so that people can fork and/or create their scripts/systems based on my scripts collection, even for commercial purposes :)
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Updates

Changed the terms of use to:(The bolded part is the changed part)

You shall:

1. Follow the terms of use of YSA Battle System: Classical ATB

2. Let your published edits of this script be integrated as parts of it

3. Keep this script's Script Info part's contents intact

You shalln't:

1. Claim that this script is written by anyone other than DoubleX, his aliases, Yami, or his/her aliases

2. Make an edit of this script while saying it isn't

3. Make a RMVXA project based on this script's demo while saying it isn't

None of the above applies to Yami or his/her aliases

Again, Yami's such a nice scripter :)

P.S.: Actually I'd be glad if the users do credit me, but I still want to keep it optional :D
 

tiagoms

Veteran
Veteran
Joined
May 19, 2014
Messages
181
Reaction score
4
Primarily Uses
Nice!
 
Last edited by a moderator:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Updates

Added a video:

https://www.youtube.com/watch?v=E692R6s8F0I

v0.00b(GMT 0900 15-4-2015):

1. Outsourced the countdown state sprite display to DoubleX RMVXA State Counters

2. Actor atb bars can be displayed on their sprites
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
856
First Language
German
Primarily Uses
Maybe i'm doing something wrong, but for me all battlers act at the same time, AGI has no effect at all.

Script order:

- YanFly Core

- YanFly Battle Engine

- ECATB

- Compatibility Fix

- Yami's Revival Fix for YanFly Battle Engine

By looking at the code i see:

:ecatb_battlers_def_sum => %Q(%Q([:agi])
Code:
def ecatb_gain_rate    base = update_ecatb_base    # Reevaluates the atb rate only if any of its components' changed    if base[0] || ecatb_battler_change?(:rate)      set_ecatb_rate      @ecatb_notes[:rate].each { |rate| eval(rate) }      @ecatb_rate[:color] = base[1][:val]    end    #    @ecatb_rate[:color]  end
Code:
def update_ecatb_base    # Checks if the number of battlers, methods sums or the fill time's changed    change = false    types = {      size: BattleManager.ecatb_def_sum_battlers.size,      sum: BattleManager.ecatb_battlers_def_sums,      val: 100.0 / (BattleManager.ecatb_base_fill_t * Graphics.frame_rate)    }    types.each { |key, val|      next if @last_ecatb_base[key] == val      @last_ecatb_base[key] = val      change = true    }    [change, types]    #  end
It seems for me as if every battler uses the sum of everyone to determine his speed, so they all end up with the same ecatb_gain_rate

Did i miss something or do i need to set notetags for every actor and enemy?
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
You need to use the <ecatb rate: RX> for every battler to set their atb gain rate, otherwise all battlers will share the same atb gain rate, which is the base atb gain rate(100 / atb fill time).

RX can be set in the Rate Notetag Values.

Maybe I need to explicitly mention that in the script, as it seems to be unclear for you and possibly some other users :)
 
Last edited by a moderator:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Joined
Jan 23, 2014
Messages
159
Reaction score
19
First Language
English
Hello Double,

Thanks for the script. However I have come across the bug that I don't think you have looked at, based off the scripts you have listed and such.

Yanfly's Command List has a bug where if you have the setting USE_CONFIRM_WINDOW set to false the screen will freeze because it is waiting for a user's response, like pressing okay on the window to execute. Only happens with CATB and your script.

Also if it is set to true, it won't completely dispose. Here are some pictures:

USE_CONFIRM_WINDOW set to false: http://i.imgur.com/EZnilJn.png

USE_CONFIRM_WINDOW set to true: http://i.imgur.com/ZfgUKMc.png

Another one is two fold same error but different scripts.

Yanfly's Victory Aftermath: http://i.imgur.com/dvhkzts.png

Yami's Equipment Learning: http://i.imgur.com/uLNnKGy.png

Finally, Equip Command makes the game pause like USE_CONFIRM_WINDOW set to false does. 

Equip Command: 

Getting to Equip Scene: http://i.imgur.com/Ywh024G.png\

Aftermath: http://i.imgur.com/msl1Aq7.png

Any advice?

Thanks
 
Last edited by a moderator:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Both CATB and ECATB aren't compatible with Yanfly's Command List yet, and fixing these issues are already in my schedule :D

For the Yanfly's Victory Aftermath issue, I highly suspect you didn't use ECATB compatibility:

http://forums.rpgmakerweb.com/index.php?/topic/38754-doublex-rmvxa-enhanced-ysa-battle-system-classical-atb-compatibility/

For the Yami's Equipment Learning issue, it's likely an unaddressed compatibility issue as I didn't even used at that before, so I'll try to fix that in ECATB compatibility :)

For the Equip Command, I really need to check about that. As so far I didn't found any compatibility issue between that script and CATB, and ECATB is based on CATB, I didn't recheck the compatibility with that script lol
 
Joined
Jan 23, 2014
Messages
159
Reaction score
19
First Language
English
Both CATB and ECATB aren't compatible with Yanfly's Command List yet, and fixing these issues are already in my schedule :D

For the Yanfly's Victory Aftermath issue, I highly suspect you didn't use ECATB compatibility:

http://forums.rpgmakerweb.com/index.php?/topic/38754-doublex-rmvxa-enhanced-ysa-battle-system-classical-atb-compatibility/

For the Yami's Equipment Learning issue, it's likely an unaddressed compatibility issue as I didn't even used at that before, so I'll try to fix that in ECATB compatibility :)

For the Equip Command, I really need to check about that. As so far I didn't found any compatibility issue between that script and CATB, and ECATB is based on CATB, I didn't recheck the compatibility with that script lol
Actually I do have the ECAB compatibility, Right under your ECATB script. It still gives me the same error as before with Equipment Learning and Victory Aftermath

Script List: http://i.imgur.com/4k6rAv3.png

Also thanks so much! You are great!
 
Last edited by a moderator:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
I failed to reproduce the command equip bug :)

Also, as a general rule, place the compatibility script below all scripts addressed by the former.

For the Victory Aftermath compatibility issue, that script must be placed above ECATB to fully solve that issue(although not doing so will only raise minor issues anyway) :D

Updates

v0.00d(GMT 0800 22-4-2015):

- Fixed actor auto battle and confusion action not executing properly bug

- Fixed compatibility methods not being called bug

- Fixed unison charging value reset bug(the charging finishes upon reset)
 
Last edited by a moderator:
Joined
Jan 23, 2014
Messages
159
Reaction score
19
First Language
English
I failed to reproduce the command equip bug :)

Also, as a general rule, place the compatibility script below all scripts addressed by the former.

For the Victory Aftermath compatibility issue, that script must be placed above ECATB to fully solve that issue(although not doing so will only raise minor issues anyway) :D

Updates

v0.00d(GMT 0800 22-4-2015):

- Fixed actor auto battle and confusion action not executing properly bug

- Fixed compatibility methods not being called bug

- Fixed unison charging value reset bug(the charging finishes upon reset)
Thanks, now I am getting this error: http://i.imgur.com/1BkB7KA.png

on this line. http://i.imgur.com/m2KTKpL.png

This happens when I kill an enemy.

EDIT: I commented out the lines in def die to get passed that error, now i'm still getting the AP Learning and Probably VA Aftermath errors again.

I put the compatibility fixes at the bottom of my list to attempt to alleviate it, however It hasn't. D:
 
Last edited by a moderator:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
For that error in your quoted line, I highly suspect it's an unknown compatibility issue. I think you'll have to give me your demo this time :)
 
Last edited by a moderator:
Joined
Jan 23, 2014
Messages
159
Reaction score
19
First Language
English
For that error in your quoted line, I highly suspect it's an unknown compatibility issue. I think you'll have to give me your demo this time :)
Actually, It seems that if i move the ECATB script to the bottom of my list as well,  it works!

:o

Also if you still want to look at my demo you may, it's a lot of scripts though. Since I don't know what the problem is. :o

And you can see the Equip Command Bug I was talking about.

https://www.dropbox.com/s/kbcfj6xq2es1nqv/Test%20Project.zip?dl=0
 
Last edited by a moderator:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
The Equip Command bug stems from EQUIP_SKIPTURN being true. As the equip command is on an actor basis and ECATB doesn't have the battler skip turn concept, setting EQUIP_SKIPTURN as true will cause conflict on the concept level. To fix this compatibility issue, I must first know what should happen if EQUIP_SKIPTURN is true :)
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Updates

v0.01a(GMT 1300 2-5-2015):

1. Implemented the Battler Order Window feature

P.S.: I don't know why, but I just can't edit the op post. No contents' shown after I clicked edit, and clicking Use Full Editor or Cancel gives me no responses:

When I click Save Changes, the below message's shown:

However, I can still download the file in the op post, and I can edit my other topics just fine. I think I need help on this one


The exact same problem happened at the VXAN topic of this script:



My wild guess is that the contents are too long.

BTW, the latest information and updates can be found at:

http://rpgmaker.net/scripts/549/
 
Last edited by a moderator:
Joined
Jan 23, 2014
Messages
159
Reaction score
19
First Language
English
The Equip Command bug stems from EQUIP_SKIPTURN being true. As the equip command is on an actor basis and ECATB doesn't have the battler skip turn concept, setting EQUIP_SKIPTURN as true will cause conflict on the concept level. To fix this compatibility issue, I must first know what should happen if EQUIP_SKIPTURN is true :)
Sorry for the late reply, EQUIP_SKIPTURN is suppose to when you equip an item. whether it was a weapon or an armor. It disables the equip command for x amount of turns, which is set in the script.
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,464
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Sorry for the late reply, EQUIP_SKIPTURN is suppose to when you equip an item. whether it was a weapon or an armor. It disables the equip command for x amount of turns, which is set in the script.
How about just using EQUIP_COOLDOWN instead?

P.S.: About the Battle Command List compatibility issue with USE_CONFIRM_WINDOW set to false, I suspect it's not a bug - as the atb clock(as shown in the clock window) is forced to stop as shown in the atb force status window in your screenshot("ATB Force Stop"), and setting up the actor command window(the missing window in your screenshot) needs 1 atb frame update, it should be shown in the next atb frame update if the atb clock is allowed to be run("No Force ATB" or "ATB Force Run").

For the compatibility issue with USE_CONFIRM_WINDOW set to true, it turns out to me a lot more complicated than what I expected. I'll still try to solve it though :)
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I really need to stop thinking there are new freebies just because someone made a new post in the freebies subforum lol.
AND just like that..... I got STEAM DLC up and working! YES!
Game making is like a marathon, except the last 1/4 is more like sprint... a very long and intense sprint.
Finally got to finish the demo for my project!
Another week has gone by. Maybe you made changes to your project/s. Maybe you didn't. Nonetheless, THAT IS NO EXCUSE TO NOT BACK THEM UP O_O!

Forum statistics

Threads
93,441
Messages
912,445
Members
122,968
Latest member
Paitshens
Top