Jump to content

mrlongshen

Members
  • Content Count

    1126
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by mrlongshen


  1. ^try to download it again..

     

    i got this error

     

    afk.c: In function 'plugin_init':

    afk.c:69: warning: implicit declaration of function 'ACMD_A'

    afk.c:69: error: 'afk' undeclared (first use in this function)

    afk.c:69: error: (Each undeclared identifier is reported only once

    afk.c:69: error: for each function it appears in.)

    make[1]: *** [../../plugins/afk.so] Error 1

    make[1]: Leaving directory `/root/hercules/src/plugins'

    make: *** [plugins] Error 2

     


  2. 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 ?


  3.  

     

    makeitem .item_id,1,.map$,.@x,.@y;+ announce "An [" +getitemname(.item_id)+ "] has been drop from the sky in map [" +.map "]. Lets get it before it gone..",0;

     

    after i add this. almost 50 broadcast appear !!

    omg !!

     

    post-1425-0-81525000-1385971345_thumb.png


  4. U need to use setarray for that xD what is the reason behind your multiple map? You want to do an item shower on multiple maps? Or you want to random pick a map and do the item shower there? :D

     

    oh ic. :(

    i need random pick a map and do the item shower there. hehe xD


  5. [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 ?


  6. @seventh, no permission to download..

    i have update to latest version of rathena.

    i got this error.

    im using this plugin

     

    HPExport struct hplugin_info pinfo = {
      "afk",   // Plugin name
      SERVER_TYPE_MAP,// Which server types this plugin works with?
      "1.0",   // Plugin version
      HPM_VERSION,   // HPM Version (don't change, macro is automatically updated)


  7.  

     

     

    - disguise "1317";+ disguise 1317;

     

     

    [Error]: script error in file 'npc/ro/event/marathon.txt' line 238 column 3    parse_line: expect command, missing function name or calling undeclared function   235:                 dispbottom "Magicians turn you into Peco.";   236:                 set @ep7_JMarapl,2;   237:                 set @ep7_JMaratour,1;*  238:                 disguise 1369;        ~~~~~~~~~~~~~~~~^   239:                 end;   240:         }   241:[Error]: script error in file 'npc/ro/event/marathon.txt' line 333 column 3    parse_line: expect command, missing function name or calling undeclared function   330:                 set @ep7_JMarapl,6;   331:                 mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [5] Point of Passage.",0,0x00CCFF;   332:                 dispbottom "Magicians turn you in Seal.";*  333:                 disguise 1317;        ~~~~~~~~~~~~~~~~^   334:                 end;}   335:   336: if (@ep7_JMarapl == 6) {end;}

    I think same problem sir..

    use atcommand "@disguise 1317"

    - disguise "1317";+ atcommand "@disguise 1317";

     

    now its works :) thx bro


  8.  

    - disguise "1317";+ disguise 1317;

     

     

    [Error]: script error in file 'npc/ro/event/marathon.txt' line 238 column 3    parse_line: expect command, missing function name or calling undeclared function   235:                 dispbottom "Magicians turn you into Peco.";   236:                 set @ep7_JMarapl,2;   237:                 set @ep7_JMaratour,1;*  238:                 disguise 1369;        ~~~~~~~~~~~~~~~~^   239:                 end;   240:         }   241:[Error]: script error in file 'npc/ro/event/marathon.txt' line 333 column 3    parse_line: expect command, missing function name or calling undeclared function   330:                 set @ep7_JMarapl,6;   331:                 mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [5] Point of Passage.",0,0x00CCFF;   332:                 dispbottom "Magicians turn you in Seal.";*  333:                 disguise 1317;        ~~~~~~~~~~~~~~~~^   334:                 end;}   335:   336: if (@ep7_JMarapl == 6) {end;}

    I think same problem sir..


  9. //===== eAthena Script =======================================//= Euhéméria Marathon//===== By: ==================================================//= AeriePinkPanther//===== Current Version: =====================================//= 1.0//===== Compatible With: =====================================//= eAthena SVN 14000+//===== Description: =========================================//= RaceWay with traps//============================================================event,97,98,5	script	Marathon Event	989,{	warp "ars_dun31.gat" ,37,78;}ars_dun31,43,82,1	script	Azheila#ep7	951,{set @name$,"Azheila";if($@ep7mara==0)  { 	mes "[" + @name$ + "]";	mes "Well " + strcharinfo(0) + ",";	mes "You can now participate in the Marathon of Euhéméria!";	close;}if($@ep7mara==1)  { 	mes "[" + @name$ + "]";	mes "Well " + strcharinfo(0) + ",";	mes "You can register at this time.";	close;}if($@ep7mara>=2)  { 	mes "[" + @name$ + "]";	mes "Well " + strcharinfo(0) + ",";	mes "The marathon is over, you can watch the race talking to Xzian.";	close;}OnBG:	waitingroom "Marathon - WaitingRoom",3,"EP7_mara::OnBGJoin",1;	end;}//========================================================================================================ars_dun31,79,78,0	script	#arsdun31a	45,1,1,{		set @name$,"Inscripitons";	if ($@ep7mara == 0)  goto sub1;	if ($@ep7mara == 1)  goto sub2;	if ($@ep7mara >= 2)  goto sub3;		sub1:				mes "[" + @name$ + "]";		mes "You can't register yet.";		close;	sub2:		mes "[" + @name$ + "]";		mes "Would you sign?";		next;		menu "Yes !",submenu1,"No",-;			close;		submenu1:			if(checkcart() == 1 || (countitem(12016)>0) || (countitem(662)>0) || checkriding() == 1){				mes "[" + @name$ + "]";				mes "You must don't have a Cart, a Peco, the Authoritative Badges and Speed Potion with you.";				close;}			if ($@ep7_Maranb >= 10) {mes "[" + @name$ + "]";mes "Sorry, but there are already 10 registered!";close;}			setarray $MaraJoueur$[$@ep7_Maranb],strcharinfo(0);			set $@ep7_Maranb,$@ep7_Maranb+1;			mes "[" + @name$ + "]";			mes "" + strcharinfo(0) + " here you are registered! !"; 			close2;				mapannounce "ars_dun31",""+strcharinfo(0)+" has just registered!",1,0x66FF00;			sc_end SC_ALL;			set @ep7_JMarapl,1;			warp "ars_dun31",73,114;			end;	sub3:				mes "[" + @name$ + "]";		mes "The marathon is over, so you can't register.";		close;	}//_________________________________________________________________//___________________Marathon : Script ____________________________//_________________________________________________________________-	script	EP7_mara	-1,{OnInit://=================================================//Configure//=================================================	//Rewards, last one is for the record	setarray $@MaraRec[0],675,675,675,675,675,675,675,675,675,675,675; 	setarray $@MaraNb[0],150,100,80,70,60,50,40,30,20,10,800; //=================================================	//Temps	stopnpctimer;	setnpctimer 0;		if ($MaraRecord == 0){	set $MaraRecord,50000;}	//Fenêtre	donpcevent "Azheila#ep7::OnBG";	//Ligne de Départ	setcell "ars_dun31",81,130,73,130,cell_walkable,0; //non walkable : Ligne de Départ	//Variables	set $@ep7mara,0; //off 1= inscriptions en cours / 2= event en cours	set $@ep7_Maranb,0; //Nb de joueurs à l'inscription à zéro	set $@MaranEnd,0; //Nb d'arrivées à zéro	//NPC	disablenpc "#arsdun31a";	end;	OnBGJoin:	if( $@ep7mara == 1 || $@ep7mara == 2 ) {end;}	if( $EP7Annonce == 0 ) {mapannounce "ars_dun31","The Marathon Euhéméria has just started, you have two minutes to register!",1,0xFF6600;}	if( $EP7Annonce == 1 ) {announce "The Marathon Euhéméria has just started, you have two minutes to register!",0,0xFF6600;}	//Inscriptions Ouvertes	set $@ep7mara,1;	//Noms des derniers participants	deletearray $MaraJoueur$[0],9; //Suppr les 10 noms participants	deletearray $MaranEnd$[0],9; //Suppr les 10 noms arrivées	deletearray $MaranTime[0],9; //Suppr les 10 temps	deletearray $MaranTimeS[0],9; //temps	//Vers les inscriptions	enablenpc "#arsdun31a";	sleep2 120000; //2 Minutes pour s'inscrire		mapannounce "ars_dun31","Entries are closed, we will soon begin!",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	set $@ep7mara,2; //Inscriptions closes	sleep2 15000;	mapannounce "ars_dun31","5",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	sleep2 1000;	mapannounce "ars_dun31","4",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	sleep2 1000;	mapannounce "ars_dun31","3",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	sleep2 1000;	mapannounce "ars_dun31","2",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	sleep2 1000;	mapannounce "ars_dun31","1",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	sleep2 1000;	mapannounce "ars_dun31","Let's go !",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	setcell "ars_dun31",81,130,73,130,cell_walkable,1; //walkable : Ligne de Départ	initnpctimer;	sleep2 10000;	mapannounce "ars_dun31","You have 20 minutes to finish the race!",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	end;//=========================================OnTimer300000:	mapannounce "ars_dun31","15 minutes left!",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	end;OnTimer600000:	mapannounce "ars_dun31","10 minutes left!",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	end;OnTimer900000:	mapannounce "ars_dun31","5 minutes left!",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	end;OnTimer1200000:	mapannounce "ars_dun31","Let's go !",bc_map,"0xFF3333",FW_NORMAL,20,0,40;	sleep2 5000;	areawarp "ars_dun31",0,400,400,0,"ars_dun31",31,78;	sleep2 5000;	donpcevent "EP7_mara::OnInit";	end;	//=========================================OnPCLoginEvent:	getmapxy @map$,@x,@y,0;	if ( @map$ == "ars_dun31" && @ep7_JMarapl == 0) {dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}	end;OnPCDieEvent: //Point de respawn//=========================================OnEnd:	setarray $MaranTime[$@MaranEnd],getnpctimer(0);//Temps	end;	}//_________________________________________________________________//___________________Marathon : Arène _____________________________//_________________________________________________________________//Entréears_dun31,73,246,5	script	#arsdun31b	45,2,2,{if (@ep7_JMarapl == 1) {		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [1] Point of Passage.",0,0x00CCFF;		mapannounce "ars_dun31",""+strcharinfo(0)+" : You must perform 8 Stadium Tours.",0,0x9966CC|bc_self;		dispbottom "Magicians turn you into Peco.";		set @ep7_JMarapl,2;		set @ep7_JMaratour,1;		disguise 1369;		end;			}if (@ep7_JMarapl == 2) {end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//=========================================//Tourars_dun31,59,225,5	script	#arsdun31c	45,1,1,{if (@ep7_JMaratour == 8) {dispbottom "You've already made your point eight turns.";end;}if (@ep7_JMarapl == 2) {		set @ep7_JMaratour,@ep7_JMaratour+1;		dispbottom ""+strcharinfo(0)+" : You will be in your ["+@ep7_JMaratour+"] Round !";		warp "ars_dun31",59,230;			end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//=========================================//Sortiears_dun31,74,185,5	script	#arsdun31d	45,1,1,{if (@ep7_JMaratour == 8 && @ep7_JMarapl == 2) {		undisguise;		set @ep7_JMarapl,3;		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [2] Point of Passage.",0,0x00CCFF;		warp "ars_dun31",74,181;			end;}	dispbottom "You have not done your 8 laps.";end;}//_________________________________________________________________//___________________Marathon : Planches __________________________//_________________________________________________________________//Sortiears_dun31,149,189,5	script	#arsdun31e	45,3,3,{if (@ep7_JMarapl == 3) {		set @ep7_JMarapl,4;		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [3] Point of Passage.",0,0x00CCFF;		end;}if (@ep7_JMarapl == 4) {end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//_________________________________________________________________//___________________Marathon : Montée ____________________________//_________________________________________________________________ars_dun31,194,245,5	script	#arsdun31f	45,1,1,{if (@ep7_JMarapl == 4) {		set @ep7_JMarapl,5;		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [4] Point of Passage.",0,0x00CCFF;		end;}if (@ep7_JMarapl == 5) {end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//=================================================================ars_dun31,229,261,5	script	#ep7piege1a	-1,5,5,{OnTouch:	set @rand, rand(100);	if(@rand <= 80) {end;}	dispbottom "Vous venez de chuter ! Il va falloir remonter !";	warp "ars_dun31",202,249;	end;}ars_dun31,262,236,4	duplicate(#ep7piege1a)	#ep7piege1b	-1,5,5ars_dun31,282,259,4	duplicate(#ep7piege1a)	#ep7piege1c	-1,5,5ars_dun31,282,191,4	duplicate(#ep7piege1a)	#ep7piege1d	-1,5,5//_________________________________________________________________//___________________Marathon : Glace  ____________________________//_________________________________________________________________ars_dun31,277,171,5	script	#arsdun31g	45,1,1,{if (@ep7_JMarapl == 5) {		set @ep7_JMarapl,6;		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [5] Point of Passage.",0,0x00CCFF;		dispbottom "Magicians turn you in Seal.";		disguise "1317";		end;}if (@ep7_JMarapl == 6) {end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//=================================================================//ars_dun31,262,135,5	script	#ep7piege2a	-1,9,9,{//OnTouch:	//	set @rand, rand(100);//	if(@rand <= 75) {end;}//	sc_start SC_MATKFood,120000,10;//	dispbottom "Vous venez de tomber dans une crevasse !";//	specialeffect 108;//	end;//}//ars_dun31,239,115,4	duplicate(#ep7piege2a)	#ep7piege2b	-1,9,9//ars_dun31,223,105,4	duplicate(#ep7piege2a)	#ep7piege2c	-1,9,9//ars_dun31,253,88,4	duplicate(#ep7piege2a)	#ep7piege2d	-1,9,9//ars_dun31,272,42,4	duplicate(#ep7piege2a)	#ep7piege2e	-1,9,9//_________________________________________________________________//___________________Marathon : Descente __________________________//_________________________________________________________________ars_dun31,246,25,5	script	#arsdun31h	45,1,1,{if (@ep7_JMarapl == 6) {		set @ep7_JMarapl,7; //Global		set @ep7_JMaraDS,1; //Portes pour la descente		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [6] Point of Passage.",0,0x00CCFF;		end;}if (@ep7_JMarapl == 7) {end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//=================================================================ars_dun31,240,53,5	script	#ep7piege3a	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 1) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [1] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,225,45,5	script	#ep7piege3b	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 2) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [2] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,212,34,5	script	#ep7piege3c	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 3) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [3] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,200,25,5	script	#ep7piege3d	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 4) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [4] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,189,29,5	script	#ep7piege3e	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 5) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [5] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,179,40,5	script	#ep7piege3f	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 6) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [6] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,173,52,5	script	#ep7piege3g	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 7) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [7] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,161,50,5	script	#ep7piege3h	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 8) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [8] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,156,36,5	script	#ep7piege3i	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 9) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [9] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,146,32,5	script	#ep7piege3j	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 10) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [10] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,134,33,5	script	#ep7piege3k	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 11) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [11] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,128,46,5	script	#ep7piege3l	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 12) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [12] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,131,57,5	script	#ep7piege3m	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 13) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [13] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,141,68,5	script	#ep7piege3n	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 14) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [14] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//=================================================================ars_dun31,137,84,5	script	#ep7piege3o	-1,3,3,{OnTouch:	if (@ep7_JMaraDS == 15) {	set @ep7_JMaraDS,@ep7_JMaraDS+1;dispbottom "You just passed the [15] Gate.";end;}	dispbottom "You must pass the gates in order!";end;}//_________________________________________________________________//___________________Marathon : Château ___________________________//_________________________________________________________________ars_dun31,170,104,5	script	#arsdun31i	45,3,3,{if (@ep7_JMarapl == 7 && @ep7_JMaraDS == 16) {		set @ep7_JMarapl,8;		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [7] Point of Passage.",0,0x00CCFF;		undisguise;		end;}if (@ep7_JMarapl == 8) {end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//=================================================================-	script	EP7_MaraBomb	-1,{OnInit:	monster "ars_dun31",170,124,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie1";	monster "ars_dun31",159,154,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie2";	monster "ars_dun31",186,177,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie3";	monster "ars_dun31",202,192,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie4";	monster "ars_dun31",180,142,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie5";	monster "ars_dun31",216,178,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie6";	set $@monster_ep7Mara1,3;	set $@monster_ep7Mara2,3;	set $@monster_ep7Mara3,3;	set $@monster_ep7Mara4,3;	set $@monster_ep7Mara5,3;	set $@monster_ep7Mara6,3;	end;OnDie1:	set $@monster_ep7Mara1, $@monster_ep7Mara1-1;	if($@monster_ep7Mara1==0) {sleep2 8000; set $@monster_ep7Mara1,3;	monster "ars_dun31",170,124,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie1";}end;OnDie2:	set $@monster_ep7Mara2, $@monster_ep7Mara2-1;	if($@monster_ep7Mara2==0) {sleep2 8000; set $@monster_ep7Mara2,3;	monster "ars_dun31",159,154,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie2";}end;OnDie3:	set $@monster_ep7Mara3, $@monster_ep7Mara3-1;	if($@monster_ep7Mara3==0) {sleep2 8000; set $@monster_ep7Mara3,3;	monster "ars_dun31",186,177,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie3";}end;OnDie4:	set $@monster_ep7Mara4, $@monster_ep7Mara4-1;	if($@monster_ep7Mara4==0) {sleep2 8000; set $@monster_ep7Mara4,3;	monster "ars_dun31",202,192,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie4";}end;OnDie5:	set $@monster_ep7Mara5, $@monster_ep7Mara5-1;	if($@monster_ep7Mara5==0) {sleep2 8000; set $@monster_ep7Mara5,3;	monster "ars_dun31",180,142,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie5";}end;OnDie6:	set $@monster_ep7Mara6, $@monster_ep7Mara6-1;	if($@monster_ep7Mara6==0) {sleep2 8000; set $@monster_ep7Mara6,3;	monster "ars_dun31",216,178,"Bomb Poring",3908,3,"EP7_MaraBomb::OnDie6";}end;	}//_________________________________________________________________//___________________Marathon : Portes ____________________________//_________________________________________________________________ars_dun31,236,179,5	script	#arsdun31j	45,1,1,{if (@ep7_JMarapl == 8) {		set @ep7_JMarapl,9;		mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [8] Point de Passage.",0,0x00CCFF;		warp "ars_dun31",51,39;		end;}if (@ep7_JMarapl == 9) {end;}	dispbottom "You don't follow the rules.";warp "ars_dun31",31,78;end;}//=================================================================ars_dun31,67,46,5	script	#ep7piege5a	45,1,1,{OnTouch:	set @rand, rand(100);	if(@rand <= 60) {specialeffect 108;sc_start SC_FREEZE,4000,0;end;}	if(@rand <= 75) {specialeffect 109;sc_start SC_CONFUSION,5000,0;end;}	warp "ars_dun31",90,40;end;}//=================================================================ars_dun31,67,41,5	script	#ep7piege5b	45,1,1,{OnTouch:	set @rand, rand(100);	if(@rand <= 40) {specialeffect 108;sc_start SC_FREEZE,4000,0;end;}	if(@rand <= 65) {specialeffect 109;sc_start SC_CONFUSION,5000,0;end;}	warp "ars_dun31",90,40;end;}//=================================================================ars_dun31,67,36,5	script	#ep7piege5c	45,1,1,{OnTouch:	set @rand, rand(100);	if(@rand <= 60) {specialeffect 108;sc_start SC_FREEZE,4000,0;end;}	if(@rand <= 100) {specialeffect 109;sc_start SC_CONFUSION,5000,0;end;}	}//=================================================================ars_dun31,67,32,5	script	#ep7piege5d	45,1,1,{OnTouch:	set @rand, rand(100);	if(@rand <= 60) {specialeffect 108;sc_start SC_FREEZE,4000,0;end;}	if(@rand <= 100) {specialeffect 109;sc_start SC_CONFUSION,5000,0;end;}	}//_________________________________________________________________//___________________Marathon : Fin _______________________________//_________________________________________________________________ars_dun31,36,125,5	script	#arsdun31k	45,1,1,{if (@ep7_JMarapl == 9) {		if ($@ep7_MaranEnd >= 10) {mes "[" + @name$ + "]";mes "Sorry, but there have been [10] arrived !";close2;warp "ars_dun31",31,78;end;}		setarray $MaranEnd$[$@MaranEnd],strcharinfo(0); //Nom		donpcevent "EP7_mara::OnEnd";	getitem $@MaraRec[$@MaranEnd],$@MaraNb[$@MaranEnd];	set .@MaraplaceT,$@MaranEnd+1;	mapannounce "ars_dun31",""+$MaranEnd$[$@MaranEnd]+" has just arrived at ["+ .@MaraplaceT +"] Place !",0,0x00CCFF;	warp "ars_dun31",31,78;	//Calcul du Temps	set $MaranTimeS[$@MaranEnd], $MaranTime[$@MaranEnd]/1000;	//Si Record	if($MaranTime[$@MaranEnd] < $MaraRecord) {	set $MaraRecNom$,$MaranEnd$[$@MaranEnd];	set $MaraRecord,$MaranTime[$@MaranEnd];	set $MaraRecordS,$MaranTimeS[$@MaranEnd];	getitem $@MaraRec[10],$@MaraNb[10];	sleep2 5000;	mapannounce "ars_dun31",""+$MaranEnd$[$@MaranEnd]+" just beat the record time of Marathon with ["+$MaraRecordS+"] seconds !",0,0x00CCFF;	}	//Passage au suivant	set $@MaranEnd,$@MaranEnd+1;			end;}	dispbottom "You are not following the rules.";warp "ars_dun31",31,78;end;}//set @ep7_JMarapl,1; = 0 rien / 1 = inscriptions / 2 = arène / 3 = planches//_________________________________________________________________//___________________Marathon : Panneaux __________________________//_________________________________________________________________ars_dun31,43,74,3	script	Informations#ep7a	857,{set @name$,"Informations";	mes "[" + @name$ + "]";	mes "Hello sir, may I help you ?";	next;	switch( select("Participants:Classement:Spectator:Record:Quitter") ){	case 1: 	mes "^FF0000~ Participants of the Marathon of Euhéméria ~^000000";	mes "- First Participant : ^4d4dff - " + $MaraJoueur$[0] + "^000000 -";	mes "- Second Participant : ^4d4dff - " + $MaraJoueur$[1] + "^000000 -";	mes "- Third Participant : ^4d4dff - " + $MaraJoueur$[2] + "^000000 -";	mes "- Fourth Participant : ^4d4dff - " + $MaraJoueur$[3] + "^000000 -";	mes "- Fifth Participant : ^4d4dff - " + $MaraJoueur$[4] + "^000000 -";	mes "- Sixth Participant : ^4d4dff - " + $MaraJoueur$[5] + "^000000 -";	mes "- Seventh Participant : ^4d4dff - " + $MaraJoueur$[6] + "^000000 -";	mes "- Eighth Participant : ^4d4dff - " + $MaraJoueur$[7] + "^000000 -";	mes "- Ninth Participant : ^4d4dff - " + $MaraJoueur$[8] + "^000000 -";	mes "- Tenth Participant : ^4d4dff - " + $MaraJoueur$[9] + "^000000 -";	close2;	set @ep7_JMarapl,9;	end;	case 2: 	mes "^FF0000~ Winners of the Marathon of Euhéméria ~^000000";	mes "- 1 : ^4d4dff - " + $MaranEnd$[0] + "^000000 / ^4d4dffTime : "+$MaranTimeS[0]+" secondes^000000 -";	mes "- 2 : ^4d4dff - " + $MaranEnd$[1] + "^000000 / ^4d4dffTime : "+$MaranTimeS[1]+" secondes^000000 -";	mes "- 3 : ^4d4dff - " + $MaranEnd$[2] + "^000000 / ^4d4dffTime : "+$MaranTimeS[2]+" secondes^000000 -";	mes "- 4 : ^4d4dff - " + $MaranEnd$[3] + "^000000 / ^4d4dffTime : "+$MaranTimeS[3]+" secondes^000000 --";	mes "- 5 : ^4d4dff - " + $MaranEnd$[4] + "^000000 / ^4d4dffTime : "+$MaranTimeS[4]+" secondes^000000 --";	mes "- 6 : ^4d4dff - " + $MaranEnd$[5] + "^000000 / ^4d4dffTime : "+$MaranTimeS[5]+" secondes^000000 --";	mes "- 7 : ^4d4dff - " + $MaranEnd$[6] + "^000000 / ^4d4dffTime : "+$MaranTimeS[6]+" secondes^000000 --";	mes "- 8 : ^4d4dff - " + $MaranEnd$[7] + "^000000 / ^4d4dffTime : "+$MaranTimeS[7]+" secondes^000000 --";	mes "- 9 : ^4d4dff - " + $MaranEnd$[8] + "^000000 / ^4d4dffTime : "+$MaranTimeS[8]+" secondes^000000 --";	mes "- 10 : ^4d4dff - " + $MaranEnd$[9] + "^000000 / ^4d4dffTime : "+$MaranTimeS[9]+" secondes^000000 --";	close;//===========================================	case 3:	mes "[" + @name$ + "]";	mes "Where do you want to go ?";	next;	switch( select("Entrance:Start/Finish:Arena:Lake:Zeppelin-Ascent:Zeppelin-Ice:Castle:Doors:Cancel") ){	case 1:close2;warp "ars_dun31",32,79;end;	case 2:close2;warp "ars_dun31",50,121;end;	case 3:close2;warp "ars_dun31",69,217;end;	case 4:close2;warp "ars_dun31",169,228;end;	case 5:close2;warp "ars_dun31",261,199;end;	case 6:close2;warp "ars_dun31",200,79;end;	case 7:close2;warp "ars_dun31",172,152;end;	case 8:close2;warp "ars_dun31",74,40;end;	case 9:close;}//===========================================	case 4:  	mes "[" + @name$ + "]";	mes "The record is currently held by "+$MaraRecNom$+".";	mes "With a time: "+$MaraRecordS+" seconds.";	close;//===========================================	case 5: close;}}ars_dun31,51,123,4	duplicate(Informations#ep7a)	Informations#ep7b	857ars_dun31,173,234,4	duplicate(Informations#ep7a)	Informations#ep7c	857ars_dun31,267,203,4	duplicate(Informations#ep7a)	Informations#ep7d	857ars_dun31,194,80,4	duplicate(Informations#ep7a)	Informations#ep7e	857ars_dun31,202,150,4	duplicate(Informations#ep7a)	Informations#ep7f	857ars_dun31,72,47,4	duplicate(Informations#ep7a)	Informations#ep7g	857ars_dun31,68,224,4	duplicate(Informations#ep7a)	Informations#ep7h	857

    i got the error on this script. can someone fix it for me ? this is the log....

     

    [Error]: script error in file 'npc/ro/event/marathon.txt' line 237 column 3    parse_line: expect command, missing function name or calling undeclared function   234:                 dispbottom "Magicians turn you into Peco.";   235:                 set @ep7_JMarapl,2;   236:                 set @ep7_JMaratour,1;*  237:                 disguise 1369;        ~~~~~~~~~~~~~~~~^   238:                 end;}   239:   240: if (@ep7_JMarapl == 2) {end;}[Error]: script error in file 'npc/ro/event/marathon.txt' line 331 column 3    parse_line: expect command, missing function name or calling undeclared function   328:                 set @ep7_JMarapl,6;   329:                 mapannounce "ars_dun31",""+strcharinfo(0)+" has just arrived at [5] Point of Passage.",0,0x00CCFF;   330:                 dispbottom "Magicians turn you in Seal.";*  331:                 disguise "1317";        ~~~~~~~~~~~~~~~~^   332:                 end;}   333:   334: if (@ep7_JMarapl == 6) {end;}

     


  10. prontera,164,171,4	script	Gold Room	10005,{	mes "Do you want to enter Gold Room ?";	mes "This gold room is sponsor by Maybank2u";	menu "Ok",-,"No thanks.",L_No;	warp "sakura.gat",0,0;	close;OnInit:	waitingroom "[ Gold Room ]",0;end;L_No:close;}-	script	GoldRoom	-1,{OnInit:	monster "sakura",0,0,"Gold Resident 1",3113,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 2",3142,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 3",3119,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 4",3133,30,"GoldRoom::OnMobKilled";	monster "sakura",0,0,"Gold Resident 5",3122,30,"GoldRoom::OnMobKilled";	end;OnMobKilled:	set $@ran, rand(1,3);	if ($@ran == 1) getitem 969,1;	if ($@ran == 2) getitem 969,2;	if ($@ran == 3) getitem 969,5;	}

    can someone take look on this script, why its not automatic respawn the mobs after kill the mobs ?

×
×
  • Create New...

Important Information

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