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 06-08-2009, 04:36 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default Typo in rev 640 of eqemu

This patch fixes the minor typo:

Code:
Index: common/shareddb.h
===================================================================
--- common/shareddb.h   (revision 640)
+++ common/shareddb.h   (working copy)
@@ -6,7 +6,7 @@
 #include "database.h"
 #include "skills.h"
 #include "../zone/spdat.h"
-#include "item.h"
+#include "Item.h"

 #include <list>
Reply With Quote
  #2  
Old 06-08-2009, 04:46 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Also:

Code:
Index: zone/perl_questitem.cpp
===================================================================
--- zone/perl_questitem.cpp     (revision 640)
+++ zone/perl_questitem.cpp     (working copy)
@@ -22,7 +22,7 @@
 #include "../common/debug.h"
 #include "embperl.h"

-#include "../common/item.h"
+#include "../common/Item.h"

 #ifdef THIS            /* this macro seems to leak out on some systems */
 #undef THIS
Reply With Quote
  #3  
Old 06-08-2009, 05:26 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

I also got this linker error:

Code:
embperl.o: In function `xs_init':
/home/eqemu/sources/EQEmuServer-trunk/zone/embperl.cpp:88: undefined reference to `boot_QuestItem'
Which I resolved with this patch:

Code:
Index: zone/perl_questitem.cpp
===================================================================
--- zone/perl_questitem.cpp     (revision 640)
+++ zone/perl_questitem.cpp     (working copy)
@@ -29,10 +29,6 @@
 #endif


-#ifdef __cplusplus
-extern "C"
-#endif
-
 XS(XS_QuestItem_GetName);
 XS(XS_QuestItem_GetName) {
        dXSARGS;
@@ -119,6 +115,10 @@



+#ifdef __cplusplus
+extern "C"
+#endif
+
 XS(boot_QuestItem);
 XS(boot_QuestItem)
 {
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 09:35 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3