notify
0029949a40
Basiccard ( #33 )
...
* update nullification
* Slash
* kill player
* correct players to alive_players
* add log for changehp and dying
* usecard log & indicator
* setemotion, logevent
* fix distanceTo
* shutdown server when console start
* game over
* complete slash
* change format of flist.txt to avoid '\r\n'
* fix \r\n
* peach, zhiheng
* ask for peach
2022-12-20 12:51:54 +08:00
notify
22235ee6ec
Jink&null ( #32 )
...
* rewrite toUtf8().data()
* jink, askforuse, askforresp
* nullification
2022-12-18 21:19:35 +08:00
notify
c4f90a50c7
Windows building
2022-12-18 15:08:01 +08:00
notify
a02410c282
Merge Dev ( #31 )
...
* splash screen when app is loading
* doRaceRequest
* prepare to add fkparse feature
* player mark operation
* dont call lua in regular room
* dont call lua in lobby
* clean up
* idle_room in Cpp's class Server
* fix many small bugs
* Security enhancement (#27 )
* use RSA encryption when sending password
* update fkp's url so other can clone it
* add salt to password
* save password
* fix default config bug
* fix room reuse bug
* disable empty usr name
* how to compile (#28 )
* add some doc
* how to compile
* update readme
* Actions (#29 )
* judge(not tested)
* logic of chat
* sendlog at most scenario
* adjust ui, add shortcuts
* ui, z axis of cardArea
* create server cli, improve logging
* basic shell using
* use gnu readline instead
* use static QRegularExp
* fix android build
* fix automoc problem
* MD5 check
* md5 check bugfix
* cardEffectEvent (#30 )
* cardEffectEvent
* add TODOs
* thinking
Co-authored-by: Ho-spair <62695577+Ho-spair@users.noreply.github.com>
2022-12-18 12:52:52 +08:00
notify
7b12d82683
askForUseActiveSkill ( #26 )
...
* askForUseActiveSkill (not tested)
* askForDiscard
* askForChoosePlayers (not tested)
* add comment, update readme
2022-09-15 11:17:13 +08:00
notify
162b3af505
Use skill ( #25 )
...
* distance & snatch
* distance & snatch - clean
* fix: client.alive_players
* room:askForCardChosen(todo: snatch)
* add skill to players(uncomplete)
* ui of skill btn
* expand pile(not completed)
* Use card2 (#23 )
* snatch (todo: owner_map)
* owner_map
* remove too many snatch
* update
* call active skill's functions
* use zhiheng
* Qt6 (#24 )
* use qt6
* android compiling
* remove version number of qml import
* correct anti-sql injection; update deprecated code
* add fkparse as submodule
* link fkparse, and write simple functions
* adjust ui
* adjust layout for photos; fix qml warning
* android problem fix (partially)
* move ico
* update copy_assets
* update logic for ok/cancel btn
2022-09-14 13:01:10 +08:00
notify
7da5fcfa2c
fix: quit a started room block main thread
2022-08-03 19:13:27 +08:00
notify
60b9839fd7
Disable sync ( #21 )
...
* fix running from running room
* fix: ~serverplayer()
* since room player's id won't change anymore, don't use :getId()
* we won't access lua from other thread, so drop the mutex
* bugfix
2022-05-02 14:00:47 +08:00
notify
5628e67a78
UI-adjust-1 ( #20 )
...
* better general card item
* translation for UI
* optimize size of general card PNGs
* make overviews 'singleton' (only create once)
* background, small bug fix
* init & lobby's roomlist
* gitignore for win deploy, fonts
2022-05-01 18:37:13 +08:00
notify
dedde94643
Use card ( #19 )
...
* the process of using card (uncompleted)
* code style: tab is 2 spaces(not \t or 4 space)
* update lua54.dll to MinGW version(no cygwin1.dll required)
* basic ui logic
* ActiveSkill
* modidy ActiveSkill defaults
* todo: defaultEquipSkill
* client
* send use card to server
* playing phase, equip
Co-authored-by: Ho-spair <linyuy@163.com>
2022-04-30 15:27:56 +08:00
notify
fd2d7b4d10
General & Cards overview ( #18 )
...
* adjust room list of the lobby
* add client lua func
* overviews
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-15 18:37:20 +08:00
notify
af4924c260
UI commands ( #17 )
...
* add cardarea
* move cards
* add util
* delaytrick
* equiparea
* var -> let
* photo loop anim
* setEmotion & damage
* photo status
* doIndicate
* add property to ClientPlayer
* todo: movecards, waiting
* handle moveCards at client
* ui - moveCards
* modify to lua
* move visible
* adjust position of tablepile
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-14 18:22:00 +08:00
Ho-spair
09e34cfef6
Gamecore 2 ( #16 )
...
* upgrade gamecore
* [Funtion] Room:moveCards() completed
* add some functions in Room
* fixup
* delete wrong files
2022-04-08 18:39:58 +08:00
notify
8b212c2a7a
player:play ( #15 )
...
* player:play
* proceed phase
* update readme
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-04 19:04:55 +08:00
Notify-ctrl
d7d1873185
change cmake version to 3.16 (for pch)
2022-04-03 21:49:25 +08:00
Notify-ctrl
9e09e6e50d
Todo: disable sync ( #14 )
...
* lock room lua
* fixme
* add 'id' to lua Player
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-03 21:43:35 +08:00
Notify-ctrl
4c93c897b2
Trust ai ( #13 )
...
* add 'Robot' to Player::State
* add definition to Room::addRobot
* addRobot
* modify room abandon
* robot will wait for 1 second(not 1000)
* tell lua and js someone run
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-03 06:41:55 +08:00
Notify-ctrl
927c5f479b
gamerule:Turnstart ( #12 )
...
* add tag to room
* add switch statement(util.lua)
* using emmylua
* gamerule(..)
* turnOver
* add many events
* stop the room when deleting
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-02 21:39:44 +08:00
Notify-ctrl
8637356a04
Read lua from client ( #11 )
...
* access lua from client
* todo:robot
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-02 15:55:01 +08:00
Notify-ctrl
c230d675ce
Invoke choice ( #10 )
...
* define askforskillinvoke
* states of room
* askForSkillInvoke
* askForChoice
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-02 15:11:13 +08:00
Notify-ctrl
4e25c032e6
Skill ( #9 )
...
* TriggerSkill
* update type comment
* events of phases
* lua annotation
* change style of enums
* clear lua stack
* multi lua_State at server side
* disable addPlayer when room is full or started
* logic:trigger
Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-01 20:51:01 +08:00
Notify-ctrl
daae2466ae
print stack when lua error occurs
2022-03-31 17:16:30 +08:00
Notify-ctrl
957fefe881
Cards ( #8 )
...
* more comment
* create standard card pack
* create card classes
* freekill -> fk
* fk_ex
2022-03-31 13:29:23 +08:00
Notify-ctrl
a85f510c98
commit
2022-03-30 16:33:56 +08:00
Notify-ctrl
7fd127b849
Request ( #7 )
...
* cli
* add timeout for class Room
* request func, roomowner
* request
* corrent stupid Qml/JS
* chooseGenerals
* prepareForStart(part 1)
* fix require grammar
2022-03-30 14:14:40 +08:00
Notify-ctrl
58ea0ca80a
Role & Seat ( #6 )
...
* standard generals
* assignrole
* arrangeSeat
* fix bugs
2022-03-28 22:24:30 +08:00
Notify-ctrl
3e4080f2ad
edit profile ( #5 )
2022-03-27 20:00:29 +08:00
Notify-ctrl
a67175f8eb
Room ( #4 )
...
* Run room in lua
* handle offline player
* Better toast and other
* delete useless stuff
* todo: edit profile
* use pch
2022-03-27 15:12:00 +08:00
Notify-ctrl
3dc95ebc49
Gamecore ( #3 )
...
* create some class
* create some base classes
* fixup
Co-authored-by: Ho-spair <linyuy@163.com>
2022-03-27 15:12:00 +08:00
Notify-ctrl
dea1c40ad8
Update src/CMakeLists.txt
2022-03-27 15:12:00 +08:00
Notify-ctrl
3fb3570fa0
Remove property uid of serverplayer
2022-03-27 15:12:00 +08:00
Notify-ctrl
432a306de0
Add / Remove Player ( #2 )
...
* addplayer and removeplayer
* add sqlite3 library and remove comment in library headers
* setup database system
2022-03-27 15:12:00 +08:00
Notify-ctrl
d2315c7533
Basic roomscene ( #1 )
...
* create Photo
* Room layout, img, debug
2022-03-27 15:12:00 +08:00
Notify-ctrl
8fb08a8ece
changed code style, doc
2022-03-27 15:12:00 +08:00
Notify-ctrl
9ed3f1bf3f
update room list
2022-03-27 15:12:00 +08:00
Notify-ctrl
5f175090c0
Create and enter room
2022-03-27 15:12:00 +08:00
Notify-ctrl
6fb0158d39
Initial import
...
commit
1
GPLv3
commit
commit
commit
commit
commit
commit
2022-03-27 15:11:55 +08:00