Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of Map Zones #8100

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open

Initial implementation of Map Zones #8100

wants to merge 54 commits into from

Commits on Jan 12, 2024

  1. Initial implementation of Map Zones

    * Implements Map Zones which allows easier configuration of map settings.
    * The restricted mapflag has been removed as they will no longer be needed.
    * General cleanups and optimizations.
    aleos89 committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    39f6e14 View commit details
    Browse the repository at this point in the history
  2. Fixes CI errors

    aleos89 committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    e60e3e8 View commit details
    Browse the repository at this point in the history
  3. More battle_config cleanups

    aleos89 committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    004dcf5 View commit details
    Browse the repository at this point in the history
  4. Fixes PK damage calculation

    * Convert a few more PK damage checks that got missed from a merge conflict.
    aleos89 committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    82e362e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    997e457 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c186c03 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5c24cc4 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Translate new messages to Spanish

    Thanks to @SapitoSucio!
    aleos89 committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    7717070 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Implements mapflag MF_FLEE_PENALTY

    * Deprecate the bg_flee_penalty and gvg_flee_penalty battle configs.
    * Removes hardcoded restrictions limiting to only BG and GvG maps.
    aleos89 committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    1e4a219 View commit details
    Browse the repository at this point in the history
  2. Cleanup atcommand mapinfo

    * Adjust checks for faster lookup.
    aleos89 committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    6568ccf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e405a39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    53b2a0c View commit details
    Browse the repository at this point in the history
  5. Remove plurality

    aleos89 committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    08068bf View commit details
    Browse the repository at this point in the history
  6. Adds a function to assist with PK damage

    * Re-implement battle_calc_pk_damage to help determine when to adjust damage when PK mode is enabled.
    * Implement INF2_IGNOREPKREDUCTION skill flag to make skills bypass the damage adjustments.
    aleos89 committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    31cc8c5 View commit details
    Browse the repository at this point in the history
  7. Fixes invincible timer check

    aleos89 committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    e3eefb6 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Configuration menu
    Copy the full SHA
    34065e4 View commit details
    Browse the repository at this point in the history
  2. Invincible timer clean

    * Remove a possible timer even if passing an invalid time value.
    aleos89 committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    772c6f3 View commit details
    Browse the repository at this point in the history
  3. Adds object type check to isStatusDisabled

    * Check by object type rather than passing arbitrary integers to compare against.
    aleos89 committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    e9beffe View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Adds ability to clear mapflags

    * Added the Clear label to allow mapflags to be removed for importing use.
    * Converts mapflag storage into multimap.
    aleos89 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    941085e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c178f03 View commit details
    Browse the repository at this point in the history
  3. Fixes mapflag parsing

    * Adds back an accidental removal for mapflag name lookup.
    aleos89 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    e34973a View commit details
    Browse the repository at this point in the history
  4. Fixes MF_FLEE_PENALTY parsing

    aleos89 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    4a48b64 View commit details
    Browse the repository at this point in the history
  5. Add empty zone notice

    * Display a notice when a map doesn't have a zone with a suggestion to assign one.
    * Avoiding a default zone as many maps are added from updates and may not get their proper zones until the requisite data is found.
    aleos89 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    10e28ba View commit details
    Browse the repository at this point in the history
  6. Adds translation for Portuguese

    Thanks to @Pokye!
    aleos89 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    cbe0d8f View commit details
    Browse the repository at this point in the history
  7. Remove unused battle configs

    aleos89 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    d3ea299 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Fixes atcommands for PvP and GvG toggle

    * Fixes atcommands pvpon, pvpoff, gvgon, and gvgoff to properly toggle the current map with the appropriate zone.
    * Atcommand pvpon will assign the MAPTYPE_NOPENALTY_FREEPKZONE zone.
    * Atcommand gvgon will assign the MAPTYPE_EVENT_GUILDWAR zone.
    * Adds getMapZone() to return a map's zone.
    * Adds setZone() to set a map's zone.
    Thanks to @Atemo!
    aleos89 committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    fc3cc3c View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Revert PvP/GvG atcommands

    * Revert atcommand pvpon/pvpoff.
    * Revert atcommand gvgon/gvgoff.
    aleos89 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    f56c45c View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Maps in order

    Atemo committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    fc7a553 View commit details
    Browse the repository at this point in the history
  2. Corrected the zone of few maps

    Atemo committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    9973a89 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    1e4c6ff View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    b43cd4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61b7f33 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    849f1ec View commit details
    Browse the repository at this point in the history
  4. Adjust structs to classes

    * Adjust to class to avoid duplication of definitions.
    * Rename prefix to match "class".
    aleos89 committed May 3, 2024
    Configuration menu
    Copy the full SHA
    060629b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    074fdfb View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Clean ups from review

    Thanks to @Lemongrass3110!
    aleos89 committed May 7, 2024
    Configuration menu
    Copy the full SHA
    477c845 View commit details
    Browse the repository at this point in the history
  2. Fixes a compile error

    aleos89 committed May 7, 2024
    Configuration menu
    Copy the full SHA
    92b6879 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/map_zones

    # Conflicts:
    #	conf/msg_conf/map_msg.conf
    aleos89 committed May 7, 2024
    Configuration menu
    Copy the full SHA
    6ffcedc View commit details
    Browse the repository at this point in the history
  4. Cleanups and optimizations

    aleos89 committed May 7, 2024
    Configuration menu
    Copy the full SHA
    c62395f View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    2553658 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    f0a1847 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73ea1ac View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Adjust getMapZone

    * Change the lookup method for getMapZone to utilize the value stored in the map_data rather than looking through map_zone memory bringing faster results.
    aleos89 committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    394d502 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Configuration menu
    Copy the full SHA
    e648d02 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    142505f View commit details
    Browse the repository at this point in the history
  2. Resolve a merge error

    aleos89 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8ac2975 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Adjust pre-re map zones

    Thanks to @Daegaladh!
    aleos89 committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    14aa844 View commit details
    Browse the repository at this point in the history
  2. Minor message cleanups

    Thanks to @Daegaladh!
    aleos89 committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    06c595c View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Fixed pre-re maps

    Removed renewal maps from pre-re
    Improved map descriptions
    Fixed pre-re bossnia maptype (It's actually 24)
    Daegaladh committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a9d3ebd View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    eacd54b View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Add back player_invincible_time battle config

    * Resolves an issue where the invincible time as not getting applied to maps without the MF_INVINCIBLE_TIME flag.
    * Move the logic checks for MF_INVINCIBLE_TIME, MF_FLEE_PENALTY, MF_WEAPON_DAMAGE_RATE, MF_MAGIC_DAMAGE_RATE, MF_MISC_DAMAGE_RATE, MF_LONG_DAMAGE_RATE, and MF_SHORT_DAMAGE_RATE to map_setmapflag_sub() from npc_parse_mapflag().
    * Update the mapflag documentation.
    aleos89 committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    69df753 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    3a0b3cc View commit details
    Browse the repository at this point in the history
  2. Adjust map ID lookup to be primary

    * Resolves a few cases of where a map may be defined in the index/cache but not enabled from the config.
    * Comment out a few pre-renewal maps that are not enabled.
    aleos89 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    a01b87a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    857d6e3 View commit details
    Browse the repository at this point in the history