Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

etc_onlinecounter_v1.4 (english)

オープン
#19 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
lua
領域
backend

調査の方向性

まず online-counter スクリプトを読み、etc_onlinecounter.tbl と usr_uptime.tbl がどのように更新されるかを調べます。+onlinecounter toponline コマンドと username RC コマンドで問題を再現し、TotalTime が 0 のままなのに SessionTime が変化する理由を追跡します。「Only 0 users in table」エラーなしで合計 uptime が記録および報告されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hello, i'm newbie and have a question about this script. When is updating Total online time? For a few days I see that the Session time at "etc_onlinecounter.tbl" is updated, but the Total time is 0 constant:

[ "SessionTime" ] = 562,
[ "TotalTime" ] = 0,

When i use RC ... [command] +onlinecounter toponline i recive this in main chat:
[09:03:09] <[BOT]HubSecurity> *** Error: Only 0 users in table, 1 is too high!
When I use an RC on a username, it always tells me this:

[2019-06-02 09:15] <[BOT]HubSecurity>

========================================
		Stats:
--------------------------------------------------------------------------------
- Nick: Jetion
- Total uptime: 0 minutes

I stop the Hub, deleted (and then put them back in their original first state at the same place) and started from the scratch both files: "etc_onlinecounter.tbl" and "usr_uptime.tbl", but the result is the same. I can not understand, am I wrong in the settings or elsewhere is the problem? Sorry, my question may be stupid, but I would be grateful if anyone could explain me in more detail about this script and how to use it.
Thanks in advance!

主要言語
Lua
スター
5
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

luadch/scripts のほかの issue

luadch/scripts の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。