Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Client/Server Issues
#1
When I try to run a brand new Client for MS4, I get:

Quote:Compile error:
Method or data member not found

"Sub TcpInit()" is highlighted in yellow. ".RemotePort =" is highlighted in blue.

Then when I try to run a brand new Server for MS4, I get:

Quote:Compile error:
User-defined type not defined

"Public Sub AddText(ByVal rTxt As RichTextBox, ByVal Msg As String, ByVal Color As Integer" is highlighted in blue, except not the end ")". :S

Also in frmMirage.txt, which hasn't been edited at all, there's these errors:

Quote:Line 1070: Class RichTextLib.RichTextBox of control txtChat was not a loaded control class.
Line 1116: Class MSWinsockLib.Winsock of control Socket was not a loaded control class.
Line 1076: The property name _ExtentX in txtChat is invalid.
Line 1077: The property name _ExtentY in txtChat is invalid.
Line 1078: The property name _Version in txtChat is invalid.
Line 1080: The property name ScrollBars in txtChat is invalid.
Line 1082: The property name TextRTF in txtChat is invalid.
Line 1119: The property name _ExtentX in Socket is invalid.
Line 1120: The property name _ExtentY in Socket is invalid.
Line 1121: The property name _Version in Socket is invalid.
Line 1076: The property name _ExtentX in txtChat is invalid.
Line 1077: The property name _ExtentY in txtChat is invalid.
Line 1078: The property name _Version in txtChat is invalid.
Line 1080: The property name ScrollBars in txtChat is invalid.
Line 1082: The property name TextRTF in txtChat is invalid.
Line 1119: The property name _ExtentX in Socket is invalid.
Line 1120: The property name _ExtentY in Socket is invalid.
Line 1121: The property name _Version in Socket is invalid.

Help? If ya need to know more, just say.
Reply
#2
It highlights just as it would when you highlight something with the mouse.

Also, I've had no previous issues with Compiling it like this. It's suddenly just happened.

Proof:

[Image: VB6.png]
Reply
#3
I compile with no Modules or Forms open. Then it opens & highlights was I said.

Ignore the highlight of modClientTCP. :S

Also, Key To Heaven TestVersion seems to be to do with it. Says the .dll's or whatever are missing when I don't have TestVersion folder with them in. It seems to have screwed stuff up.
Reply
#4
Well, if his test version uses that code he posted a long time ago to autoregister the DLLs, then you moved them, the system is looking for DLLs that don't exist anymore, so register new ones.

It's like if you register a DLL in a folder, then delete it, even though you have another copy, it's looking for the old folder.
Reply
#5
Rezeyu Wrote:Well, if his test version uses that code he posted a long time ago to autoregister the DLLs, then you moved them, the system is looking for DLLs that don't exist anymore, so register new ones.

It's like if you register a DLL in a folder, then delete it, even though you have another copy, it's looking for the old folder.

Uhm, ok... =-p

Well what does this mean:

frmMirage.txt(Old) Wrote:Line 1070: Class RichTextLib.RichTextBox of control txtChat was not a loaded control class.
Line 1116: Class MSWinsockLib.Winsock of control Socket was not a loaded control class.

frmMirage.txt(New) Wrote:Line 1070: Class RichTextLib.RichTextBox of control txtChat was not a loaded control class.
Line 1116: Class MSWinsockLib.Winsock of control Socket was not a loaded control class.
Line 1076: The property name _ExtentX in txtChat is invalid.
Line 1077: The property name _ExtentY in txtChat is invalid.
Line 1078: The property name _Version in txtChat is invalid.
Line 1080: The property name ScrollBars in txtChat is invalid.
Line 1082: The property name TextRTF in txtChat is invalid.
Line 1119: The property name _ExtentX in Socket is invalid.
Line 1120: The property name _ExtentY in Socket is invalid.
Line 1121: The property name _Version in Socket is invalid.
Line 1076: The property name _ExtentX in txtChat is invalid.
Line 1077: The property name _ExtentY in txtChat is invalid.
Line 1078: The property name _Version in txtChat is invalid.
Line 1080: The property name ScrollBars in txtChat is invalid.
Line 1082: The property name TextRTF in txtChat is invalid.
Line 1119: The property name _ExtentX in Socket is invalid.
Line 1120: The property name _ExtentY in Socket is invalid.
Line 1121: The property name _Version in Socket is invalid.

Both are 3.50.
:S Registered all the files properly again.
Reply
#6
Downloaded 3.53, added back Password Generation & Case Sensitivity. Works fine now. Thanks. =-p
Reply
#7
Click a button when creating an account, a password is generated for them(optional).

[Image: NewAccount.png]

Also my Admin Menu:

[Image: AdminMenu.png]

Except, these won't work if I unblock them:

Code:
Private Sub btnLoc_Click()
    'If GetPlayerAccess(MyIndex) >= ADMIN_MAPPER Then
        'Call SendRequestLocation
    'End If
End Sub

Private Sub btnPlayerSprite_Click()
    'If GetPlayerAccess(MyIndex) >= ADMIN_MAPPER Then
        'If Trim$(txtPlayer.Text)  vbNullString Then
            'If Trim$(txtSprite.Text)  vbNullString Then
                'Call SendSetPlayerSprite(Trim$(txtPlayer.Text), Trim$(txtSprite.Text))
            'End If
        'End If
    'End If
End Sub

Highlights in blue(YES BLUE) "SendRequestLocation" & "SendSetPlayerSprite".

"Sub or Function not defined."

Doom says they came with Clean MS4 install, but I can't find them at all, even with Search. So...
Reply
#8
I'm using MS3.53. =-p

Just that I dunno' where the "SendRequestLocation" & "SendSetPlayerSprite" are. :S(Obviously don't come with it)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)