Blacksmith Weapon Refine

Xanthin

New member
Messages
23
Points
0
Hello everyone,

i have the question if someone might help me with an SRC edit wich i cant create myself...

I would like to have skill "Weapon Refine" from blacksmith to be after every Refine showing the

Message "+x Item Obtained" like it would show from a normal Refine from Npc

Is that possible? Thanks for Help.

Greetings,

Xanthin

 
Also looking for this. The current message says "Weapons upgraded: %s"

Although that is a entry from the msgstringtable file and it isn't possible to put a script in it. So the src mod we need is the same as the refine NPC, first temp. take the weapon and then return it.

Anyone willing to help us?

 
Not good on SRC so I won't be able to give any support if this fails, but try this one:

Find: src/map/clif.c:14625

        clif->upgrademessage(sd->fd, 0,item->nameid);

Change to:

clif->messages(sd->fd, "+%d %s obtained.", item->refine, item->nameid);

Haven't tested it, won't possibly work but this should get you nearer to your goal in any case.

 
This is old, but I am looking for this as well. JaBote's attempt did sadly not achieve this. Anyone else know a solution?

 
@bOinkz

@Helena

@Xanthin

Code:
 src/map/skill.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/map/skill.c b/src/map/skill.c
index 6eacde8..c246e1f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -16200,6 +16200,11 @@ void skill_weaponrefine (struct map_session_data *sd, int idx)
 						break;
 					}
 				}
+				{
+					char message[CHAT_SIZE_MAX];
+					safesnprintf( message, CHAT_SIZE_MAX, "+%d %s Item Obtained.", item->refine, ditem->jname );
+					clif->message( sd->fd, message );
+				}
 			} else {
 				item->refine = 0;
 				if(item->equip)
screenRuru_Server011.jpg

 
Last edited by a moderator:
Back
Top