Ghwolfzx / Dice

QQ Dice Robot For TRPG QQ跑团掷骰机器人

Home Page:http://docs.kokona.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dice!

QQ Dice Robot For TRPG Based on CoolQ

License Build status Doc Build status Downloads GitHub contributors GitHub last commit

简介

Dice!是一款基于酷Q的QQ跑团掷骰机器人 交流QQ群:941980833或624807593(已满)

GitHub Page: http://kokona.tech/

Doc: http://docs.kokona.tech/

Latest Stable Release: GitHub release GitHub Release Date

Latest Release: GitHub release GitHub Release Date

开发者

贡献者:w4123溯洄 jh123111 緋色月下、スイカを食う

感谢:Flandre Cirno 回転 他是王家乐。白いとう 哞哞哞哞哞哞哞哞哞哞哞哞 丸子 黯星 一盏大师 初音py2001 Coxxs orzFly 等(排名不分先后)(如有缺漏请务必联系溯洄:QQ1840686745)

编译须知

从GitHub克隆源码时请不要直接从master分支克隆, 因为所有的更改都会提交到此分支, 很有可能包含最新的测试性更改, 未经过测试无法保证稳定 请选择Tag中最新的Release进行下载

请使用最新版Visual Studio 2015或以上版本 (或其独立编译器)进行编译, 项目主文件为Dice.sln, 编译时务必使用Win32模式否则无法编译成功

新增: 现在可以用GCC/Clang编译, 只测试了几个版本, 编译出现问题请反馈, 下面列出编译选项, 正在写cmake

  • GCC: g++ -shared -static -std=c++14 -O2 -o com.w4123.dice.dll -Wl,--kill-at -I CQSDK\ -I Dice\ CQSDKCPP\*.cpp Dice\*.cpp Dice\CQP.lib -pthread -lWinInet -luser32
  • Clang+MSVC: clang++ --target=i686-pc-windows-msvc -m32 -shared -static -o com.w4123.dice.dll -Xclang -flto-visibility-public-std -std=c++14 -O2 -I CQSDK\ -I Dice\ CQSDKCPP\*.cpp Dice\*.cpp Dice\CQP.lib -lWinInet -luser32 -pthread -Wno-invalid-source-encoding
  • Clang+GCC: clang++ --target=i686-pc-windows-gnu -m32 -shared -static -o com.w4123.dice.dll -Xclang -flto-visibility-public-std -Wl,--kill-at -std=c++14 -O2 -I CQSDK\ -I Dice\ CQSDKCPP\*.cpp Dice\*.cpp Dice\CQP.lib -lWinInet -luser32 -pthread -Wno-invalid-source-encoding

编译后会得到com.w4123.dice.dll文件, 请勿更改此文件的名称! 请从Releases中下载对应的json文件(或自己编写), 放至酷Q app文件夹下, 并开启开发模式, 在应用管理中合成cpk文件即可正常使用

Issue提交

提交Issue前请务必确认没有其他人提交过相同的Issue, 善用搜索功能 提交Bug时最好附有截图以及问题复现方法, 同时也欢迎新功能建议

License

Dice! QQ Dice Robot for TRPG

Copyright (C) 2018-2019 w4123溯洄

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

QQ Dice Robot For TRPG QQ跑团掷骰机器人

http://docs.kokona.tech

License:GNU Affero General Public License v3.0


Languages

Language:C++ 98.1%Language:C 1.8%Language:QMake 0.1%