View Single Post
  #9  
Old 09-24-2014, 08:25 AM
zerjz3
Banned
 
Join Date: Aug 2010
Location: Sanctuary
Posts: 269
Default

Code:
Error	10	error C2819: type 'Inventory' does not have an overloaded member 'operator ->'	C:\EQ\Source\zone\entity.cpp	4076	1	zone
Error	11	error C2232: '->Inventory::HasItem' : left operand has 'class' type, use '.'	C:\EQ\Source\zone\entity.cpp	4076	1	zone
I get these errors when compiling with that code... seems like we're getting really close to having this figured out.. I copy/pasted what you posted, checking now to make sure I didn't leave some ; or something out from being sloppy

Edit:
Code:
            else if (ClientEntry->GetInv().HasItem(17181, 0, 0xff))
	            WAPP2->RankMSGID = 8043;
compiled successfully, testing now...

Edit: Everything compiles successfully, the server runs without error, but having the specified item doesn't return any sort of string before the level and class in /who ... experimenting more with this
Reply With Quote