PDA

View Full Version : Setup Help/Question


helman
01-10-2012, 04:23 AM
I was just wandering if i have to port-forward to run a server for just me to play on and Dev. I'm also having a problem i got as far as building the server thing in VC++ and i'm getting Build:2 Failed:2 Up-to-date:1 Skipped:0. I did everything right but i don't know why i'm getting that error. I'm still going to be messing around to see if i can fix it.

trevius
01-10-2012, 04:47 AM
You should probably post the actual compile errors you are getting (we don't need the warnings, just the errors).

And yes, you do need to port forward if your dev is not playing from your local LAN. Anyone connecting from the outside of your network will need you to have port forwarding set for them to be able to connect.

helman
01-10-2012, 04:55 AM
But just for me i don't need to? (i'm the dev XDD)

And i don't know where my VC++ and failing at.

I think i know where. My SVN Checkout seems to not have finished some folders have a ? and not a check mark.

helman
01-10-2012, 06:33 AM
sorry for double post but for some reason i can't edit my post. But its Zone and world.

Worlds log. Sorry its going to be long.



Compiling...
XMLParser.cpp
Utility.cpp
tinyxmlparser.cpp
tinyxmlerror.cpp
tinyxml.cpp
tinystr.cpp
timer.cpp
timeoutmgr.cpp
TCPServer.cpp
TCPConnection.cpp
StructStrategy.cpp
socket_include.cpp
SharedLibrary.cpp
shareddb.cpp
serverinfo.cpp
rulesys.cpp
races.cpp
perl_EQDBRes.cpp
perl_EQDB.cpp
Parse.cpp
Generating Code...
Compiling...
packet_functions.cpp
packet_dump_file.cpp
packet_dump.cpp
opcodemgr.cpp
Mutex.cpp
moremath.cpp
MiscFunctions.cpp
misc.cpp
Mime.cpp
MemFile.cpp
md5.cpp
logsys_eqemu.cpp
logsys.cpp
Item.cpp
HTTPSocket.cpp
HttpdSocket.cpp
HttpdForm.cpp
HttpdCookies.cpp
guilds.cpp
guild_base.cpp
Generating Code...
c:\eqdb\source\trunk\eqemuserver\common\socketlib\ httpsocket.cpp(115) : warning C4715: 'HTTPSocket::ProcessReceivedData' : not all control paths return a value
Compiling...
File.cpp
extprofile.cpp
eqtime.cpp
EQStreamProxy.cpp
EQStreamIdent.cpp
EQStreamFactory.cpp
EQStream.cpp
EQPacket.cpp
EQEMuError.cpp
EQEmuConfig.cpp
EQDBRes.cpp
EQDB.cpp
EmuTCPServer.cpp
EmuTCPConnection.cpp
EMuShareMem.cpp
emu_opcodes.cpp
debug.cpp
DBMemLeak.cpp
dbcore.cpp
dbasync.cpp
Generating Code...
Compiling...
database.cpp
crc32.cpp
CRC16.cpp
Condition.cpp
classes.cpp
BasePacket.cpp
Base64.cpp
Underfoot.cpp
Titanium.cpp
SoF.cpp
SoD.cpp
Patches.cpp
HoT.cpp
Client62.cpp
Anniversary.cpp
zoneserver.cpp
zonelist.cpp
worlddb.cpp
WorldConfig.cpp
world_logsys.cpp
Generating Code...
Compiling...
wguild_mgr.cpp
ucs.cpp
queryserv.cpp
perl_HTTPRequest.cpp
perl_EQW.cpp
perl_EQLConfig.cpp
net.cpp
LoginServerList.cpp
LoginServer.cpp
lfplist.cpp
LauncherList.cpp
LauncherLink.cpp
HTTPRequest.cpp
EQWParser.cpp
.\EQWParser.cpp(116) : error C2106: '=' : left operand must be l-value
.\EQWParser.cpp(123) : error C2106: '=' : left operand must be l-value
EQWHTTPHandler.cpp
EQW.cpp
EQLConfig.cpp
console.cpp
clientlist.cpp
cliententry.cpp
Generating Code...
Compiling...
client.cpp
AdventureManager.cpp
Adventure.cpp
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.


Zones Log



Compiling...
XMLParser.cpp
worldconn.cpp
tinyxmlparser.cpp
tinyxmlerror.cpp
tinyxml.cpp
tinystr.cpp
timer.cpp
timeoutmgr.cpp
TCPServer.cpp
TCPConnection.cpp
StructStrategy.cpp
SharedLibrary.cpp
shareddb.cpp
serverinfo.cpp
rulesys.cpp
rdtsc.cpp
races.cpp
packet_functions.cpp
packet_dump_file.cpp
packet_dump.cpp
Generating Code...
Compiling...
opcodemgr.cpp
Mutex.cpp
moremath.cpp
MiscFunctions.cpp
misc.cpp
md5.cpp
logsys_eqemu.cpp
logsys.cpp
Item.cpp
guilds.cpp
guild_base.cpp
extprofile.cpp
eqtime.cpp
EQStreamProxy.cpp
EQStreamIdent.cpp
EQStreamFactory.cpp
EQStream.cpp
EQPacket.cpp
EQEmuConfig.cpp
EmuTCPServer.cpp
Generating Code...
Compiling...
EmuTCPConnection.cpp
EMuShareMem.cpp
emu_opcodes.cpp
debug.cpp
DBMemLeak.cpp
dbcore.cpp
dbasync.cpp
database.cpp
crc32.cpp
CRC16.cpp
Condition.cpp
classes.cpp
BasePacket.cpp
Underfoot.cpp
Titanium.cpp
SoF.cpp
SoD.cpp
Patches.cpp
HoT.cpp
Client62.cpp
Generating Code...
Compiling...
Anniversary.cpp
zoning.cpp
zonedbasync.cpp
zonedb.cpp
ZoneConfig.cpp
zone_logsys.cpp
zone.cpp
worldserver.cpp
waypoints.cpp
watermap.cpp
tribute.cpp
trap.cpp
trading.cpp
tradeskills.cpp
titles.cpp
tasks.cpp
spells.cpp
spell_effects.cpp
special_attacks.cpp
spdat.cpp
Generating Code...
Compiling...
spawngroup.cpp
spawn2.cpp
raids.cpp
QuestParserCollection.cpp
questmgr.cpp
QGlobals.cpp
ptimer.cpp
PlayerCorpse.cpp
pets.cpp
petitions.cpp
perlparser.cpp
perlpacket.cpp
perl_raids.cpp
perl_questitem.cpp
perl_PlayerCorpse.cpp
perl_perlpacket.cpp
perl_object.cpp
perl_npc.cpp
perl_mob.cpp
perl_hateentry.cpp
Generating Code...
Compiling...
perl_groups.cpp
perl_entity.cpp
perl_doors.cpp
perl_client.cpp
pathing.cpp
parser.cpp
Object.cpp
npc.cpp
net.cpp
MobAI.cpp
mob.cpp
Map.cpp
loottables.cpp
inventory.cpp
horse.cpp
hate_list.cpp
guild_mgr.cpp
guild.cpp
groups.cpp
forage.cpp
Generating Code...
Compiling...
fearpath.cpp
faction.cpp
exp.cpp
EQEMuError.cpp
entity.cpp
embxs.cpp
embperl.cpp
.\embperl.cpp(161) : error C2106: '=' : left operand must be l-value
.\embperl.cpp(168 ) : error C2106: '=' : left operand must be l-value
embparser.cpp
effects.cpp
doors.cpp
command.cpp
client_process.cpp
client_packet.cpp
client_mods.cpp
client_logs.cpp
client.cpp
botspellsai.cpp
bot.cpp
bonuses.cpp
beacon.cpp
Generating Code...
Compiling...
attack.cpp
aggro.cpp
AA.cpp
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.


So as you can see its embperl.cpp and EQWParser.cpp. Any help on why these are giving me problems?

trevius
01-10-2012, 08:25 AM
Make sure you are running rev2095 or later. You may be on Rev2092 to 2094 and the change from 2092 was causing issues and wasn't reverted until Rev2095.

helman
01-10-2012, 08:30 PM
How do I do that?

Edit i deleted the zone folder and i'm re-downloading it.

Ok it says its at 2096. is there a way to update to only 2095?

joligario
01-10-2012, 08:42 PM
You don't need to downgrade. 2096 is good.

helman
01-10-2012, 09:08 PM
every time i try to build my server world and Zone give me an error, and wont build. Its not anything with MySQL,Perl, or Zlib There all installed right. TortoiseSVN is also installed right. VC++ 2008 EE is installed right to. So what can my problem be?

helman
01-11-2012, 04:30 AM
Ok again I'm sorry to double. But after updating to VC++2010 I got 4 build and 1 failed. Its 6 Fatal errors in eqlaunch. Deleted that folder and doing a svn updated to see if it fixes it.

edit nope still getting the error. still tinkering around with it.

trevius
01-11-2012, 06:16 AM
I still run VS2008, so I dunno what exactly needs to be done on 2010. You may want to see if there is any difference between compiling the Server.sln vs. the Server10.sln which is for 2010.

Andrew80k
01-11-2012, 09:29 AM
What version of perl are you using? If you're using vs2010, it will be looking for perl5.14.

helman
01-11-2012, 07:05 PM
I've got t he same perl, And I'm getting not a fatal error just 6 errors with eqlaunch. I re-downloaded vs2008 and was getting the same error as in 2010. So I'm going to re-download the DB again (for the 18th time) to see if it will fix it.

Note re-downloading 2008 got rid of the 2 errors i was having before. Or I think it did anyway.

helman
01-11-2012, 08:30 PM
Yet again a double post. They need to make it to where we can edit our posts like 5 or 3 times. But anyway. That didn't fix my error. It is as follows. again sorry its going to be long.

1>------ Build started: Project: eqlaunch, Configuration: Release Win32 ------
1> worldconn.cpp
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflateEnd referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflate referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflateInit_ referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflateEnd referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflate referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflateInit2_ referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>.\..\Build\eqlaunch.exe : fatal error LNK1120: 6 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




Edit: I think I'm going to just give up on this. In VS2008 I have 3 errors, one in zone, one in world, and one in eqlanuch. In VS2010 i have one error and its the one i posted on top. and getting one reply a day doesn't help me much eater.

provocating
01-11-2012, 09:01 PM
and getting one reply a day doesn't help me much eater.

Dude, you need to count.

lerxst2112
01-11-2012, 09:16 PM
You are missing zlib.lib.

helman
01-11-2012, 09:21 PM
ok 3 but, Still. No one seems to know whats wrong or how to fix it. I've uninstalled zlib,perl,mysql,VS2008, VS2010 and tortoisesvn and reinstalled them all.. I've even downloaded the source like i don't know how many times. no matter what i do i can't seem to fix the errors.

At Lerxst I'll look and get that fixed.

Edit i have it in my c/zlib/lib and i'm still getting the 1>.\..\Build\eqlaunch.exe : fatal error LNK1120: 6 unresolved externals.
Did i put it in the wrong folder?

edit 2 and I'm still getting
EQWParser.cpp
1>.\EQWParser.cpp(116) : error C2106: '=' : left operand must be l-value
1>.\EQWParser.cpp(123) : error C2106: '=' : left operand must be l-value

I have to go to the store now, so when i get back i'm going to tinker around, and see if i skipped something. (again)

lerxst2112
01-11-2012, 10:11 PM
Doesn't matter where you put libraries in as long as the library directory in visual studio has that directory in the list.

The perl issue has become somewhat complicated in the last few source changes, so I could be wrong, but generally that error is because you're using perl 5.14 and you should probably be using 5.12.

helman
01-11-2012, 10:43 PM
Ok I'll downgrade, and see if that dose the trick.

Ok it failed saying it could not find perl510.lib. I don't have this so how do i fix this?

fixed it copyed perl512.lib and named it perl510.lib XDD i don't know if this will cause any problems tho.

helman
01-12-2012, 12:19 AM
Yes, It finally built it all. Thanks guys for the help. Now time to go back to the guild XDD.


(Sorry yet again for double post)

-maybe i just checked to see and it was on debug so i'm rebuilding now-

Its working now