Thread: Miscellaneous: Stalking Probe only has one charge
View Single Post
  #9  
Old 07-31-2010, 08:04 AM
Ropethunder Ropethunder is offline
Developer


Join Date: May 2010
Posts: 399
Default

I'm trying to follow how tradeskill combines work but I'm getting lost here:

tradeskill.cpp

Code:
#ifdef EMBPERL
	if (success) 
		((PerlembParser*)parse)->Event(EVENT_COMBINE_SUCCESS, spec.recipe_id, spec.name.c_str(), (NPC*)NULL, user);
	else
		((PerlembParser*)parse)->Event(EVENT_COMBINE_FAILURE, spec.recipe_id, spec.name.c_str(), (NPC*)NULL, user);
#endif
..

embparser.cpp

Code:
case EVENT_COMBINE_SUCCESS:
case EVENT_COMBINE_FAILURE:
{
	ExportVar(packagename.c_str(), "recipe_id", objid);
	ExportVar(packagename.c_str(), "recipe_name", data);
	break;
}
Where is ExportVar going?

Possible lead:

http://www.eqemulator.org/forums/showthread.php?t=28806