elementaldisaster Posted March 12, 2011 Author Share Posted March 12, 2011 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.PortExit Sub ' Error handler Exit Suberrorhandler: HandleError "TcpInit", "modClientTCP", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd 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 More sharing options...
elementaldisaster Posted March 12, 2011 Author Share Posted March 12, 2011 Anyone? Link to comment Share on other sites More sharing options...
elementaldisaster Posted March 12, 2011 Author Share Posted March 12, 2011 Please??? Link to comment Share on other sites More sharing options...
goku1993 Posted March 12, 2011 Share Posted March 12, 2011 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 More sharing options...
RyokuHasu Posted March 12, 2011 Share Posted March 12, 2011 I say you need VB6 just so it works betterEDIT: DONT EVEN HINT ILLEGAL ACTIVITYRequest: Please remove that quote Link to comment Share on other sites More sharing options...
elementaldisaster Posted March 12, 2011 Author Share Posted March 12, 2011 @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 More sharing options...
RyokuHasu Posted March 12, 2011 Share Posted March 12, 2011 oops i saw enterprise XD i thoght it was a diffrent version of VB i was thinking VB 2010 enterprize *bows* sorry Link to comment Share on other sites More sharing options...
goku1993 Posted March 12, 2011 Share Posted March 12, 2011 *scratch what i said it was wrong* Link to comment Share on other sites More sharing options...
The New World Posted March 13, 2011 Share Posted March 13, 2011 Sound is from the modTypes -> NpcRec 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