Commit Graph

19790 Commits

Author SHA1 Message Date
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
0fd62c1ca7
Add Super Tux time requirements for challenges lacking it
The AI is not yet good enough to be the sole factor ; the time requirement is necessary to not have these Super Tux challenges much easier than others.
2018-09-13 16:27:17 +02:00
Alayan-stk-2
d7b6e4c339
More consistent balance in time requirements
Time-trial records give a good idea of the relative length of different tracks. I tried to keep a similar balance to the one reached in Cornfield Crossing's challenge.
2018-09-13 16:17:35 +02:00
Alayan-stk-2
0b5d390c48
Switch to position requirements for intermediate/novice difficulties
Finishing first should always result in challenge success in low difficulties, and the AI balancing should be more effective than per-challenge tweaking in achieving consistent difficulty across challenges.
2018-09-13 16:03:20 +02:00
Alayan-stk-2
3616e93201
Switch to position requirement for low difficulties
The AI is slower than the required times in this challenge, so it makes it easier.

The previous times were, without nitro/skidding, as hard if not harder than the expert challenge.
2018-09-13 15:51:33 +02:00
Alayan-stk-2
3d14ae5bf1
Move repeated code to a function 2018-09-13 15:14:56 +02:00
Alayan-stk-2
b413d9ef24
Remove useless time requirements
Even with max rubberbanding effect (staying purposefully way behind), the first AI kart finishes around or under the required time.
2018-09-13 15:06:07 +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
QwertyChouskie
6dab3b4e03 Fix centering in race paused dialog (#3429) 2018-09-13 01:31:30 +02:00
Deve
0ff4d3d286 Update pot file to fix a typo 2018-09-12 22:58:06 +02:00
Deve
127c91d825 Minor fix for update_pot.
The "supertuxkart-assets" is supported everywhere else.
2018-09-12 22:53:58 +02:00
Deve
b911a31bf2 Quick fix for run_server script 2018-09-12 22:08:38 +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
114dca1733 Fix typo 2018-09-13 00:12:32 +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
37cf5ac459 Add delete vertex buffer to save memory for no graphics 2018-09-12 15:30:57 +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
a51c88febe Update translation which is completed 2018-09-12 09:42:42 +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
29a7be5531 Add server hosting documentation 2018-09-12 02:07:34 +08: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
ba37513f7a Fix detail map on normal map with skinned mesh shader 2018-09-09 00:52:00 +08:00
samuncle
ed47b78d26 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-09-08 08:50:22 +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