Page 1 of 1

Harvesting 10+Rare

Posted: Fri May 05, 2017 2:26 pm
by Ememjr
any way to get the order in which the following show in the chat log
rare.JPG
in the order listed below like on live
you mined 10 then
you found a rare item
rare2.JPG
not sure why it doubles up my attachments

Re: Harvesting 10+Rare

Posted: Fri May 05, 2017 4:59 pm
by tyrbo
See GroundSpawn.cpp, lines 400-430ish.

Re: Harvesting 10+Rare

Posted: Sat May 06, 2017 5:54 am
by Ememjr
ok i made this change on my server and would like to request it be made on eq2emu server
in groundspawn.cpp move the following lines

Code: Select all

// chat box update for normal item (todo: verify output text)
	client->Message(CHANNEL_COLOR_HARVEST, "You %s %i \\aITEM %u %u:%s\\/a from the %s.", GetHarvestMessageName(true).c_str(), item->details.count, item->details.item_id, item->details.unique_id, item->name.c_str(), GetName());
	// add Normal item to player inventory
	client->AddItem(item);
	//Check if the player has a harvesting quest for this
	client->GetPlayer()->CheckQuestsHarvestUpdate(item, reward_total);
to just after this code

Code: Select all

if(master_item)
	 {
		// set details of Normal item
		item = new Item(master_item);
		// set how many of this item the player receives
		item->details.count = reward_total;
at around line 378-379

Re: Harvesting 10+Rare

Posted: Sat May 06, 2017 5:58 am
by Gangrenous
You OCD bastard!

Re: Harvesting 10+Rare

Posted: Mon May 08, 2017 7:12 am
by Ememjr
Gangrenous wrote: Sat May 06, 2017 5:58 am You OCD bastard!
yes but getting things fixed, lol

found that the way things were in another section you could never harvest a single rare or an imbue, it will just give you the 10+rare on the roll
that fix is here
http://www.eq2emulator.net/phpBB3/viewt ... =13&t=4197

Re: Harvesting 10+Rare

Posted: Mon May 08, 2017 3:10 pm
by Jabantiz
Committed this change to dev svn