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

avarthar

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Everything posted by avarthar

  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 ^^'...
  15. Thank you so much, Mod Matt, it worked perfectly :) And I tried something to see the limit of it, and the limit is the max level :) Thanks again :P
  16. and I would like to make the textbox only numeric writeable if possible… Sorry for repost...
  17. Hello, I would like to know how to add a required level to mine or cut something, as said in the topic title. But the problem is that I tried to add it and I added this piece of code in the frmEditor_Resource Code Code: If Player.Level = RessourceLevel.text Then scrlTool.Enabled = True Else scrlTool.Enabled = False End If and I added a textbox named: RessourceLevel In the frmEditor_Resource frame.
  18. when I close it, it's highlighting the frmEditor_Item.scrlAddHp.value = .AddHP * 100
  19. Hello, how could I make that this code: > If frmEditor_Item.chkMaxHP.Enabled = True Then > > frmEditor_Item.scrlAddHp.value = .AddHP * 100 > End If When I open the game and check the checkbox linked to it, It writes: > Run-time error "380" > > Invalide Property value. How can I fix it?
  20. Hello I just figured out that the quest number was "As Byte = 70". To put a higher number than 255, you must change the "As Byte" to "As Long". It's a small post I know but I didn't found any other information to fill it…
  21. nvm! everything is working fine now.. Had put a too high array.
  22. yes, it's now fixed. I had to remove IE 10. But now I would like to know how to fix the Error "9" when executing my client. I modified the constants in modConstants.bas.
  23. Finally found the problem! > Posted 22 October 2013 - 08:47 AM > > Got the same Problem. > > If i check Microsoft Common Controls (SP6) it tells me Object bla bla not registered >.< > > EDIT–-- > > If you got an .text error on client side check the txtchat maybe its changed to an picturebox > > and add the richtext component ;-) > > Damn IE 10 Do anybody could help me to fix it? I can't see the richtext thing…
×
×
  • Create New...