![]() |
[D2NT Release]Item Logging with XML 3.0+ - Printable Version +- Blizzard Sector (https://www.blizzsector.co) +-- Forum: Diablo II (https://www.blizzsector.co/forum-4.html) +--- Forum: Hacks Bots and Editors (https://www.blizzsector.co/forum-16.html) +--- Thread: [D2NT Release]Item Logging with XML 3.0+ (/thread-46531.html) |
[D2NT Release]Item Logging with XML 3.0+ - skidude - 06-25-2010 Credits to bigapple90, Jinnay, doomknight, bajazzle, and agor. probably more too ![]() ![]() ![]() ![]() **If you have no edits to your current files you can just replace them using the links below: You must do steps 9-13 if you want xml logging, otherwise do step 13** NTCommon NTTownManager NTSnagIt NTTown NTCubing Or do it yourself Step [1][A]: Open NTCommon. Find this line: Quote:var NTC_ItemQualityToD2Color = new Array(9);Change it to: Code: var NTC_ItemQualityToD2Color = new Array(11); Code: NTC_ItemQualityToD2Color[9] = "ÿc;"; //purple Quote:NTC_ItemQualityToD2Color[8] = "ÿc8";Step [2]: Add the red: Quote:function NTC_IncludeLibs()Step[3]: Copy this code and paste it at the end of NTCommon: Code: //--From Jinnay-- Step[4]: Open NTTownmanager; at the top add red Quote:var _NTTMGR_BuyPots;Step [5]: Find this function: Quote:function NTTMGR_IDItems(npc)replace it with this one: function NTTMGR_IDItems(npc) Save and close NTTownManager. Step [6][A]: Open NTSnagIt. Find and add the red: Quote:function NTSI_PickItems()[B.] Replace your: Quote:function NTSI_SnagIt()with this one: function SnagIt() [C] Find and add the red: Quote:function NTSI_PickUpItemInt(snagitem)Save and Close NTSnagIt Step [7]: Open NTTown. Replace your Quote:function NTT_GambleIt(npc)with this one: function NTT_GambleIt(npc) Save and Close NTTown Step [8][a]: Open NTCubing, find this line Quote:NTC_SendLogToOOG(NTC_LOG_COMMON, _NTCU_LogString);Paste this code right under it: Code: var crafted_itm = NTCU_GetCubeContents(); [B.] Copy this code and paste it at the end of NTCubing: Code: function NTCU_GetCubeContents() Step [10][A]: Open the txt file itemtoname.txt from xmlstuff [B.] Copy everything in there (Ctrl + A then Ctrl + C) and close it. [C] Now open your NTItemAlias and at the end paste the code that you just copied Save and close NTItemAlias Step [11]: Copy the logs folder from xmlstuff to your D2NT\scripts folder Step [12]: Copy NTItemlogger.ntl from xmlstuff and paste it into your D2NT\scripts\libs\common folder Step [13][A]: For each char you use, open their NTConfigs and add: Quote:NTConfig_UseXMLItemlog = true; // Log kept and sold items as well in a XML log file[B.] Also in the logs/loc folder make a txt file for each char to prevent first use errors. name it like so: (charNamehere)_LocInfo.txt That should do it. Credits to their respective owners. [D2NT Release]Item Logging with XML 3.0+ - EliMaxwell - 06-26-2010 Hello, i've done everything you have said here and i continue to get the error Quote:<D2NT Error> C:\users\me\desktop\d2nt\scripts\libs\common\NTItemlogger.ntl (65) : TypeError:_hfile is null Please help. [D2NT Release]Item Logging with XML 3.0+ - skidude - 06-26-2010 Try replacing your NTItemlogger with this [URL="http://pastebin.com/raw.php?i=6A9ixcY1"]RAW OUTPUT 6A9ixcY1 [/URL] If u don't want the xml logging u don't have to use it. I don't use it on my bot [D2NT Release]Item Logging with XML 3.0+ - commhunt - 06-27-2010 awesome, that seems to have worked, i had the same error as elimaxwell [D2NT Release]Item Logging with XML 3.0+ - skidude - 06-28-2010 Glad to hear that fixed the error. [D2NT Release]Item Logging with XML 3.0+ - tanic - 06-29-2010 [COLOR="red"]<D2NT Error> E:\Program Files\Diablo II\MD\D2NT\scripts\libs\common\NTSnagIt.ntl (159) :referenceError: NTI_WriteLog is not defined. [/COLOR] had this error in snagit, town manager, and i cant figure out how to define it, help would be appreciated ![]() [D2NT Release]Item Logging with XML 3.0+ - commhunt - 06-29-2010 well I'm not sure why, but after i completed this xml logging update, my bot will just sit there staring at whatever item it's just cubed/crafted. Right now I have crafting disabled, but yeah. no errors or anything, just sits there until it's time for the next run lol Makes no sense considering none of the things required for the xml are directly realted to crafting scripts, but whatever. it's a complicated program! [D2NT Release]Item Logging with XML 3.0+ - skidude - 06-29-2010 tanic Wrote:<D2NT Error> E:\Program Files\Diablo II\MD\D2NT\scripts\libs\common\NTSnagIt.ntl (159) :referenceError: NTI_WriteLog is not defined.You left out part of the snagit or deleted part that was needed, go back and recheck it commhunt Wrote:well I'm not sure why, but after i completed this xml logging update, my bot will just sit there staring at whatever item it's just cubed/crafted.Check step 8, Topic is updated to match the maker's updates [D2NT Release]Item Logging with XML 3.0+ - commhunt - 06-30-2010 ok yeah, I skiped steps 1-8 via /* */ ing the original code and pasting in your updated files, so i kinda forgot that the cube file was edited as well ^.^ makes sense now lol. part A of step 8 was present, however part B was not. here's to calling functions that exist! xD thanks skidude! [D2NT Release]Item Logging with XML 3.0+ - EliMaxwell - 06-30-2010 skidude Wrote:Try replacing your NTItemlogger with this [URL="http://pastebin.com/raw.php?i=6A9ixcY1"]RAW OUTPUT 6A9ixcY1 Thank you this fixed my problem. But now in my item log i want to it show me literally every item that i sell/keep not just uniques. How do i do this. Also what is the fourth picture of? I want it to look like the first, second, or fourth picture. How do i open/get that? [D2NT Release]Item Logging with XML 3.0+ - lordrylen - 06-30-2010 EliMaxwell Wrote:Thank you this fixed my problem. But now in my item log i want to it show me literally every item that i sell/keep not just uniques. How do i do this. Go into D2NT\scripts\logs find the .xml file with the date you would like to look at. Open it in FireFox. You can open it with Chrome but the hover function won't work. Internet explorer won't work. From there you can click the button "Show All" and you will see every item the bot sold and kept. [D2NT Release]Item Logging with XML 3.0+ - EliMaxwell - 06-30-2010 lordrylen Wrote:Go into D2NT\scripts\logs find the .xml file with the date you would like to look at. Open it in FireFox. You can open it with Chrome but the hover function won't work. Internet explorer won't work. Okay thanks for answering that question. But how can i make my d2nt manager item log show everything like the first two pictures. [D2NT Release]Item Logging with XML 3.0+ - lordrylen - 06-30-2010 I am going to guess this line in your NTConfig for your character. NTConfig_LogSoldQuality = 7; // item quality to log for sold (7 = unique, this is only for d2nt manager, xml logs magic,rare,etc) Change the 7 to something else...not sure what though. [D2NT Release]Item Logging with XML 3.0+ - EliMaxwell - 06-30-2010 Yeah thats what i thought also, i changed it to 1 thinking 1 would be the lowest and it didnt work so i decided to ask here ![]() [D2NT Release]Item Logging with XML 3.0+ - lordrylen - 06-30-2010 4 just showed me a charm the bot sold... It would seem that setting it to 4 shows magic items... [D2NT Release]Item Logging with XML 3.0+ - EliMaxwell - 06-30-2010 is it possible to put multiple numbers for magic/rare/unique? [D2NT Release]Item Logging with XML 3.0+ - lordrylen - 06-30-2010 I've tried adding multiple NTConfig_LogSoldQuality lines. I've tried NTConfig_LogSoldQuality = (4 || 6 || 7); But no luck. There has got to be a way. [D2NT Release]Item Logging with XML 3.0+ - EliMaxwell - 06-30-2010 Guess we just have to wait for the guy that started this thread. He may know. [D2NT Release]Item Logging with XML 3.0+ - bigapple90 - 07-02-2010 figured I'd help : bigapple90 Wrote:i rewrote guide and am planning to add this part: To change the number/quality of items to log sold in the d2nt manager:Note: the lines might be Quote:NTConfig_LogSoldItemsor something like Quote:NTConfig_LogSoldQuality [D2NT Release]Item Logging with XML 3.0+ - skidude - 07-02-2010 whoot glad u joined up bigapple ^.^ |