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

Recommended Posts

Posted
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 ^^'...
Posted
Try installing this https://www.microsoft.com/en-us/download/details.aspx?id=5721

What 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.
Posted
@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 ^^.
Posted
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`
Posted
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.
Posted
Open the server.vbp with VB6, then press Ctrl + T and make sure the following boxes are checked

Microsoft 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)
Posted
If the rest are checked and it still doesn't work, then open server.vbp with notepad and find the line

Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; mscomctl.OCX

If your's says 2.1 then change it to 2.0, if it says 2.0 then change it to 2.1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...