Zwelf
|
9f15acdbee
|
Thread safe random_unfinished_map and modified sql statement
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
afe96ed69c
|
Thread safe random_map
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
7f4dc2bb4e
|
Thread safe /map
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
ea31171873
|
Generate passphrase for save-code
* when none is given
* if the given save-code already exist
* if the database connection fails therefore it can't be checked if the save-code already exists
Using the short word list from eff:
https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
528ca377ed
|
Thread safe saving of team score
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
13c80fdc56
|
Thread safe saving of score
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
5dcb6f3b0d
|
Thread save Init
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
c278d8dbc3
|
Read SaveID from database on /load
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
dbf6ac88f6
|
Thread save loading of player time and birthday
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
e9242f45f1
|
Thread safe /load
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
031ac52320
|
Thread safe /save
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
f5ebbf59b6
|
Thread safe /load without paramters
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
7514e93a8a
|
Optimize /top5points SQL query
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
fa8972deb6
|
Thread safe /top5points
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
62f3f40c00
|
Optimize /points database query
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
0f3f845a7f
|
Thread safe /points
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
e37cf5f3cb
|
Thread safe /times
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
8fc81e7eca
|
Reworked PlayerResult to signal finished with use_count == 1
Therefore if the sql thread crashes, the result is deleted automatically
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
1d7289c8f0
|
Thread safe /top5team and optimize database query
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
83fbee5f81
|
Optimize /teamrank database query
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
a92509a5df
|
Simplify /top5 SQL statement
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
9cf28354d7
|
Thread safe /top5 command
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
fd44b1dc5b
|
Reduce boilerplate code needed to start player info requesting thread
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
f18daa949c
|
Thread safe /teamrank
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
e311c39151
|
Remove unused parameters from IScore interface
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
68aa157c11
|
Simplify /rank sql request
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
eda0bab4bb
|
Thread safe /rank
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
91e286f54d
|
Fix parsing responses from player
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
76c227a542
|
Reimplement /mapinfo command
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
9add354367
|
Use Template for SqlResult
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
873f478a82
|
Rename Debut to Offset
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
4ee08dcc5c
|
Remove unused arguments from IScore
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
69cf72dae4
|
Adjust file based ShowRank, ShowTeamRank, ShowPoints consistent functions to sql
|
2020-06-15 11:14:15 +02:00 |
|
Zwelf
|
3d25953036
|
Ordered functions
|
2020-06-15 11:14:14 +02:00 |
|
Zwelf
|
a990acc512
|
Remove existing CRandomMapResult to simplify IScore interface
|
2020-06-15 11:12:57 +02:00 |
|
Zwelf
|
3af18f5f60
|
Create shared pointer on demand
|
2020-06-15 10:59:59 +02:00 |
|
Zwelf
|
0891a0fd51
|
Remove some unnecessary header includes
|
2020-06-15 10:59:59 +02:00 |
|
Zwelf
|
8a22cce031
|
Start of sql refractor
* Use atomic integer in thread count for thread safety
|
2020-06-15 10:59:46 +02:00 |
|
Zwelf
|
add4fab645
|
Disallow team join while save command is active
|
2020-06-15 10:59:46 +02:00 |
|
Zwelf
|
7146eb572b
|
Save error handling clean up
|
2020-06-15 10:59:46 +02:00 |
|
Zwelf
|
2d7886bf33
|
Small cleanup
|
2020-06-15 10:59:46 +02:00 |
|
bors[bot]
|
3cd35de942
|
Merge #2236
2236: Fix team rejoin logic for sv_team 3 r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
|
2020-06-02 10:27:13 +00:00 |
|
d3fault
|
b9844ea6ec
|
Save active weapon with /rescue
|
2020-05-31 22:39:28 -07:00 |
|
d3fault
|
65906070b6
|
clarified /practice voting instructions
|
2020-05-30 20:58:01 -07:00 |
|
def
|
88b65b6def
|
Newly joined player should not immediately be subtracted from team 0
|
2020-05-31 00:34:29 +02:00 |
|
def
|
d3b6df97f8
|
Fix team rejoin logic for sv_team 3
|
2020-05-30 14:47:34 +02:00 |
|
Learath
|
6d019204f1
|
No point locking if teams are disabled
|
2020-05-30 14:07:30 +03:00 |
|
def
|
4cc1bc0cf8
|
Kill player when /practice is on and they get kicked out of team
|
2020-05-28 21:50:35 +02:00 |
|
bors[bot]
|
0cd40c61c3
|
Merge #2218
2218: Practice mode fixes & improvements r=Learath2 a=def-
Thanks to NANAMAR for report.
Update: tested, works.
Co-authored-by: def <dennis@felsin9.de>
|
2020-05-28 16:21:01 +00:00 |
|
def
|
d17e74ee7d
|
Add sv_practice (fixes #2227)
|
2020-05-28 13:28:10 +02:00 |
|