Lemongrass3110 9 rokov pred
rodič
commit
c75cc2a227
2 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 1 0
      conf/battle/feature.conf
  2. 6 0
      src/map/battle.c

+ 1 - 0
conf/battle/feature.conf

@@ -22,6 +22,7 @@ feature.atcommand_suggestions: off
 // Auction (Note 1)
 // Feature became unstable on clients 2012 onwards (exact date not known),
 // it has been fixed on clients 2013-05-15 onwards however.
+// Feature was removed again on clients 2014-11-12 and later.
 feature.auction: on
 
 // Warp suggestions (Note 1)

+ 6 - 0
src/map/battle.c

@@ -8392,6 +8392,12 @@ void battle_adjust_conf()
 		ShowWarning("conf/battle/feature.conf:feature.auction change value to '2' to silence this warning and maintain it enabled\n");
 		battle_config.feature_auction = 0;
 	}
+#elif PACKETVER >= 20141112
+	if (battle_config.feature_auction) {
+		ShowWarning("conf/battle/feature.conf:feature.auction is enabled but it is not available for clients from 2014-11-12 on, disabling...\n");
+		ShowWarning("conf/battle/feature.conf:feature.auction change value to '2' to silence this warning and maintain it enabled\n");
+		battle_config.feature_auction = 0;
+	}
 #endif
 
 #if PACKETVER < 20130724