Jump to content

Client-Side Support

Explore Questions

There are no popular questions to show right now

  1. 0 votes
    2 answers
  2. 0 votes
    1 answer
  3. 0 votes
    2 answers
  4. 0 votes
    1 answer
  5. 0 votes
    2 answers

1629 questions in this forum

  1. [Help] Main Menu

    0 votes
    0 answers
  2. 0 votes
    0 answers
  3. 0 votes
    0 answers
  4. Cash Shop Currency Change

    0 votes
    0 answers
  5. 0 votes
    0 answers
  6. 0 votes
    0 answers
  7. 0 votes
    2 answers
  8. custom cloth dye rainbow

    0 votes
    1 answer
  9. Game Settings Window

    0 votes
    1 answer
  10. 0 votes
    1 answer
  11. 0 votes
    0 answers
  12. client crash.log

    0 votes
    1 answer
  13. Wrong client flags detected

    0 votes
    1 answer
  14. 0 votes
    4 answers
  15. shortcuts not saving

    0 votes
    1 answer
  16. maps name translate

    0 votes
    1 answer
  17. 0 votes
    0 answers
  18. auto disconnect

    0 votes
    0 answers
  19. last step i need help

    0 votes
    4 answers
  20. Converter

    0 votes
    0 answers
  21. 0 votes
    0 answers
  22. 0 votes
    4 answers
  23. 0 votes
    1 answer
  24. Crash diff file

    0 votes
    1 answer
  25. HEX edit Gangsi sprite

    0 votes
    0 answers
  • Featured Topics

  • Latest Commits

  • Topics

  • Posts

    • Think the closest to have for now is saving the relevant information you want in instance creation.   *instance_create("<instance_name>", <owner_id>{, <owner_type>}) Creates an instance using the name "<instance_name>" for the <owner_id> of <owner_type> (when not provided, defaults to IOT_PARTY). Most instance_* commands are used in conjunction with this command and depend on the ID this command returns. Valid <owner_type> values: - IOT_NONE (0) - <owner_id> can be any arbitrary number. - IOT_CHAR (1) - <owner_id> is account ID. - IOT_PARTY (2) - <owner_id> is party ID. - IOT_GUILD (3) - <owner_id> is guild ID. Example: // Store the Party ID of the invoking character. .@party_id = getcharid(CHAR_ID_PARTY); // Attempt to create an instance using that party ID. .@id = instance_create("Endless Tower", .@party_id); if (.@id == -1) { // Invalid type - not used anymore // ... } else if (.@id == -2) { // Invalid Party ID // ... } else if (.@id == -4) { // Already exists // ... } else if (.@id < 0) { // Unspecified error while queuing instance. // ... } The alternative would be to change the way instance is handled in source code, or implement a plugin to fetch instance info similar on how rAthena does and uses on that script. From what I understood, you want to retrieve the instance level mode by supplying the instance owner id?
    • Hello guys anyone can help me with this script? I'm converting my endless tower from rAthena to Hercules. Since we don't have this what should I use instead? *instance_live_info(<info type>{,<instance id>}); Returns the specified <info type> of instance attached to the npc or, if an instance ID is specified, of that instance. Valid <info type>: ILI_NAME - Instance Name Return the name of the instance or "" if that fails. ILI_MODE - Instance Mode Return IM_NONE, IM_CHAR, IM_PARTY, IM_GUILD, IM_CLAN or -1 if that fails. ILI_OWNER - Owner ID Return an ID according to the instance mode of the instance attached/specified or -1 if that fails. When the instance mode is IM_NONE, ILI_OWNER will return the npc ID that created the instance, IM_CHAR - the owner char ID IM_PARTY - the party ID IM_GUILD - the guild ID IM_CLAN - the clan ID Examples: // Return the instance name of the instance attached to the npc. .@instance_name$ = instance_live_info(ILI_NAME); // Return the guild owner ID of the given instance ID. .@owner = instance_live_info(ILI_OWNER, instance_id(IM_GUILD)); This part links the value of what the player chose so it would supply the data if it's easy / hard etc. 1@tower,29,365,1 script #1F Controller 844,{ end; OnInstanceInit: 'level_mode = $ENDLESSMODE[instance_live_info(ILI_OWNER)]; <---- callfunc "F_Tower_Monster",1,instance_mapname("1@tower"),instance_npcname("#1F Controller")+"::OnMyMobDead"; https://rathena.org/board/topic/133368-quests-games-endless-tower-instance-with-difficulty/
    • I don't understand what's wrong.
    • And also any guides on how to make it i have an ovh vps
    • message expects 2 parameters: https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt#L4810   parameters should be separated by ","   looks like your script has a ";" instead. so just change to ","   messsage strcharinfo(0), ".... Note: best-practices/standards would also suggest using () around script commands, e.g. message(....) and use constants instead of magic numbers where possible (strcharinfo(PC_NAME) instead of strcharinfo(0))
  • Download Statistics

    • Files
      457
    • Comments
      154
    • Reviews
      240

    Latest File
    By Hyroshima

    53    0

×
×
  • Create New...

Important Information

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