Jumbofile Posted October 6, 2014 Author Share Posted October 6, 2014 **100% Credits to evilbunnie!****DOWNLOAD FIRST!**[http://eclipseorigins.com/community/filehost/15ae53c777c9ce5119cbb34e142d89a7.rar](http://eclipseorigins.com/community/filehost/15ae53c777c9ce5119cbb34e142d89a7.rar)**IMAGE>! ![](http://eclipseorigins.com/community/filehost/0fc758453fa538c7fa722c42320dc0e4.png)First, open the client and add at the very bottom of "modText":**```'Evilbunnie's DrawnChat systemPublic Sub DrawChat()' If debug mode, handle error then exit out If App.LogMode = 1 And Options.Debug = 1 Then On Error GoTo ErrorHandlerDim i As Integer For i = 1 To 6 RenderText Font_Default, Chat(i).text, frmMain.picForm.Left + 5, (frmMain.picForm.Top + 555) - (i * 20), White NextExit Sub' Error handlerErrorHandler: HandleError "DrawChat", "modText", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear End Sub'Evilbunnie's DrawChat systemPublic Sub ReOrderChat(ByVal nText As String, nColor As Long)Dim i As Integer For i = 19 To 1 Step -1 Chat(i + 1).text = Chat(i).text Chat(i + 1).Color = Chat(i).Color Next Chat(1).text = nText Chat(1).Color = nColorEnd Sub```**Then replace the sub "AddText" with:**```Public Sub AddText(ByVal Msg As String, ByVal Color As Integer)Dim S As String ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo ErrorHandler S = vbNewLine & Msg frmMain.txtChat.SelStart = Len(frmMain.txtChat.text) frmMain.txtChat.SelColor = QBColor(Color) frmMain.txtChat.SelText = S frmMain.txtChat.SelStart = Len(frmMain.txtChat.text) - 1 'Evilbunnie's DrawnChat System ReOrderChat Msg, QBColor(Color) ' Error handler Exit SubErrorHandler: HandleError "AddText", "modText", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub```**Then in "HandleSayMsg" under:**```frmMain.txtChat.SelStart = Len(frmMain.txtChat.Text) - 1```**Add:**```ReOrderChat Header & Name & ": " & message, Color```**Then in "modTypes" under:**```Public Options As OptionsRec```**Add:**```'Evilbunnie's DrawnChat systemPublic Chat(1 To 20) As ChatRec'Evilbunnie's DrawnChat systemPrivate Type ChatRec text As String Color As LongEnd Type```**In Sub "Render_Graphics" above:**```' draw fps```**Add:**```'Evilbunnie's DrawnChat SystemDrawChat```**Go to frmMain and delete picChatbox and replace it with the one found in extrafiles.****rar****Replace chatbox.bmp inEclipse Worlds\Client\data files\graphics\gui\main** **with the file in extrafiles.rar** Link to comment Share on other sites More sharing options...
DawnOfEarth Posted November 9, 2014 Share Posted November 9, 2014 i get a .txt method or data member not found Link to comment Share on other sites More sharing options...
hisherwin Posted November 10, 2014 Share Posted November 10, 2014 > i get a .txt method or data member not foundadd a Textbox on frmMain and name it txtChat, you baka! Link to comment Share on other sites More sharing options...
Raikills Posted November 11, 2014 Share Posted November 11, 2014 Compiled error : Method or data member not foundPublic Sub DrawChat()' If debug mode, handle error then exit out If App.LogMode = 1 And Options.Debug = 1 Then On Error GoTo ErrorHandlerDim i As Integer For i = 1 To 6 RenderText Font_Default, Chat(i).text, frmMain.picForm.Left + 5, (frmMain.picForm.Top + 555) - (i * 20), White NextExit Sub' Error handlerErrorHandler: HandleError "DrawChat", "modText", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.ClearEnd Sub'Evilbunnie's DrawChat systemPublic Sub ReOrderChat(ByVal nText As String, nColor As Long)Dim i As Integer For i = 19 To 1 Step -1 Chat(i + 1).text = Chat(i).text Chat(i + 1).Color = Chat(i).Color Next Chat(1).text = nText Chat(1).colour= nColorEnd Sub Link to comment Share on other sites More sharing options...
hisherwin Posted November 11, 2014 Share Posted November 11, 2014 replace "Colour" to "Color" Link to comment Share on other sites More sharing options...
WiseRock Posted December 11, 2014 Share Posted December 11, 2014 Link to comment Share on other sites More sharing options...
Raikills Posted February 14, 2015 Share Posted February 14, 2015 You could give me the frmMain file please? Link to comment Share on other sites More sharing options...
Tashology Posted April 22, 2015 Share Posted April 22, 2015 I get a debug error whenever I run it.I followed the tutorial 3 times and had the same problem each time. Link to comment Share on other sites More sharing options...
DarkDino Posted April 29, 2015 Share Posted April 29, 2015 Looks good for the new members, i made this on Orion Mod. I think you need work on the Split Text because if you write a Long Line this don't have a line jump. 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