GastinelGarde 0.4.0 : score de suspicion, flottement du vol, motif de sanction corrige
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Cette révision appartient à :
1 Parent
288087080f
révision
c7b130ec1c
14 fichiers modifiés
+985
-2
Aucun fichier ne correspond à votre recherche
@@ -51,6 +51,10 @@ public final class GardeSpec {
|
||||
private static final ModConfigSpec.IntValue SERIE_PING_MAX;
|
||||
private static final ModConfigSpec.IntValue SERIE_PING_MARGE;
|
||||
private static final ModConfigSpec.IntValue TIMER_SOLDE_MAX;
|
||||
private static final ModConfigSpec.BooleanValue SUSP_ACTIVE;
|
||||
private static final ModConfigSpec.DoubleValue SUSP_SURVEILLER, SUSP_SUSPECT, SUSP_FORT, SUSP_DEMI_VIE,
|
||||
SUSP_PLAFOND_FIABLE, SUSP_PLAFOND_MOYEN, SUSP_PLAFOND_FAIBLE, SUSP_DIVERSITE_FENETRE;
|
||||
private static final ModConfigSpec.IntValue SUSP_DIVERSITE, SUSP_JOURS, VOL_FLOTTEMENT;
|
||||
private static final ModConfigSpec.BooleanValue VOL_FENETRE_GLISSANTE;
|
||||
private static final ModConfigSpec.BooleanValue VITESSE_MOYENNE;
|
||||
private static final ModConfigSpec.BooleanValue ELYTRES_STRICTE;
|
||||
@@ -155,7 +159,34 @@ public final class GardeSpec {
|
||||
.defineInRange("timerSoldeMax", 0, 0, 1000);
|
||||
b.pop();
|
||||
|
||||
b.comment("Score de suspicion de 0 à 100 par joueur (0.4.0). INFORMATION POUR LES HUMAINS : aucune sanction n'en découle.",
|
||||
"Chaque contrôle (même en OBSERVE) contribue (VL / seuilExpulsion, au plus 1) x son plafond selon sa fiabilité ;",
|
||||
"le pic décroît avec une demi-vie. Journal dès seuilSurveiller ; message aux ops dès seuilSuspect ;",
|
||||
"dès seuilFort, proposition de sanction suspect_2 à valider dans le Portail (jamais appliquée par le mod).")
|
||||
.push("suspicion");
|
||||
SUSP_ACTIVE = b.define("actif", true);
|
||||
SUSP_SURVEILLER = b.defineInRange("seuilSurveiller", 25.0, 1.0, 100.0);
|
||||
SUSP_SUSPECT = b.defineInRange("seuilSuspect", 50.0, 1.0, 100.0);
|
||||
SUSP_FORT = b.defineInRange("seuilFort", 75.0, 1.0, 100.0);
|
||||
SUSP_DEMI_VIE = b.comment("Demi-vie du score, en minutes de jeu (le suivi est libéré à la déconnexion).")
|
||||
.defineInRange("demiVieMinutes", 10.0, 0.5, 1440.0);
|
||||
SUSP_PLAFOND_FIABLE = b.comment("Plafond de contribution : vol, vitesse, no-fall, portee, hitbox, regularite.")
|
||||
.defineInRange("plafondFiable", 50.0, 0.0, 100.0);
|
||||
SUSP_PLAFOND_MOYEN = b.comment("Plafond : coups-hors-boite, killaura-angle, killaura-cibles, cadence.")
|
||||
.defineInRange("plafondMoyen", 30.0, 0.0, 100.0);
|
||||
SUSP_PLAFOND_FAIBLE = b.comment("Plafond : timer, rotation, attaque-impossible, vehicule-vitesse, vehicule-vol (faux positifs).")
|
||||
.defineInRange("plafondFaible", 15.0, 0.0, 100.0);
|
||||
SUSP_DIVERSITE = b.comment("Ce nombre de contrôles distincts au palier SETBACK dans la fenêtre = suspect fort ; 0 = coupé.")
|
||||
.defineInRange("diversiteControles", 3, 0, 20);
|
||||
SUSP_DIVERSITE_FENETRE = b.defineInRange("diversiteFenetreMinutes", 10.0, 0.5, 1440.0);
|
||||
SUSP_JOURS = b.comment("Historique des incidents par UUID (gastinelgarde-suspicion/incidents.csv), en jours.")
|
||||
.defineInRange("historiqueJours", 7, 1, 365);
|
||||
b.pop();
|
||||
|
||||
b.push("mouvement");
|
||||
VOL_FLOTTEMENT = b.comment("Vol : ticks consécutifs en l'air sans chute avant infraction (vanilla : 80, 'kicked for floating too long').",
|
||||
"Remplace ce contrôle vanilla si allow-flight=true. 0 = coupé.")
|
||||
.defineInRange("volFlottementTicks", 80, 0, 1200);
|
||||
EXCES_VITESSE = b.comment("Total d'excès de vitesse horizontale (blocs) sur 20 ticks avant une infraction.",
|
||||
"Valeurs de départ généreuses, à resserrer avec les traces réelles.")
|
||||
.defineInRange("excesVitesseBlocs", 1.5, 0.1, 100.0);
|
||||
@@ -280,6 +311,18 @@ public final class GardeSpec {
|
||||
c.seriePingMaxMs = SERIE_PING_MAX.get();
|
||||
c.seriePingMargeMs = SERIE_PING_MARGE.get();
|
||||
c.timerSoldeMax = TIMER_SOLDE_MAX.get();
|
||||
c.suspicionActive = SUSP_ACTIVE.get();
|
||||
c.suspicionSeuilSurveiller = SUSP_SURVEILLER.get();
|
||||
c.suspicionSeuilSuspect = Math.max(SUSP_SUSPECT.get(), c.suspicionSeuilSurveiller);
|
||||
c.suspicionSeuilFort = Math.max(SUSP_FORT.get(), c.suspicionSeuilSuspect);
|
||||
c.suspicionDemiVieMinutes = SUSP_DEMI_VIE.get();
|
||||
c.suspicionPlafondFiable = SUSP_PLAFOND_FIABLE.get();
|
||||
c.suspicionPlafondMoyen = SUSP_PLAFOND_MOYEN.get();
|
||||
c.suspicionPlafondFaible = SUSP_PLAFOND_FAIBLE.get();
|
||||
c.suspicionDiversiteControles = SUSP_DIVERSITE.get();
|
||||
c.suspicionDiversiteFenetreMinutes = SUSP_DIVERSITE_FENETRE.get();
|
||||
c.suspicionHistoriqueJours = SUSP_JOURS.get();
|
||||
c.volFlottementTicks = VOL_FLOTTEMENT.get();
|
||||
c.volFenetreGlissante = VOL_FENETRE_GLISSANTE.get();
|
||||
c.vitesseMoyenne = VITESSE_MOYENNE.get();
|
||||
c.elytresExemptionStricte = ELYTRES_STRICTE.get();
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur