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

  1. Community Changes

    • 9 replies
    • 189110 views
    • 0 replies
    • 38969 views
    • 0 replies
    • 16674 views
  2. Behold, 2021 is coming

    • 0 replies
    • 33155 views
    • 3 replies
    • 45421 views
    • 0 replies
    • 38250 views
  3. March Digest 2020

    • 0 replies
    • 35759 views
  4. February Digest 2020

    • 0 replies
    • 36096 views
  5. January Digest 2020

    • 0 replies
    • 35126 views
  6. December Digest 2019

    • 0 replies
    • 32467 views
    • 1 reply
    • 33537 views
  7. November Digest 2019

    • 0 replies
    • 33141 views
  8. October Digest 2019

    • 0 replies
    • 32719 views
  9. September Digest 2019

    • 2 replies
    • 33344 views
  10. August Digest 2019

    • 0 replies
    • 33072 views
  11. July Digest 2019

    • 0 replies
    • 33046 views
  12. June Digest 2019

    • 0 replies
    • 33724 views
  13. May Digest 2019

    • 0 replies
    • 33152 views
    • 0 replies
    • 33434 views
  14. Digests Galore 2017-2018

    • 6 replies
    • 36051 views
  15. September Digest 2017

    • 0 replies
    • 34467 views
  16. August Digest 2017

    • 0 replies
    • 33311 views
  17. July Digest 2017

    • 0 replies
    • 32923 views
  18. June Digest 2017

    • 0 replies
    • 33238 views
    • 0 replies
    • 34355 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.