Thanks for the reply but didn't work. I managed to fix 3 wings but after so many things I tried is impossible to point out what really fixed the problem. Also tested some clients down to 2010 and that changed nothing.
Hey!Β
I attempted to edit it using the GRFEditor but was unable to do so. Then, by hand, it showed me some errors when I tried to compile it. How did you do it?
I even tried to decode it to JSON using the RagLite tools, but got stuck from there...Β π
I'm sorry, but in 2025, it's possible to find this script, but the search doesn't yield any results. It's a very interesting work, and I'd like to take a look.
Good afternoon!
Β
I understand that this post is very old, but I've been looking for a long time to add a rain effect to my server. In earlier versions, it was available, but I'm wondering if anyone has any information on how to implement it.
Β
Please forgive my English.
[ Q ] How to show item ICONS inside NPC dialogue (Hercules)?
[ A ] Use item *links* in your messages: getitemlink(<item_id>)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
REQUIREMENTS (client-side)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1) A client that supports item links (any modern 2014+ client is fine).
2) When diffing your client (e.g. NEMO), enable:
Β Β - βEnable Item Linkβ (sometimes named βEnable Monster & Item Linkβ).
Β Β Thatβs it β no custom LUA needed.
Β
Note: Zeny does not have a built-in icon in dialogue; only items do.
Β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
MINIMAL HERCULES NPC EXAMPLE
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
prontera,155,180,4Β Β Β scriptΒ Β Β ItemIconDemoΒ Β Β 4_F_KAFRA1,{
Β Β Β mes "Required materials:";
Β Β Β mes " Β ^000000* 100,000 Zeny^000000";
Β Β Β mesf(" Β ^000000* %d x %s^000000", 10, getitemlink(984)); Β // Oridecon
Β Β Β mesf(" Β ^000000* %d x %s^000000", 50, getitemlink(7063)); // Lower Weapon Stone (example id)
Β Β Β mesf(" Β ^000000* %d x %s^000000", 25, getitemlink(7064)); // High Weapon Stone (example id)
Β Β Β mes "Would you like to salvage it?";
Β Β Β next;
Β Β Β switch(select("Yes:No")) {
Β Β Β Β Β Β case 1:
Β Β Β Β Β Β Β Β Β mes "You chose ^00AAFFYes^000000.";
Β Β Β Β Β Β Β Β Β close;
Β Β Β Β Β Β default:
Β Β Β Β Β Β Β Β Β mes "Come back later.";
Β Β Β Β Β Β Β Β Β close;
Β Β Β }
}
/// NOTES:
/// - Replace 7063/7064 with your serverβs real item IDs.
/// - getitemlink() renders the item name clickable and shows its small icon
/// Β automatically in the dialogue window.
/// - You can also use it inside mesf/select strings anywhere you print text.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
COMMON PITFALLS
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β’ Using getitemname() β this prints only text (no icon). Use getitemlink().
β’ Old client or diff without βItem Linkβ β icons wonβt show.
β’ Expecting Zeny icon β not supported natively; print plain text for Zeny.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Β