Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
D2NT 3.1 - How do you show who dropped an item?
#1
One thing that has been bothering me, statistically, is that I never know who I picked up [x] item from. How do you get D2NT to show who dropped what [Kept] item? Because literally speaking, if you notice that a certain monster drops an item more than another certain monster, you can just "remove" the other monster from your to-do list.
Reply
#2
This has been bugging me too. Currently I've got an IP ban (that's another issue that I thought I had solved....who knows) so I can't test out my theory. Anyway, after taking a gander it seems that this *should* do the trick:

1) Open up your NTSnagit file (in your libs section). Look in the SnagIt() function for this line:

Quote:NTC_SendLogToOOG(NTC_LOG_ITEM, "Kept " + NTC_ItemQualityToMGRColor[_item.quality] + _item.name.split("\n")[0] + ";" + _item.itemdesc);

Change it to:

NTC_SendLogToOOG(NTC_LOG_ITEM, "Kept " + NTC_ItemQualityToMGRColor[_item.quality] + " from " + boss + _item.name.split("\n")[0] + ";" + _item.itemdesc);


2) Open up all the files found in NTBot\bots. You will need to add a single line to all of them.

For example, this is my old NTAndariel file:

Quote:function NTMain()
{
Include("libs/common/NTCommon.ntl");

My new file:

Quote:function NTMain()
{
var boss="Andy";

Include("libs/common/NTCommon.ntl");

Of course the word "Andy" can say whatever you want. That's the text that will appear in your manager. At least that's the theory - I can't verify right now due to IP ban.[COLOR="Silver"]

---------- Post added 08-21-2010 at 02:59 AM ---------- Previous post was 08-20-2010 at 08:35 PM ----------

[/COLOR]I had a chance to test this tonight. It turns out your NTBots\bots file should look like this (this is my Andariel file):

Quote:var boss="Andy";

function NTMain()
{
Include("libs/common/NTCommon.ntl");

Also, this is what the NTSnagIt line should look like:

Quote:NTC_SendLogToOOG(NTC_LOG_ITEM, "Kept " + NTC_ItemQualityToMGRColor[_item.quality] + _item.name.split("\n")[0] + " from " + boss + ";" + _item.itemdesc);

Now my manager says Kept <item> from <boss>. Hope that is clear.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [D2NT Release] Druid Script skidude 20 17,266 08-25-2012, 01:20 AM
Last Post: comper
  D2NT BoT Gh0sT17 52 2,056 07-31-2012, 11:10 PM
Last Post: comper
  D2nt need help on some stuff wishyq 3 170 07-22-2012, 12:44 PM
Last Post: comper
  Little Help Please? (D2NT) pnsmcgraw 12 271 07-16-2012, 02:46 PM
Last Post: Mythosis
  MasivB's D2NT Simple Unique PickIt masivb 1 118 07-03-2012, 05:03 AM
Last Post: comper
  D2nt - how do i stay in game when sojs sell? brianwalter86 5 354 07-01-2012, 02:02 PM
Last Post: comper
  Nooby D2NT Questions Kieran Wilson 0 129 06-25-2012, 04:35 PM
Last Post: Kieran Wilson
  [D2NT Release]Item Logging with XML 3.0+ skidude 76 14,554 06-25-2012, 01:27 PM
Last Post: masivb
  D2nt Bot jewel pickit/godly item pickit Nightwish 3 232 06-23-2012, 04:18 AM
Last Post: comper
  someone please help my d2nt bot wont kill any bosses mcmullenp4 2 178 06-19-2012, 10:18 AM
Last Post: comper

Forum Jump:


Users browsing this thread: 1 Guest(s)