Giter Club home page Giter Club logo

arklogtime's Introduction

ArkLogTime

Arkのプレイ時間をRCONログファイルから算出するプログラムです。 プライベート用に制作しましたが、どの環境でも動作すると思います。

ログの入退出を判定して計算しているので、RCONを途中で閉じたりしていると計算が正しくなくなるので注意してください。

気が向いたらきれいにかきなおします

This program calculates Ark's login time from RCON log files. I created this for private use, but I believe it will work in any environment.

Note that the calculations are based on judging log entry and exit, so if you close RCON in the middle of a log, the calculations will not be correct.

使い方(Use)

  1. ファイルを展開してからlogFileフォルダに計算したい期間のlogファイルを全てコピーしてください。
    (フォルダがない場合はArk_RCONLog_inTime.pyを実行すると生成されます)

    Extract the files and then copy all log files for the period you want to calculate to logFile.
    (If it is not there, it is generated by executing ArkLogTime.py)

  2. Ark_RCONLog_inTime.pyを実行すると、計算結果が表示されます。

    Running Ark_RCONLog_inTime.py will display the results of the calculation.

image

注意(attention)

Steam名を変更して入室すると、入出時は以前の名前でログに記録され退出時新しい名前で退出されるのでエラーを出します。 解決法としてログファイルを直接書き換えると正常に計算できるようになります。

ArkApiでUnicodeRconを利用した環境を想定して開発したので、文字化けした状態での動作は保証しません。

早く寝たいっていう気持ち95%で構成されてます。

この作成物および同梱物を使用したことによって生じたすべての障害・損害・不具合等に関しては一切の責任を負いません。各自の責任においてご使用ください。

If you change your steam name and enter a room, you will get an error because when you enter the room, you will be logged under your old name and when you leave, you will leave under your new name. The solution is to rewrite the log file directly so that it can be calculated correctly.

Since we developed this application assuming an environment using UnicodeRcon with ArkApi, we do not guarantee that it will work with garbled characters.

We assume no responsibility whatsoever for any damage, loss, or malfunction resulting from the use of this work or any of its contents. Use at your own risk.

動作環境(operating environment)

ASM v1.1.439.1
Ark v357.3
UnicodeRcon v1.2

変更履歴(ChangeLog)

1.0.2 - 細部のコードの間違いを修正 、整理
1.0.1 - コードが適当すぎたのを整理
1.0 - 初版

arklogtime's People

Contributors

celesteria-154 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.