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 05-19-2011, 12:51 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default VZTZ Compile Issues:

I currently have a fully-functional server running the latest PEQ database and EQEmu source, and I'm used to compiling it myself.

However, I've recently developed an interest in digging through the VZTZ database and source, in order to salvage the important parts for possible submission and incorporation into the EQEmu source.

I'm pretty sure it's going to require a different setup than the current EQEmu source, so I have an entirely different machine dedicated to compiling and running it.

That said, I'm having a hard time even getting the stock release of the source to compile, and I was looking for some pointers from those who have done it before. I've done a find/replace for '_vsnprintf' to change it to 'vsnprint', as mentioned by Derision, and that reduced a large number of the warnings, but I'm still getting 1 success and 3 failures.

So far, I'm thinking I'll need to go back to the 5.8.8.822 release of perl, at the very least.

I'll be very appreciative of any pointers that can be offered. Visual C++ 2008 Express, error log available upon request.

Thanks!
__________________
Yo mama so fat, if she moved past a black hole at high velocity it'd create a closed timelike curve.
Reply With Quote
  #2  
Old 05-19-2011, 02:44 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

I just downloaded the VZTZ source from here: http://code.google.com/p/vztzfebsour...l?name=VZTZ.7z

Then did a Replace in Files to *remove* all occurrences of #define vsnprintf _vsnprintf (i.e. search for #define vsnprintf _vsnprintf and replace with nothing, should produce about 23 matches). Best way to do this is to find an occurrence of the #define in the source and paste this in the replace box, so you get the number of spaces/tabs between the vsnprintf and _vsnprintf exactly right.

Also replace #pragma comment(lib, "perl58.lib") with #pragma comment(lib, "perl510.lib") (2 matches) (as I have Perl 5.10 on my Windows box), and everything compiled fine.

EDIT: This was with Visual C++ 2008 Express.
Reply With Quote
  #3  
Old 05-19-2011, 04:02 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Worked fine for me with those steps as well.
Reply With Quote
  #4  
Old 05-24-2011, 08:26 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

That gets me a little closer; 2 succeeded, and 2 failed. Now the errors revolve around C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe.

Let me clean and build it again and post the actual error log.
Reply With Quote
  #5  
Old 05-24-2011, 08:41 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

Odd, now I'm up to 3/4.

Error occurs in building zone:

"Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'."
Reply With Quote
  #6  
Old 05-24-2011, 09:04 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

Everywhere I read seems to blame virus scanners for the cause here. I have not seen this error but you might want to try to disable any live protection while you compile.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #7  
Old 05-24-2011, 09:35 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

Wow, simple solution. I had no idea that would interfere, geez.

Thanks a bunch, everyone! 4/4!
Reply With Quote
  #8  
Old 05-24-2011, 10:05 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

... 4/4, but "world.exe has stopped working" once I try running it. Dang, really thought this was it.

Going to try a few different things, like compiling on another machine and running from another machine to see if I can rule out the local environment.
Reply With Quote
  #9  
Old 05-24-2011, 11:43 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

Since you are compiling it in VS you might as well run it in debug. EQEmu wasn't really designed (well) to spit out errors when it crashes. If you run it in debug it should eventually break in the code where it is failing.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
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 11:50 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