erkro1 Posted June 19, 2012 Author Share Posted June 19, 2012 As we all know, with the CS:DE music system in your source (so this fix works for CS:DE and EO's **which have ripped the music system of CS:DE**) it will crash your VB6 IDE when you press the Stop button.As of my 2000th post, I decided to share the fix with you guys.In client -> modMusic -> Init_MusicAbove:```' init music engine result = FSOUND_Init(44100, 32, FSOUND_INIT_USEDEFAULTMIDISYNTH) If Not result Then GoTo errorhandler```Add:```If App.LogMode = 0 Then Exit Function```I'm not entirely sure if this is the best way of doing it, so if you know a better way please tell me then I will update the tutorial. ;)No credits required ofcourse, as this is a small edit. Link to comment Share on other sites More sharing options...
tslusny Posted June 19, 2012 Share Posted June 19, 2012 Gj this fixed issue :D Link to comment Share on other sites More sharing options...
erkro1 Posted June 19, 2012 Author Share Posted June 19, 2012 I updated the tutorial so that you don't need Robin's fix. :P Link to comment Share on other sites More sharing options...
tslusny Posted June 19, 2012 Share Posted June 19, 2012 yes robins fix is only to make sound working so not needed :P Link to comment Share on other sites More sharing options...
Exception Posted June 19, 2012 Share Posted June 19, 2012 This isn't a fix. It doesn't directly fix the issue, it makes a work-around for it, but, it is useful nonetheless for those who forget to change the inDevelopment constant frequently. ;d Link to comment Share on other sites More sharing options...
jcsnider Posted June 19, 2012 Share Posted June 19, 2012 @Lenn:> This isn't a fix. It doesn't directly fix the issue, it makes a work-around for it, but, it is useful nonetheless for those who forget to change the inDevelopment constant frequently. ;dMe. Link to comment Share on other sites More sharing options...
JohnPony Posted June 19, 2012 Share Posted June 19, 2012 You should never substitute a work around for really fixing a system, that's how abominations such as EE are formed. Link to comment Share on other sites More sharing options...
erkro1 Posted June 20, 2012 Author Share Posted June 20, 2012 @General-Pony:> You should never substitute a work around for really fixing a system, that's how abominations such as EE are formed.Well, I couldn't seem to understand where the problem got from and this did look like the easiest way for me. :P Link to comment Share on other sites More sharing options...
JohnPony Posted June 20, 2012 Share Posted June 20, 2012 @Erwin:> Well, I couldn't seem to understand where the problem got from and this did look like the easiest way for me. :PIm not saying that you shouldn't use this as a temporary fix, just not a permanent one. Link to comment Share on other sites More sharing options...
Stein Posted June 20, 2012 Share Posted June 20, 2012 The problem lies in FMOD not being unloaded but still cutting off the process of it. Don't think there really is a way to fix this properly inside the IDE. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now