Jump to content

30 topics in this forum

    • 0 replies
    • 2108 views
    • 0 replies
    • 5733 views
  1. Compilando o Hercules com Cygwin

    • 1 reply
    • 2212 views
    • 0 replies
    • 3056 views
    • 2 replies
    • 5149 views
    • 4 replies
    • 6417 views
    • 2 replies
    • 7656 views
    • 1 reply
    • 3177 views
    • 15 replies
    • 14159 views
    • 10 replies
    • 12392 views
    • 1 reply
    • 5544 views
    • 1 reply
    • 3796 views
    • 7 replies
    • 7025 views
    • 2 replies
    • 3761 views
    • 0 replies
    • 8389 views
    • 0 replies
    • 2906 views
    • 0 replies
    • 5073 views
  2. Item delay

    • 0 replies
    • 2154 views
    • 0 replies
    • 8041 views
  3. Queries SQL (Aula 6)

    • 1 reply
    • 3560 views
    • 2 replies
    • 6639 views
    • 0 replies
    • 6176 views
    • 0 replies
    • 6077 views
    • 0 replies
    • 6266 views
    • 0 replies
    • 5758 views
  • Featured Topics

  • Latest Commits

  • Topics

  • Posts

    • [ 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. ────────────────────────────────────────────────────────  
    • Is this rAthena script based ? Try this : --- functionmain.txt (old) +++ functionmain.txt (fixed) @@ function script concurrent_uid { - .@uid = get_unique_id(''); + .@uid = get_unique_id(); @@ function script concurrent_uid_map { - .@uid = get_unique_id(''); + .@uid = get_unique_id(); @@ function script concurrent_uid_registration { - .@uid = get_unique_id(''); + .@uid = get_unique_id(); Just open your functionmain.txt in Notepad++, search for get_unique_id('' and replace with get_unique_id(). That’s the only fix needed for Hercules.  
    • if you using warp it have broken flags support. Because this better disable flags validation in herc or use nemo with herc+nemo it will show wrong client flags error only if you did wrong patches in client.  
    • Nevermind, I found it. If someone got Wrong client flags detected (account: xxx, received flags: 0x80000001) Try ENABLE_CASHSHOP_PREVIEW_PATCH disabled in the source.
    • If you enable ZOOM OUT Diff, this happens, just remove ZOOM OUT at the time of the client's DIFF
  • Download Statistics

    • Files
      465
    • Comments
      166
    • Reviews
      240

×
×
  • Create New...

Important Information

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