View Single Post
  #1  
Old 08-07-2010, 12:12 PM
wheeljack
Fire Beetle
 
Join Date: Aug 2010
Posts: 18
Default COMMITTED: Tradeskill message for missing components

This patch sends the "Sorry, but you don't have everything you need for this recipe in your general inventory." message (#3456) to the client when they attempt a tradeskill combine using the new UI and are missing components. This replicates the behavior on live.

Code:
Index: zone/StringIDs.h
===================================================================
--- zone/StringIDs.h	(revision 1617)
+++ zone/StringIDs.h	(working copy)
@@ -195,6 +195,7 @@
 #define SUSPEND_MINION_SUSPEND		3268	//%1 tells you, 'By your command, master.'
 #define ONLY_SUMMONED_PETS		3269	//3269 This effect only works with summoned pets.
 #define SUSPEND_MINION_FIGHTING		3270    //Your pet must be at peace, first.
+#define TRADESKILL_MISSING_COMPONENTS	3456 //Sorry, but you don't have everything you need for this recipe in your general inventory.
 #define TRADESKILL_LEARN_RECIPE		3457	//You have learned the recipe %1!
 #define WHOALL_NO_RESULTS			5029	//There are no players in EverQuest that match those who filters.
 #define PETITION_NO_DELETE			5053	//You do not have a petition in the queue.
Index: zone/tradeskills.cpp
===================================================================
--- zone/tradeskills.cpp	(revision 1617)
+++ zone/tradeskills.cpp	(working copy)
@@ -355,6 +355,7 @@
 	if(count != needcount) {
 		user->QueuePacket(outapp);
 		safe_delete(outapp);
+		user->Message_StringID(MT_Skills, TRADESKILL_MISSING_COMPONENTS);
 		return;
 	}
Reply With Quote