Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

CS:DE music system crash fix


erkro1
 Share

Recommended Posts

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_Music
Above:
```
' 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

@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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...