All Projects → GardenHamster → GenshinPray

GardenHamster / GenshinPray

Licence: MIT License
一个.net core编写的模拟原神抽卡的api,根据米哈游公布的概率模拟生成十连或单抽结果图,并返回图片地址

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to GenshinPray

genshin-wishes-api
Backend part of Genshin Wishes
Stars: ✭ 57 (+72.73%)
Mutual labels:  gacha
AspSqliteCache
An ASP.NET Core IDistributedCache provider backed by SQLite
Stars: ✭ 39 (+18.18%)
Mutual labels:  netcore
WinReform
A simple tool to help resize and relocate stubborn windows.
Stars: ✭ 20 (-39.39%)
Mutual labels:  netcore
DDNRuntime-examples
DDNRuntime(Delphi .NET Framework/.NET Core Runtime) example. DDNRuntime is a library for Delphi to call .net dll. Support the assembly written by c#, vb.net. Support importing .net dll to delphi, can create .net wrapper automatically.
Stars: ✭ 15 (-54.55%)
Mutual labels:  netcore
grafana-ng
Grafana on .net core + angular.
Stars: ✭ 51 (+54.55%)
Mutual labels:  netcore
AmiClient
Modern .NET Standard client for accessing the Asterisk AMI protocol using async/await and Reactive Extensions (Rx)
Stars: ✭ 30 (-9.09%)
Mutual labels:  netcore
tdd roman csharp
Kata: TDD Arabic to Roman Numerals with C#
Stars: ✭ 14 (-57.58%)
Mutual labels:  netcore
kafka-net-core
kafka .net core library
Stars: ✭ 23 (-30.3%)
Mutual labels:  netcore
DotNetDynamicInjector
💉 Dynamically reference external dlls without the need to add them to the project. Leave your project with low dependency and allowing specific dlls according to your business rule or database parameters.
Stars: ✭ 18 (-45.45%)
Mutual labels:  netcore
Terminal
All-in-one solution for the management and security of your Telegram group. This is the third version and is written in C#
Stars: ✭ 12 (-63.64%)
Mutual labels:  netcore
MudBlazor.Markdown
Markdown component based on the MudBlazor environment
Stars: ✭ 30 (-9.09%)
Mutual labels:  netcore
azure-ad-b2c-asp-net-core
A sample demonstrating how you can configure your ASP.NET Core 5.0 applications to take advantage of Azure AD B2C to perform such tasks as authenticating users, protecting Web APIs, redeeming authorization code, calling a protected Web API.
Stars: ✭ 31 (-6.06%)
Mutual labels:  netcore
Ark.Tools
Ark set of helper libraries
Stars: ✭ 20 (-39.39%)
Mutual labels:  netcore
mongodb-cluster-docker-compose
Demo a simple sharded Mongo Cluster with a replication using docker compose
Stars: ✭ 148 (+348.48%)
Mutual labels:  netcore
SockNet
The easiest and fastest way to work with sockets in C#
Stars: ✭ 42 (+27.27%)
Mutual labels:  netcore
live-documenter
.NET documentation generator and live reader. Generate documentation from .NET code and xml comments, fast, quick and easy.
Stars: ✭ 64 (+93.94%)
Mutual labels:  netcore
SignalR-Core-SqlTableDependency
Shows how the new SignalR Core works with hubs and sockets, also how it can integrate with SqlTableDependency API.
Stars: ✭ 36 (+9.09%)
Mutual labels:  netcore
AvroConvert
Apache Avro serializer for .NET
Stars: ✭ 44 (+33.33%)
Mutual labels:  netcore
Symbol
Symbol .net library
Stars: ✭ 14 (-57.58%)
Mutual labels:  netcore
BioBalanceDetector
Bio Balance Detector's products aim to show the weak electromagnetic fields around every living being (including plants, animals and humans) and display it in a heat-map like hyper-spectral image.
Stars: ✭ 18 (-45.45%)
Mutual labels:  netcore

原神模拟抽卡api

简介

  • 一个打算给qq机器人接入的小api,可以在群内模拟原神抽卡,根据米哈游公布的概率进行简单模拟,生成十连或单抽结果图,返回图片链接和保底次数等信息
  • 可以在下载jar包GenshinGacha,在mirai-console-loader中使用该项目
  • 部署方法和接口文档请参考 Document.md

声明

  • 本项目为个人学习.net core、linux、docker、vue...时所开发出来的项目,并没有任何收益,不得将项目用于任何商业用途

特点

  • 基于.net core 6.0 编写,可以在 Windows 和 Linux 操作系统上运行。

功能

  • 记录群员祈愿次数和出货信息,完整模拟群员从零到恰保底的全过程,统计群内成员的出货率,统计群员的欧气排行
  • 允许自定义卡池,可在后台界面配置注册并申请授权码和配置卡池。没有配置卡池时,默认使用admin配置的卡池(authId=0)
  • 允许使用服装素材替换原素材,需要在authorize表中SkinRate配置服装素材出现的概率

进度

  • 角色祈愿
  • 武器祈愿
  • 常驻祈愿
  • 武器定轨功能
  • 自定义卡池
  • 自定义图片大小,返回base64
  • 获取群成员祈愿信息
  • 获取群成员祈愿历史
  • 统计群成员欧气排行
  • 接口授权,根据授权码限制每日调用次数
  • 定时清理历史图片
  • 运行时自动建库建表
  • 双(多)角色池配置
  • 加入服装素材,根据概率使用服装素材替换原素材
  • 重复获取角色时,展示相应的转化素材和转化效果
  • docker支持
  • 后台管理web界面

其他

  • 原本想将效果异得更逼真一点,但是因为不会解包也不会PS,很多小细节都没法处理,所以爬了,有生之年再继续优化
  • 素材会定期更新,但是要等到换池子以后才会更新,通常会在换池子后一两天才更新
  • 服装类的贴图素材只能随缘更新了,因为以后出的服装我也不一定能全部找的到
  • 如果有更好的想法或者建议欢迎在issuse中提出来...

效果图

202202250152519250

202202250155180561

202202250132080800

202202250136247688

服装

202202250132589202

202202250131555284

202202250131573224

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].