Jumbofile Posted June 3, 2013 Author Share Posted June 3, 2013 RTE 9I changed this code```Private Type ChatRec text As String * 150 ReplyText(1 To 4) As String * 30 ReplyConvTo(1 To 4) As Byte Event As Byte Data1 As Long Data2 As Long Data3 As Long Sound As String * NAME_LENGTHEnd Type```to```Private Type ChatRec text As String * 150 ReplyText(1 To 4) As String * 30 ReplyConvTo(1 To 4) As Byte Event As Byte Data1 As Long Data2 As Long Data3 As Long Colour As Long Sound As String * NAME_LENGTHEnd Type```I added Colour As LongWhen it tried to load the game it gave RTE9 and highlighted this line```CopyMemory ByVal VarPtr(Conv(n)), ByVal VarPtr(ConvData(0)), ConvSize```That is located in Private **Sub HandleUpdateConv**Please tell me broke. Link to comment Share on other sites More sharing options...
Ryo Posted June 3, 2013 Share Posted June 3, 2013 Add it just before end type Link to comment Share on other sites More sharing options...
Jumbofile Posted June 3, 2013 Author Share Posted June 3, 2013 it didnt work Link to comment Share on other sites More sharing options...
Ryo Posted June 3, 2013 Share Posted June 3, 2013 You changed it so it looks Like this : ?Private Type ChatRectext As String * 150ReplyText(1 To 4) As String * 30ReplyConvTo(1 To 4) As ByteEvent As ByteData1 As LongData2 As LongData3 As LongSound As String * NAME_LENGTHColour As LongEnd Type Link to comment Share on other sites More sharing options...
Exception Posted June 3, 2013 Share Posted June 3, 2013 You need to either delete your conversations, convert them to reflect the new format, or do what Ryo said (provided you've not made any attempt to edit your conversations). Any of them is fine. Link to comment Share on other sites More sharing options...
Zeno Posted June 3, 2013 Share Posted June 3, 2013 My guess is it's trying to jam a string into long. Add Colour as Long between data3 and sound within the chatrec server-side. Link to comment Share on other sites More sharing options...
Jumbofile Posted June 8, 2013 Author Share Posted June 8, 2013 ~~I broke it.~~~~It only refeshes the game when i move the window~~*Found errorVB6 coudnt handle it had to complile. 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