Alayan-stk-2
9a82e168de
Make sure there is always one enabled keyboard config
2018-09-15 19:33:29 +02:00
Alayan-stk-2
15bc188aa3
Add getActiveKeyboardAmount function
2018-09-15 19:31:56 +02:00
Alayan-stk-2
3c89e20733
Add support for disabled keyboard config icon
2018-09-15 18:58:22 +02:00
Alayan-stk-2
88d0313230
Fix comment
2018-09-15 18:30:01 +02:00
Benau
b400d56585
Don't use static in unicode conversion due to multiple threads usage now
2018-09-16 00:29:59 +08:00
Alayan-stk-2
19ba899afd
Allow to disable a keyboard configuration without deleting it
2018-09-15 18:28:31 +02:00
Benau
0c7475c6cf
Handle linebreaking from motd if needed
2018-09-15 23:06:28 +08:00
Benau
28511c597e
Remove compiler warning
2018-09-15 22:43:35 +08:00
Benau
211def77a6
Make sure no IV is duplicated and allow using 32bit counter completely
2018-09-15 16:36:01 +08:00
Benau
bbb618fe6b
Write to a dummy blocks instead of out of bounds pointer for AES
2018-09-15 16:09:49 +08:00
Benau
4cf9542be1
Add user version in string to connection request
2018-09-15 15:57:27 +08:00
Benau
57d4017cc6
Fix documentation
2018-09-15 15:23:06 +08:00
Benau
e5f5a1c04d
Use a more server owner friendly value instead of threshold
2018-09-15 15:10:03 +08:00
Benau
4c6d535f00
Compress kart control action
2018-09-15 14:25:38 +08:00
Benau
01b95d873e
Header clean up
2018-09-15 11:18:30 +08:00
Benau
f547753aaa
Add seamless endcontroller transition in network
2018-09-15 09:43:37 +08:00
Alayan-stk-2
505a67a372
More improvements for #3430
...
Now that the list is wider, time and version can fit with a smaller place, leaving more for the rest.
2018-09-15 03:32:51 +02:00
Benau
b613c2c989
Make new startup boost and penalty working in network
2018-09-14 22:23:37 +08:00
Benau
641998be69
Move startup boost and penalty handling to set phase for local games
2018-09-14 22:03:02 +08:00
Benau
83a456e835
Add kart id checking so that only peer with correct kart can control
2018-09-14 21:42:35 +08:00
Benau
a53307cc14
Reset only physical objects in onGo
2018-09-14 13:43:44 +08:00
Benau
ea3215aad6
Use "and" search for server
2018-09-14 09:06:03 +08:00
Deve
99a4fac85e
Fixed a crash when server was created in GUI.
...
Regression since 7d561de3fb
2018-09-13 21:07:19 +02:00
Alayan-stk-2
3d14ae5bf1
Move repeated code to a function
2018-09-13 15:14:56 +02:00
Benau
803fae5320
Use a correct way to decrypt GCM with openssl
...
From http://patches.opendataplane.org/patch/7237/ , use the correct
order (set tag, than update, and than final)
2018-09-13 16:36:35 +08:00
Benau
c8d56cc2b9
Use absolute path of cert location
2018-09-13 16:29:50 +08:00
Benau
f0a4b707ef
Print incorrect packet
2018-09-13 10:46:54 +08:00
Benau
3b070cdaad
Fix ranked server player reconnection handling
2018-09-13 10:46:37 +08:00
Alayan-stk-2
323af45fbd
Change profile folder to avoid compatibilities issues
...
As discussed on IRC with Auria.
This removes the several issues already noticed when switching between 0.9.3 and git versions (forgotten challenges and settings ; and more recently a crash with highscores).
Reminder for git users : you can migrate your data by copying it from the previous folder to the new one, so you won't have to redo your settings/profiles.
2018-09-13 02:19:00 +02:00
Benau
60157a33c4
Avoid allocating large memory for m_gpu_times in no graphics
2018-09-13 01:33:29 +08:00
Benau
7d561de3fb
Disable freetype in no graphics
2018-09-13 01:11:17 +08:00
Benau
930115a449
Disable addons and news manager in no graphics
2018-09-13 00:58:45 +08:00
Benau
e5aa172d00
Clear player chosen kart each race if not grand prix
2018-09-13 00:40:55 +08:00
Benau
1b0f5be495
Pre-upload powerup spm to prevent hangs when using item
2018-09-12 16:34:38 +08:00
Benau
f39946347f
Try to free vertex buffer memory if possible
2018-09-12 16:29:41 +08:00
Benau
930c2c004d
Always disable network console in child process server
2018-09-12 10:28:02 +08:00
Benau
f5ba14fc54
Fix typo
2018-09-12 10:07:15 +08:00
Benau
e64fd7a47d
Show help in lobby only if connection accepted
2018-09-12 09:30:43 +08:00
Deve
31d425795c
Bubblegum may be used up only if switch was not used
2018-09-11 22:29:55 +02:00
Deve
3ebc68ff10
Fixed glow when switch is used
2018-09-11 22:02:06 +02:00
Benau
6203b415e2
Set log filename with server config without .xml suffix + .log
2018-09-12 00:55:34 +08:00
Benau
8f8d5f8814
Use time-played from database
2018-09-11 23:15:08 +08:00
Benau
8ad3cbdff9
Save server config when exit server lobby
2018-09-11 21:08:18 +08:00
Benau
c778a22a3a
Use a correct xml syntax for map config
2018-09-11 20:57:19 +08:00
Benau
300cdff07f
Disable showing dialog in server for news
2018-09-11 16:04:10 +08:00
Benau
3337f41529
Fix ServerConfig and STKConfig dependencies
2018-09-11 15:35:24 +08:00
Benau
1c94cd6880
Avoid spamming with connect to peer message with localhost
2018-09-11 15:23:45 +08:00
Benau
ade3551c16
Disable message queue in no graphics too
2018-09-11 14:35:07 +08:00
Benau
8bb2eeb629
Always disable online user polling for wan server
...
With d6955f03fcbc21cb4cd9332d0d528063ad9a0f60 in stk-addons it is no
longer necessary
2018-09-11 14:31:43 +08:00
Benau
612e8bdaf6
Keep http header of curl_slist* until the exit of stk to prevent memory leak
2018-09-11 14:24:59 +08:00
Benau
dd15947aa1
Use ServerConfig for setup server
2018-09-11 14:06:30 +08:00
Benau
0d93fe427e
Initial work on server_config.xml
2018-09-11 10:13:33 +08:00
Deve
4262418532
Don't report stats for server_only/no-graphics.
...
It may cause a crash on some devices eg. when glGetString returns NULL.
2018-09-09 23:58:26 +02:00
Benau
81f2a9e99d
Implement CIDR banning with online id split
2018-09-07 23:55:01 +08:00
Benau
3729f27de0
Update stun servers list with not working one removed
2018-09-07 11:39:16 +08:00
Deve
9cf42302a6
Fixed compilation with older nettle versions
2018-09-07 00:26:18 +02:00
Deve
8e29c189c4
Don't segfault if null device creation failed
2018-09-06 22:56:55 +02:00
Benau
88e1733d50
Simplify STUN and LAN connection
...
Using enet intercept directly
2018-09-07 01:40:32 +08:00
Benau
3cdc1b6ddd
Fix crash if server lobby is NULL
2018-09-06 08:41:13 +08:00
Benau
a5c9bbd3ef
Get private port and server id from file
2018-09-06 08:33:11 +08:00
Deve
a60a84b05a
Make sure that dialog window and screen keyboard are deleted before changing screen in lobby
2018-09-05 23:06:29 +02:00
Benau
d0b24487eb
Allow search with unicode characters and space
2018-09-05 13:37:30 +08:00
Benau
30028cc330
Implement text searcher in server selection
2018-09-05 12:19:11 +08:00
Deve
4ec7f45e56
Avoid a crash when hiscore has too many entries
2018-09-04 23:48:49 +02:00
Deve
0f1f876874
Revert "Change highscore limit from 3 to 5 ( #3417 )"
...
This reverts commit 84359ad7da
.
It broke "Max players supported" text in arena info screen. It also doesn't work well for hidpi_enabled property that is used on android. Additionally it causes incompatibility with older STK versions (STK 0.9.3 crashes when there is more than 3 entries in hiscore.xml).
Fixes #3424
Fixes #3425
2018-09-04 21:31:27 +02:00
Deve
8f6daefc73
Revert "Fixed android compilation"
...
This reverts commit 399b89730d
.
2018-09-04 21:31:27 +02:00
Benau
c59a11c85c
Skip waiting players in network item manager
2018-09-05 01:59:40 +08:00
Benau
0b19ee77fa
Use xmlDecode for server name
2018-09-05 01:52:51 +08:00
Benau
bb61c3425a
Show current players on server in server info dialog
2018-09-05 01:32:44 +08:00
Benau
24b3e09429
Disable message queue in server only
2018-09-04 14:45:39 +08:00
Benau
c8a42fd355
Show friends currently joined servers when polling user profile
2018-09-04 14:36:48 +08:00
Benau
83d49389d6
Use new syntax for server xml
2018-09-04 07:37:21 +08:00
Benau
a9ecebfbc8
Merge remote-tracking branch 'origin/master' into network_next
2018-09-04 07:26:02 +08:00
Deve
cdeb70dbf4
Some fixes for soccer setup screen
2018-09-04 00:33:34 +02:00
Benau
65d2c0fc28
Fix memory leak
2018-09-03 14:21:44 +08:00
hiker
3d34c2893b
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-09-03 10:13:01 +10:00
hiker
03c003b68d
First fix for bubble bum support in networking (and some documentation
...
updates).
2018-09-03 10:08:33 +10:00
Benau
e2eed9de88
Allow to keep the server connection for clients when polling
2018-09-03 00:48:00 +08:00
Deve
a9793a10a0
Better fix for legacy pipeline
2018-09-01 23:15:05 +02:00
Benau
0878e59794
Fix #3421 with settings in user config (default off)
2018-09-01 14:57:38 +08:00
Benau
45e20e5a9a
Fix compiler warning
2018-09-01 09:39:30 +08:00
Benau
478f9a42a9
Use better english
2018-09-01 09:32:33 +08:00
Deve
26d9de4262
Fixed legacy pipeline
2018-08-31 22:33:55 +02:00
Deve
3a6cc08596
Make items in server selection list slightly bigger
2018-08-31 21:47:03 +02:00
Benau
b4d9b43a52
Use Nettle in linux if found
2018-09-01 01:05:22 +08:00
Benau
8873013911
Move base/decode64 to crypto class
2018-08-31 19:30:25 +08:00
Benau
7fe6023e4f
Use current team info to determine next player team
2018-08-31 19:00:14 +08:00
Benau
15853c4e32
Fix #3418
2018-08-31 17:40:26 +08:00
Benau
2199679ac2
Add support for joining server with ongoing game
2018-08-31 16:27:32 +08:00
Deve
8a579d9542
Ignore mouse clicks that were made directly on ribbon toolbar instead of child elements
2018-08-31 01:29:17 +02:00
Deve
399b89730d
Fixed android compilation
2018-08-31 00:50:44 +02:00
Liam Middlebrook
0c4852b05c
Add CLI option for setting random seed ( #3419 )
...
This will allow for deterministic runs with the profiling options.
2018-08-30 14:04:21 +02:00
Alayan-stk-2
ad68f5c5ac
Fix #3415
2018-08-30 05:37:07 +02:00
Alayan-stk-2
84359ad7da
Change highscore limit from 3 to 5 ( #3417 )
...
* Update to support 5 highscores
* Support 5 highscores in the UI
* Save up to 5 highscores instead of 3
2018-08-29 20:32:24 -04:00
Alayan-stk-2
fb43b173d6
Don't count ghost karts for highscores ( #3416 )
...
* Add function to get the number of non-ghost karts
* remove print
* Update function call to not count ghosts
* Don't count ghost karts for highscores
2018-08-29 19:50:38 -04:00
Alayan-stk-2
8249266338
Don't remove a level 2 skid bonus when getting a level 1 ( #3410 )
2018-08-29 18:33:37 -04:00
Alayan-stk-2
80555f4905
Display soccer timer after a goal ( #3411 )
...
* Use shouldDrawTimer overrides for tutorial and soccer worlds
* Add isActiveRacePhase
* Update shouldDrawTimer
* Remove duplicate check
It also allows displaying time in soccer after a goal
2018-08-29 18:33:01 -04:00
Benau
279e15f894
Fix attachment for ghost karts
2018-08-30 01:42:19 +08:00
Alayan-stk-2
fe4c918f3a
Fix #3403
2018-08-29 18:26:41 +02:00
Benau
4a29e46817
Remove warning for skinned mesh shader fallback
...
The shader will be unused anyway if there is no armature
2018-08-29 09:32:34 +08:00