Jump to content

Community News

Stay informed on all that is going on within the community. Here you will find news and updates about the progression of Hercules.

83 topics in this forum

    • 0 replies
    • 4990 views
    • 4 replies
    • 25828 views
  1. January Digest 2015

    • 10 replies
    • 34121 views
  2. December Digest 2014

    • 0 replies
    • 32899 views
  3. November Digest 2014

    • 0 replies
    • 33694 views
  4. Septober Digest 2014

    • 2 replies
    • 33763 views
  5. August Digest 2014

    • 2 replies
    • 34738 views
  6. IRC webchat works again!

    • 1 reply
    • 32924 views
  7. July Digest 2014

    • 3 replies
    • 32964 views
  8. June Digest 2014

    • 2 replies
    • 32790 views
  9. May Digest 2014

    • 1 reply
    • 32974 views
  10. I think it is time..

    • 24 replies
    • 103183 views
    • 3 replies
    • 33774 views
    • 10 replies
    • 34071 views
  11. March Digest 2014

    • 5 replies
    • 33177 views
    • 6 replies
    • 33156 views
  12. January Digest 2014

    • 6 replies
    • 34082 views
    • 9 replies
    • 33346 views
  13. November Digest 2013

    • 7 replies
    • 35026 views
  14. December Digest 2013

    • 0 replies
    • 32271 views
  15. Septober Digest 2013

    • 4 replies
    • 33187 views
    • 1 reply
    • 35596 views
  16. August Digest 2013

    • 0 replies
    • 32269 views
  17. July Digest 2013

    • 2 replies
    • 32895 views
    • 0 replies
    • 32503 views
  • Featured Topics

  • Latest Commits

  • Topics

  • Posts

    • 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. ──────────────────────────────────────────────────────── Β 
  • Download Statistics

    • Files
      465
    • Comments
      166
    • Reviews
      240

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.