What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

How to make it drop Rares/Whites in town?

MathewDK

New Member
Joined
Nov 15, 2015
Messages
127
Reaction score
0
Hey guys,

Is there a way to make it drop Rare/Whites in town instead of stashing them?

Or is there a macro that can empty your stash tab or inventory on the floor very fast?

It's destroying my hand having to drop materials to my main all the time.

Thanks in advance.

Cheers,
MathewDK
 
I've been taking a closer look at the coding and i got no clue what to change, but I found stuff like this:

// Stashing Whites, auto-keep
if (Trinity.Settings.Loot.TownRun.StashWhites && isEquipment && cItem.Quality <= ItemQuality.Superior)
{
Logger.Log(TrinityLogLevel.Info, LogCategory.UserInformation, "{0} [{1}] [{2}] = (stashing whites)", cItem.RealName, cItem.InternalName, tItemType);
return true;
}
// Else auto-trash
if (cItem.Quality <= ItemQuality.Superior && (isEquipment || cItem.TrinityItemBaseType == TrinityItemBaseType.FollowerItem))
{
Logger.Log(TrinityLogLevel.Info, LogCategory.UserInformation, "{0} [{1}] [{2}] = (trash whites)", cItem.RealName, cItem.InternalName, tItemType);
return false;
}

// Stashing blues, auto-keep
if (Trinity.Settings.Loot.TownRun.StashBlues && isEquipment && cItem.Quality >= ItemQuality.Magic1 && cItem.Quality <= ItemQuality.Magic3)
{
Logger.Log(TrinityLogLevel.Info, LogCategory.UserInformation, "{0} [{1}] [{2}] = (stashing blues)", cItem.RealName, cItem.InternalName, tItemType);
return true;
}
// Else auto trash
if (cItem.Quality >= ItemQuality.Magic1 && cItem.Quality <= ItemQuality.Magic3 && (isEquipment || cItem.TrinityItemBaseType == TrinityItemBaseType.FollowerItem))
{
Logger.Log(TrinityLogLevel.Info, LogCategory.UserInformation, "{0} [{1}] [{2}] = (trashing blues)", cItem.RealName, cItem.InternalName, tItemType);
return false;
}




public override bool ShouldStashItem(ACDItem item)
{
// Salvage/Sell/Stashing is disabled during greater rifts
if (Trinity.Player.ParticipatingInTieredLootRun)
return false;

bool action = ShouldStashItem(item, ItemEvaluationType.Keep);

if (action)
ItemStashSellAppender.Instance.AppendItem(CachedACDItem.GetCachedItem(item), "Stash");

if (item.ItemQualityLevel >= ItemQuality.Magic1 && Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.All)
ItemDropper.Drop(item);

if (action && item.ItemQualityLevel >= ItemQuality.Magic1 && Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.Keep)
ItemDropper.Drop(item);

if (!action && item.ItemQualityLevel >= ItemQuality.Magic1 && Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.Vendor)
ItemDropper.Drop(item);

return action;
}


I'm sure there is somewhere in Trinity where i can adjust some config / settings / code to make it work. Anyone got any clue where/what/how?
 
I'm really bad with coding, someone got a clue what to do ? :S
 
This is the part in TrinityItemManager that triggers it to drop legendary items instead of stash them.
http://pastie.org/pastes/10561769/text

Changing it to this

if (Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.All)
ItemDropper.Drop(item);

would probably drop everything in town if you have the setting set to all..

i haven't tested this however.. use with caution, to do it properly you'd have to add a bunch of exceptions for things people normally don't want to drop.. like bounty caches, potions etc.
 
This is the part in TrinityItemManager that triggers it to drop legendary items instead of stash them.
http://pastie.org/pastes/10561769/text

Changing it to this

if (Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.All)
ItemDropper.Drop(item);

would probably drop everything in town if you have the setting set to all..

i haven't tested this however.. use with caution, to do it properly you'd have to add a bunch of exceptions for things people normally don't want to drop.. like bounty caches, potions etc.

CHEERS MAN, thanks for the answer !

I'll try it out :) don't worry , I already got exceptions for that . And I'll only use it for regular rifts to farm blues/whites for my main. :)
 
CHEERS MAN, thanks for the answer !

I'll try it out :) don't worry , I already got exceptions for that . And I'll only use it for regular rifts to farm blues/whites for my main. :)

This might be a silly question, but why would you want to drop items?
 
This might be a silly question, but why would you want to drop items?

I run 4 chars in the same game (multi-bot), and i want my 3 alts to drop all whites/blues in town for my main so I can ... yeah spend all my death breaths in kanais cube :)
 
This is the part in TrinityItemManager that triggers it to drop legendary items instead of stash them.
http://pastie.org/pastes/10561769/text

Changing it to this

if (Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.All)
ItemDropper.Drop(item);

would probably drop everything in town if you have the setting set to all..

i haven't tested this however.. use with caution, to do it properly you'd have to add a bunch of exceptions for things people normally don't want to drop.. like bounty caches, potions etc.

As I said I'm very new to coding/programming. In the file, do I switch out the whole section with the one u wrote? or just a small part of it?
 
This is the part in TrinityItemManager that triggers it to drop legendary items instead of stash them.
http://pastie.org/pastes/10561769/text

Changing it to this

if (Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.All)
ItemDropper.Drop(item);

would probably drop everything in town if you have the setting set to all..

i haven't tested this however.. use with caution, to do it properly you'd have to add a bunch of exceptions for things people normally don't want to drop.. like bounty caches, potions etc.

OMFG I GOT IT TO WORK !!! YOUR THE BEST !!!

U just made my day man :))) cheerrs !!


I got a few more questions, I have 2 problems that occur when I run 4 accounts in same game doing T8 or T9 rifting, sometimes one char gets stuck in town and wait for rift to close, like it won't enter the rift. Untill someone finnish the rift and then next rift they enter. But, over a period of 5-8 hours, at some point 3 chars can get stuck in town and 1 stuck in the rift, and then everyone is kind of stuck.

Is there some way to make a char click on that portal instead of waiting in town? or is there a way to add a button / hotkey to demonbuddys "Start" and "Stop" option, because the easiest way to fix it, it usually just to press Stop. Start. And then it enters rift. So I could have a macro running throughout the night pressing Stop+Start once every let's say 10-15 minutes. To optimize legs/h.

Would very much appreciate some feedback/ideas on how to fix this. Or if it's possible to change something in the code to do so.
 
someone knows?

I got a few more questions, I have 2 problems that occur when I run 4 accounts in same game doing T8 or T9 rifting, sometimes one char gets stuck in town and wait for rift to close, like it won't enter the rift. Untill someone finnish the rift and then next rift they enter. But, over a period of 5-8 hours, at some point 3 chars can get stuck in town and 1 stuck in the rift, and then everyone is kind of stuck.

Is there some way to make a char click on that portal instead of waiting in town? or is there a way to add a button / hotkey to demonbuddys "Start" and "Stop" option, because the easiest way to fix it, it usually just to press Stop. Start. And then it enters rift. So I could have a macro running throughout the night pressing Stop+Start once every let's say 10-15 minutes. To optimize legs/h.

Would very much appreciate some feedback/ideas on how to fix this. Or if it's possible to change something in the code to do so.
 
Your link not working on which file to change. mind posting the file needed to be changed please
 
The text to change is somewhere on this topic, no need for the file. Also, if you change your current file to the one from 2015, your bot most likely won't work.

Aren't they banning people straight away? Or making banwaves like multiple times each season now? Is it even worth it, to bot on alts now? or?
 
Your link not working on which file to change. mind posting the file needed to be changed please

The text to change is somewhere on this topic, no need for the file. Also, if you change your current file to the one from 2015, your bot most likely won't work.

Aren't they banning people straight away? Or making banwaves like multiple times each season now? Is it even worth it, to bot on alts now? or?
 
pastie.org site link is no longer working. so i was wondering which file it was that needed that code changed to the one provided . about the banning thing i havent heard anything about people being banned.
 
pastie.org site link is no longer working. so i was wondering which file it was that needed that code changed to the one provided . about the banning thing i havent heard anything about people being banned.
Just find the line that says:

"
if (Trinity.Settings.Loot.TownRun.DropInTownOption == DropInTownOption.All)
ItemDropper.Drop(item);
"

And make sure it says that. It most likeliky is something else than .All right now, so just find that line and change it and it should be working :)
 
ive looked threw a bunch of them without any luck. Apperciate the help though. without knowing the actually file name, not gonna be able to find it. thanks though
 
Back
Top