1. GSManager
    1. Funktionen
    2. Unterstützte Spiele
    3. Neuigkeiten
    4. Statistiken
    5. Serverliste
  2. Lexikon
  3. Filebase
  4. Entwicklung
  5. Forum
    1. Dashboard
    2. Unerledigte Themen
  6. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Dateien
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. GSManager
  2. Forum
  3. Unterstützung
  4. Benutzung

How to...MAM MYSQL STATS [0.0.4]

  • Alex13
  • 26. Mai 2011 um 22:41
Das Projekt GSManager (vormals ManuAdminMod) wurde am 01.01.2020 eingestellt - diese Internetpräsenz bleibt verfügbar, die Software wird aber nicht länger gepflegt. Vielen Dank für eure Unterstützung in den mehr als zehn vergangenen Jahren!
  • Alex13
    Anfänger
    Punkte
    65
    Beiträge
    9
    • 26. Mai 2011 um 22:41
    • #1

    Hi,

    Can anyone help me how to add the values K/D also called kpd and the K/min also called kpm into the column of the table?

    I was able to add the columns but only the Teamkills value appears because is a direct array, the k/d and k/min i cant get the values into the each column.


    Thx in advance

  • Yenz
    Entwickler
    Reaktionen
    90
    Punkte
    10.180
    Trophäen
    5
    Beiträge
    1.988
    Einträge
    9
    • 27. Mai 2011 um 00:02
    • #2

    that is stupid. You can calc those values. you don't save data redundant in a db regulary.

  • Alex13
    Anfänger
    Punkte
    65
    Beiträge
    9
    • 28. Mai 2011 um 22:33
    • #3

    Hi,

    Thx your answer are the most kindly. And after a lot trial / errori found the solution, for that i can say i miss the point of "that is stupid"'

    Solution:

    Insert this on index.php line 259 echo into right sequence of array to have the K/D calc. >> round($user['kills']/$user['deaths'],2)
    Insert the column on menu.php .
    Now i only need to know how to make the orderby work on the column K/D, but i think can be stupid to, ask how to solve.
    By thw way, if anyone know how to get the players score from cod4 like the others arrays (kills, deaths, etc.) i appreciated the help.

    thx in advance

    Einmal editiert, zuletzt von Alex13 (30. Mai 2011 um 00:46)

  1. Mitarbeiter
  2. Datenschutzerklärung
  3. Nutzungsbedingungen
  4. Impressum
  5. Kontakt
Community-Software: WoltLab Suite™