avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 @mohenjo-daro I'll try it after running the vb6sp6 setup in admin just to make sure Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 I think it's something with Andur's engine.I tried with the Renewal and now it works perfectly.I didn't even need to go in Ctrl+T and it compiled perfectly. I only changed the 2.1 to 2.0.For some reason .ListItems is screwed on Andur. I've gone to both same lines and here's the differences:Renewal:```Sub ClearPlayer(ByVal Index As Long) Dim i As Long Call ZeroMemory(ByVal VarPtr(TempPlayer(Index)), LenB(TempPlayer(Index))) Set TempPlayer(Index).Buffer = New clsBuffer Call ZeroMemory(ByVal VarPtr(Player(Index)), LenB(Player(Index))) Player(Index).Login = vbNullString Player(Index).Password = vbNullString Player(Index).Name = vbNullString Player(Index).Class = 1 frmServer.lvwInfo.ListItems(Index).SubItems(1) = vbNullString frmServer.lvwInfo.ListItems(Index).SubItems(2) = vbNullString frmServer.lvwInfo.ListItems(Index).SubItems(3) = vbNullStringEnd Sub```Andur:```Sub ClearPlayer(ByVal index As Long) Dim i As Long Call ZeroMemory(ByVal VarPtr(TempPlayer(index)), LenB(TempPlayer(index))) Set TempPlayer(index).Buffer = New clsBuffer Call ZeroMemory(ByVal VarPtr(player(index)), LenB(player(index))) player(index).Login = vbNullString player(index).password = vbNullString For i = 1 To MAX_PLAYER_CHARACTERS Call ZeroMemory(ByVal VarPtr(player(index).Char(i)), LenB(player(index).Char(i))) player(index).Char(i).Name = vbNullString player(index).Char(i).Class = 1 Next frmServer.lvwInfo.ListItems(index).SubItems(1) = vbNullString frmServer.lvwInfo.ListItems(index).SubItems(2) = vbNullString frmServer.lvwInfo.ListItems(index).SubItems(3) = vbNullStringEnd Sub``` Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 23, 2017 Share Posted September 23, 2017 You might also want to try installing this https://www.microsoft.com/en-us/download/details.aspx?id=7030 Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 Still won't compile on Andur. I really think .ListItems might be somehow screwed up.I don't really mind starting from renewal but yea, it would have been nice to start from Andur. I'll just have a few more things to add/modify but it's fine ^^.Thanks a lot for the help guys! Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 dont forget to mark the thread as solved ;) Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 done did ^^ 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