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

Email Addon for Trinity

tbone

New Member
Joined
Oct 10, 2012
Messages
51
Reaction score
0
I posted this in GodsDisciple's thread http://www.thebuddyforum.com/demonbuddy-forum/plugins/giles-plugins/81708-giles-1-6-3-4-email-notification-v0-1-a.html but he didn't sound very interested in merging our code so I guess I'll just make a new thread for anyone that wants a couple extra features to what he has done.

I am a cheap bastard and didn't want to pay the $3 for prowl so I opened up the trinity code and just wrote an email function into it. To use this addon you have to have a gmail account so you can use the gmail smtp server.

What the addon does...
1. Allows you to configure an email notification when your bot stashes an item via the "Mobile" tab of the trinity configuration.
2. Uses the settings in the "Mobile" tab for item scores to determine what should be emailed.
3. Sends you 1 email per town run, if there were stashed items that met the notification scores.
4. Allows you to configure a bot name in the "Mobile" tab so you know which bot the email came from if you have multiple bots. This name will be included in the subject line of the email.

Installation instructions
-Delete the compiled assemblies folder in your root demonbuddy folder
-Delete both files in the demonbuddy\plugins\GilesTrinity folder ("GilesTrinity.cs" and "GilesTrinity.xaml") and replace them with the attached files.
-If you are not already on Trinity 1.6.3.4 I would recommend deleting the "demonbuddy\settings\GilesTrinity.cfg" file as well

All configuration is done via the "Mobile" tab of GilesTrinity


View attachment GilesTrinity-1.6.3.4-with_email.zip

Giles,
I would love to get this merged in with you main source line so I don't have to merge with every update you do! lol
 
Hi tbone,
Sry i didnt reply to you, but i didn't (cant remember) saw your post. Anyway you did great doing so cuz i lack time atm.
 
Is it possible to modify the plugin to mail you the same that Trinity's already saves in their stashlog? That should be all items that you're keeping. If so, what changes should be needed in order to make it work? Thanks.
 
Boas Azureus, =)
Yes its possible to do so, just put the scores of prowl and android notifications the same that you have for stash items, and you will receive a email every time he stash something.

Agora vai trabalhar
 
Searching Trinity a little I've found the slide's code in GilesTrinity.xaml:
PHP:
<Slider Name="slideWeaponNotifyScore" Height="23" HorizontalAlignment="Left" Interval="1000" Margin="47,202,0,0" Maximum="120000" Minimum="70000" SmallChange="500" TickFrequency="2000" TickPlacement="BottomRight" Value="100000" VerticalAlignment="Top" Width="175" />
<Slider Name="slideArmorNotifyScore" Height="23" HorizontalAlignment="Left" Interval="500" Margin="47,246,0,0" Maximum="50000" Minimum="20000" SmallChange="100" TickFrequency="1000" TickPlacement="BottomRight" Value="30000" VerticalAlignment="Top" Width="175" />
<Slider Name="slideJewelryNotifyScore" Height="23" HorizontalAlignment="Right" Interval="500" Margin="0,290,191,0" Maximum="50000" Minimum="20000" SmallChange="100" TickFrequency="1000" TickPlacement="BottomRight" Value="28000" VerticalAlignment="Top" Width="175" />
I suppose that if you change the Minimum to 0, it would report all items, right? GodsDisciple, is this the modification you were thinking or was another?
 
no m8, its not on the code.. on the Notification tab.. on trinity there are sliders,, put them the same as your item sliders.

dont try to complicate simple things =)
 
no m8, its not on the code.. on the Notification tab.. on trinity there are sliders,, put them the same as your item sliders.

dont try to complicate simple things =)
I'm not using Giles Trinity Loot Rules, I'm using my custom ones, so many times the items stashed have a score that doesn't match with Giles standards. Thats why I want to be able to mail all the items that are stashed, despite its score.
 
try lower the notification scores all to zero then on mobile tab..

i could guide you on the code but seems more complicated. if you receive email notification for legendarys means that its working and intended .. you just need to lower the scores.
 
Don't want to sound paranoid, but why do you need the email password to send a notification? I'm just curious.
 
.. because he will send a email from YOUR email.. what else?
if he dont have your authentication how the hell will a email be sent from our gmail acount?

anyway the code is open source, and many users are using it right now so you know its not scam
 
hey we have a new relase of GilesTrinity_v1.6.3.4 - edited by nesox.zip could you add your code to this? He fixed inactivity timer.
 
Check out the unified trinity thread. My email piece is in there plus a whole bunch of other cool things
 
yea theres cool stuff but still no info bout that u updated it with nesox changes or not ;P
 
the unified thread has all the changes.. this one and the nesox one.. thats what he meant
 
Back
Top