Zyper143 Posted May 9, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 05/01/20 Last Seen: June 2, 2020 Share Posted May 9, 2020 Help to this Unknown Syntax [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/healer.txt', line '52'. Stopping... * w1=if (.@Identify) { * w2= * w3= * w4= This is the script //===== rAthena Script ======================================= //= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Basic healer script. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Aligned coordinates with @go. //= 1.2 Added repair/Identifier //============================================================ - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 0; // Also buff players? (1: yes / 0: no) .@Delay = 0; // Heal delay, in seconds .@Repair = 0; // Repairall (1: yes / 0: no) .@Identify = 1; // Identify (1: yes / 0: no) if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny."; if (Zeny < .@Price) end; if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; Zeny -= .@Price; } percentheal 100,100; if (.@Buffs) { specialeffect2 EF_INCAGILITY; sc_start SC_SPEEDUP0,300000,30; } if (.@Delay) @HD = gettimetick(2) + .@Delay; if (.@Repair) { while (getbrokenid(1)) { repair(1); set .@i, .@i +1; } if (.@i) dispbottom .@i + " items has been repaired."; end; } } if (.@Identify) { getinventorylist; for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) { if ( @inventorylist_identify[.@i] == 1 ) continue; delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } } end; } // Duplicates //============================================================ alberta,186,148,5 duplicate(Healer) Healer#alb 742 aldebaran,135,118,6 duplicate(Healer) Healer#alde 742 amatsu,191,113,5 duplicate(Healer) Healer#ama 742 ayothaya,207,169,6 duplicate(Healer) Healer#ayo 742 comodo,145,165,5 duplicate(Healer) Healer#com 742 einbech,57,36,6 duplicate(Healer) Healer#einbe 742 einbroch,57,202,6 duplicate(Healer) Healer#einbr 742 geffen,113,65,5 duplicate(Healer) Healer#gef 742 gonryun,156,122,6 duplicate(Healer) Healer#gon 742 hugel,89,150,6 duplicate(Healer) Healer#hug 742 //izlude,121,150,6 duplicate(Healer) Healer#izl 742 //Pre-RE: (125,118) jawaii,250,139,4 duplicate(Healer) Healer#jaw 742 lighthalzen,152,100,6 duplicate(Healer) Healer#lhz 742 louyang,226,103,4 duplicate(Healer) Healer#lou 742 manuk,272,144,6 duplicate(Healer) Healer#man 742 mid_camp,203,289,6 duplicate(Healer) Healer#mid 742 moc_ruins,72,164,4 duplicate(Healer) Healer#moc 742 morocc,153,97,6 duplicate(Healer) Healer#mor 742 moscovia,220,191,4 duplicate(Healer) Healer#mos 742 niflheim,212,182,5 duplicate(Healer) Healer#nif 742 payon,163,222,3 duplicate(Healer) Healer#pay 742 prontera,150,183,5 duplicate(Healer) Healer#prt 742 rachel,125,116,6 duplicate(Healer) Healer#rac 742 splendide,201,153,4 duplicate(Healer) Healer#spl 742 thor_camp,249,74,4 duplicate(Healer) Healer#thor 742 umbala,69,142,5 duplicate(Healer) Healer#umb 742 veins,217,121,4 duplicate(Healer) Healer#ve 742 xmas,149,136,5 duplicate(Healer) Healer#xmas 742 yuno,164,45,4 duplicate(Healer) Healer#yuno 742 yuno,166,126,4 duplicate(Healer) Healer#yuno2 742 // Duplicates (Renewal) //============================================================ brasilis,194,221,6 duplicate(Healer) Healer#bra 742 dewata,195,187,4 duplicate(Healer) Healer#dew 742 dicastes01,201,194,4 duplicate(Healer) Healer#dic 742 ecl_in01,45,60,4 duplicate(Healer) Healer#ecl 742 malangdo,132,114,6 duplicate(Healer) Healer#mal 742 malaya,227,204,6 duplicate(Healer) Healer#ma 742 mora,55,152,4 duplicate(Healer) Healer#mora 742 Quote Link to comment Share on other sites More sharing options...
0 HaARiZz Posted May 9, 2020 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 76 Reputation: 12 Joined: 01/13/12 Last Seen: November 18, 2022 Share Posted May 9, 2020 Hi @Zyper143 As your request, here is the clean script for your healer npc. Enjoy! healer.txt 1 Quote Link to comment Share on other sites More sharing options...
0 Zyper143 Posted May 9, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 05/01/20 Last Seen: June 2, 2020 Author Share Posted May 9, 2020 3 hours ago, HaARiZz said: Hi @Zyper143 As your request, here is the clean script for your healer npc. Enjoy! healer.txt 3.67 kB · 1 download Thank you very much. People like you are awesome. Quote Link to comment Share on other sites More sharing options...
Question
Zyper143
Help to this Unknown Syntax
This is the script
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.