Go Back   EQEmulator Home > EQEmulator Forums > General > General::News

General::News EQemu news posts.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 07-22-2005, 06:59 AM
drognir
Fire Beetle
 
Join Date: Apr 2005
Posts: 22
Default

On line ~18 of perl\lib\core\socket.h, change it from:
Quote:
#include winsock.h
to:
Quote:
#include winsock2.h
Apparently it doesn't like <><><>
  #2  
Old 07-25-2005, 05:40 AM
Rimok
Fire Beetle
 
Join Date: Jun 2004
Posts: 14
Default Uh perl/ subtree

is missing for me. Am I not getting everything in cvs? I only need to do the one cvs co right?
  #3  
Old 07-25-2005, 06:01 AM
Rimok
Fire Beetle
 
Join Date: Jun 2004
Posts: 14
Default Winsock Conflicts

I still get errors compiling the files we add from common.

Sample is :

--------------------Configuration: World - Win32 Release--------------------
Compiling...
EQChatPacket.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(49) : error C2011: 'fd_set' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(83) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(134) : see previous definition of 'FD_SET'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(92) : error C2011: 'timeval' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(14 : error C2011: 'hostent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(161) : error C2011: 'netent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(16 : error C2011: 'servent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(175) : error C2011: 'protoent' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(259) : error C2011: 'in_addr' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(309) : error C2011: 'sockaddr_in' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(319) : error C2011: 'WSAData' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(391) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(430) : see previous definition of 'SO_DONTLINGER'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(449) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(483) : see previous definition of 'AF_IPX'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(46 : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(506) : see previous definition of 'AF_MAX'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(474) : error C2011: 'sockaddr' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(483) : error C2011: 'sockproto' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(520) : error C2011: 'linger' : 'struct' type redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(533) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(573) : see previous definition of 'SOMAXCONN'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(551) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(59 : see previous definition of 'FD_READ'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(552) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(601) : see previous definition of 'FD_WRITE'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(553) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(604) : see previous definition of 'FD_OOB'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(554) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(607) : see previous definition of 'FD_ACCEPT'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(555) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(610) : see previous definition of 'FD_CONNECT'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(556) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock2.h(613) : see previous definition of 'FD_CLOSE'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(829) : error C2011: '_TRANSMIT_FILE_BUFFERS' : 'struct' type redefinition
Error executing cl.exe.

EQChatPacket.obj - 13 error(s), 0 warning(s)


Now it looks like part of the project is using winsock.h and part is using winsock2.h... I can't seem to find the files that need changing. I found a couple references to winsock2.h and changed em to winsock.h and still no-go. Ans I do not have a perl/* subtree.

Thanks.
  #4  
Old 07-26-2005, 03:20 PM
haxx7
Fire Beetle
 
Join Date: Jul 2005
Posts: 6
Default

Rimok, did you have any luck fixing this?

I'm having the exact same problem.
  #5  
Old 07-28-2005, 05:48 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default hmm?

Quote:
Originally Posted by haxx7
Rimok, did you have any luck fixing this?

I'm having the exact same problem.
I was able to compile it fine once I added files to the vs.* project file(s) (if you're using Windows):
  1. EQWorldPacket.cpp
  2. EQZonePacket.cpp
  3. EQLoginPacket.cpp
  4. EQChatPacket.cpp
  5. EQMailPacket.cpp
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
  #6  
Old 07-29-2005, 08:05 AM
morepo
Fire Beetle
 
Join Date: Jul 2005
Posts: 8
Default Minilogin for 0.6.2??

Hi all, I am pretty new for this forum and

I just made success to build 0.6.2-DR0 on NetBSD with some platform specific modifications, and also made DB thingies setup done with information from this forums. (Thanks a lot guys B)

Now I have a world server and zone servers running on my NetBSD box, but I can't login into the world server with Minilogin 0.6.1 downloaded from sourceforge project page.

Are there plans to update the Minilogin to 0.6.2 (with the latest opcodes.conf)?

Or is it possible to login with 0.6.2-DR0 server with 0.6.1 Minilogin using the latest opcodes.conf?

Anyway I put some debug print in world/client.cpp to check what the Minilogin server send to the world server with OP_SendLoginInfo (w/ opcodes.conf included in 0.6.1 Minilogin.) And its show:

1. strncpy(name, (char*)li->login_info,1 and name is '1'.
2. strncpy(password, (char*)&(li->login_info[strlen(name)+1]), 15) and password is just a garbage, barely NUL terminated fortunately

When I tried to use the latest opcodes.conf with 0.6.1 Minilogin, the world server wasn't respond.

Hope this might help someone

P.S.
If someone trying to run 0.6.2-DR0 or older version of EQemu on NetBSD, you might do followings:

1. Increase SYSV maximum shared memory size with kernel config by:
options SHMMAXPGS=16384

2. If you are using perl-5.8.1 compiled on older NetBSD (like 1.6), zone servers embeded perl dumps core. Update it to perl-5.8.6nb4, the latest pkgsrc.
  #7  
Old 08-01-2005, 01:32 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default hmm

Quote:
Originally Posted by morepo
Hi all, I am pretty new for this forum and

Iservers embeded perl dumps core. Update it to perl-5.8.6nb4, the latest pkgsrc.
are you able to complie eqextractor as well ?
I seem to be stuck on the patch version.


c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(118 : error C2039: 'npc' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(118 : error C2039: 'pet_owner_id' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(1213) : error C2039: 'last_name' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(1224) : error C2039: 'hairstyle' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(122 : error C2039: 'texture' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(1229) : error C2039: 'helm' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(1229) : error C2039: 'helm' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(1255) : error C2039: 'delta_heading' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(125 : error C2039: 'spawn_id' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ extractors.cpp(1259) : error C2039: 'spawn_id' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(51) : error C2039: 'spawn_id' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(53) : error C2039: 'last_name' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(54) : error C2039: 'npc' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(79) : error C2039: 'delta_heading' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(8 : error C2039: 'pet_owner_id' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(91) : error C2039: 'beard' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(93) : error C2039: 'texture' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(97) : error C2039: 'helm' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\eqextractor\ buildwriter.cpp(9 : error C2039: 'hairstyle' : is not a member of 'Spawn_Struct'
c:\eqemu\wincvs\cvsnt\eqemucvs\source\common\eq_pa cket_structs.h(191) : see declaration of 'Spawn_Struct'
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info

Last edited by sdabbs65; 08-01-2005 at 09:36 AM..
  #8  
Old 09-06-2005, 01:50 PM
FaerinTelDanor
Sarnak
 
Join Date: Jul 2005
Location: Ottawa, Ontario. Canada
Posts: 30
Default

drognir, can you tell me how you fixed the "Zone error LNK2001: unresolved external symbol "class OpcodeManager" errors? I'm getting the same problem ... the opcodemanager header and includes are all included in the project and called where they should be, can't figure out why it's giving the errors.

Thanks.
  #9  
Old 10-18-2005, 02:05 PM
ajb20
Hill Giant
 
Join Date: Jul 2004
Posts: 106
Default

1. EQWorldPacket.cpp
2. EQZonePacket.cpp
3. EQLoginPacket.cpp
4. EQChatPacket.cpp
5. EQMailPacket.cpp


These 5 files seem to be non-existant on the cvs release, where can we find them?
Closed Thread

Thread Tools
Display Modes

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 On

Forum Jump

   

All times are GMT -4. The time now is 05:58 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