ystuk Posted March 25, 2013 Author Share Posted March 25, 2013 Here are all the errors I can find in my VB6 client.Set Segment = Loader.LoadSegment(App.Path & MUSIC_PATH & fileName)' repeat midi fileSegment.SetLoopPoints 0, 0Segment.SetRepeats 100Segment.SetStandardMidiFilePerformance.PlaySegment Segment, 0, 0Music_Playing = fileName' Error handlerExit Suberrorhandler:If InGame ThenHandleError "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.HelpContextElseHandleError "PlayMidi - Ingame = False - Filename = " & fileName & " - Filepath Length= " & Len(App.Path & MUSIC_PATH & fileName), "modSound", Err.Number, Err.Description, Err.Source, Err.HelpContextEnd IfErr.ClearExit SubEnd Sub 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