Jump to content

repairman not working


Recommended Posts


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

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/

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

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;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

help anyone?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

up

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

anyone can help me with this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  05/02/16
  • Last Seen:  

Please check if there are any error on your map-server

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  38
  • Reputation:   0
  • Joined:  03/15/16
  • Last Seen:  

try this 

prontera,168,179,2 script Repair all 826,

mes "[Repair All]";
getinventorylist;
while( .@i < @inventorylist_count ){
	if( @inventorylist_attribute[.@i] )
		set .@broken,.@broken + 1;
	set .@i,.@i + 1;
}
mes "You have "+.@broken+" broken items.";
mes "So you need to have "+.@broken+" "+getitemname( 999 )+" to repair all.";
if( select( ( countitem( 999 ) < .@broken )?"":"Repair","Cancel" ) == 1 ){
	repairall;
	next;
	mes "[Repair All]";
	mes "Done repaired all items.";
	delitem 999,.@broken;
}
close;
}
Edited by MuffinEater
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   1
  • Joined:  04/25/15
  • Last Seen:  

thanks for this script

Link to comment
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...