Posts: 6
Threads: 3
Joined: Jan 2011
Reputation:
0
Ive been getting a new error recently....
Anyone know how to fix this one :
<D2NT Error> C:\Users\Fred\Desktop\D2NT\scripts\libs\common\NTs naglt.ntl (111): TypeError:_item.name is undefined
Posts: 452
Threads: 30
Joined: Jun 2005
Reputation:
0
wghost Wrote:Ive been getting a new error recently....
Anyone know how to fix this one :
<D2NT Error> C:\Users\Fred\Desktop\D2NT\scripts\libs\common\NTs naglt.ntl (111): TypeError:_item.name is undefined
what version of d2nt are you using, if its 3.0 I have a fix for you.
[SIGPIC][/SIGPIC]Well I’m not there all the time you know Some people, some people, some people, Call it insane, yeah they call it insane, (sugar) I play russian roulette everyday, a man’s sport, With a bullet called life, yeah called life,(sugar)
Posts: 452
Threads: 30
Joined: Jun 2005
Reputation:
0
wghost Wrote:Yea it is 3.0
This is not my work it belongs to
[B][B]Tomed @ eon, and the original came from the German website Elitepvpers, User: Proezler[/B][/B]
use notepadd++ and find line 111 in your snagit.ntl which should read
Code:
Print ("Picked up" + NTC_ItemQualityToD2Color [_item.quality] + _item.name.split (" n") [0]);
and replace it with this line
Code:
if(_item != undefined && !(_item.itemtype == 76 || _item.itemtype == 77 || _item.itemtype == 78))
Print("Picked up " + NTC_ItemQualityToD2Color[_item.quality] + _item.name.split("n")[0]);
try that out and if it don't work switch to 3.1(it should work though)
[SIGPIC][/SIGPIC]Well I’m not there all the time you know Some people, some people, some people, Call it insane, yeah they call it insane, (sugar) I play russian roulette everyday, a man’s sport, With a bullet called life, yeah called life,(sugar)