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

Compile error with EO… O.o


elementaldisaster
 Share

Recommended Posts

First off i use VB6 Enterprise and… well its my first time >.<

**Sub TcpInit()**
    ' If debug mode, handle error then exit out
    If Options.Debug = 1 Then On Error GoTo errorhandler

    Set PlayerBuffer = New clsBuffer

    ' connect
    frmMain.Socket.**RemoteHost =** Options.IP
    frmMain.Socket.RemotePort = Options.Port
Exit Sub
    ' Error handler
    Exit Sub
errorhandler:
    HandleError "TcpInit", "modClientTCP", Err.Number, Err.Description, Err.Source, Err.HelpContext
    Err.Clear
    Exit Sub
End Sub

^When i click the little play button, it highlights the bold thing^
^^And it also highlights (in yellow) the yellow colored bit at the top.^^

Ive tried putting some more stuff in, i followed the tutorials carefully and noticed nothing was taking effect, and i remembered someone saying something about compiling before… so i clicked the little play button and up came an error:

"Compile error:
Method or data member not found."

Now i know someone awesome is gonna come and make it look so easy... but all help is appreciated. :D
Link to comment
Share on other sites

I'm not sure of what i m about to say but there's one thing i m sure of data member not found means that it can't find the variable somwhere like if you put an x and you didn't dim it first but i think remotehost function is in a dll so try library files if you haven't if this isn't usefull sorry tried to help…
Link to comment
Share on other sites

@RyokuHasu:

> I say you need VB6 just so it works better

*whispers* thats what i did….

@Musbah:

> I'm not sure of what i m about to say but there's one thing i m sure of data member not found means that it can't find the variable somwhere like if you put an x and you didn't dim it first but i think remotehost function is in a dll so try library files if you haven't if this isn't usefull sorry tried to help…

I reinstalled EO libaryfiles/runtimes and still the same… when i try to do it on server i get this:

**Sub ClearNpc(ByVal index As Long)**
    Call ZeroMemory(ByVal VarPtr(Npc(index)), LenB(Npc(index)))
    Npc(index).Name = vbNullString
    Npc(index).AttackSay = vbNullString
    Npc(index)**.Sound =** "None."

and i still get the same on client
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...