Hi, Yanfly. Having an issue with the
YEP_BattleEngineCore plugin. I'm getting an error message anytime Magic Reflection activates. I've disabled all other plugins, and still seem to be getting the error. I am running the latest version, 1.35b, as well.
Plugin Name: YEP_BattleEngineCore
Bug Explanation: As soon as Magic reflects, reflect and damage sounds are played, and then bug occurs immediately, reading
"Cannot read property 'position' of null". This bug occurs even after disabling all other plugins. The error occurs anytime magic is reflected, whether the spell is single- or multi-target.
Error Report:
rpg_managers.js:1618 TypeError: Cannot read property 'position' of null
at Sprite_Actor.Sprite_Battler.setupAnimation (file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/rpg_sprites.js:578:30)
at Sprite_Actor.Sprite_Battler.updateAnimation (file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/rpg_sprites.js:542:10)
at Sprite_Actor.Sprite_Battler.update (file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/rpg_sprites.js:494:14)
at Sprite_Actor.Sprite_Battler.update (file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/plugins/YEP_BattleEngineCore.js:2470:38)
at Sprite_Actor.update (file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/rpg_sprites.js:736:37)
at file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/rpg_core.js:3290:19
at Array.forEach (native)
at Sprite.update (file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/rpg_core.js:3288:19)
at file:///C:/Users/EliteFerrex/Documents/Games/Lumina%20Legacy/js/rpg_core.js:3290:19
at Array.forEach (native)
Exact Steps on How to Replicate Bug:
Enemy casts magic on target that possess Magic Reflection, and Reflection activates. In the sample project, I recommend fighting Troop #233. On turn #2, enemy will guaranteed use a magic attack which will reflect due to actor position 1 & 2's shields.
Sample Project (REQUIRED):
https://drive.google.com/file/d/0B1J4eEW0VOhYWFhLbDRGc09Bb1E/view?usp=sharing (Smallest filesize I could get was 217 MB. Hope that's okay.)
Redo this.
ALL bug reports MUST follow these guidelines and use this template:
Plugin Name: (What is the name of the plugin?)
Bug Explanation: (What is the bug in your own words? Keep this detailed. "It isn't working right" is not a valid bug report.)
Error Report: (If you received an error message, press F8 when the message is received to open up the debug console, then copy/paste the entire error log and paste it here).
Exact Steps on How to Replicate Bug: (Write out IN DETAIL, a step-by-step guide on how to replicate the bug.)
Sample Project (REQUIRED): A sample project MUST be attached to the bug report. All steps MUST be followed. If a single step is ignored, the bug report is invalid and I will move on to the next bug report.
1. Download all the newest updates of the plugin.
2. Create a new project. Do NOT just copy over your game project folders. This should be just a stock, empty, new RPG Maker MV project. If I do not see an empty project with Harold, Therese, Marsha, and Lucius, I will not look any further.3. If the project's file size is above 200 MB, remove unnecessary audio and image files until you reach that size. Usehttp://forums.rpgmakerweb.com/index.php?/topic/47985-mvstripper-remove-unused-assets-from-your-mv-project/ if you need some help doing so.4. Install -only- the affected plugins. If you're using non-YEP plugins, do NOT include them.5. Do -NOT- rename the plugins' filenames. They cease to work if you do so.6. Make sure they're in the EXACT order listed on http://yanfly.moe/yep/. The ordering of plugins is important.7. Recreate the error in the sample project. MAKE SURE you are using notetags in the right place and haven't misspelled anything.
8. Archive the project with WinZip or WinRAR. Do not archive it multiple times. It does not compress it further.9. Do -NOT- deploy the project through File > Deployment. Upload the project online to a website like MediaFire.com or Mega.co.nz or Dropbox. Please do not use a website that involves timers like 4shared, RapidShare, etc. If I am time-gated from downloading the project, I will ask you to reupload it to somewhere else.
10. Post the link here and I'll take a look at it.
You've clearly didn't read the instructions at all. If you can't put in the time to follow the instructions I've provided, I'm afraid I can't put in the time to help fix the bug.
---
Plugin Name: Selection Control
Bug Explanation: When dispersing damage, the game reduces damage to the damage caps before splitting damage. Instead, it would make more sense that damage caps should be applied AFTER splitting damage, once the FINAL damage is calculated.
For example, An attack of 50000 damage hits a slime with 0 Defense, and there is a damage cap is at 9999. Therefore, the damage to a single slime will be 9999, capped from 50000.
Another battle occurs and this time there are 4 slimes. I use the same attack but make it an AOE using the Selection Control. Each slime should take 12500 damage, and then be capped to 9999 damage to each slime. Instead, each slime takes 50000 damage, this 50000 damage is capped to 9999, THEN disperse damage kicks in, making the final damage to each slime only 2500, which is far less than expected.
ALL bug reports MUST follow these guidelines and use this template:
Plugin Name: (What is the name of the plugin?)
Bug Explanation: (What is the bug in your own words? Keep this detailed. "It isn't working right" is not a valid bug report.)
Error Report: (If you received an error message, press F8 when the message is received to open up the debug console, then copy/paste the entire error log and paste it here).
Exact Steps on How to Replicate Bug: (Write out IN DETAIL, a step-by-step guide on how to replicate the bug.)
Sample Project (REQUIRED): A sample project MUST be attached to the bug report. All steps MUST be followed. If a single step is ignored, the bug report is invalid and I will move on to the next bug report.
1. Download all the newest updates of the plugin.
2. Create a new project. Do NOT just copy over your game project folders. This should be just a stock, empty, new RPG Maker MV project. If I do not see an empty project with Harold, Therese, Marsha, and Lucius, I will not look any further.
3. If the project's file size is above 200 MB, remove unnecessary audio and image files until you reach that size. Usehttp://forums.rpgmakerweb.com/index.php?/topic/47985-mvstripper-remove-unused-assets-from-your-mv-project/ if you need some help doing so.
4. Install -only- the affected plugins. If you're using non-YEP plugins, do NOT include them.
5. Do -NOT- rename the plugins' filenames. They cease to work if you do so.6. Make sure they're in the EXACT order listed on
http://yanfly.moe/yep/. The ordering of plugins is important.
7. Recreate the error in the sample project. MAKE SURE you are using notetags in the right place and haven't misspelled anything.
8. Archive the project with WinZip or WinRAR. Do not archive it multiple times. It does not compress it further.9. Do -NOT- deploy the project through File > Deployment. Upload the project online to a website like MediaFire.com or Mega.co.nz or Dropbox. Please do not use a website that involves timers like 4shared, RapidShare, etc. If I am time-gated from downloading the project, I will ask you to reupload it to somewhere else.
10. Post the link here and I'll take a look at it.