Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-01-2009, 05:32 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 654
Default Rev731

I get a compile error in zone.exe when attempting to compile revision 731. This is the error that VS shows:

\client_packet.cpp(5579) : error C2039: 'GetMaxPetitionID' : is not a member of 'PetitionList'
d:\zeverquest\svn\source code\zone\../zone/petitions.h(97) : see declaration of 'PetitionList'
Reply With Quote
  #2  
Old 07-01-2009, 06:23 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

I had the same issue earlier, although I'm not really sure what caused it. I basically had to redownload zone/petitions.h manually and was able to compile.

I view & edit the source using Visual Studio C++ 2008 Express Edition, but compile it on Linux.

EDIT: It actually looks like these got taken out in Rev 729. I'm about to make a commit, so I'll get these added back in.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki

Last edited by AndMetal; 07-01-2009 at 03:17 PM..
Reply With Quote
  #3  
Old 07-01-2009, 02:16 PM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 654
Default

In Rev733 the petitions.h compile error seems to be fixed but now these show up.

.\questmgr.cpp(627) : error C2572: 'QuestManager::scribespells' : redefinition of default parameter : parameter 2
d:\zeverquest\svn\source code\zone\questmgr.h(8 : see declaration of 'QuestManager::scribespells'

.\questmgr.cpp(647) : error C2572: 'QuestManager::traindiscs' : redefinition of default parameter : parameter 2
d:\zeverquest\svn\source code\zone\questmgr.h(89) : see declaration of 'QuestManager::traindiscs'

.\AA.cpp(186) : error C2664: 'void Client::Message_StringID(int32,int32,const char *,const char *,const char *,const char *,const char *,const char *,const char *,const char *,const char *,int32)' : cannot convert parameter 4 from 'uint32' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

.\AA.cpp(18 : error C2664: 'void Client::Message_StringID(int32,int32,const char *,const char *,const char *,const char *,const char *,const char *,const char *,const char *,const char *,int32)' : cannot convert parameter 4 from 'uint32' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Reply With Quote
  #4  
Old 07-01-2009, 02:50 PM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

Should be fixed in 734
Reply With Quote
  #5  
Old 07-01-2009, 04:59 PM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 654
Default

At Rev735 all is well. Thanks for the quick fixes!
Reply With Quote
  #6  
Old 07-01-2009, 08:06 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Oddly enough, GCC corrects these and just throws a warning:

Code:
AA.cpp: In member function ‘void Client::ActivateAA(aaID)’:
AA.cpp:186: warning: invalid conversion from ‘uint32’ to ‘const char*’
AA.cpp:186: warning:   initializing argument 4 of ‘virtual void Client::Message_StringID(int32, int32, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, int32)’
AA.cpp:186: warning: invalid conversion from ‘uint32’ to ‘const char*’
AA.cpp:186: warning:   initializing argument 5 of ‘virtual void Client::Message_StringID(int32, int32, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, int32)’
AA.cpp:186: warning: invalid conversion from ‘uint32’ to ‘const char*’
AA.cpp:186: warning:   initializing argument 6 of ‘virtual void Client::Message_StringID(int32, int32, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, int32)’
AA.cpp:188: warning: invalid conversion from ‘uint32’ to ‘const char*’
AA.cpp:188: warning:   initializing argument 4 of ‘virtual void Client::Message_StringID(int32, int32, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, int32)’
AA.cpp:188: warning: invalid conversion from ‘uint32’ to ‘const char*’
AA.cpp:188: warning:   initializing argument 5 of ‘virtual void Client::Message_StringID(int32, int32, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, int32)’
Code:
questmgr.cpp:627: warning: default argument given for parameter 2 of ‘uint16 QuestManager::scribespells(uint8, uint8)’
questmgr.h:88: warning: after previous specification in ‘uint16 QuestManager::scribespells(uint8, uint8)’
questmgr.cpp:647: warning: default argument given for parameter 2 of ‘uint16 QuestManager::traindiscs(uint8, uint8)’
questmgr.h:89: warning: after previous specification in ‘uint16 QuestManager::traindiscs(uint8, uint8)’
But at least we got it fixed and now I know to look out for these
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
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 08:02 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