Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
96
First Language
English
Primarily Uses
RMMV
@DrJDorian Yanfly's Battle Core doesn't really mess with the Audio (his Core Engine might). all it does is use the SoundManager class to play sounds, which it does 8 times.

As of YF_Battle Core 1.44 and DSEIV_Audiolag fix 0.81 , i can't replicate your issue... it runs perfectly. Though i only tested the thing in battles,(evented and RDM encounters)

You do mention that you use PreloadManager. PreloadManager is very incomaptible with AudioLag Fix and im pretty sure its incompatible with MV past 1.4 (could be wrong haven't checked). any plugin that modifes AudioManager is lilkely to be incompatible as is the case with PreloadManager but NOT YF_Battle Engine.

Also make sure your Core files are up to date(they dont update Automatically!). if you do have errors please show a screenshot of the crash console (press F8) and a list of other plugins you have installed.
 
Last edited:

DrJDorian

Take Your Heart
Member
Joined
Apr 8, 2014
Messages
11
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
@DrJDorian Yanfly's Battle Core doesn't really mess with the Audio (his Core Engine might). all it does is use the SoundManager class to play sounds, which it does 8 times.

As of YF_Battle Core 1.44 and DSEIV_Audiolag fix 0.81 , i can't replicate your issue... it runs perfectly. Though i only tested the thing in battles,(evented and RDM encounters)

You do mention that you use PreloadManager. PreloadManager is very incomaptible with AudioLag Fix and im pretty sure its incompatible with MV past 1.4 (could be wrong haven't checked). any plugin that modifes AudioManager is lilkely to be incompatible as is the case with PreloadManager but NOT YF_Battle Engine.

Also make sure your Core files are up to date(they dont update Automatically!). if you do have errors please show a screenshot of the crash console (press F8) and a list of other plugins you have installed.

I updated the YF Core and everything and it keeps giving me this error when I hit an enemy:

245fpdv.png


10y3riv.png
 

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
96
First Language
English
Primarily Uses
RMMV
Firstly thanks for postinga screenshot of the console.

Secondly ignore the Yellow Traingle warnings, these only happen once per sound when it loads. due to the way SE work the time property of each must be reset on each play.
The are two errors.

1. Invalid State
Firstly is the Invalid state errors, this happens when you try playing two sounds from a single HTML source. These can be hard to fix since they don't actaully tel lyou whats happening. they usually only happen on "static" SE's.

if you call "play" directly (*not via AudioManager)on the sound buffer twice it will also create this error. this becuase play create a new source node, but since the HTMLsource already has one, it throws an error. this can also happen if something overwrite's AudioManager.playStaticSE. Yanfly's plugins do not do this.

2. Null Reference
the second is likely the result of the first. bascially the HTMLsource is null, thus calling duration on it makes no sense.
usually a null HTML media element, the sound won't even try to play. and a "no file found" is thrown instead.

Conclusion

unfortunately i can't get any of these errors to show up. with Both YF_CoreEngine and YF_BattleCore it works perfectly with no errors. I think there's another plugin at work here or something screwing with your system sounds. OR your projects MV core files aren't up to date(these are rpg_core.js, rpg_windows.js, rpg_scenes.js, rpg_managers.js, rpg_objects.js, rpg_sprites.js and all files in the js/lib folder).

if you can post a list of plugins you are using.

Try testing in a blank project with only DSE_AudioLagFix, YF_BattleCore and YF_CoreEngine. I have tried this already and it works perfectly on my end. if it works then something is wrong the your project.

also if you have PreloadManager installed you should remove AudioLag or PreloadManager. this and Galenmereth's
plugin are incompatible by nature as they are designed to reach the same goal in a different way.
 
Last edited:

DrJDorian

Take Your Heart
Member
Joined
Apr 8, 2014
Messages
11
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
Firstly thanks for postinga screenshot of the console.

Secondly ignore the Yellow Traingle warnings, these only happen once per sound when it loads. due to the way SE work there time must be reset on each play.
The are two errors.

1. Invalid State
Firstly is the Invalid state errors, this happens when you try playing two sounds from a single HTML source. These can be hard to fix since they don't actaully tel lyou whats happening. they usually only happen on "static" SE's.

if you call "play" directly (*not via AudioManager)on the sound buffer twice it will also create this error. this becuase play create a new source node, but since the HTMLsource already has one, it throws an error. this can also happen if something overwrite's AudioManager.playStaticSE. Yanfly's plugins do not do this.

2. Null Reference
the second is likely the result of the first. bascially the HTMLsource is null, thus calling duration on it makes no sense.
usually a null medial element meand the sound won't even try to play. and a "no file found" is thrown instead.

Conclusion

unfortunately i can't get any of these errors to show up. with Both YF_CoreEngine and YF_BattleCore it works perfectly with no errors. I think there's another plugin at work here or something screwing with your system sounds. OR your projects MV core files aren't up to date(these are rpg_core.js, rpg_windows.js, rpg_scenes.js, rpg_managers.js, rpg_objects.js, rpg_sprites.js and all files in the js/lib folder).

if you can post a list of plugins you are using.

Try testing in a blank project with only DSE_AudioLagFix, YF_BattleCore and YF_CoreEngine. I have tried this already and it works perfectly on my end. if it works then something is wrong the your project.

also if you have PrelaodManager installed you should remove AudioLag or PreloadManager. this and Galenmereth's
plugin are incompatible by nature as they are designed to reach the same goal in a different way.

First of all thank you for having such a patience and always answer quickly

Second, I tried to create a new project and slowly keep enabling all the plugins that I have and I ended up with all of them enabled and no crash, but in my project the game crashes right when I hit an enemy or the enemy hits me. Here's the list of the plugins that I currently use, if I need to disable something or you see the plugin that it's creating the problem please tell me so I can delete it and try again:

d49b813f624d0355f39838a16239e5b0.png


f248fa11543dd2aa6ecbc6f06cfb5673.png
 

DarkEspeon

Veteran
Veteran
Joined
Apr 9, 2017
Messages
86
Reaction score
15
First Language
Russian
Primarily Uses
RMMV
@DrJDorian I see you're using a LOT of plugins from different sources. How many of them actually collide with each other or used to collide? Because I'm fearful of using any other plugins other than YF's so not to break the existing ones.
 

DrJDorian

Take Your Heart
Member
Joined
Apr 8, 2014
Messages
11
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
@DrJDorian I see you're using a LOT of plugins from different sources. How many of them actually collide with each other or used to collide? Because I'm fearful of using any other plugins other than YF's so not to break the existing ones.

Right when I took the screenshot I though the same haha but the thing is everything worked great, and with this plugin it does except for the battles, there it crashes all the time. I use all of them but if one is causing all these trouble then I'll erase it right away
 

DarkEspeon

Veteran
Veteran
Joined
Apr 9, 2017
Messages
86
Reaction score
15
First Language
Russian
Primarily Uses
RMMV

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
96
First Language
English
Primarily Uses
RMMV
@DrJDorian, Now try removing all the plugins down to the 3 i mentioned (YF_Core, YF_BattleEngine, AudioLag) then test a battle fromt start to end (in other words firght the enemies until you win or die). does it still crash? if not keep adding on plugins until it crashes again.

focus on the plugins that play sounds. plugins such as "Made With MV" && "Shall not Pass" are a unlikely culprit. Try with the battle related plugins.

Also try moving Audiolag to just below YF_BattleCore.
This will hopefully let AudioLagFix overwrite what it needs to before the other plugins try and do something. (the load order does matter when a plugin overwrites code)

Im goint to search through these and see if i can find any incompatible ones. most of the YF ones should be OK.
is "Battle Mode" shaz's plugin?
 
Last edited:

DrJDorian

Take Your Heart
Member
Joined
Apr 8, 2014
Messages
11
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
@DrJDorian, Now try removing all the plugins down to the 3 i mentioned (YF_Core, YF_BattleEngine, AudioLag) then test a battle fromt start to end (in other words firght the enemies until you win or die). does it still crash? if not keep adding on plugins until it crashes again.

focus on the plugins that play sounds. plugins such as "Made With MV" && "Shall not Pass" are a unlikely culprit. Try with the battle related plugins.

Also try moving Audiolag to just below YF_BattleCore.
This will hopefully let AudioLagFix overwrite what it needs to before the other plugins try and do something. (the load order does matter when a plugin overwrites code)

Im goint to search through these and see if i can find any incompatible ones. most of the YF ones should be OK.

I moved the plugin below the YF Core Engine and now it crashes with this error

5320fee65e4075d1895246ac72d76dd0.png


cc56dbdb060dc25aa3fcbe138b1e824e.png


Edit: I think I just found what it was causing the crashes hahaha it was the "Show HP Text" in the YF Battle Core. I just turned it off and now it doesn't crash, tried it 3 times and still works great. I looked at the console and now it only display these warnings:

de0ec1e9fe493c96581a0a4a2844183e.png
 
Last edited:

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
96
First Language
English
Primarily Uses
RMMV
@DrJDorian Well I've eliminated all of the YF plugins you have. none of those do it.
Im gonna work on the rest right now

@DarkEspeon alot of YF's plugins are decoupled from the rest of the engine, reducing the fearsof incompatible plugins. if you look at his list youll notice they usually focus on one or two things at a time. that is to say not everything will work with YF plugins.

@DrJDorian Jsut saw you edit, I will have it fixed in a jiffy
 
Last edited by a moderator:

DarkEspeon

Veteran
Veteran
Joined
Apr 9, 2017
Messages
86
Reaction score
15
First Language
Russian
Primarily Uses
RMMV
One thing I've also noticed: it's impossible to change the volume of music and sounds in the options when HTML5 is true. And if it's not at 100% MEs crash too.
upload_2017-8-17_19-46-59.png
 
Last edited:

Bicept

Jack of Most Trades
Veteran
Joined
Oct 22, 2015
Messages
34
Reaction score
25
First Language
English
Primarily Uses
RMMV
This works fine for me but I have one issue that I was wondering could be fixed/changed.

After you exit a battle, normally the map music continues to play from where it left off, but with this plugin enabled it starts over from the beginning. This is annoying hearing the beginning of the song over and over.
 

DrJDorian

Take Your Heart
Member
Joined
Apr 8, 2014
Messages
11
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
Tried the updated version, and now it crash right on the start with the "Undefined it not a function" error
 

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
96
First Language
English
Primarily Uses
RMMV
@Bicept that shouldn't happen, seems to be a bug introduced in 0.82 try 0.80 /0.81 for now until I fix it.

@DrJDorian it shouldnt crash on start up. If you could please post a screen shot of the console, that would be awesome.

@DarkEspeon thanks for posting that console. does it work with HTML 5 set to false? Force HTML 5 is kinda for testing purposes, the plugin automatically switches to HTML if Web audio is not available. Force HTML 5 ignores the fact the more powerful Web Audio is available and uses HTML 5. Although MV has kinda scrapped HTMLAudio. I kept it in to support older browsers (older than 6 years) or IE.(today).
 

DarkEspeon

Veteran
Veteran
Joined
Apr 9, 2017
Messages
86
Reaction score
15
First Language
Russian
Primarily Uses
RMMV
@Fornoreason1000
With HTML5 set to false changing volume of BGM/BGS/ME/SE works, but:
1) Character SEs in texts (YF's plugin) don't work (they play once instead of every 2-3 characters) at any volume
2) MEs crash the game just after they finish playing at any volume
upload_2017-8-20_17-0-46.png
With HTML5 set to true:
1) I have no control over volume
2) SEs and MEs play just fine, but MEs crash the game if BGM is 0%. Works with BGS/ME/SE at any volume.
You've seen this before, but now it also counts a ****ton of something I don't think it should. I dunno.
upload_2017-8-20_17-8-32.png
 

Satomi

Warper
Member
Joined
Aug 25, 2017
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hello, i'm new to all of this and still learning the ropes but, when i tried to use the audio fix plugin i got this error.
 

Attachments

  • Screenshot_10.png
    Screenshot_10.png
    24.6 KB · Views: 12

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
96
First Language
English
Primarily Uses
RMMV
@Satomi
thanks for letting me know, but in rder for me to find out more on what is wrong, first i need a screenshot of the console.
to open the console press F8 when you game is running

Im currently working on a fix for all these issues. as well as rework of some of the other problems it has.
 

Satomi

Warper
Member
Joined
Aug 25, 2017
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
@Satomi
thanks for letting me know, but in rder for me to find out more on what is wrong, first i need a screenshot of the console.
to open the console press F8 when you game is running

Im currently working on a fix for all these issues. as well as rework of some of the other problems it has.
Ah great ! Sorry for the delay, currently at work, is it supposed to be empty?
 

Attachments

  • Screenshot_11.png
    Screenshot_11.png
    12.8 KB · Views: 4

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
96
First Language
English
Primarily Uses
RMMV
Im not fussed, it wil lbe a bit beofre i can fix these

Not if your gettings errors. post a screen shot when you get the error.
 

Latest Threads

Latest Profile Posts


It's a Spanish devlog don't get scared!.
Just read the forum rules just for kicks and rule 14 reminds me of this:
150.jpg
I'm in the process of converting all locks and intimidate/persuade dialogue options into D20 DC based success/fail (modified by player skill). Before, it required a certain flat amount you had to meet, but with rolls, it offers more freedom. For instance, you can repeatedly try to unlock a door instead of just not meeting the requirement to unlock it.
Since we get very close: If you want to enjoy the advent calendar as it is intended, wait til your date and the day in the URL line up, so you have the final day on actual christmas and not the day before... time zones ;3
1638170340913.png
Crossover Inn is getting very crowded, and I love it

Forum statistics

Threads
117,050
Messages
1,104,143
Members
153,003
Latest member
Santii
Top