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

avarthar

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

avarthar's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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!
  2. 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) = vbNullString End 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) = vbNullString End Sub ```
  3. @mohenjo-daro I'll try it after running the vb6sp6 setup in admin just to make sure
  4. `Andur Engine\server\MSCOMCTL.OCX could not be loaded` Tells this when I change to 2.1
  5. @solidlink it's already checked. Maybe if I try with another engine than Andur?
  6. @mohenjo-daro The only winsock I have is SP6
  7. Can it be the .ListItems iteself that isn't defined? It's in the modDatabase.bas Also, for info: The only file that wasn't registered was: `DBLIST32.OCX` < Just for future reference if anybody needs.
  8. @solidlink Well, I'm in the server.vbp already. Otherwise is there a specific place to enter it besides Ctrl+t?
  9. It worked, now I got an error with `.ListItems` which sends `Compile error: Method or data member not found` The line is: `frmServer.lvwInfo.ListItems(index).SubItems(1) = vbNullString`
  10. @solidlink It won't work if I just try to ignore them I'll try @Mohenjo-Daro link fix. Hopefully it works.
  11. @SolidLink It won't apply, it tells me object library not registered.
  12. Same error. But I've got some object libraries not opening as well as I just noticed. (It wont say which one sadly.)
  13. @mohenjo-daro As of the accesses I meant the Ranks. On frog it was access levels (0-5). But yea, I wasn't sure where to find it ^^ Thanks. For the vb6 sp6, I'm downloading it right away and I'm trying it. I'll send a reply once done ^^.
  14. Hi, after installing VB6 I've tried to modify Andur engine's source and I'm getting an error where it can't find a user-defined type. The part it gets the error at: `Private Sub lvwInfo_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)` The error says exactly: `Compile error: User-defined type not defined.` (It happens on any Engine I extract and try to modify.) I didn't do anything besides installing VB6 with the runtimes VB6Plus2.2 (which I took here on the forum) and making VB6 compatible (for that ELO error) by changing the compatibility mode to Windows XP sp3. I've downloaded Andur's source, extracted, opened the .vbp and hit export to Server.exe. (Still give me an error.) I'd like to know if there's a way to either fix this or if there are specific things to install/configure to make it compile. I really want to get back into making RPG's on eclipse since it's the only one that works kinda well since frog's shut down... Also, where can I find the accesses? I've searched every files I could and I can't seem to find it ^^'...
×
×
  • Create New...