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 09-05-2006, 09:32 AM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default Compiled server with working Bind Affinity.

After updating to the newest server binaries, I've found out that Bind Affinity doesn't work. I've read the topic pertaining to this and it says that the walkspeed wasn't excluded in the build for the zone files and to comment it out.

Bind Affinity does work if you have the GM flag on, though. It's just a bit difficult for players since they can't have the luxury of turning on a GM flag. :p

Now I'm not about to admit that I can compile this and what have you, but can someone recompile the zone.exe with the fix for me? I'm about the attempt it, but there was only so much information I can get on recompiling the server files. If I am, however, unable to recompile it and I'm getting in way over my head, then I'll report back and post back. Wish me luck. :p

Also, if a newer build of the server is coming out anytime soon, could one of the devs let me know, please? Thanks in advance.
Reply With Quote
  #2  
Old 09-05-2006, 01:46 PM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Well, I'm out of steam and a bit at my wits end. I knew I was going to fail, lol. I've tried a few walkthroughs but none of them seemed to have helped me. I've had the nefarious windows.h error, and I've done several fixes listed with no avail.

So can anyone help out here? I'd really like the bind feature for my players to work. I seriously like trying to do things myself first, but I think I've hit a wall with this one. :(
Reply With Quote
  #3  
Old 09-06-2006, 02:10 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default

http://www.eqemulator.net/forums/showthread.php?t=21253

Looking at EQEmu-0.7.0-845, this issue still exists.

This is a known bug and a fix is out there, just hasn't been entered into the actual releases. If you compile your own and want to fix it, just comment out line 115 in zonedb.cpp

// r++;

Looking at the section of code, positional referance is being used and it appears that a column was removed from a SQL statement. This caused the items after the removed column to be put into the wrong variables. Removing the r++; from the code puts the values into the correct variables.
Reply With Quote
  #4  
Old 09-06-2006, 03:36 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Quote:
Originally Posted by vales
Well, I'm out of steam and a bit at my wits end. I knew I was going to fail, lol. I've tried a few walkthroughs but none of them seemed to have helped me. I've had the nefarious windows.h error, and I've done several fixes listed with no avail.

So can anyone help out here? I'd really like the bind feature for my players to work. I seriously like trying to do things myself first, but I think I've hit a wall with this one. :(
What compiler are you using?
Reply With Quote
  #5  
Old 09-06-2006, 04:51 AM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Aramid: Everything listed here. The one listed in the wikki under "Building With Visual Studio 2005 Express".

LostZaphod: I read that topic as I stated in my first paragraph.

I'll take a whack at it again in a bit.
Reply With Quote
  #6  
Old 09-06-2006, 06:16 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

I had problems with Express as well. I use PRO now....
Reply With Quote
  #7  
Old 09-06-2006, 06:29 AM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Thanks, Aramid. I'll start downloading the Pro trial (2.6 gigs!), lol.

Wait, on the wikki, it states that if you build with Visual Pro that it crashes when you hail an NPC. Should I worry?
Reply With Quote
  #8  
Old 09-06-2006, 06:47 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

You may have just hit on something Vales. If the text is very long in a quest, I have had problems where it CTD'd me. When I redid the quest with shorter lines of text, it works fine. Didn't remove any text, just did multiple quest::say lines.

Hmmmm.
Reply With Quote
  #9  
Old 09-06-2006, 06:53 AM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Aramid: Hehe, sweet! Funny how that happens.


Anyway, I successfully compiled and executed the sample application. Woot!

Thank god I didn't have to download another 2.6 gigs for it, either. I looked through the Pro walkthrough, and noticed I didn't correctly set the libraries. D'oh! I'm gonna compile the zone.exe and see if it works. I'll post back if I succeed. *crosses fingers*
Reply With Quote
  #10  
Old 09-06-2006, 08:26 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Vales: the problem also occurs if you use VS Express as well..... See this post.

http://www.eqemulator.net/forums/sho...highlight=2005
Reply With Quote
  #11  
Old 09-06-2006, 09:12 AM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Damn. :(

I have to take my fist baby steps and then attempt to fix/add any other things. I managed to compile the zone.exe file - sorta. Still giving me a few errors, and I'm determined to get it working.

Once I get this ironed out, I'll take a look at that topic. Thanks for pointing that out for me.
Reply With Quote
  #12  
Old 09-06-2006, 11:42 PM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Finally compiled everything with no errors!

Problem I'm having now is that the NPCs won't talk to me, lol. I can bind though, but it kind of defeats the purpose if players can't use soulbinders, heh. I also noticed that the file sizes are pretty different from the public release ones. Is that normal? I mean, all I did was comment out one line.

Anyways, off to bed. I'd appreciate if anyone could shed some light on my little predicament.
Reply With Quote
  #13  
Old 09-07-2006, 02:29 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default NPC no response from Hail

The solution files (Microsoft) are out of date, In the Zone project you need to add 2 preprocessor directives. (zone properties, c/c++, preprocessor, preprocessor definitions) EMBPERL,EMBPERL_PLUGIN. this will cause two more files to be loaded (but they are missing from within the project file).
you may want to change EQDEBUG=0 to EQDEBUG=5 for more debugging (same inside of world project)

Add to zone.vcproj to the "Source Files" section.

<File RelativePath=".\perl_perlpacket.cpp"></File>
<File RelativePath=".\perlpacket.cpp"></File>

you may have already add this one but if not....
ADD to the "Common Source Files"
<File RelativePath="..\common\rulesys.cpp"> </File>
Reply With Quote
  #14  
Old 09-07-2006, 02:45 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Also, if those are there, in the Solution Explorer Window, where it says Solution 'Server' (3 Projects), right click on that. Solution Server properties window will open, go down to where it says Configuration Properties. In the right pane, EMuSharemem and Wolrd should be set to Release and Zone should be set to DebugPerl...
Reply With Quote
  #15  
Old 09-07-2006, 07:05 AM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Thanks guys!

I kind of figured out that debug/release stuff by accident this last night before I went to bed. I used the "batch build" command and the same options are there as well. Was mentioned in another post a long time ago on the forums. I was doing a search for more info on how to compile and this was one of the results. Read Shawn319's post at the bottom. So it works both ways, hehe.

Gonna mess with it some more. If the devs manage to release a new build before I do, could you please make a changelog for it in the Log? That way I'll know not to mess with the new release. Thanks!

Edit:: Forgot to mention that I did compile it as a release .exe, and the file sizes are different. I'll recompile it and post back. The build folder got overwritten or something when I tried something earlier, heh.

Edit:: LostZaphod: Those lines are already in the source when I did a search for them.

Last edited by vales; 09-07-2006 at 03:22 PM..
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 06:38 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