Posts: 3
Threads: 1
Joined: Jan 2012
Reputation:
0
01-08-2012, 02:36 AM
(This post was last modified: 01-08-2012, 03:10 AM by nerub.)
I set up the profile for my H-din but it doesnt seem to run the right bosses. I put // before pindle and other things and it still checks it and i took them out on baal and diablo and it doesnt even try to do it. Please if you could help me out.
//------------------------------------------------------------------------------
// Boss configuration
//------------------------------------------------------------------------------
//NTConfig_Script.push("NTPindleskin.ntj"); NTConfig_NihlathakExtension = false;
//NTConfig_Script.push("NTNihlathak.ntj"); NTConfig_PindleskinExtension = false;
NTConfig_Script.push("NTEldritch.ntj"); NTConfig_ShenkExtension = true;
NTConfig_Script.push("NTThreshSocket.ntj");
//NTConfig_Script.push("NTFrozenRiver.ntj"); NTConfig_ClearFrozenRiver = false;
//NTConfig_Script.push("NTGlacialTrail.ntj"); NTConfig_ClearGlacialTrail = false;
//NTConfig_Script.push("NTIcyCellar.ntj"); NTConfig_ClearIcyCellar = false;
NTConfig_Script.push("NTBaal.ntj"); NTConfig_KillBaal = true;
NTConfig_Script.push("NTDiablo.ntj");
NTConfig_Script.push("NTHephasto.ntj");
NTConfig_Script.push("NTIzual.ntj");
NTConfig_Script.push("NTMephisto.ntj");
NTConfig_Script.push("NTTravincal.ntj");
//NTConfig_Script.push("NTKurastTravel.ntj");
//NTConfig_Script.push("NTAct3Sewers.ntj"); NTConfig_ClearA3SewersLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
NTConfig_Script.push("NTSummoner.ntj"); NTConfig_KillFireEye = true;
NTConfig_Script.push("NTDuriel.ntj");
//NTConfig_Script.push("NTAncientTunnels.ntj");
//NTConfig_Script.push("NTColdworm.ntj");
//NTConfig_Script.push("NTRadament.ntj");
NTConfig_Script.push("NTAndariel.ntj");
NTConfig_Script.push("NTCountess.ntj");
//NTConfig_Script.push("NTTreehead.ntj");
//NTConfig_Script.push("NTPit.ntj"); NTConfig_ClearPitLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
//NTConfig_Script.push("NTMausoleum.ntj"); NTConfig_KillBloodRaven = true;
//NTConfig_Script.push("NTHole.ntj"); NTConfig_ClearHoleLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
//NTConfig_Script.push("NTTristram.ntj"); NTConfig_KillRakanishu = true;
Posts: 385
Threads: 23
Joined: Aug 2010
Reputation:
0
copy/paste your code here or on pastebin.
Posts: 3
Threads: 1
Joined: Jan 2012
Reputation:
0
//------------------------------------------------------------------------------
// Boss configuration
//------------------------------------------------------------------------------
//NTConfig_Script.push("NTPindleskin.ntj"); NTConfig_NihlathakExtension = false;
//NTConfig_Script.push("NTNihlathak.ntj"); NTConfig_PindleskinExtension = false;
NTConfig_Script.push("NTEldritch.ntj"); NTConfig_ShenkExtension = true;
NTConfig_Script.push("NTThreshSocket.ntj");
//NTConfig_Script.push("NTFrozenRiver.ntj"); NTConfig_ClearFrozenRiver = false;
//NTConfig_Script.push("NTGlacialTrail.ntj"); NTConfig_ClearGlacialTrail = false;
//NTConfig_Script.push("NTIcyCellar.ntj"); NTConfig_ClearIcyCellar = false;
NTConfig_Script.push("NTBaal.ntj"); NTConfig_KillBaal = true;
NTConfig_Script.push("NTDiablo.ntj");
NTConfig_Script.push("NTHephasto.ntj");
NTConfig_Script.push("NTIzual.ntj");
NTConfig_Script.push("NTMephisto.ntj");
NTConfig_Script.push("NTTravincal.ntj");
//NTConfig_Script.push("NTKurastTravel.ntj");
//NTConfig_Script.push("NTAct3Sewers.ntj"); NTConfig_ClearA3SewersLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
NTConfig_Script.push("NTSummoner.ntj"); NTConfig_KillFireEye = true;
NTConfig_Script.push("NTDuriel.ntj");
//NTConfig_Script.push("NTAncientTunnels.ntj");
//NTConfig_Script.push("NTColdworm.ntj");
//NTConfig_Script.push("NTRadament.ntj");
NTConfig_Script.push("NTAndariel.ntj");
NTConfig_Script.push("NTCountess.ntj");
//NTConfig_Script.push("NTTreehead.ntj");
//NTConfig_Script.push("NTPit.ntj"); NTConfig_ClearPitLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
//NTConfig_Script.push("NTMausoleum.ntj"); NTConfig_KillBloodRaven = true;
//NTConfig_Script.push("NTHole.ntj"); NTConfig_ClearHoleLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
//NTConfig_Script.push("NTTristram.ntj"); NTConfig_KillRakanishu = true;[COLOR="Silver"]
---------- Post added at 12:22 PM ---------- Previous post was at 11:44 AM ----------
[/COLOR]want me to post my whole char code?
Posts: 385
Threads: 23
Joined: Aug 2010
Reputation:
0
you might be running into your max game time.
Posts: 3
Threads: 1
Joined: Jan 2012
Reputation:
0
with what its running on its own it takes 15 mins.... thats why im trying to shorten[COLOR="Silver"]
---------- Post added at 02:08 PM ---------- Previous post was at 12:53 PM ----------
[/COLOR]I think i got that part fixed.... it wasnt a NTL File.... But now im getting this... Any idea?
<D2NT Error> C:\Users\Owner\desptop\D2NT31_NTBot42\scripts\libs\common\NTItemParser.ntl(60) :SyntaxError:missing;before statement[COLOR="Silver"]
---------- Post added at 02:11 PM ---------- Previous post was at 02:08 PM ----------
[/COLOR]/*
[Item-parser Syntax Information]
1. [Keyword] separates into two groups
- [Property Keywords] : [Type], [Name], [Class], [Quality], [Flag], [Level], [Prefix], [Suffix]
- [Stat Keywords] : [Number or Alias]
2. [Keyword] must be surrounded by '[' and ']'
3. [Property Keywords] must be placed first
4. Insert '#' symbol between [Property Keywords] and [Stat Keywords]
5. Use '+', '-', '*', '/', '(', ')', '&&', '||', '>', '>=', '<', '<=', '==', '!=' symbols for comparison
6. Use '//' symbol for comment
*/
Include("libs/common/NTItemAlias.ntl");
var _NTIP_CheckList = new Array();
function NTIPOpenFile(filepath)
{
var _nipfile;
var _line;
_nipfile = FileOpen(filepath, 0);
if(!_nipfile)
return false;
while(!_nipfile.eof)
{
_line = NTIPParseLineInt(_nipfile.ReadLine());
if(_line)
_NTIP_CheckList.push(_line);
}
_nipfile.Close();
return true;
}
function NTIPCheckItem(item)
{
var i;
var _identified;
var _result = 0;
_identified = item.itemflag & 0x10;
for(i = 0 ; i < _NTIP_CheckList.length ; i++)
{
if(_NTIP_CheckList[i][0].length > 0)
{
if(eval(_NTIP_CheckList[i][0]))
{
if(_NTIP_CheckList[i][1].length > 0)
{
if(eval(_NTIP_CheckList[i][1]))
return 1;
else if(!_identified && _result == 0)
_result = -1;
}
else
return 1;
}
}
else if(_NTIP_CheckList[i][1].length > 0)
{
if(eval(_NTIP_CheckList[i][1]))
return 1;
else if(!_identified && _result == 0)
_result = -1;
}
}
return _result;
}
// Internal function
function NTIPParseLineInt(input)
{
var i;
var _start, _end;
var _section, _keyword;
var _result;
_end = input.indexOf("//");
if(_end != -1)
input = input.substring(0, _end);
input = input.replace(/ |;/g, "").toLowerCase();
if(input.length < 5)
return null;
_result = input.split("#");
if(_result[0] && _result[0].length > 4)
{
_section = _result[0].split("[");
_result[0] = _section[0];
for(i = 1 ; i < _section.length ; i++)
{
_end = _section[i].indexOf("]") + 1;
switch(_section[i][0])
{
case 't':
_result[0] += "item.itemtype";
break;
case 'n':
_result[0] += "item.classid";
break;
case 'c':
_result[0] += "item.itemclass";
break;
case 'q':
_result[0] += "item.quality";
break;
case 'f':
if(_section[i][_end] == '!')
_result[0] += "!(item.itemflag&";
else
_result[0] += "(item.itemflag&";
_end += 2;
break;
case 'l':
_result[0] += "item.itemlevel";
break;
case 'p':
_result[0] += "item.itemprefix";
break;
case 's':
_result[0] += "item.itemsuffix";
break;
default:
Print("Unknown Keyword : " + input);
break;
}
for(_start = _end ; _end < _section[i].length ; _end++)
{
if(!NTIPIsSyntaxInt(_section[i][_end]))
break;
}
_result[0] += _section[i].substring(_start, _end);
for(_start = _end ; _end < _section[i].length ; _end++)
{
if(NTIPIsSyntaxInt(_section[i][_end]))
break;
}
_keyword = _section[i].substring(_start, _end);
if(isNaN(_keyword))
{
switch(_section[i][0])
{
case 't':
_result[0] += _NTIPAliasType[_keyword];
break;
case 'n':
_result[0] += _NTIPAliasClassID[_keyword];
break;
case 'c':
_result[0] += _NTIPAliasClass[_keyword];
break;
case 'q':
_result[0] += _NTIPAliasQuality[_keyword];
break;
case 'f':
_result[0] += _NTIPAliasFlag[_keyword] + ")";
break;
}
}
else
{
if(_section[i][0] == 'f')
_result[0] += _keyword + ")";
else
_result[0] += _keyword;
}
_result[0] += _section[i].substring(_end);
}
}
else
_result[0] = "";
if(_result[1] && _result[1].length > 4)
{
_section = _result[1].split("[");
_result[1] = _section[0];
for(i = 1 ; i < _section.length ; i++)
{
_end = _section[i].indexOf("]");
_keyword = _section[i].substring(0, _end);
if(isNaN(_keyword))
_result[1] += "item.GetStat(" + _NTIPAliasStat[_keyword] + ")";
else
_result[1] += "item.GetStat(" + _keyword + ")";
_result[1] += _section[i].substring(_end+1);
}
}
else
_result[1] = "";
return _result;
}
function NTIPIsSyntaxInt(ch)
{
return (ch == '!' || ch == '%' || ch == '&' || (ch >= '(' && ch <= '+') || ch == '-' || ch == '/' || (ch >= ':' && ch <= '?') || ch == '|');
}
thats my NTItemParser.ntl file text
Posts: 955
Threads: 6
Joined: Dec 2011
Reputation:
0
your error is not in that file it in ones or more of your pickit files, you will need to go back thru them and check the ones you edited
you have just 1 / instead of 2 or you might miss adding one of the other symbols - if you can't find it you can c/p the ones you edited
in pastebin.com and I can look them over for you
thanks