Zum Inhalt springen

Archiviert

Dieses Thema ist jetzt archiviert und für weitere Antworten gesperrt.

Stefan1990

Probleme mit select(bf) Ranking

Empfohlene Beiträge

Hallo!

 

Vielleicht finde ich ja auf diesem wege hilfe zu diesem Thema.

Mein Betreuer der unser FHSW Server betreut bastetl im moment an einem Ranking für unsern server das mit select(bf) realisiert wird und demnächst online gehen soll.

 

So weit läuft alles bis auf die tasache  das statt der des rankings der spieler nichts außer ein broken image symbol angezeigt wird:

 

post-26717-0-59456400-1392744060_thumb.j

 

In der bei installations anleitung ist dazu folgendezu finden:

 

post-26717-0-70782500-1392744151_thumb.jpost-26717-0-18639100-1392744171_thumb.jpost-26717-0-03949700-1392744183_thumb.j

 

So haben wir es auch gemacht aber es brachte uns keinen erfolg.

Mein Techniker meinte er bräuchte eine "formel" eines bestehenden bf1942 select(bf) servers die in etw so aus  sehen soll:

 

post-26717-0-11567600-1392844343_thumb.j

 

Ich habe leider keine ahnung von der materie und kann ihm auch nicht helfen, außer diesen thred hier zu eröffnen und leute zu kontaktieren von denen ich der meinung bin sie könnten uns helfen.

 

Wär super wenn jemand uns dabei hefen könnte das zum laufen zu bringen!

 

mfg stefan1990

Link zu diesem Kommentar
Auf anderen Seiten teilen

Da steht ja, dass es normal ist das nach dem Erstellen der MySQL Tabellen kein Ranking angezeigt wird.

Dafür muss der Parser (Schritt 21) die fertigen XML logs verarbeiten.

Also sei sicher dass der Parser richtig konfiguriert ist

 

Hier ist was ich aus dem Readme aufgeschappt hab:

 

 

II. Step Two
Create a database for the data that select(bf) collects, or gather choose one that you
already have. You'll need the authentication and connect information.

Adjusting the parser-config (whatever you do in here. Don't mess up the config-files XML structure
or the parser will not be able to read it)

- Open the "config.xml" file in the "bin"-directory.

- Now you'll have to set the options you want in this file (its the config for the parser)
 
  ->    Set all database connection information to those of the database you want the parser to use.
 
  ->     Set die "after-parsing" to one of the following values:
          "remain"  - for leaving the files where they are after parse
          "rename"  - to add ".parsed" to the end of every parsed file
          "delete"  - to delete the file after parsing
          "archive" - to have the files moved to a different directory
 
  ->    Set the "archive-folder" to where you want the files moved to

  ->     Set die "after-download" to one of the following values:
          "remain" - for leaving the files where they are after download
          "rename" - to add ".downloaded" to the end of every downloaded file
          "delete" - to delete the file after downloading          
        This determines what happens to log files, after they have been download by the select(bf)-parser
        through FTP. Please take care that the certain rights for this actions are allowed on the FTP-Server.
                  
  ->    Set the "delete-decompressed-xml-files" to one of the following values:
          "true"   - for deleting files that were decompressed zxmls after processing
          "false"  - for leaving them where they are after processing
          
  ->    Set the "rename-at-error" to one of the following values:
            "true"   - for renaming files that showed errors to "*.error"
            "false"  - for don't doing that
 
  ->    Set the "log-bots" to one of the following values:
          "true"   - for accounting bots to your stats
                     BE AWARE: select(bf) will only log bots if they have "createPlayer" events
                               in the log files, which is not the case at the moment (at least in
                               vanilla BF1942). This little restriction came with the tracking down
                               of changing Player-IDs during a round.
          "false"  - for leaving them out

  ->     Set the "trim-database" values
        You can set the value between the <trim-database>-tags to "true" if you want the datbase to be
        trimmed at the end of parsing. By default, only outdated games will be removed
          "days"            - you should set the <trim-database>-tag attribute to the number of days you want to keep in the database
          "keep-players" - this value can either be "true" or "false"
                           You should set it to "true" if you want to keep players even if they haven't
                           played on the server within the given time. Otherwise they are also removed.
        BE AWARE: If you plan to keep you database trimmed to a certain amount of days, I URGENTLY
        advise you to reset your stats first. Also choose a very small interval of adding new logs to
        your database. You have to know: deleting events from the database can be as time-consuming
        as selecting data from it. So if you have a large amount of games in there that are outdated
        it will take a certain amount of time to trim them down. If you REALLY have a HUGE amount
        of outdated games, this trimming procedure will take a HUGE amount of time!!
 
  ->    Set the "skip-empty-rounds" to one of the following values:
            "true"   - to not import empty rounds from the logs
            "false"  - to import all rounds from the logs
            
  ->    Set the "lan-mode" to one of the following values:
            "true"   - if player should be tracked by their nickname
            "false"  - if player should be tracked by their CD-KEY
          BE AWARE: Don't mix both modes. That can get itchy!
          
  ->    Set the "consistency-check" to one of the following values:
            "true"   - for enabling the consistency checker
            "false"  - for disabling
          BE AWARE: The consistency checker might change your XML-files. It checks the files for
          probable inconsistency in the XML-structure. Corrections/Changes made to the log file
          are marked with a comment so that you can find them in case something goes wrong.
          Also the consistency-check takes a bit more time than simple parsing.
          
  ->    Set the "memory-safer" to one of the following values:
          "true"   - for enabling the memory safer
          "false"  - for disabling
        BE AWARE: The memory safer clears up unused memory after every file parsed. Therefore
        the complete parsing process might take longer.
            
  ->     Adjust the <log> section of the XML-file

 
          [Configuring directories]
          You can open a <dir> tag for every directory that contains log files and that you want the parser to go
          through. The examples should lead you the way. Also you can set the special attribute "live" of the
          dirs to one of the following values:
          "true"   - for considering this dir as a live-server dir (this will always leave out
                       the most actual file in the dir because this is probably the file under
                       BF1942 server-access)
                     BE AWARE: Don't place any newer files in the dir cause in that case this file
                                will be considered most actual. There is no better solution for this because
                                under Windows the log under server-access is not locked in any way

 

IV.Step Four
Run the parser. Therefore you can either use
 
    run-selectbf.bat:             For full select(bf)-output to the console
    run-selectbf-slient.bat:     For running select(bf) silent and write the output to "selectbf.out"

 

 

=========================
Parser behaviour
=========================

I. File-extensions
The parser will determine the files to parser from their extensions. Meaning that he will try to parser
EVERY .xml in a log-dir for a simple BF1942-log and tries to decompress every .zxml-file first.
So please take care that you have every file properly named. This is the same for FTP. The parser will
only download files that are either named .xml or .zxml


II. Filenames
Please note that the Parser somehow depends on the original BF1942-filenames for you log-files. Meaning
that you better not change them, or you risk a non-conclusive outcome. The parser uses the original
filename to determine the start of the game that this log was written for. If this is not possible, meaning
that the filename is not BF-conform anymore, then the parser will take the Last-Modified Date of the
file as the game-starttime to at least get as close as possible to the original starttime.


 

 

Im Übrigen glaub ich nicht das dir eine Formel für die Anzeige der Punkte weiterhelfen würde (Es geht ja nur darum inwiefern gerundet oder aufsummiert/abgezogen wird). Wenn du auf "ganze Nummern" oder "kein Runden" stellst und die Variabel total Score drin lässt müsste ja auch ein Ranking angezeigt werden.
 

Link zu diesem Kommentar
Auf anderen Seiten teilen

Phraser passt das war das erste was wir gemacht haben. Versuchen jetzt eine ältere msql version zu installieren....

Link zu diesem Kommentar
Auf anderen Seiten teilen

Bin erst neu hier (komme aus der RO2 Ecke) aber ich glaube ja nicht das es an der SQL liegt sonst würde ja auch alles andere nicht laufen.........Das teil ist außerdem sowas von alt (soweit ich gelesen habe von 2005) da wirst du auch kaum jemanden finden der sich noch mit dem Thema auskennt.

Fragt doch einfach mal bei den Leuten die das hier gemacht haben.......forgottenhope1.com sieht auf jedenfall so ähnlich aus wie das was du da machst.

 

Trottelhirn

Link zu diesem Kommentar
Auf anderen Seiten teilen

die aufgabenstellung ist bereits vor 5 jahren gelöst worden:

http://www.bf-games.net/forum/topic/2697-tip-stats-f%C3%BCr-bf/page-6

 

wie man hier sieht, sogar viel komplexer als nur die punkte vom scoreboard zu addieren:

www.forgottenhope1.com

 

wenn du jemanden suchst, der genau weiss wie das funktioniert, musst du hier klingeln:

http://www.pixel-fighter.com

und nach grabbi fragen.

 

da ab dieser stelle aber unüberbrückbare zwischenmenschliche konflikte gepflegt werden, wie andere ihr neues auto,

kann ich dir an der stelle nur viel glück wünschen.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Oh ja kann mich noch gut daran erinnern wie ich es damals aufgesetzt habe......hat mich seinerzeit viele graue Haare gekostet bis ich das Teil zum laufen hatte. Das Hauptproblem ist das es für BF42 entwickelt worden ist und nicht eben für FH oder andere Mods......und genau da war damals das Problem. Die SQL konnte verschiedene Klassentypen nicht aufnehmen etc.

Wünsche noch viel Spaß.....kann dir aber "leider" nicht helfen da ich nur am Wochenende zu Hause bin........und meine Frau auch noch zu ihren recht kommen will.

 

Mfg

 

Kampfsau

Link zu diesem Kommentar
Auf anderen Seiten teilen



  • Wer ist Online   0 Benutzer

    • Keine registrierten Benutzer online.
×
×
  • Neu erstellen...

Wichtige Information

Wir haben Cookies auf Deinem Gerät platziert. Das hilft uns diese Webseite zu verbessern. Du kannst die Cookie-Einstellungen anpassen, andernfalls gehen wir davon aus, dass Du damit einverstanden bist, weiterzumachen.