Jump to content

izrin394

Members
  • Posts

    3
  • Joined

  • Last visited

izrin394's Achievements

Poring

Poring (1/15)

  • Dedicated
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

1

Community Answers

  1. Please import the mob_skill_db.sql into the aki table. And should I add, import mob_db.sql, item_db.sql as well to avoid the error.
  2. For the missing map, in your GRF file (not data.grf/rdata.grf), since you have the latest kRO, remove this map: iz_int.gat iz_int.gnd iz_int.rsw iz_int01.gat iz_int01.gnd iz_int01.rsw iz_int02.gat iz_int02.gnd iz_int02.rsw iz_int03.gat iz_int03.gnd iz_int03.rsw iz_int04.gat iz_int04.gnd iz_int04.rsw Or get the latest map and replace into your GRF from https://github.com/zackdreaver/ROenglishRE/tree/master/data Yes, save as .diff file and apply patch with tortoise. But, only if you use the current/latest rAthena-master.
  3. Is this the latest rAthena? If it is so, you need to apply a fix (or wait for PR into master and disable the Achievement feature). diff --git a/src/map/achievement.cpp b/src/map/achievement.cpp index 8b20165..7a1207a 100644 --- a/src/map/achievement.cpp +++ b/src/map/achievement.cpp @@ -171,13 +171,13 @@ bool achievement_remove(struct map_session_data *sd, int achievement_id) * @return True on completed, false if not */ static bool achievement_done(struct map_session_data *sd, int achievement_id) { - auto &adb = achievements[achievement_id]; - struct achievement *ach_data = sd->achievement_data.achievements; + for (int i = 0; i < sd->achievement_data.count; i++) { + if (sd->achievement_data.achievements[i].achievement_id == achievement_id && sd->achievement_data.achievements[i].completed > 0) { + return true; + } + } - return (std::find_if(adb->dependent_ids.begin(), adb->dependent_ids.end(), [&achievement_id, &ach_data] - (const int &d) { - return (ach_data[d].achievement_id == achievement_id && ach_data[d].completed > 0); - }) != adb->dependent_ids.end()); + return false; } /** Credits to @Cydh for the fast fix.
×
×
  • Create New...