Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 08-08-2010, 10:57 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Thanks Committed in Rev 1619.
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 03:36 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