Vc++ 2010
ARe there any inate problems compiling the server using VC2010?
I ask because I was adding some bot code I found in the bot forum and everything seemed fine on final compile (except all the warnings that happen). The zone and world start up seemingly fine and I can even log into the character select. Thats when it got wierd. My character was naked and it says zone is unavailable. Here is the paste of World.exe Code:
Failed to open log file: logs/eqemu_debug_world_6300.log Criimson EDIT: I ask if it is related to VC2010 because I saw several of these errors: 3>C:\perl\lib\core\sys/socket.h(34): warning C4005: 'ENOTSOCK' : macro redefinition 3>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\errno.h(120) : see previous definition of 'ENOTSOCK' 3>petitions.cpp EDIT:EDIT: As I looked back over the output on recompile I noticed this line 2> Generating Code... 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuil d.targets(990,5): warning MSB8012: TargetPath(C:\EQEMU\TESTINGFILE\HERE\trunk\EQEmuSe rver\world\ReleaseBots\World.exe) does not match the Linker's OutputFile property value (C:\EQEMU\TESTINGFILE\HERE\trunk\EQEmuServer\build \World.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). Not sure I understand this line |
Quote:
|
Here is the log from the zone trying to boot up.
No actual errors. This is the codes entire log for that zone call. Code:
--------------------------------------------- Code:
1>------ Build started: Project: Zone, Configuration: ReleaseBots Win32 ------ The only code I added to the trunk was the cleric code for mana at 50% and archetypes. It all seemed to add fine (I added it by hand as the line numbers had changed from 1886 to 1888. Criimson |
So I tried to compile just the source code with no changes and I am getting the same results.
Good news: the added code isn't the problem. I'm not completelywrong in my ability to modify code Bad news: I still don't see what is wrong Thinking its VC2010.related |
Sorry for multiple posts, but wont let me edit
Anyway, I got everything working. For those lost here are the DLs that will help MS Visual C++ 2008 Express Zlib that works MySQL Version 5.082 Once I had these correct everything went smoothly Criimson |
I always keep the guide in the Wiki for compiling up to date:
http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008 |
Did compiling under VS2010 turn out to be the issue? I'm having a very similar problem, I get a "zone unavailable" error trying to enter the world from the character select screen. I noticed on my server machine that every two minutes or so I get 4 dialogs that zone.exe has encountered a problem and needs to crash and burn.
|
Compiling with VS 2010, assuming you did it correctly, should not be an issue.
I would look in your logs for errors and make sure you have applied all of the required SQL updates to your database. |
I've compiled many times on VS Ultimate 2010. Setting up the include directories works a little different, but it works just fine.
I had the zone crashing issue as well, it turned out to be an issue with my quests directory. Take a look at the zone logs for the zone that crashed and see what the last thing that happened was. |
All times are GMT -4. The time now is 01:17 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.