D2NT Error 질문입니다. (수정됨)
분류
질문
조회 수
1,620
추천 수
0
안녕하세요
좋은아침입니다
식사는 하셨는지요.. ㅎ_ㅎ...
다름이 아니라
한동안 정상적으로 작동하던 봇이
갑자기 안되서 이렇게 글을 올리게 되었습니다.
\scripts\libs\common\MySnagIt.ntl (286) : syntax error invaild assignment left-hand side 라고 나오는데
286번째 줄을봐도 이해가 잘 안가서요..
어떤식으로 해야 해결을 볼 수 있을까요..?
감사합니다
좋은 하루 보내세요!
추가 : 286번 라인 글 내용입니다 (함수하나를 통째로 복사해온;;)
function MySI_NTIPCheckItem(item, mode)
{
var i;
var _index;
var _identified;
var _result = 0;
if (arguments.length < 2)
mode = 0;
_identified = item.itemflag & _NTIPAliasFlag["identified"];
_index = _MySI_NtipTypeList["Type" + item.itemtype];
if (_index != undefined)
{
for (i = 0; i < _index.length; i++)
{
if (eval(_NTIP_CheckList[_index[i]][0])) <- 286번 라인 글내용...
{
if (_NTIP_CheckList[_index[i]][1].length > 0)
{
if (eval(_NTIP_CheckList[_index[i]][1]))
return 1;
else if (!_identified && _result == 0)
_result = -1;
}
else
return 1;
}
}
}
_index = _MySI_NtipNameList["Name" + item.classid];
if (_index != undefined)
{
for (i = 0; i < _index.length; i++)
{
if (eval(_NTIP_CheckList[_index[i]][0]))
{
if (_NTIP_CheckList[_index[i]][1].length > 0)
{
if (eval(_NTIP_CheckList[_index[i]][1]))
return 1;
else if (!_identified && _result == 0)
_result = -1;
}
else
return 1;
}
}
}
for (i = 0; i < _MySI_NtipDefaultList.length; i++)
{
if (_NTIP_CheckList[_MySI_NtipDefaultList[i]][0].length > 0)
{
if (eval(_NTIP_CheckList[_MySI_NtipDefaultList[i]][0]))
{
if (_NTIP_CheckList[_MySI_NtipDefaultList[i]][1].length > 0)
{
if (eval(_NTIP_CheckList[_MySI_NtipDefaultList[i]][1]))
return 1;
else if (!_identified && _result == 0)
_result = -1;
}
else
return 1;
}
}
else if (eval(_NTIP_CheckList[_MySI_NtipDefaultList[i]][1]))
return 1;
else if (!_identified && _result == 0)
_result = -1;
}
if (_result == 0 && (mode == 1 || mode == 3)) _result = MyMM_CheckItemCost(item);
if (_result == 0 && (mode == 2 || mode == 3)) _result = MyCu_CheckPickUpItem(item);
return _result;
}

