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. May Digest 2017

    • 0 replies
    • 32853 views
  2. Join our Discord!

    • 5 replies
    • 17265 views
    • 8 replies
    • 6972 views
    • 0 replies
    • 4768 views
  3. April 2017 Digest

    • 0 replies
    • 5871 views
  4. March Digest 2017

    • 0 replies
    • 4647 views
    • 0 replies
    • 5383 views
    • 0 replies
    • 4697 views
  5. November Digest 2016

    • 0 replies
    • 5585 views
  6. October Digest 2016

    • 0 replies
    • 5469 views
    • 6 replies
    • 6558 views
  7. September Digest 2016

    • 0 replies
    • 4961 views
  8. August Digest 2016

    • 0 replies
    • 5250 views
    • 0 replies
    • 4904 views
    • 1 reply
    • 5548 views
  9. March Digest 2016

    • 0 replies
    • 5076 views
    • 20 replies
    • 8185 views
    • 0 replies
    • 5186 views
  10. December Digest 2015

    • 0 replies
    • 4853 views
    • 0 replies
    • 6195 views
    • 0 replies
    • 5325 views
    • 10 replies
    • 8062 views
  11. And... we're back!

    • 3 replies
    • 6542 views
    • 1 reply
    • 6208 views
    • 0 replies
    • 74932 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.