OcRam - Battle_EX plugin (for MV)

● ARCHIVED · READ-ONLY
Started by OcRam 34 posts Page 2 of 2 View original ↗
  1. Kike said:
    Ahhh!!! now I got it! I though the force_ids just would add extra enemies! :headshake: SORRY!!! :headshake:

    I mean to add enemies before battle, for example...

    * If there's 5 spiders and 5 bats in a map as events that moves... and the player clicks in 1 spider event, a battle would start with at least 1 spider;

    * If near the spider/player is near another spider and 1 bat, the enemies battlers would be 2 spiders and 1 bat

    * It could be a radius event detect or something like, that detects "battler events" near, and join them in the same battle

    It would be like in Chrono Trigger, but, why I don't use Chrono Engine? well... I still prefer the battle system more complex that I made with action sequences and another conditional things :D so I tried to use yours to avoid the premade trops! :)
    Thank you for the message!

    This is cool idea! I will try to find time to do this. I will notify you when I have more info or schedule to this.
  2. OcRam said:
    Thank you for the message!

    This is cool idea! I will try to find time to do this. I will notify you when I have more info or schedule to this.

    :kaoluv: Wow, really!? so thank you! I'd love to use it! :D
    :kaosalute: I'll be cheering for you xD
  3. Hey again @OcRam I want to say the issue is just me, but when I launch this plugin, even in a new project, and start a battle (and attack or get attacked) I get this error, "Cannot read property 'result' of undefined - and much more in the console log. If you need anymore information about it, let me know.
  4. DeadlyEssence01 said:
    Hey again @OcRam I want to say the issue is just me, but when I launch this plugin, even in a new project, and start a battle (and attack or get attacked) I get this error, "Cannot read property 'result' of undefined - and much more in the console log. If you need anymore information about it, let me know.
    Thank you for the report,

    I tried to replicate this, but I couldn't re-produce described issue. Can you send me console log?
  5. Sure, in a new project with only the community basic plugin and your battle ex plugin, when I start a battle, and initiate attacks this error comes up.

    rpg_managers.js:1949 TypeError: Cannot read property 'result' of undefined
    at Game_Action.apply (rpg_objects.js:1647)
    at Function.BattleManager.invokeNormalAction (rpg_managers.js:2549)
    at Function.BattleManager.invokeAction (rpg_managers.js:2540)
    at Function.BattleManager.updateAction (rpg_managers.js:2522)
    at Function.BattleManager.update (rpg_managers.js:2253)
    at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
    at Scene_Battle.update (rpg_scenes.js:2257)
    at Function.SceneManager.updateScene (rpg_managers.js:2024)
    at Function.SceneManager.updateMain (rpg_managers.js:1983)
    at Function.SceneManager.update (rpg_managers.js:1907)
    SceneManager.catchException @ rpg_managers.js:1949

    It works fine if I turn your plugin off.

    Hope that helps
  6. DeadlyEssence01 said:
    Sure, in a new project with only the community basic plugin and your battle ex plugin, when I start a battle, and initiate attacks this error comes up.

    rpg_managers.js:1949 TypeError: Cannot read property 'result' of undefined
    at Game_Action.apply (rpg_objects.js:1647)
    at Function.BattleManager.invokeNormalAction (rpg_managers.js:2549)
    at Function.BattleManager.invokeAction (rpg_managers.js:2540)
    at Function.BattleManager.updateAction (rpg_managers.js:2522)
    at Function.BattleManager.update (rpg_managers.js:2253)
    at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
    at Scene_Battle.update (rpg_scenes.js:2257)
    at Function.SceneManager.updateScene (rpg_managers.js:2024)
    at Function.SceneManager.updateMain (rpg_managers.js:1983)
    at Function.SceneManager.update (rpg_managers.js:1907)
    SceneManager.catchException @ rpg_managers.js:1949

    It works fine if I turn your plugin off.

    Hope that helps
    Thank you for your time to report this,

    Still can't re-produce this... What is the version of your project rpg_core.js?
  7. My project version is 1.6.2 - I recently got RPG maker so I haven't had a previous version of it.
  8. I have the same issue as @DeadlyEssence01: «TypeError: Cannot read property 'result' of undefined» during battle, when someone (friend or foe) takes any action (attack, skill, guard). RMMV 1.6.2, Steam version, new project with no other plugins.

    It seems to happen only when the Substitute field in the plugin parameters is blank. I tried putting target.isDying() && !this._action.isCertainHit() there, and it worked.

    Hope that helps.
  9. hwren said:
    I have the same issue as @DeadlyEssence01: «TypeError: Cannot read property 'result' of undefined» during battle, when someone (friend or foe) takes any action (attack, skill, guard). RMMV 1.6.2, Steam version, new project with no other plugins.

    It seems to happen only when the Substitute field in the plugin parameters is blank. I tried putting target.isDying() && !this._action.isCertainHit() there, and it worked.

    Hope that helps.
    You nailed it! It was exactly empty "Substitute behaviour" parameter what broke it.

    Thank you for the information! I will release update right after I'm done with "OcRam_Core" functionality (it will be common for my all plugins). And at this point I will embed Core to all plugins so you do not need to download it separately (it's really small at this point).

    I'm currently working on OcRam_Audio_EX v2.00 where I will (re)introduce embedded OcRam_Core v1.00.

    Purpose of OcRam_Core is simple: Clarify code structure, give more performance during game play and make it easier to create plugins.

    Example for speeding up: debugging consumes CPU time only when "Debug mode" is ON! Core will make prototyping easier for commonly used function (possibility to extend before and/or after base functions - instead of always declaring them in every plugin again and again).
  10. Is this plugin only used for symbol encounters, or does it work with random encounters too? I've read through the apparent answer that was given a few years back, but it isn't quite clear to me.
  11. Sword_of_Dusk said:
    Is this plugin only used for symbol encounters, or does it work with random encounters too? I've read through the apparent answer that was given a few years back, but it isn't quite clear to me.
    Thank you for the message,

    In theory if "init" is called before battle it should work in any battle.
  12. OcRam said:
    Thank you for the message,

    In theory if "init" is called before battle it should work in any battle.
    So simply setting up a call for "init" in an autorun event before the game begins would ensure that every future random encounter would have dynamic troops?
  13. Sword_of_Dusk said:
    So simply setting up a call for "init" in an autorun event before the game begins would ensure that every future random encounter would have dynamic troops?
    In theory yes. But after any battle "init" must be called again.