avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 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) andmaking 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 ^^'... Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 23, 2017 Share Posted September 23, 2017 Try installing this https://www.microsoft.com/en-us/download/details.aspx?id=5721What do you mean "accesses"? Also, what engine are you using?ER and Andur (in Andur's next update) both have their admin ranks in modEnumerations. To give a player admin access, go to the server and right click their name in the player list.If you're using a different engine, then you should be able to find the admin ranks in modConstants. Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 @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 ^^. Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 Same error.But I've got some object libraries not opening as well as I just noticed. (It wont say which one sadly.) Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 @avarthar Press CTRL and T and then activate sp6 stuff Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 @SolidLink It won't apply, it tells me object library not registered. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 23, 2017 Share Posted September 23, 2017 https://stackoverflow.com/questions/16018271/object-library-not-registered-when-adding-microsoft-rich-textbox-control-6-0Follow this but use the lib name you're getting the error with Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 sometimes it gives me the error but I ignore it. Try to run it with those applied, even if you get the error Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 @solidlink It won't work if I just try to ignore them I'll try @Mohenjo-Daro link fix. Hopefully it works. Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 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` Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 @avarthar You have to enable sp6 components on the server too Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 @solidlink Well, I'm in the server.vbp already.Otherwise is there a specific place to enter it besides Ctrl+t? Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 Then im not sure what the problem is... Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 Can it be the .ListItems iteself that isn't defined? It's in the modDatabase.basAlso, for info:The only file that wasn't registered was:`DBLIST32.OCX` < Just for future reference if anybody needs. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 23, 2017 Share Posted September 23, 2017 Open the server.vbp with VB6, then press Ctrl + T and make sure the following boxes are checkedMicrosoft Rich Textbox Control 6.0 (SP6)Microsoft Tabbed Dialog Control 6.0 (SP6)Microsoft Windows Common Controls 6.0 (SP6)Microsoft Winsock Control 6.0 (SP4) Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 @mohenjo-daro The only winsock I have is SP6 Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 you can use sp6 Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 @solidlink its basically the higher the version is, the better Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 @solidlink it's already checked. Maybe if I try with another engine than Andur? Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 The results would probably be the same but sure, try ER Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 23, 2017 Share Posted September 23, 2017 If the rest are checked and it still doesn't work, then open server.vbp with notepad and find the lineObject={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; mscomctl.OCXIf your's says 2.1 then change it to 2.0, if it says 2.0 then change it to 2.1 Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 ooh didn't know that :O what would that do? Update? Link to comment Share on other sites More sharing options...
avarthar Posted September 23, 2017 Author Share Posted September 23, 2017 `Andur Engine\server\MSCOMCTL.OCX could not be loaded`Tells this when I change to 2.1 Link to comment Share on other sites More sharing options...
SolidLink Posted September 23, 2017 Share Posted September 23, 2017 change it to 2.0 again and try again. if that dosent work try installing the runtimes again 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 delete it and redownload the engine. 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