Kayoh Posted August 15, 2011 Author Share Posted August 15, 2011 Hey everyone, first and foremost I have a very basic understanding of VB as I took a class on it a few semesters back. That being said, I've been rooting around the forums to get a better understanding of how to edit and implement some of the more basic functions of the game (WASD movement, Quest system etc.) but I've already hit a roadblock.http://imageshack.us/photo/my-images/560/capturegxq.png/Edit: The snipping tool unhighlights the code when I use it.```frmMain.Socket.RemoteHost = Options.IP```**.Socket** is highlightedWhenever I compile after editing the source code I get this error message.Since I didn't have much of anything important saved, I deleted the first EO folder that I had, unzipped a new copy and had the same error occur.I assume it's a simple mistake on my part. Link to comment Share on other sites More sharing options...
RyokuHasu Posted August 15, 2011 Share Posted August 15, 2011 are your trying to test run it in vb6?If so, did you download all the runtime files for EO correctly? Link to comment Share on other sites More sharing options...
Kayoh Posted August 15, 2011 Author Share Posted August 15, 2011 Either compiling for a new .exe or test running in VB yields the same results. And yes, all of the EO runtime files are installed correctly. Link to comment Share on other sites More sharing options...
RyokuHasu Posted August 15, 2011 Share Posted August 15, 2011 make sure in your options.ini that the IP address is set to "localhost" or your external IP (for external IP you must portforward) Link to comment Share on other sites More sharing options...
Kayoh Posted August 15, 2011 Author Share Posted August 15, 2011 The ip is set to local host. Let me ask this so I'm not doing this wrong right off the bat.Say I want to change the controls to WASD with spacebar to pick up items. I've found a couple of easy tutorials, followed their steps and launched the game from the Eclipse Origins.exe that came with the original .zip file.Obviously this isn't going to work, because the code I edited hasn't been compiled into a new .exe. So when I edit the code, then compile it into a new .exe or try to test run it inside of vb, I get the error I posted above.Am I not suppose to compile the code in order for it to run? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 15, 2011 Share Posted August 15, 2011 @Gwen's:> make sure in your options.ini that the IP address is set to "localhost" or your external IP (for external IP you must portforward)No. Please don't try to help with stuff you don't know anything about.@OP: The problem is that you didn't download Visual Basic 6 Service Pack 6\. So VB6 got confused and replaced the sockets with the pictureboxes. [**Do Step 3 of this guide.**](http://www.touchofdeathforums.com/smf/index.php/topic,68399.msg736833.html#msg736833) Then download a fresh copy and replace the source, and it should work. Link to comment Share on other sites More sharing options...
Kayoh Posted August 15, 2011 Author Share Posted August 15, 2011 Thanks much, giving it a shot now Link to comment Share on other sites More sharing options...
Craselin Posted August 15, 2011 Share Posted August 15, 2011 Also if you get the error again after installing the service pack then just restart your computer, that usually works for me :) good luck! 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