Xanthin 0 Posted March 20, 2014 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 Quote Share this post Link to post Share on other sites
0 Helena 0 Posted March 29, 2014 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? Quote Share this post Link to post Share on other sites
0 Xanthin 0 Posted April 4, 2014 bump no one? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted April 4, 2014 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. Quote Share this post Link to post Share on other sites
0 Helena 0 Posted May 22, 2015 This is old, but I am looking for this as well. JaBote's attempt did sadly not achieve this. Anyone else know a solution? Quote Share this post Link to post Share on other sites
0 bOinkz 0 Posted November 24, 2015 up... please i need this one too Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted November 26, 2015 (edited) @bOinkz @Helena @Xanthin 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) Edited June 4, 2018 by AnnieRuru 1 IndieRO reacted to this Quote Share this post Link to post Share on other sites
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
Share this post
Link to post
Share on other sites