Page 1 of 1

Do I need Windows Binary (Precompiled) AND the Sorce?

Posted: Sun Nov 18, 2007 8:44 am
by Quicksand
I jusy want to make sure I am understanding this correctly,
on the main page, LE has a link for the 0.3 Sorce and another for the Windows Binary (Precompiled)
Do I need both of these to setup a server or just the precompiled binary ?

Posted: Sun Nov 18, 2007 12:25 pm
by LethalEncounter
Just the binary if you don't want to compile it yourself, which you don't need to do unless you want to modify the source code.

Posted: Sun Nov 18, 2007 2:07 pm
by Quicksand
When I run the world.exe after downloading the binary, the command window flashes up and is then gone instantly, the only way I can get it to keep th command window up and start to run is to move the world ini and the login ini as well as the world struct and common struct xmls all to the main folder that has the world.exe in it. Is this what I am suppose to do? or am I missing something?
I only ask this because after doing this, and getting it to fire up for me, I get an error (posted that in another thread) so I wanted to make sure that the error is not coming from me moving these files in order to get it to run at all.

Posted: Sun Nov 18, 2007 2:12 pm
by LethalEncounter
Yah, that is what you are supposed to do. Are you still having the problems mentioned in the other thread?

Posted: Sun Nov 18, 2007 2:41 pm
by Quicksand
Yes I am still having the same problem, I did what was suggested in that thread but it didn't work.
If I run the old 0.2 Emu it will boot up fine and I can log onto my server (although no slash commands work when I do, but I think thats because of my old client SOE 4400L ) but when I try and boot up the new 0.3 I get that error. I did everything the same as when I started with the 0.2 so I am not sure whats amiss.

Posted: Sun Nov 18, 2007 2:48 pm
by chrrox
I hads trouble with the precompiled version I had to compile my own then it worked fine.

Posted: Sun Nov 18, 2007 3:53 pm
by Quicksand
Is there a way to compile it without Visual C# ? My trial ended and I am still scrounging up the money for RoK so I cant buy VC# yet :(

Posted: Sun Nov 18, 2007 4:22 pm
by chrrox
there is a free version you can download to build it. just google it.

Posted: Sun Nov 18, 2007 6:40 pm
by Quicksand
ok I have Visual C# 2005 and I have downloaded the 0.3 Source from the main page, but as far as compiling it, I am lost, I tried following the tut on these forums but that seems to be for something other than whats in that source download (unless I am missing it)
Any chance someone can put a tutorial for dummies for me ?

Posted: Sun Nov 18, 2007 6:53 pm
by LethalEncounter
Be sure that you are trying to compile with a C++ compiler, not a C# compiler.

Posted: Sun Nov 18, 2007 8:41 pm
by Quicksand
ohh snap,I am using Visual C#. I guess I need to try and hunt down a C++. Thanks for pointing that out.

Posted: Sun Nov 18, 2007 9:35 pm
by Quicksand
ok using VC++ now, however, following the tut here:
3 go to include files and pass in: C:\Program Files\MySQL\MySQL Server 5.0\include and the same for Zlib: C:\zlib123
4 go to library files and pass in: C:\Program Files\MySQL\MySQL Server 5.0\lib\opt
I cant find anything called Zlib other than the .dll file but its not in the sorce, also in my MySQL Server 5.0" folder there is no folder called \lib\opt so its clear to me I am mentaly challenged or something because everyone else seems to know what that means but me.
Am I suppose to create it or is it something I am missing?
Let me be clear on what I did.
1. Downloaded Source 0.3 from the main page on EQ2Emulator.net, then installed and ran Visual C++ Express Edition.
Opened VC++ followed the direction in the tutorial in the tut section of the forums here. But once I got to the part above, I get lost, I cant find the directories its saying I should include. infact I cant find anything Zlib or \include or \lib\opt or anything. So its my guess I am misunderstanding whats being said.
I managed through a server creation for another game using VC# but this is a bit different for me.
Hope all these questions are ok.

Posted: Sun Nov 18, 2007 10:24 pm
by Quicksand
I decided to slow down a bit and reread the tutorial and it actual mentions what the problem is if I dont have these directories, very sorry. Going to try again now.
*edit*
I got the compile thing working now after actually reading the whole tutorial (sorry) however, my questions now are:
1. once I am done compiling, do I put the source (just compiled) folders inside the same folder as my world.exe?
2. There is no world.exe in the 0.3 source download, am I suppose to use the same one I was using before? and not the one from the precompiled 0.3 binary ?

Posted: Wed Nov 21, 2007 9:13 am
by techguy84
Their should be a build folder in your source directory once your done compiling. In this folder is your world.exe file, or it may also be a world debug, which worked the same for me.
Once you copy over that file, you need to copy over the newer struct xml files from the Config File Directories. Also make sure that nothing was changed or added to the ini files, if not, you can use your old ones.