Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2019, 01:36 PM
phantomghost
Hill Giant
 
Join Date: May 2015
Posts: 131
Default

Here is a how to compile your own binaries, but in all honesty, I only know enough to get mine to work after referencing several posts... I actually spent hours getting errors because of PERL until I realized I just needed to re-install PERL (if you have a working server and you install a different version of PERL, your server will not work, until you re-compile your binaries successfull--- just be warned).

Here is how I got my Binaries, maybe someone who has more knowledge can explain further or fix any innaccurate statements I make... I just kept trying until I got it to work for me, so there may be something that can be done easier.

In order to compile your own binaries you need to install visual studios. https://visualstudio.microsoft.com/downloads/

Make a folder. I call mine Source#. # for me identifies which database I am building the binaries for. (I name my database PEQ1, PEQ2, etc.)

Now you will need GIT.
https://git-scm.com/downloads

Open the following website:
https://github.com/EQEmu/Server

You will need to copy the link (in a green box it says "Clone or Download"--- Copy this link.

Once installed, right click on your Source Folder and choose "git Bash here"
This will open up another window, type:

git clone https://github.com/EQEmu/Server.git
  • Notice the link after git clone is the link I copied from the github website.

Once this is complete, open the folder and you should see Source>Server >Dependencies

Open Dependencies folder and add them to this folder:
https://eqemu.github.io/
  • Download the 86 or 64 based on what your install was.
  • I had issues with PERL myself. I installed x64 PERL and everything else was x86 so it would always fail on the BUILD for Zone. I ended up re-installing PERL using 5.12.3 x86

In the Server Folder, I then create another folder named "Build" (you can use CMake to make this folder for you...)

Now download Cmake:
https://cmake.org/

Once installed, run CMake. In
"Where is the source code", navigate to your Server Folder... for example
C:\PEQ\Source\Server

"Where to build the binaries", Do the exact same thing but add /Build
C:/PEQ/Source/Server/Build

Now at the bottom left, Press Configure. Assuming no issues it should show all of the options to Generate.

Pretty much everything by default is checked, you will likely want to Check EQEMU_BUILD_LOGIN and if you want bots EQEMU_ENABLE_BOTS

Press Generate. This should

Now the portion you will need visual studios (fairly long download/install so you may want to start this first) I use visual studio 2017 (free community version) but currently the download is 2019 (I assume 2019 works--- but honestly not sure).
https://visualstudio.microsoft.com/downloads/

Once downloaded you may want to reference this post on here:
http://www.eqemulator.org/forums/showthread.php?t=35722

In your Source>Server>Build folder there will be a file : EQEmu.sln

Open this file and it will open Visual studios.

Typically, if no issues (this is where I originally had issues, I changed my Zone to use x64 instead of Win32, but I kept getting compile errors--- which is why I switched to perl5.12.3 x86) you should be able to just Build the binaries here:
Build Tab>Build Solution

After a few minutes, if all went well, you should see XX Successful, and hopefully 0 Unsuccessful. (You may see one skipped, under Build>Configuration Manager, Install was not checked by default).
  • If you have any Unsuccesful you will need to read the errors and attempt to correct them.

I used Debug and Win32 for my build. (You will need to match whatever you are compiling for x86 or x64. (Reference the post above).

About a week after my original compile, I had an error Debug Assertion error, I found a few posts regarding this error, but no solution. I fixed mine by Building the Solution in Release and then replacing just these files into my server. (I also had to debug my clients).

If you have to attempt the Build again, I would use Clean Solution first... or use Rebuild solution.

Assuming all is successful, under Source>Server>Build>Bin>Debug will be all of the files you need to copy/paste into your EqEmuServer folder (or whatever your actual server folder name is--- the one with t_start.bat etc.)

I'd suggest making a copy of all the original file, before replacing--- in the event something went wrong... but that is purely up to you.
Reply With Quote
  #2  
Old 06-15-2019, 07:41 PM
Stubbay
Sarnak
 
Join Date: Sep 2012
Posts: 51
Default

Quote:
Originally Posted by phantomghost View Post
Here is a how to compile your own binaries, but in all honesty, I only know enough to get mine to work after referencing several posts... I actually spent hours getting errors because of PERL until I realized I just needed to re-install PERL
This is actually similar to why I was so frustrated up to the point of creating a thread; spent two days trying to simply get the server up, only to realize I needed to reinstall MariaDB. Then, about 3 hours more, attempting to log into EOC, because the guide (both wiki and forum), had me using a value I shouldn't have, and found the solution to, by accident. So, forgive my first post if it came off as whiny lol.

Thank you for the in-depth reply. This sounds a lot like something i was attempting to follow on the wiki, but with no luck. I'm either using my Command Prompt improperly, or something about it has been changed since the time the wiki page was created... or possibly they're not as familiar with Windows; I did see a reply where one dev said he primarily uses Linux, and wasn't sure about the specifics in Windows.

I'll be attempting this later today, and likely committing it to it's own txt doc, for future reference.
Reply With Quote
  #3  
Old 06-16-2019, 12:21 AM
Stubbay
Sarnak
 
Join Date: Sep 2012
Posts: 51
Default

Quote:
Originally Posted by phantomghost View Post

Now download Cmake:
https://cmake.org/

Once installed, run CMake. In
"Where is the source code", navigate to your Server Folder... for example
C:\PEQ\Source\Server

"Where to build the binaries", Do the exact same thing but add /Build
C:/PEQ/Source/Server/Build

Now at the bottom left, Press Configure. Assuming no issues it should show all of the options to Generate.

Pretty much everything by default is checked, you will likely want to Check EQEMU_BUILD_LOGIN and if you want bots EQEMU_ENABLE_BOTS

Press Generate. This should
I am continually getting this error:

HTML Code:
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.15/Modules/FindZLIB.cmake:115 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:293 (FIND_PACKAGE)
I'm gonna see if I can find a solution, or those files, it says it is missing, but i thought I should report this, to see if you recognized it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:51 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3