Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
item parser error
#1
D2NT\scripts\libs\common\NTItemParser.ntl (60) : Syntax Error : missing ; before statement im getting this error message in game right after killing nihlathak. my character doesnt pick anything up jus stops running completely
Reply
#2
I'm having the exact same issue... any ideas?
Is that (60) the line where the error is? If so, does it count blank lines?
Anyway, I can't seem to find where that ";" should be.

Also, it had never happened with the sorc, only now, with pally.

Update:
Now it's happened right from the start, the guy wouldn't even walk.
Reply
#3
You guys messed something up in one of your pickit files. What did u last edit on the bot?
you are missing a symbol somewhere

[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
[SIGPIC]http://yfrog.com/mhskidudecopyg[/SIGPIC]
Reply
#4
chrtylee Wrote:D2NT\scripts\libs\common\NTItemParser.ntl (60) : Syntax Error : missing ; before statement im getting this error message in game right after killing nihlathak. my character doesnt pick anything up jus stops running completely
That phrase "missing before statement" usually means that one of the [ is missing on a line that you took the // off of.
I accidentally do that all the time,lol .
[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)
Reply
#5
It can't be in the NTItemParser.ntl, because I never edited that file, but I can't find anything wrong in the item_configs either...
could it be the char config, regardless of that message about NTItemParser.ntl?
Edit: apparently not, since the sorc isn't working anymore either. So I guess I have to keep looking in the item files.[COLOR="Silver"]

---------- Post added at 08:58 PM ---------- Previous post was at 12:28 PM ----------

[/COLOR]Alright, I finally found the line with the problem, but I have just no idea what is causing it:

[Name] == GrandMatronBow [Quality] <= superior # ([Sockets] == 0 || [Sockets] == 4)

Whenever I remove this, the bot works fine. What did I do wrong there?
Reply
#6
This is my bows,
Quote:[Name] == MatriarchalBow && [Quality] == normal # [BowandcrossbowskillTab] == 3 && [Sockets] == 4
[Name] == MatriarchalBow && [Quality] == superior # [BowandcrossbowskillTab] == 3 && [EnhancedDamage] == 15 && [Sockets] == 4
[Name] == GrandMatronBow && [Quality] == normal # [BowandcrossbowskillTab] == 3 && [Sockets] == 4
[Name] == GrandMatronBow && [Quality] == superior # [BowandcrossbowskillTab] == 3 && [EnhancedDamage] == 15 && [Sockets] == 4

if u want zero socket ones put || [Sockets] == 0) after the 4 socket ( make sure u space it [Sockets] == 4 || [Sockets] == 0
[SIGPIC]http://yfrog.com/mhskidudecopyg[/SIGPIC]
Reply
#7
I forgot to mention that you should look in the nip files for the problem



Sorry about that
[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)
Reply
#8
Jammer74 Wrote:I forgot to mention that you should look in the nip files for the problem

Sorry about that
I told them they messed something up with the pickit (aka nip files) at least we got his bot working right
[SIGPIC]http://yfrog.com/mhskidudecopyg[/SIGPIC]
Reply
#9
I got a message saying Syntax error blah blah blah. i was like wth!? after reading that its not the NTItemParser file, its the pick up files. so i was like hmm. after watching it, i found it happened every time a Grand charm dropped. heres my pick up file thing for magic-rare:

// ##### Helms #########################
// ##### Armor #########################
[Type] == armor && [Class] == elite && [Quality] == magic && [Flag] != ethereal # [Sockets] >= 4 && ([MaxHP] >= 80 || [FHR] >= 24 || [ItemPoisonLengthResist] >= 75)
// ##### Shields #######################
[Name] == Monarch && [Quality] == magic && [Flag] != ethereal # [Sockets] >= 4 && [Defense] >= 140 && [FBR] >= 30
// ##### Gloves ########################
[Type] == gloves && [Quality] == rare && [Flag] != ethereal # [IAS] >= 20 && [Strength]+[Dexterity] >= 20
[Type] == gloves && [Quality] == rare && [Flag] != ethereal # [IAS] >= 20 && ([ItemAddSkillTab] >= 2 || [Strength] >= 10 || [Dexterity] >= 10) && ([LifeLeech] >= 3 || [ManaLeech] >= 3)
[Type] == gloves && [Quality] == rare && [Flag] != ethereal # [IAS] >= 20 && [ItemAddSkillTab] >= 2 && [Strength]+[Dexterity] >= 15
// ##### Boots #########################
[Type] == boots && [Quality] == rare && [Flag] != ethereal # [FRW] >= 30 && [FHR] >= 10 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 80
[Type] == boots && [Quality] == rare && [Flag] != ethereal # [FRW] >= 30 && [FHR] >= 10 && [Dexterity] >= 6 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 55
// ##### Belts #########################
[Type] == belt && [Quality] == rare && [Flag] != ethereal # [FHR] >= 24 && [Strength] >= 20 && ([MaxHP] >= 40 || [ItemGoldBonus] >= 60)
// ##### Barbarian Helms ###############
[Type] == primalhelm && [Class] >= exceptional && [Quality] == magic && [Flag] != ethereal # ([BarbarianSkills] >= 2 || [WarCriesSkillTab] >= 3) && ([SkillBattleOrders] >= 3 || [ItemGoldBonus] >= 60)
[Type] == primalhelm && [Quality] == rare && [Flag] != ethereal # [Sockets] >= 2 && [BarbarianSkills] >= 2 && ([SkillBattleOrders] >= 3 || [ItemGoldBonus] >= 60)
// ##### Druid Pelts ###################
[Type] == pelt && [Class] >= exceptional && [Quality] == magic && [Flag] != ethereal # ([DruidSkills] >= 2 || [ElementalSkillTab] >= 3) && [SkillTornado] >= 3
[Type] == pelt && [Quality] == rare && [Flag] != ethereal # [Sockets] >= 2 && [DruidSkills] >= 2 && [SkillTornado] >= 3
// ##### Paladin Shields ###############
[Type] == auricshields && [Class] == elite && [Quality] == magic && [Flag] != ethereal # ([Sockets] == 4 || [PaladinSkills] >= 2) && [FBR] >= 30
[Type] == auricshields && [Quality] == rare && [Flag] != ethereal # [Sockets] >= 2 && [PaladinSkills] >= 2 && [FBR] >= 30
// ##### Necromancer Shrunken Heads ####
[Type] == voodooheads && [Class] >= exceptional && [Quality] == magic && [Flag] != ethereal # ([NecromancerSkills] >= 2 || [PoisonAndBoneSkillTab] >= 3) && [SkillBoneSpear]+[SkillBoneSpirit]+[SkillPoisonNova] >= 4
[Type] == voodooheads && [Quality] == rare && [Flag] != ethereal # [Sockets] >= 2 && [NecromancerSkills] >= 2 && [SkillBoneSpear]+[SkillBoneSpirit]+[SkillPoisonNova] >= 4
// ##### Axes ##########################
[Type] == axe && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 20
[Type] == axe && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 20
// ##### Bows ##########################
// ##### Crossbows #####################
// ##### Daggers #######################
// ##### Javelins ######################
// ##### Maces #########################
([Type] == club || [Type] == hammer || [Type] == mace) && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 20
([Type] == club || [Type] == hammer || [Type] == mace) && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 20
// ##### Polearms ######################
[Type] == polearm && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 20
[Type] == polearm && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 20
// ##### Scepters ######################
[Type] == scepter && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 20
[Type] == scepter && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 20
// ##### Spears ########################
[Type] == spear && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 30
[Type] == spear && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 30
// ##### Staves ########################
// ##### Swords ########################
[Type] == sword && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 20
[Type] == sword && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 20
([Name] == CrystalSword || [Name] == GreatSword) && [Quality] == magic # [WarCriesSkillTab] >= 3 && ([LifeLeech] >= 6 || [ManaLeech] >= 6)
// ##### Throwing ######################
// ##### Wands #########################
// ##### Amazon Weapons ################
[Type] == amazonbow && [Quality] == rare # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 20 && [ItemSkillOnHit] >= 1
[Type] == amazonbow && [Quality] == rare # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 20 && [ItemSkillOnHit] >= 1
[Type] == amazonjavelin && [Quality] == rare && [Flag] == ethereal # [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [ItemReplenishQuantity] >= 1
[Type] == amazonjavelin && [Quality] == rare && [Flag] == ethereal # [EnhancedDamage] >= 400 && [ItemReplenishQuantity] >= 1
// ##### Assassin Katars ###############
([Type] == handtohand || [Type] == assassinclaw) && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 250 && [ItemMaxDamagePerLevel] >= 4 && [ItemToHitPerLevel] >= 33 && [IAS] >= 20
([Type] == handtohand || [Type] == assassinclaw) && [Quality] == rare && [Flag] == ethereal # [Sockets] >= 2 && [EnhancedDamage] >= 400 && [IAS] >= 20
// ##### Sorceress Orbs ################
// ##### Circlets ######################
[Type] == circlet && [Quality] == magic && [Flag] != ethereal # ([Sockets] >= 3 || [ItemAddSkillTab] >= 3) && ([Strength] >= 20 || [Dexterity] >= 20 || [MaxHP] >= 80 || [FRW] >= 30 || [FCR] >= 20)
[Type] == circlet && [Quality] == rare && [Flag] != ethereal # [Sockets] >= 2 && [ItemAddClassSkills] >= 2 && [Strength]+[Dexterity] >= 35
[Type] == circlet && [Quality] == rare && [Flag] != ethereal # [Sockets] >= 2 && [ItemAddClassSkills] >= 2 && ([Strength] >= 20 || [Dexterity] >= 10) && ([FRW] >= 30 || [FCR] >= 20)
// ##### Rings #########################
[Type] == ring && [Quality] == magic # ([FCR] >= 10 || [ItemMagicBonus] >= 15) && (([FireResist] >= 14 && [LightResist] >= 14) || [MaxMana] >= 110)
[Type] == ring && [Quality] == rare # [FCR] >= 10 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 36 && [MaxMana] >= 70 && [Strength]+[Dexterity] >= 25
[Type] == ring && [Quality] == rare # [FCR] >= 10 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 36 && [MaxMana] >= 70 && [MaxHP] >= 30 && ([Strength] >= 10 || [Dexterity] >= 5)
[Type] == ring && [Quality] == rare # [ToHit] >= 90 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 36 && [LifeLeech]+[ManaLeech] >= 11
[Type] == ring && [Quality] == rare # [ToHit] >= 90 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 36 && ([LifeLeech] >= 7 || [ManaLeech] >= 5) && ([Strength] >= 10 || [Dexterity] >= 5)
// ##### Amulets #######################
[Type] == amulet && [Quality] == magic # [ItemAddSkillTab] >= 3 && ([FCR] >= 10 || [Strength] >= 26)
[Type] == amulet && [Quality] == magic # ([ItemAddClassSkills] >= 2 || [ItemAddSkillTab] >= 3) && ([MaxHP] >= 85 || [Dexterity] >= 26)
[Type] == amulet && [Quality] == rare # [ItemAddClassSkills] >= 2 && [FCR] >= 10 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 60 && [MaxMana] >= 70 && [Strength]+[Dexterity] >= 35
[Type] == amulet && [Quality] == rare # [ItemAddClassSkills] >= 2 && [FCR] >= 10 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 60 && [MaxMana] >= 70 && [MaxHP] >= 40 && ([Strength] >= 20 || [Dexterity] >= 10)
[Type] == amulet && [Quality] == rare # [ItemAddClassSkills] >= 2 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 60 && ([LifeLeech]+[ManaLeech] >= 11 || [Strength]+[Dexterity] >= 35)
[Type] == amulet && [Quality] == rare # [ItemAddClassSkills] >= 2 && [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 60 && ([LifeLeech] >= 5 || [ManaLeech] >= 7) && ([Strength] >= 20 || [Dexterity] >= 10)
// ##### Jewels ########################
[Type] == jewel && [Quality] == magic # [EnhancedDamage] >= 36 && ([IAS] >= 15 || [ItemReqPercent] <= -15 || [Strength] >= 7 || [Dexterity] >= 7 || [MinDamage] >= 8 || [MaxDamage] >= 12)
[Type] == jewel && [Quality] == magic # [FireResist] >= 13 && [LightResist] >= 13 && ([IAS] >= 15 || [ItemReqPercent] <= -15 || [Strength] >= 7 || [Dexterity] >= 7)
[Type] == jewel && [Quality] == magic # [MaxDamage] >= 26
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && [MinDamage]+[MaxDamage] >= 20
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && [MinDamage]+[MaxDamage] >= 10 && ([Strength] >= 7 || [Dexterity] >= 7)
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && ([MinDamage] >= 6 || [MaxDamage] >= 6) && [Strength]+[Dexterity] >= 13
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && [FHR] >= 7 && ([MinDamage] >= 6 || [MaxDamage] >= 6) && ([Strength] >= 7 || [Dexterity] >= 7)
[Type] == jewel && [Quality] == rare # ([FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 28 || [ItemDamageToMana] >= 10) && [FHR] >= 7 && [ItemReqPercent] <= -15
// ##### Small Charms ##################
[Name] == SmallCharm && [Quality] == magic # (([MaxDamage] >= 3 && [ToHit] >= 12) || [MaxMana] >= 12 || ([FireResist] >= 4 && [LightResist] >= 4)) && ([MaxHP] >= 12 || [FHR] >= 5 || [FRW] >= 3 || [Strength] >= 2 || [Dexterity] >= 2)
[Name] == SmallCharm && [Quality] == magic # ([FireMaxDam] >= 24 || [LightMaxDam] >= 55 || [ColdMaxDam] >= 17) && ([MaxHP] >= 12 || [FHR] >= 5 || [FRW] >= 3 || [Strength] >= 2 || [Dexterity] >= 2)
[Name] == SmallCharm && [Quality] == magic # [MaxHP]+[MaxMana] >= 30
[Name] == SmallCharm && [Quality] == magic # [FireMaxDam] >= 35 || [LightMaxDam] >= 85 || [ColdMaxDam] >= 25
[Name] == SmallCharm && [Quality] == magic && [Prefix] == 1407 && [Suffix] > 0
[Name] == SmallCharm && [Quality] == magic # [PoisonMaxDam]/10.2 >= 21
[Name] == SmallCharm && [Quality] == magic # [ItemMagicBonus] >= 7
// ##### Large Charms ##################
// ##### Grand Charms ##################
[Name] == GrandCharm && [Quality] == magic # (([MaxDamage] >= 9 && [ToHit] >= 60) || [ItemAddSkillTab] >= 1) && ([MaxHP] >= 20 || [Strength] >= 5 || [Dexterity] >= 5 || [FHR] >= 12)
[Name] == GrandCharm && [Quality] == magic # [MaxDamage] >= 13 && [ToHit] >= 60
[Name] == GrandCharm && [Quality] == magic # [ItemAddSkillTab] >= 1)



But i found the problem after looking for like 20 mins... look at the 2nd grand charm line..

[Name] == GrandCharm && [Quality] == magic # [MaxDamage] >= 13 && [ToHit] >= 60

heres the solution:

[Name] == GrandCharm && [Quality] == magic # [MaxDamage] >= 13 && [ToHit] >= 60)

and it works! hope it helped. I registered and everything to post this. thanks guyslaugh:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [D2NT Release]Item Logging with XML 3.0+ skidude 76 14,585 06-25-2012, 01:27 PM
Last Post: masivb
  D2nt Bot jewel pickit/godly item pickit Nightwish 3 233 06-23-2012, 04:18 AM
Last Post: comper
  NTBotgame.ntj (17) reference error: NTLoadConfig is not defined (PLZ HLP) momme 12 256 06-14-2012, 07:23 PM
Last Post: momme
  New File Added: 1.13d Item Dumper Spitfire 6 858 05-31-2012, 09:54 AM
Last Post: Neoathlon
  error plzz help htid 1 135 05-27-2012, 08:12 AM
Last Post: comper
  d2NTbot error plzzz help! htid 3 123 05-25-2012, 01:03 PM
Last Post: comper
  Error help plz with d2nt cerne 7 254 05-22-2012, 08:09 PM
Last Post: comper
  Normal/socketed item pickit list Jammer74 39 8,047 05-13-2012, 03:43 AM
Last Post: comper
  identify version error James Guido Graziani 7 260 05-09-2012, 11:08 AM
Last Post: comper
  Hero Editor Item Import Error ParallelChaos 1 283 05-03-2012, 03:08 PM
Last Post: comper

Forum Jump:


Users browsing this thread: 1 Guest(s)