Thread: Say Links
View Single Post
  #17  
Old 04-22-2009, 11:17 AM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

Oh yeah, it looks like I used an int16 in the perl XS part. I have no idea why I did that... I'm not sure this whole early morning/late night coding thing is such a great idea.

In perlparser.cpp change
Code:
uint16 itemID;
to
Code:
uint32 itemID;
And for the sake of consistency and to avoid any problems with much later item ids, you should probably change "int item_id" to "uint32 item_id" in the function headers in questmgr.h and .cpp too.
Reply With Quote