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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2010, 04:13 AM
eski2
Hill Giant
 
Join Date: May 2008
Location: sydney
Posts: 177
Default which .sln file should i compile?

I'm trying to compile the code according to http://merlins-revenge.org/node/70
but I'm getting a lot of errors, so i just wanted to check that i should be using SERVER.SLN not EQEmuLoginServer.sln ?
Reply With Quote
  #2  
Old 06-25-2010, 04:32 AM
Tharkun
Hill Giant
 
Join Date: Aug 2009
Posts: 125
Default

EQEmuLoginServer.sln is for the login server that comes with EQEMU....

if getting a lot of errors, and the compile is failing... make sure you have ZLIB and your compiler has it listed in its libraries.... I've done this to myself a few times... :(
Reply With Quote
  #3  
Old 06-25-2010, 05:32 AM
eski2
Hill Giant
 
Join Date: May 2008
Location: sydney
Posts: 177
Default

I've got zlib version 1.2.3
"C:\zlib" is in my "include files" as well as C:\zlib\include.
I just noticed one thing; the "library files" weren't setup as i didn't see the difference. I'm going to give that a go! I really hope this works
Reply With Quote
  #4  
Old 06-25-2010, 05:38 AM
eski2
Hill Giant
 
Join Date: May 2008
Location: sydney
Posts: 177
Default

ack, same errors from Compiling...
logsys_eqemu.cpp
logsys.cpp
EQEmuConfig.cpp
EmuTCPServer.cpp
c:\documents and settings\owner\desktop\eqemu server files\trunk\eqemuserver\common\EmuTCPConnection.h( 23) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array

is it just my system or does anyone else get those?
Reply With Quote
  #5  
Old 06-25-2010, 11:12 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

These are not errors. They are warnings and will not prevent the compile from completing. I get these same errors. I'm sure most do. Ignore them. Are you getting executables when you are done?
Reply With Quote
  #6  
Old 06-25-2010, 12:50 PM
Zandig's Avatar
Zandig
Hill Giant
 
Join Date: Jun 2006
Location: New York City
Posts: 180
Default

The proper compiling guide is in the Wiki:
http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008
Reply With Quote
  #7  
Old 06-25-2010, 11:35 PM
eski2
Hill Giant
 
Join Date: May 2008
Location: sydney
Posts: 177
Default

Thanks for that Zandig, I'll follow it from here. I've only ever used VB.NET at a beginner level and this is a little mysterious!
Reply With Quote
  #8  
Old 06-26-2010, 12:15 AM
eski2
Hill Giant
 
Join Date: May 2008
Location: sydney
Posts: 177
Default

I think I got the executables, not 100% sure but there's a Build directory under \EQEmu Server Files\trunk\EQEmuServer that has a blue ? next to it, which i assume means it's in the SVN folder but SVN doesn't know what to do with it.

I dropped my old database (goodbye old chars!) and am running peqdb_rev1549.sql ... the instructions on http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008 say to run the sql in \EQEmu Server Files\trunk\EQEmuServer\utils\sql\svn

So does that mean the only SQL i need to run now is bots.sql
botsconvert.sql and 1562_instanced_spawnconditions.sql ? (not sure what botsconvert.sql is for tho)
Reply With Quote
  #9  
Old 06-26-2010, 01:56 AM
eski2
Hill Giant
 
Join Date: May 2008
Location: sydney
Posts: 177
Default

I tried sourcing load_player.sql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.0.85-community-nt MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> use PEQ
Database changed
mysql> source C:\t\load_player.sql
ERROR:
Failed to open file 'player_tables\aa_timers.sql', error: 2

mysql>
I tested it with another file and that woirked fine
mysql> source C:\t\t.sql
+------------+-------+------+
| type | npcID | temp |
+------------+-------+------+
| Animation1 | 500 | 0 |
+------------+-------+------+
1 row in set (0.00 sec)

mysql>
I tried it via HeidiSQL
USE `peq`;
/* Loading file "C:\t\load_player.sql" into query tab #1 ... */
source player_tables/aa_timers.sql;
/* SQL Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'source player_tables/aa_timers.sql' at line 1 */

What should i do?
Reply With Quote
  #10  
Old 06-26-2010, 03:11 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

You are better off loading mysql from the directory where the .sql is located.

C:\>cd t
C:\t\>mysql -uroot -psomepass peq
mysql>source load_player.sql;
Reply With Quote
  #11  
Old 06-26-2010, 04:58 PM
eski2
Hill Giant
 
Join Date: May 2008
Location: sydney
Posts: 177
Default

Thanks for that joligario!
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 01:59 PM.


 

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