rayleigh Posted April 15, 2016 Share Posted April 15, 2016 why is this not working? prontera,111,111,5 script Repairer#2 123,{ while(getbrokenid(0)){ repair getbrokenid(0); } end; } its a one click repair all that i found on search button heres the link... https://rathena.org/board/topic/58482-1-click-repair/ Quote Link to comment Share on other sites More sharing options...
Secrets Posted April 15, 2016 Share Posted April 15, 2016 What's being shown in the server log when the NPC loads or a player clicks the NPC? Don't just say `this npc isn't working sir`. That's like going to a doctor and only tell him `I'm not feeling well` without any details. Anyways, I suspect you just copy-paste the script without checking tabs on the script header. Quote Link to comment Share on other sites More sharing options...
rayleigh Posted April 16, 2016 Author Share Posted April 16, 2016 Hi sir. I take the script and edit it applying the tab. and its not showing any errors on the map server heres my script prontera,168,179,2 script Repair all 826,{ while(getbrokenid(0)){ repair getbrokenid(0); } end; } Quote Link to comment Share on other sites More sharing options...
rayleigh Posted April 18, 2016 Author Share Posted April 18, 2016 help anyone? Quote Link to comment Share on other sites More sharing options...
rayleigh Posted April 19, 2016 Author Share Posted April 19, 2016 bump Quote Link to comment Share on other sites More sharing options...
rayleigh Posted April 20, 2016 Author Share Posted April 20, 2016 up Quote Link to comment Share on other sites More sharing options...
rayleigh Posted April 26, 2016 Author Share Posted April 26, 2016 anyone can help me with this? Quote Link to comment Share on other sites More sharing options...
Synergy Posted May 3, 2016 Share Posted May 3, 2016 Please check if there are any error on your map-server Quote Link to comment Share on other sites More sharing options...
MuffinEater Posted May 28, 2016 Share Posted May 28, 2016 (edited) try this prontera,168,179,2 script Repair all 826, mes "[Repair All]"; getinventorylist; while( [email protected] < @inventorylist_count ){ if( @inventorylist_attribute[[email protected]] ) set [email protected],[email protected] + 1; set [email protected],[email protected] + 1; } mes "You have "[email protected]+" broken items."; mes "So you need to have "[email protected]+" "+getitemname( 999 )+" to repair all."; if( select( ( countitem( 999 ) < [email protected] )?"":"Repair","Cancel" ) == 1 ){ repairall; next; mes "[Repair All]"; mes "Done repaired all items."; delitem 999,[email protected]; } close; } Edited May 28, 2016 by MuffinEater Quote Link to comment Share on other sites More sharing options...
reynald029 Posted July 24, 2016 Share Posted July 24, 2016 thanks for this script Quote Link to comment Share on other sites More sharing options...