Commit Graph

777 Commits

Author SHA1 Message Date
Benau
5cc5780f28 Add download assets screen for mobile stk 2019-07-24 01:33:12 +08:00
Benau
009bac7802 Share more ifdef with android and iOS 2019-07-16 13:48:25 +08:00
Benau
8c00a1e857 Share the override default params with android 2019-07-13 14:22:22 +08:00
Benau
c337976413 Use unicode windows build with enabling directinput support in mingw 2019-06-26 11:32:18 +08:00
Reiner Herrmann
07b6a16000 Fix several spelling/grammar errors (#3951)
found by lintian
2019-06-04 19:04:18 -04:00
Benau
f397064850 Remove old ban list 2019-05-06 00:20:30 +08:00
Benau
7aa025e13c Merge remote-tracking branch 'origin/master' into network 2019-03-26 02:48:14 +08:00
Benau
cb8525492a Preload more particles xml to avoid ingame hang 2019-03-08 20:46:31 +08:00
QwertyChouskie
1892b827d9 Improve warning (#3770)
* Improve warning

It's more clear now that this is non-fatal.

* Update main.cpp
2019-02-24 21:25:15 -05:00
hiker
ca23678ac9 Fixed comment. 2019-02-11 17:08:22 +11:00
Benau
9ad2823f4d Don't crash if login without --init-user 2019-02-10 14:20:42 +08:00
hiker
94d6a6f785 Fixed incorrect message about where to find internet option. 2019-02-09 01:05:08 +01:00
hiker
f387d95627 Don't default to 'opt-in' for hardware statistics (GDPR requirement).
This means atm that even connection to internet is disabled as default :(
2019-02-09 01:05:08 +01:00
Deve
16fb7cefb4 Document some environment variables 2019-01-28 22:46:35 +01:00
hiker
55cf0b66c6 Support more version numbers: -alphaX, -betaX, and -rcX
now all work, and result in properly sorted integer
version numbers. Added tests.
2019-01-09 00:28:26 +11:00
Benau
7df81bcb7c Set m_server_configurable flag in correct place for GUI server 2018-12-07 01:23:42 +08:00
Benau
3d64340137 Add the framework in server lobby for live update config 2018-12-05 14:19:01 +08:00
Benau
546cd94f39 Use a separate max texture size for SP 2018-12-01 14:21:05 +08:00
auria.mg
8998f095f3 Merge branch 'DisableInternetConnection' 2018-11-23 19:26:46 -05:00
auria.mg
562fe8a4c8 Fix STK hanging on shutdown when networking disabled 2018-11-23 19:07:58 -05:00
Benau
689376dd0f Make FFA and CTF minor mode 2018-11-24 01:41:36 +08:00
Benau
cd1b401cc8 Push to lobby for --connect-now 2018-11-22 02:41:37 +08:00
Deve
4ece4a6c00 Change param name to avoid conflict 2018-10-28 22:27:34 +01:00
Deve
a3eecaedc1 Give a little sense for story mode on android.
At least close big door until all available challenges are completed.
2018-10-28 21:55:48 +01:00
Sergii Pylypenko
64e0c6312e Added MULTITOUCH_CONTROLS_... enum for m_multitouch_controls config option 2018-10-19 16:41:38 +03:00
hiker
036f00b55a Added --network-item-debugging option to log item related events. 2018-10-19 00:27:53 +11:00
Benau
6809984928 Fix #2813 2018-09-30 11:08:54 +08:00
Benau
51f8884881 Fix missing no graphics option for lan server 2018-09-29 00:03:32 +08:00
Deve
4c6af1d381 Fixed more memory leaks when closing stk server 2018-09-25 22:39:02 +02:00
Deve
36d1376567 Probably fixed broken music and some crashes after server close on android 2018-09-23 22:53:11 +02:00
Deve
0dca414e02 Fixed some memory leaks when a server is closed 2018-09-22 22:06:27 +02:00
Deve
18c108c99a Add some commandline params 2018-09-18 23:05:54 +02:00
Alayan
137a7e671f Move online screns to their own folders to reduce clutter 2018-09-16 23:55:40 +02:00
Alayan
4d68d324a2 Move options screns to their own folder to reduce clutter 2018-09-16 23:35:40 +02:00
Alayan
085e3f8eae Merge branch 'master' of https://github.com/supertuxkart/stk-code into GUI_Folders 2018-09-16 16:44:31 +02:00
Alayan
03839b7cfe Move GUI files to categorized folders and update all references 2018-09-16 16:37:42 +02:00
Benau
b3bffacb40 Add network ai tester for linear race 2018-09-16 17:58:00 +08:00
Benau
2c35b0f03c Allow using --connect-now with wan server with server-id 2018-09-16 12:26:34 +08:00
Benau
e5f5a1c04d Use a more server owner friendly value instead of threshold 2018-09-15 15:10:03 +08:00
Benau
60157a33c4 Avoid allocating large memory for m_gpu_times in no graphics 2018-09-13 01:33:29 +08:00
Benau
930115a449 Disable addons and news manager in no graphics 2018-09-13 00:58:45 +08:00
Benau
930c2c004d Always disable network console in child process server 2018-09-12 10:28:02 +08:00
Benau
6203b415e2 Set log filename with server config without .xml suffix + .log 2018-09-12 00:55:34 +08:00
Benau
8ad3cbdff9 Save server config when exit server lobby 2018-09-11 21:08:18 +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
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
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
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
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
Benau
8fc2bdcc3f Show game started info in server screen with icon 2018-08-28 14:43:48 +08:00
Benau
d984409c6b Remove --online and clarify global networking 2018-08-21 09:52:54 +08:00
Deve
9b9785e8ec Add a possibility to disable sound in commandline 2018-08-18 23:34:54 +02:00
Deve
80fd62c7d8 More fixes for global_android_app 2018-08-16 22:30:15 +02:00
Deve
19038b4600 Make SeparateProcess working on Android 2018-08-14 00:14:34 +02:00
Benau
6bdec3d01a Add initial framework for FFA and CTF in network 2018-08-12 10:57:37 +08:00
Deve
ea13d97f6b Allow to specify minimum number of players in command line 2018-07-22 22:48:45 +02:00
Benau
f124bd9df3 Don't allow the game to start if all players joined red or blue team 2018-07-19 15:50:01 +08:00
Benau
00712c5c6d Fallback to goal target if not specified in command line 2018-07-19 09:24:13 +08:00
Benau
6423925718 Hide the low-level extra server info from command line 2018-07-19 01:08:26 +08:00
Benau
e0ada8d6d1 Fix soccer ai stats 2018-07-15 15:20:55 +08:00
Benau
06bcb13590 Allow changing soccer team in lan or private servers 2018-07-14 15:16:54 +08:00
Deve
ed8b5e9f76 Allow to set different path for log files 2018-07-11 00:31:30 +02:00
Benau
b6edc0d93f Add --disable-polling for hosting multiple servers on 1 machine
Only 1 instance of STK server needs keep polling the addon server,
the rest can be run with the above option
2018-07-07 12:50:04 +08:00
Benau
21ccf587c3 Add --init-user for server owner to save player profile without gui 2018-07-07 12:32:06 +08:00
hiker
2859265545 Applied Alayan's fix for properly handling weight 0, some minor
other fixes, added two unit tests.
2018-06-18 22:24:52 +10:00
hiker
6bcd1b4c58 Merge remote-tracking branch 'origin/master' into STK-helper-ItemWeights 2018-06-17 01:05:07 +10:00
Deve
90f3a2389e Allow to set commandline arguments on android 2018-06-10 23:25:51 +02:00
Deve
05572b0084 Disable addons manager for server-only build.
No need to spam with downloading icons for add-ons.
2018-06-09 00:38:10 +02:00
hiker
ea229b4e5e Merge branch 'ItemWeights' of git://github.com/STK-helper/stk-code into STK-helper-ItemWeights
A very rough merge to solve conflicts, not expected to even work.
2018-06-08 15:03:27 +10:00
Benau
843ecfcbc0 Add --connection-debug for verbose packet logging 2018-06-08 12:12:59 +08:00
hiker
9c6b17aeba Merge branch 'master' of github.com:supertuxkart/stk-code 2018-06-08 11:00:14 +10:00
hiker
b0da0f640a Merge remote-tracking branch 'origin/master' into network-items,
fixed conflicts.
2018-06-08 10:55:14 +10:00
Benau
5b62d03323 Fix wrong formula
Alayan said: +25% and +15s
2018-06-08 01:15:28 +08:00
Benau
785aaf7647 Add auto end network game (implicitly on for ranked server) 2018-06-07 14:28:06 +08:00
Benau
644d1b1521 Allow specify motd with .txt file 2018-06-06 16:14:49 +08:00
Benau
d87cf6fba6 Don't allow starting a ranked race with only 1 player left 2018-06-06 15:04:27 +08:00
Benau
5da5a1972f Add auto start with timeout and player threshold for owner less server 2018-06-06 01:06:44 +08:00
Benau
4653089d95 Add ranked server for validated player 2018-06-04 01:19:27 +08:00
Benau
b43a5e4d18 Add AES encryption and validation for wan player 2018-06-02 12:28:29 +08:00
hiker
d2dc99f859 Added --disable-item-collection command line flag, which is useful
for evaluating client/server 'disagreements'.
2018-05-13 23:43:29 +10:00
Benau
d17fddcac8 Fix handicap in splitscreen and network 2018-05-01 01:10:12 +08:00
Alayan-stk-2
e1f585a916
Add powerup model loading on start 2018-04-28 23:03:39 +02:00
Alayan-stk-2
af106fcd7d
Remove obsolete powerup loading 2018-04-26 12:41:15 +02:00
Benau
e5c991e3d2 Merge remote-tracking branch 'origin/master' into kobato 2018-04-20 13:03:34 +08:00
Benau
66c05bbdbf Avoid crash if pressing close window button when networking 2018-04-20 12:19:58 +08:00
hiker
ac3c99a3ca Removed support for position-based history files, now only
physics history files are supported.
2018-04-20 12:19:57 +08:00
Benau
c926d37bb9 Remove online menu again 2018-04-20 10:31:50 +08:00
hiker
98555a8f35 Merge remote-tracking branch 'origin/master' into game_protocol 2018-04-19 10:57:37 +10:00
Alayan-stk-2
8f2c118e33 Improved AI testing (#3184)
* New command line option for testing

* Fix command line option

* Allow races from command line without player kart

* Use the new command line option for testing

Also increase the default number of karts for testing from 9 (including player kart) to 15 (no player kart) for reduced randomness.
And set the default test difficulty to SuperTux
2018-04-14 21:07:12 -04:00
Benau
5920ac5406 Improve server-only run, hide all sp shader debug message 2018-04-01 08:51:12 +08:00
Benau
852c78729f Adjust connect-now for new lobby 2018-03-31 16:14:22 +08:00
Benau
47a86cc36f Add initial support for GP and soccer info in lobby 2018-03-31 01:19:23 +08:00
hiker
1b72d88593 Merge remote-tracking branch 'origin/kobato' into game_protocol 2018-03-31 01:12:22 +11:00
hiker
b1013f6030 Merge remote-tracking branch 'origin/network_improvements' into game_protocol 2018-03-31 00:38:57 +11:00
hiker
17b3a79997 Removed support for position-based history files, now only
physics history files are supported.
2018-03-20 23:52:02 +11:00