Jump to content
  • 0
Sign in to follow this  
mrlongshen

Masao(Shopstreet) - Original Mall Script problem

Question

[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '157'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Novice Sets * w4=-,5125:100,2420:100,2521:100,2116:100,2355:100 //Angelic Guard[1] , Angelic Protection[1] , Angel's Reincarnation[1] , Angelic Cardigan[1] & Angel's Kiss[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '158'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Wizard Sets * w4=-,2860:150,15026:150,2468:150,2008:300 //Aqua Staff[2] , Aqua Shoes[1] , Aqua Orb[1] & Aqua Robe[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '160'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Bakunawa Sets * w4=-,15051:500,2590:500,2169:500,2491:500 //Kalasag, Nightmare Bangungot Boots, Buwaya Skin Clothes & Bakunawa Scale Armor[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '161'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Ranger Sets * w4=-,2480:400,2891:400,2581:400,15043:1000 //Black Wing Boots[1] , Black Wing Manteau, Black Wing Brooch & Black Wing Suit[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '162'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=High Wizard Sets * w4=-,15027:200,2009:1000,2861:200,2469:200 //Crimson Staff[2] , Crimson Shoes[1] , Crimson Orb[1] & Crimson Robe[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '163'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Captain Sets * w4=-,2435:100,2538:100,2377:200 //Elite Engineer Armor[1] , Battle Greaves[1] & Captain's Manteau[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '164'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Rebellion Sets * w4=-,2437:100,2382:100,2540:100 //Elite Shooter Suit[1] , Battle Boots[1] & Sheriff's Manteau[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '165'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Warlock Sets * w4=-,2862:200,15028:200,2470:200,2010:1000 //Forest Staff[2] , Forest Shoes[1] , Forest Orb[1] & Forest Robe[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '166'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Golden Sets * w4=-,2859:200,15025:200,2469:200,2007:1000 //Golden Lord Staff[2] , Golden Lord Shoes[1] , Golden Lord Orb[1] & Golden Lord Robe[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '167'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Acolyte Sets * w4=-,2436:100,2539:100,2380:100 //Medic's Robe[1] , Combat Boots[1] & Commander's Manteau[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '168'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Assasin Sets * w4=-,2578:250,2886:250,2478:250,15039:250 //Nab's Shoes[1] , Nab's Hood, Nab's Seal & Nab's Cloth[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '169'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Rune Knight Sets * w4=-,2476:300,2575:300,15037:900,2884:300 //Pertz Greaves[1] , Pertz Manteau, Pertz Seal[1] & Pertz Plate[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '170'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Priest Sets * w4=-,15029:100,2569:100,2471:100,1657:300 //Staff of Affection[2] , Affection Shoes, Affection Shawl & Affection Robe[Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '171'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=High Priest Sets * w4=-,16013:100,15030:100,2570:100,2472:100 //Judgement Shoes, Judgement Shawl, Judgement Robe & Mace of Judgement[2][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '172'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Sinx Sets * w4=-,2577:180,2886:180,2477:180,15038,300 //Sabath Shoes[1] , Sabath Hood, Sabath Seal & Sabath's Cloth[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '173'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=White Sets * w4=-,2479:170,2890:200,2580:130,15042:700 //White Wing Boots[1] , White Wing Manteau, White Wing Brooch & White Wing Suit[1][Error]: npc_parse_shop: Invalid item definition in file 'npc/ro/mall/costumeseller.txt', line '174'. Ignoring the rest of the line... * w1=- * w2=cashshop * w3=Vk Sets * w4=-,2537:100,2524:100,2421:100,5171:300 //Valkyrja's Armor[1] , Valkyrja's Shoes[1] , Valkyrja's Manteau[1] & Valkyrie Helm[1]

im using a script from rathena.. the script works but why this error appear on map server ?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
new_zone02,182,182,5	script	Costume Seller	790,{	mes "[Costume Seller]";	mes "Welcome to ^FF0000 Ragnarok Online^000000 ^000088Costume Shop^000000.";	mes "Hello there ^FF0000" + strcharinfo(0) + "^000000.";	mes "I'm selling various of costume, It's very nice to makeup and change your personallity.";	mes "...";	mes "Please select what you want:";	next;	switch(select("Costume Headgear:Costume Misc:Combo Set:Nothing")) {	close2;		case 1:	switch(select("Upper:Middle:Lower")) {		case 1:		callshop "Upper", 0;		end;				case 2:		callshop "Middle", 0;		end;				case 3:		callshop "Lower", 0;		end;			}		case 2:	switch(select("Normal Eggs:Custom Eggs:Job Figures")){		case 1:		callshop "Normal Eggs", 0;		end;					case 2:		callshop "Custom Eggs", 0;		end;					case 3:		callshop "Job Figures", 0;		end;		}		case 3:	switch(select("Angel Sets:Novice Sets:Wizard Sets:Ninja Sets:Bakunawa Sets:Ranger Sets:High Wizard Sets:Captain Sets:Rebellion Sets:Warlock Sets:Golden Sets:Acolyte Sets:Assasin Sets:Rune Knight Sets:Priest Sets:High Priest Sets:Sinx Sets:White Sets:Vk Sets")){		case 1:		callshop "Angel Sets", 0;		end;					case 2:		callshop "Novice Sets", 0;		end;					case 3:		callshop "Wizard Sets", 0;		end;				case 4:		callshop "Ninja Sets", 0;		end;				case 5:		callshop "Bakunawa Sets", 0;		end;				case 6:		callshop "Ranger Sets", 0;		end;				case 7:		callshop "High Wizard Sets", 0;		end;				case 8:		callshop "Captain Sets", 0;		end;				case 9:		callshop "Rebellion Sets", 0;		end;				case 10:		callshop "Warlock Sets", 0;		end;				case 11:		callshop "Golden Sets", 0;		end;				case 12:		callshop "Acolyte Sets", 0;		end;				case 13:		callshop "Assasin Sets", 0;		end;				case 14:		callshop "Rune Knight Sets", 0;		end;				case 15:		callshop "Priest Sets", 0;		end;				case 16:		callshop "High Priest Sets", 0;		end;				case 17:		callshop "Sinx Sets", 0;		end;				case 18:		callshop "White Sets", 0;		end;				case 19:		callshop "Vk Sets", 0;		end;			}		end;	case 4:	mes "[ Quick Mall ]";	mes "Okay,come back when you need me.";	close;	}}//shops-	cashshop	Upper	-,19521:100,19517:100,19507:1000,19529:100,19545:100,19547:100,19548:200,19524:100,19537:1000,19573:700,19526:100,19587:300,19549:100,19650:200,19536:140,19535:230,19527:100,19533:260,19544:700,19546:100,19530:230,19538:260,19523:10,19522:250,19543:150,19520:1000,19518:1000,19532:150,19516:1000-	cashshop	Middle	-,19509:100,19550:100,19542:200,19551:100,19525:100,19511:100,19512:100,19510:300-	cashshop	Lower	-,19514:100,19513:100,19553:100,19552:100,19528:100,19541:100,19505:100,19500:100-	cashshop	Normal Eggs	-,969:100-	cashshop	Custom Eggs	-,969:100-	cashshop	Job Figures	-,2767:100,2769:100,2768:100,2771:100,2765:100,2766:100,2770:100 //http://ratemyserver.net/index.php?iname=figure&page=re_item_db&quick=1&isearch=Search-	cashshop	Angel Sets	-,2358:100,5153:100 //Angel's Dress & Angeling Hairpin-	cashshop	Novice Sets	-,5125:100,2420:100,2521:100,2116:100,2355:100 //Angelic Guard[1] , Angelic Protection[1] , Angel's Reincarnation[1] , Angelic Cardigan[1] & Angel's Kiss[1] -	cashshop	Wizard Sets	-,2860:150,15026:150,2468:150,2008:300 //Aqua Staff[2] , Aqua Shoes[1] , Aqua Orb[1] & Aqua Robe-	cashshop	Ninja Sets	-,15055:100,2173:100 //Crescent Wrist Guard[1] & Armor of Nothingness[1] -	cashshop	Bakunawa Sets	-,15051:500,2590:500,2169:500,2491:500 //Kalasag, Nightmare Bangungot Boots, Buwaya Skin Clothes & Bakunawa Scale Armor-	cashshop	Ranger Sets	-,2480:400,2891:400,2581:400,15043:1000 //Black Wing Boots[1] , Black Wing Manteau, Black Wing Brooch & Black Wing Suit[1] -	cashshop	High Wizard Sets	-,15027:200,2009:1000,2861:200,2469:200 //Crimson Staff[2] , Crimson Shoes[1] , Crimson Orb[1] & Crimson Robe-	cashshop	Captain Sets	-,2435:100,2538:100,2377:200 //Elite Engineer Armor[1] , Battle Greaves[1] & Captain's Manteau[1] -	cashshop	Rebellion Sets	-,2437:100,2382:100,2540:100 //Elite Shooter Suit[1] , Battle Boots[1] & Sheriff's Manteau[1] -	cashshop	Warlock Sets	-,2862:200,15028:200,2470:200,2010:1000 //Forest Staff[2] , Forest Shoes[1] , Forest Orb[1] & Forest Robe-	cashshop	Golden Sets	-,2859:200,15025:200,2469:200,2007:1000 //Golden Lord Staff[2] , Golden Lord Shoes[1] , Golden Lord Orb[1] & Golden Lord Robe-	cashshop	Acolyte Sets	-,2436:100,2539:100,2380:100 //Medic's Robe[1] , Combat Boots[1] & Commander's Manteau[1] -	cashshop	Assasin Sets	-,2578:250,2886:250,2478:250,15039:250 //Nab's Shoes[1] , Nab's Hood, Nab's Seal & Nab's Cloth[1] -	cashshop	Rune Knight Sets	-,2476:300,2575:300,15037:900,2884:300 //Pertz Greaves[1] , Pertz Manteau, Pertz Seal[1] & Pertz Plate-	cashshop	Priest Sets	-,15029:100,2569:100,2471:100,1657:300 //Staff of Affection[2] , Affection Shoes, Affection Shawl & Affection Robe-	cashshop	High Priest Sets	-,16013:100,15030:100,2570:100,2472:100 //Judgement Shoes, Judgement Shawl, Judgement Robe & Mace of Judgement[2] -	cashshop	Sinx Sets	-,2577:180,2886:180,2477:180,15038,300 //Sabath Shoes[1] , Sabath Hood, Sabath Seal & Sabath's Cloth[1] -	cashshop	White Sets	-,2479:170,2890:200,2580:130,15042:700 //White Wing Boots[1] , White Wing Manteau, White Wing Brooch & White Wing Suit[1] 

 

here the full script. can someone optimise this for hercules ?

Share this post


Link to post
Share on other sites
  • 0

Hi, Replace 

//shops-	cashshop	Upper	-,19521:100,19517:100,19507:1000,19529:100,19545:100,19547:100,19548:200,19524:100,19537:1000,19573:700,19526:100,19587:300,19549:100,19650:200,19536:140,19535:230,19527:100,19533:260,19544:700,19546:100,19530:230,19538:260,19523:10,19522:250,19543:150,19520:1000,19518:1000,19532:150,19516:1000-	cashshop	Middle	-,19509:100,19550:100,19542:200,19551:100,19525:100,19511:100,19512:100,19510:300-	cashshop	Lower	-,19514:100,19513:100,19553:100,19552:100,19528:100,19541:100,19505:100,19500:100-	cashshop	Normal Eggs	-,969:100-	cashshop	Custom Eggs	-,969:100-	cashshop	Job Figures	-,2767:100,2769:100,2768:100,2771:100,2765:100,2766:100,2770:100 //http://ratemyserver.net/index.php?iname=figure&page=re_item_db&quick=1&isearch=Search-	cashshop	Angel Sets	-,2358:100,5153:100 //Angel's Dress & Angeling Hairpin-	cashshop	Novice Sets	-,5125:100,2420:100,2521:100,2116:100,2355:100 //Angelic Guard[1] , Angelic Protection[1] , Angel's Reincarnation[1] , Angelic Cardigan[1] & Angel's Kiss[1] -	cashshop	Wizard Sets	-,2860:150,15026:150,2468:150,2008:300 //Aqua Staff[2] , Aqua Shoes[1] , Aqua Orb[1] & Aqua Robe-	cashshop	Ninja Sets	-,15055:100,2173:100 //Crescent Wrist Guard[1] & Armor of Nothingness[1] -	cashshop	Bakunawa Sets	-,15051:500,2590:500,2169:500,2491:500 //Kalasag, Nightmare Bangungot Boots, Buwaya Skin Clothes & Bakunawa Scale Armor-	cashshop	Ranger Sets	-,2480:400,2891:400,2581:400,15043:1000 //Black Wing Boots[1] , Black Wing Manteau, Black Wing Brooch & Black Wing Suit[1] -	cashshop	High Wizard Sets	-,15027:200,2009:1000,2861:200,2469:200 //Crimson Staff[2] , Crimson Shoes[1] , Crimson Orb[1] & Crimson Robe-	cashshop	Captain Sets	-,2435:100,2538:100,2377:200 //Elite Engineer Armor[1] , Battle Greaves[1] & Captain's Manteau[1] -	cashshop	Rebellion Sets	-,2437:100,2382:100,2540:100 //Elite Shooter Suit[1] , Battle Boots[1] & Sheriff's Manteau[1] -	cashshop	Warlock Sets	-,2862:200,15028:200,2470:200,2010:1000 //Forest Staff[2] , Forest Shoes[1] , Forest Orb[1] & Forest Robe-	cashshop	Golden Sets	-,2859:200,15025:200,2469:200,2007:1000 //Golden Lord Staff[2] , Golden Lord Shoes[1] , Golden Lord Orb[1] & Golden Lord Robe-	cashshop	Acolyte Sets	-,2436:100,2539:100,2380:100 //Medic's Robe[1] , Combat Boots[1] & Commander's Manteau[1] -	cashshop	Assasin Sets	-,2578:250,2886:250,2478:250,15039:250 //Nab's Shoes[1] , Nab's Hood, Nab's Seal & Nab's Cloth[1] -	cashshop	Rune Knight Sets	-,2476:300,2575:300,15037:900,2884:300 //Pertz Greaves[1] , Pertz Manteau, Pertz Seal[1] & Pertz Plate-	cashshop	Priest Sets	-,15029:100,2569:100,2471:100,1657:300 //Staff of Affection[2] , Affection Shoes, Affection Shawl & Affection Robe-	cashshop	High Priest Sets	-,16013:100,15030:100,2570:100,2472:100 //Judgement Shoes, Judgement Shawl, Judgement Robe & Mace of Judgement[2] -	cashshop	Sinx Sets	-,2577:180,2886:180,2477:180,15038,300 //Sabath Shoes[1] , Sabath Hood, Sabath Seal & Sabath's Cloth[1] -	cashshop	White Sets	-,2479:170,2890:200,2580:130,15042:700 //White Wing Boots[1] , White Wing Manteau, White Wing Brooch & White Wing Suit[1] 

 

with

//shops-	cashshop	Upper	-,19521:100,19517:100,19507:1000,19529:100,19545:100,19547:100,19548:200,19524:100,19537:1000,19573:700,19526:100,19587:300,19549:100,19650:200,19536:140,19535:230,19527:100,19533:260,19544:700,19546:100,19530:230,19538:260,19523:10,19522:250,19543:150,19520:1000,19518:1000,19532:150,19516:1000-	cashshop	Middle	-,19509:100,19550:100,19542:200,19551:100,19525:100,19511:100,19512:100,19510:300-	cashshop	Lower	-,19514:100,19513:100,19553:100,19552:100,19528:100,19541:100,19505:100,19500:100-	cashshop	Normal Eggs	-,969:100-	cashshop	Custom Eggs	-,969:100-	cashshop	Job Figures	-,2767:100,2769:100,2768:100,2771:100,2765:100,2766:100,2770:100 /* //http://ratemyserver.net/index.php?iname=figure&page=re_item_db&quick=1&isearch=Search *//* Angel's Dress & Angeling Hairpin*/-	cashshop	Angel Sets	-,2358:100,5153:100/* Angelic Guard[1] , Angelic Protection[1] , Angel's Reincarnation[1] , Angelic Cardigan[1] & Angel's Kiss[1] */-	cashshop	Novice Sets	-,5125:100,2420:100,2521:100,2116:100,2355:100/* Aqua Staff[2] , Aqua Shoes[1] , Aqua Orb[1] & Aqua Robe */-	cashshop	Wizard Sets	-,2860:150,15026:150,2468:150,2008:300/* Crescent Wrist Guard[1] & Armor of Nothingness[1] */-	cashshop	Ninja Sets	-,15055:100,2173:100/* Kalasag, Nightmare Bangungot Boots, Buwaya Skin Clothes & Bakunawa Scale Armor*/-	cashshop	Bakunawa Sets	-,15051:500,2590:500,2169:500,2491:500/* Black Wing Boots[1] , Black Wing Manteau, Black Wing Brooch & Black Wing Suit[1] */-	cashshop	Ranger Sets	-,2480:400,2891:400,2581:400,15043:1000/* Crimson Staff[2] , Crimson Shoes[1] , Crimson Orb[1] & Crimson Robe*/-	cashshop	High Wizard Sets	-,15027:200,2009:1000,2861:200,2469:200/* Elite Engineer Armor[1] , Battle Greaves[1] & Captain's Manteau[1] */-	cashshop	Captain Sets	-,2435:100,2538:100,2377:200/* Elite Shooter Suit[1] , Battle Boots[1] & Sheriff's Manteau[1] */-	cashshop	Rebellion Sets	-,2437:100,2382:100,2540:100/* Forest Staff[2] , Forest Shoes[1] , Forest Orb[1] & Forest Robe */-	cashshop	Warlock Sets	-,2862:200,15028:200,2470:200,2010:1000/* Golden Lord Staff[2] , Golden Lord Shoes[1] , Golden Lord Orb[1] & Golden Lord Robe */-	cashshop	Golden Sets	-,2859:200,15025:200,2469:200,2007:1000/* Medic's Robe[1] , Combat Boots[1] & Commander's Manteau[1] */-	cashshop	Acolyte Sets	-,2436:100,2539:100,2380:100/* Nab's Shoes[1] , Nab's Hood, Nab's Seal & Nab's Cloth[1] */-	cashshop	Assasin Sets	-,2578:250,2886:250,2478:250,15039:250/* Pertz Greaves[1] , Pertz Manteau, Pertz Seal[1] & Pertz Plate */-	cashshop	Rune Knight Sets	-,2476:300,2575:300,15037:900,2884:300/* Staff of Affection[2] , Affection Shoes, Affection Shawl & Affection Robe */-	cashshop	Priest Sets	-,15029:100,2569:100,2471:100,1657:300/* Judgement Shoes, Judgement Shawl, Judgement Robe & Mace of Judgement[2] */-	cashshop	High Priest Sets	-,16013:100,15030:100,2570:100,2472:100/* Sabath Shoes[1] , Sabath Hood, Sabath Seal & Sabath's Cloth[1] */-	cashshop	Sinx Sets	-,2577:180,2886:180,2477:180,15038:300/* White Wing Boots[1] , White Wing Manteau, White Wing Brooch & White Wing Suit[1] */-	cashshop	White Sets	-,2479:170,2890:200,2580:130,15042:700

I think its because of this commit Changed variables, labels, functions, commands to case sensitive.

Edited by sevenzz23

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.