Search the Community

Showing results for tags '@refresh'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Bulletin Centre
    • Community News
    • Repository News
    • Ragnarok News
  • Hercules Development Centre
    • Development Discussion
    • Suggestions
    • Development Centre Archives
  • Support & Releases
    • General Server Support
    • Database
    • Scripting
    • Source
    • Plugin
    • Client-Side
    • Graphic Enhancements
    • Other Support & Releases
  • Hercules Community
    • General Discussion
    • Projects
    • Employment
    • Server Advertisement
    • Arts & Writings
    • Off Topic
  • 3CeAM Centre
    • News and Development
    • Community
  • International Communities
    • Filipino Community
    • Portuguese Community
    • Spanish Community
    • Other Communities

Categories

  • Client Resources
  • Graphic Resources
    • Sprites & Palettes
    • Maps & Textures
    • Other Graphics
  • Server Resources
    • Server Managers / Editors Releases
    • Script Releases
    • Source Modifications
    • Plugins
    • Pre-Compiled Server
  • Web Resources

Calendars

  • Community Calendar

Found 1 result

  1. This fixes the client hang issue when using the @refresh command while a NPC dialog box/menu is open. I don't know if this plugin will compile, as I made it on the fly, but the command fix definitely works. Inspired from npc_rr_secure_timeout_timer Download: https://pastebin.com/zUzYyz1S ACMD(refresh) { if (sd->npc_id) { /** * If we still have the NPC script attached, tell it to stop. **/ if (sd->st) sd->st->state = END; sd->state.menu_or_input = 0; sd->npc_menu = 0; clif->scriptclose(sd, sd->npc_id); /** * We will end the script ourselves, client will request to end it again if it have dialog, * however it will be ignored, workaround for client stuck if NPC have no dialog. [hemagx] **/ sd->state.dialog = 0; npc->scriptcont(sd, sd->npc_id, true); } clif->refresh(sd); return true; }