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

EN 3.0 Bug Fix List


Guest
 Share

Recommended Posts

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

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

> Yup sure thing

Thx ![: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

> 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

> 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

> 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

  • 1 month later...

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