Guest Posted August 26, 2012 Share Posted August 26, 2012 This is going to be a temporary list of all bug fixes for those of you who have already started making your games with 3.0\. As of right now This is what I got as well as some extra features for you. When 3.1 comes out ill take a day to find all the new stuff and bug fixes so you can add em into your source. Wann add somtihng? jus lemmie know ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)!CTD: When turning sounds off (Credits: JCSnider)>! ```>! Public Sub StopAllSounds()>! Dim i As Long>! For i = 1 To Max_Sounds>! If Sounds(i).Handle > 0 Then>! FSOUND_StopSound Sounds(i).Channel>! FSOUND_Sample_Free Sounds(i).Handle>! End If>! Next>! RemoveAllMapSounds>! End Sub>! ``` Fix Hail, in weather commands (Credits: JCSnider)>! Find this:>! ```>! Case WEATHER_TYPE_RAIN>! frmEditor_Events.lstCommands.AddItem indent & "@>" & "Set Weather [Rain - Intensity: " & CStr(tmpEvent.Pages(curPageNum).CommandList(curlist).Commands(i).Data2) & "]">! ```>! Replace with this:>! ```>! Case WEATHER_TYPE_HAIL>! frmEditor_Events.lstCommands.AddItem indent & "@>" & "Set Weather [Hail - Intensity: " & CStr(tmpEvent.Pages(curPageNum).CommandList(curlist).Commands(i).Data2) & "]">! ``` FEATURE: Add loading status to map! (Credits:" Deathbeam", from "Eclipse Advanced Engine")>! First in "modGameLogic" find this>! ```>! If tick > EventChatTimer Then>! ```Just above that, add this>! ```>! If GettingMap = True Then>! isLoading = True>! End If>! ```>! Next, still in modGameLogic, find this>! ```>! ProcessWeather>! ```Just above that, add this>! ```>! ' animate loading>! If isLoading Then>! If LoadingString = "Loading" Then>! LoadingString = "Loading.">! ElseIf LoadingString = "Loading." Then>! LoadingString = "Loading..">! ElseIf LoadingString = "Loading.." Then>! LoadingString = "Loading...">! Else>! LoadingString = "Loading">! End If>! End If>! ```Next in modClientTcp, in Public sub SendMap, just below were it says "CanMoveNow = false" add>! ```>! isLoading = True>! ```Next at the bottom of modGlobals, add>! ```>! ' Map loading status>! Public isLoading As Boolean>! Public LoadingString As String>! ```Now in modGeneral, in GameInit, find:>! ```>! 'stop the song playing>! StopMusic>! ```Just below that add this bad boy in there:>! ```>! LoadingString = "Loading">! ```Now go to modGraphics, under "Render_Graphics".>! Under:>! ```>! ' don't render>! If frmMain.WindowState = vbMinimized Then Exit Sub>! ```Add:>! ```>! If GettingMap And Not isLoading Then Exit Sub>! ```In the same sub, find:>! ```>! If FlashTimer > GetTickCount Then RenderTexture Tex_White, 0, 0, 0, 0, frmMain.picScreen.ScaleWidth, frmMain.picScreen.ScaleHeight, 32, 32, -1>! ```Right under that, add:>! ```>! If isLoading Then DrawLoading>! ```Almost done, go still in modGraphics, add this at he bottom:>! ```>! Sub DrawLoading()>! RenderTexture Tex_White, 0, 0, 0, 0, frmMain.picScreen.ScaleWidth, frmMain.picScreen.ScaleHeight, 32, 32, D3DColorARGB(150, 0, 0, 0)>! RenderText Font_Default, LoadingString, (frmMain.picScreen.ScaleWidth / 2) - (EngineGetTextWidth(Font_Default, LoadingString) / 2), (frmMain.picScreen.ScaleHeight / 2) - 20, White>! End Sub>! ```Finally, in modHandleData, in HandleMapDone, find:>! ```>! GettingMap = False>! CanMoveNow = True>! ```Add this undereath is:>! ```>! isLoading = False>! LoadingString = "Loading">! ``` Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 27, 2012 Share Posted August 27, 2012 i don't understand how everyone gets errors on sound…I have never gotten an error on that >__> Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2012 Share Posted August 27, 2012 IDK either. It has to be the way its written, becuase CS:DE uses Fmod as well and I never had an issue with it. Link to comment Share on other sites More sharing options...
tslusny Posted August 27, 2012 Share Posted August 27, 2012 You ripped loading screen from EA ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) . Can you post something like from Eclipse Advanced or etc pls? ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2012 Share Posted August 27, 2012 Yup sure thing Link to comment Share on other sites More sharing options...
tslusny Posted August 27, 2012 Share Posted August 27, 2012 > Yup sure thingThx ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) No need to add credits to me, just to Eclipse Advanced ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 27, 2012 Share Posted August 27, 2012 > i don't understand how everyone gets errors on sound…> > I have never gotten an error on that >__>It's when turning on and off sound. The game CTDs. Turn off the sound in options maybe 5 or six times, if you make it that far. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
tslusny Posted August 27, 2012 Share Posted August 27, 2012 > It's when turning on and off sound. The game CTDs. Turn off the sound in options maybe 5 or six times, if you make it that far. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)But with that fix, this problem what you said still continues, but it never happened to me but i have that bugfix in Eclipse Advanced and its still throwing that Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2012 Share Posted August 27, 2012 Yup its still going. Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 28, 2012 Share Posted August 28, 2012 yea i never had the error but ok whatever if you say it supposedly "fixes" the CTD, then it must fix it :3 Link to comment Share on other sites More sharing options...
TheLordOfTheManor Posted August 29, 2012 Share Posted August 29, 2012 So I put loading screen but it doesn't even show. Not because it doesn't work but because everything loads too quickly. It's hilarious! Link to comment Share on other sites More sharing options...
tslusny Posted August 29, 2012 Share Posted August 29, 2012 > So I put loading screen but it doesn't even show. Not because it doesn't work but because everything loads too quickly. It's hilarious!So try to save map with events you will see it ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
Guest Posted August 29, 2012 Share Posted August 29, 2012 Lol it was kind funny cause I had people PMing me about it, syaing "Its not showing up"…...........well now they know. Link to comment Share on other sites More sharing options...
TheLordOfTheManor Posted August 29, 2012 Share Posted August 29, 2012 > So try to save map with events you will see it ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)I'll see it (eventually) as I am developing my game (Project TWOA). Work hasn't been letting me work on the game for the past 2 days. Link to comment Share on other sites More sharing options...
SilentShadow69 Posted August 31, 2012 Share Posted August 31, 2012 Ah sweet thanks mate for the sound fix! ;d Its been bugging me more…No sound lol Link to comment Share on other sites More sharing options...
Peaverin Posted October 3, 2012 Share Posted October 3, 2012 I didn't see any difference between the Public Sub StopAllSounds that you posted and the Public Sub StopAllSounds that i have in my project.:/I can't fix that annoying sound bug:( 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