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

Help! (please)


ystuk
 Share

Recommended Posts

Here are all the errors I can find in my VB6 client.

Set Segment = Loader.LoadSegment(App.Path & MUSIC_PATH & fileName)

' repeat midi file

Segment.SetLoopPoints 0, 0

Segment.SetRepeats 100

Segment.SetStandardMidiFile

Performance.PlaySegment Segment, 0, 0

Music_Playing = fileName

' Error handler

Exit Sub

errorhandler:

If InGame Then

HandleError "PlayMidi - Ingame = True - Map#= " & Player(MyIndex).Map & " - Filename = " & fileName & " - Filepath Length= " & Len(App.Path & MUSIC_PATH & fileName), "modSound", Err.Number, Err.Description, Err.Source, Err.HelpContext

Else

HandleError "PlayMidi - Ingame = False - Filename = " & fileName & " - Filepath Length= " & Len(App.Path & MUSIC_PATH & fileName), "modSound", Err.Number, Err.Description, Err.Source, Err.HelpContext

End If

Err.Clear

Exit Sub

End Sub
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...