Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #16  
Old 04-17-2014, 01:09 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

The file I am clicking on is the sixth (6) FILE down, not including the folders.

http://prntscr.com/3aqvrd

When I right click on it, here is the menu I get:

http://prntscr.com/3aqwcj
Reply With Quote
  #17  
Old 04-17-2014, 01:15 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Okay, I highlighted the Build_All, then went under the Build tab at the top and selected build solution. After several seconds and a lot of "warnings" and commands being issued, the output screen provided the following:

http://prntscr.com/3aqx2p

2 successful and 0 errors....much lower than the 12 that the document said...however, is this a true successful build?
Reply With Quote
  #18  
Old 04-17-2014, 01:23 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Right-click 'Solution' and click clear.

Then right-click 'Solution' and click build.

See where that gets ya.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #19  
Old 04-17-2014, 01:37 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

It said skipped, 2 files up-to-date. I think it is working. I moved on, but the very next step:

e) Copying the executables to your server directory:-


1.First go into the C:\EQ\Source\Build\Bin\Debug folder and copy at least the following files:

shared_memory.exe, eqlaunch.exe, queryserv.exe, ucs.exe, world.exe and zone.exe to your C:\EQ\EQEmuServer folder.

None of the executable files were in that location.
Reply With Quote
  #20  
Old 04-17-2014, 02:58 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Do you have an older version of VS installed as well?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #21  
Old 04-17-2014, 04:42 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I caught the error you posted -
Code:
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler"
- in a few other posts.

One solution was to uninstall vs 2013 and install 2012.


(Some searching led to a page where that reference, 'IAR,' was related to 'ARM.' Could be an internal cmake issue...)


EDIT: I ran the circle on this one... Looking around on the web seems to point back to the installation of the SDK.
Moofta's post with the link to the SDK download is probably your best bet. You can try searching for vs2012/vs2013 and
console application, gdi32.lib to see what others have done to fix this.

If you do manage to get it working without down-grading, please post back your results..since, others have had this
particular issue.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #22  
Old 04-17-2014, 08:54 AM
moofta
Sarnak
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 53
Default

Try using "Express 2013 for Windows Desktop" rather than "Express 2013 for Windows".

I just did a fresh install on Windows 2012 R2, installed ActivePerl, CMake and "Visual Studio Express 2013 for Windows Desktop" and I could get it to compile.

From the VS screenshots it thinks your project files are incompatible. I suspect that the "Visual Studio Express 2013 for Windows" version is more strict about the types of projects it uses, and CMAKE doesn't conform to that. (I am clutching at straws though)

When I wrote that part of the guide I didn't really think the exact VS2013 type would make a difference but maybe it does. I'm going to change it anyway since the desktop version will apply to more people (e.g. Windows 7 users).

Last edited by moofta; 04-17-2014 at 08:55 AM.. Reason: I tried it out :P
Reply With Quote
  #23  
Old 04-17-2014, 12:06 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

I went in and uninstalled VS 2013 for Windows. I downloaded and installed VS 2013 for Windows Desktop.

Deleted my old build folder. Re-compiled in cmake, without issues. Ran VS received NO INCOMPATIBLE error! Was able to right click on Build_ALL and select build. The build this time took much longer and ended with 12 successful and zero errors.

So thus far I am now successful. I would recommend maybe adding a section to the guide to insure that the person installing also installs the SDK, as I did not have that and cmake did not work until I installed that yesterday, so maybe a good idea to add it to the guide.

Also, I found this typo in the guide Moofta:

c) Download Visual Studio Express 2013
•Download Visual Studio Express 2013 For Windows Desktop (note: there is a "Visual Studio Express 2013 For Windows Desktop" do not use it as I *think* it won't work) and put it in the C:\EQ\Installs directory. Download the installer by clicking on 'Install Now'. Note this one is only a simple web installer package. It will download more when you run it.

Maybe change to:

c) Download Visual Studio Express 2013 For Windows Desktop
•Download Visual Studio Express 2013 For Windows Desktop (note: there is a "Visual Studio Express 2013 For Windows" do not use it as I *think* it won't work) and put it in the C:\EQ\Installs directory. Download the installer by clicking on 'Install Now'. Note this one is only a simple web installer package. It will download more when you run it.

I will continue to provide updates as I finish this using Moofta's guide. With all the help I am receiving, and a few tweaks here and there, we will be able to finalize that moofta's guide is working and updated.
Reply With Quote
  #24  
Old 04-17-2014, 12:14 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Another possible typo Moofta:

3.Finally, unless you have installed the full version of Lua 5.1 on your machine (there is no reason to do so in order to get EqEmu working), copy lua51.dll from the C:\EQ\Source\dependencies\luaj_x86

When I go to that location there is no such file. I do find the file within the \bin folder. Is this correct? Looks like the full path needs to be changed to:

C:\EQ\Source\dependencies\luaj_x86\bin
Reply With Quote
  #25  
Old 04-17-2014, 02:46 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

With everything built and configured, here is what I receive in my error log:

Failed to connect to database: Error: #2003: Can't connect to MySQL server on 'localhost'
Reply With Quote
  #26  
Old 04-17-2014, 04:03 PM
moofta
Sarnak
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 53
Default

wiki updated to fix the inaccuracies you mentioned- thanks.

The MySql error is probably the credentials in your eqemuconfig file not matching the correct credentials (or differing database name), or of course if the mysql server isn't running
Reply With Quote
  #27  
Old 04-17-2014, 11:29 PM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Here is the snippet of code I have in my EQEmu.xml file:

Code:
	<database>
		<host>localhost</host>
		<port>3306</port>
		<username>root</username>
		<password>Password</password>
		<db>peq</db>
	</database>
Granted that is not my actual password, but my database name is indeed peq, per Moofta's guide. Mysql is running, because from command prompt I can do the following:

Code:
> cd c:\EQ\SQL

> mysql -uroot -pPassword
I then get the MySQL lines, and if I follow it with:

Code:
> use peq
The database changes. Anyone have an idea why when I run the start.bat file, the server cannot connect to localhost?
Reply With Quote
  #28  
Old 04-18-2014, 12:39 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

try changing localhost to 127.0.0.1

I know it's silly..especially if you have it defined in your system... But, that does fix it for some people.

Also, ensure that your login.ini is setup properly.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #29  
Old 04-18-2014, 12:58 AM
Hockyplr
Sarnak
 
Join Date: Aug 2013
Posts: 43
Default

Uleat,

I tried the change as you stated, and it did not work. I did change even the login.ini file. Now I have changed the two back...but here is the login.ini file just in case I missed something:

Code:
[database]
host = 127.0.0.1
port = 3306
db = peq
user = root
password = Password
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 192.168.1.69

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf

[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType
Reply With Quote
  #30  
Old 04-18-2014, 04:27 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I don't think this affects MySQL login..but, you will need to change this:

Code:
[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 192.168.1.
When you had them changed, did you get the same 2003 error? Or were you just not able to connect to the game server?


EDIT: If you don't mind, post your eqemu_config.xml file too.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply


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 05:28 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3