Chat event: Lottery (entry ticket drops from every unique, 100%)

Đang mở
#3,539 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go, typescript
Lĩnh vực
backend, frontend, game-dev

Hướng nghiên cứu

Start with AGENTS.md for the non-native rule and the SRO_EVENT_BOT flag, then read the schedule feed work in #3520 and the EventBot host in #3533, which this depends on. The issue leaves the ticket price and prize pool source to the owner, so confirm those before coding. Done means frozen-clock tests for entry, round end, winner and no winner, passing with the flag both on and off.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: server enhancement priority: medium

Seen on a downstream fork's event calendar (owner's screenshots, 2026-11-15).

What it does

Players buy a Lottery Ticket in the Item Mall (reference: 50 Silk) and use it to enter; a weekly draw (reference: Sun 21:00) pays the pool. Owner call: the ticket price and the pool source, since the server is always free.

Depends on

  • #3533 (EventBot host) and #3520 (schedule feed); listed in the calendar window #3532.

Done when

  • The event's rules on the EventBot host, its round data in the schedule file.
  • Rewards through the audited grant path; the owner sets them.
  • Tests with a frozen clock (entry, round end, winner, no winner).

Look: SRO native, not the screenshot

The owner's rule (2026-11-15): the screenshots show what the feature does; its look must be SRO native. Build any window from the client's own parts: the CIF window frame and title bar, native buttons, tabs, list rows, scroll bar and the native font (the way our existing windows are built), not the flat web-style dark panels in the reference.

Flag

Port-only, not native: server side behind SRO_EVENT_BOT (off is native), the client entry behind an Experimental row; test both settings (AGENTS.md non-native rule). The owner turns it on.

Ngôn ngữ chính
Go
Star
97
Fork
61
Merge trung bình
4 giờ 14 phút
Pull request đã merge (30 ngày)
913

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của opensro-dev/opensro

Tất cả issue của opensro-dev/opensro

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.