download the patch file, and read on lines that I gave "//change this"
Index: conf/msg_athena.conf
===================================================================
--- conf/msg_athena.conf (revision 17102)
+++ conf/msg_athena.conf (working copy)
@@ -630,6 +630,8 @@
680: You have been recovered!
//681-899 free
+700: Congratulations to %s for successfully refining %s to +%d! //change this
+
681: Rune Knight T
682: Warlock T
683: Ranger T
@@ -1406,5 +1408,7 @@
1396: You do not have a cart to be cleaned.
1397: Your cart was cleaned.
+
+// msg
//Custom translations
import: conf/import/msg_conf.txt
Index: src/map/skill.c
===================================================================
--- src/map/skill.c (revision 17102)
+++ src/map/skill.c (working copy)
@@ -14228,7 +14228,7 @@
void skill_weaponrefine (struct map_session_data *sd, int idx)
{
nullpo_retv(sd);
-
+
if (idx >= 0 && idx < MAX_INVENTORY)
{
int i = 0, ep = 0, per;
@@ -14266,6 +14266,12 @@
if (ep)
pc_equipitem(sd,idx,ep);
clif_misceffect(&sd->bl,3);
+ if(item->refine >= 10) //change this
+ {
+ char output[256];
+ snprintf(output, sizeof output, msg_txt(700), &sd->status.name, ditem->jname, item->refine); // Packet 0x%x length: %d //change this
+ clif_broadcast(&sd->bl, output, strlen(output)+1, 0, ALL_CLIENT);
+ }
if(item->refine == 10 &&
item->card[0] == CARD0_FORGE &&
(int)MakeDWord(item->card[2],item->card[3]) == sd->status.char_id)