Commit Graph

760 Commits

Author SHA1 Message Date
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
Benau
758581d13c Merge branch 'origin/game_protocol' 2018-03-16 17:11:40 +08:00
Deve
a3c0254f81 Better fix for login screen 2018-03-14 20:49:05 +01:00
Deve
6621196266 Don't close STK after login screen 2018-03-13 21:22:21 +01:00
Benau
901c5eabec Allow specifying server password in dialog 2018-03-13 16:04:59 +08:00
Benau
c73536263f Add password protected and version info to server 2018-03-13 14:39:20 +08:00
hiker
8cf885652f Merge remote-tracking branch 'origin/master' into game_protocol 2018-03-08 09:51:00 +11:00
Benau
aa06d3f4e2 Always use lan connection for connect-now 2018-03-07 00:56:43 +08:00
Benau
177c7b147c Fix connect to wan server in lan network 2018-03-06 16:18:57 +08:00
Benau
d5c1ac30ab Fix signin leaking 2018-03-05 16:34:15 +08:00
Benau
2b56a97b08 Clean up Server, ServersManager and quick play
For now we choose the server with the least player for quick play
2018-03-05 01:54:44 +08:00
Deve
8f78d4e891 Add a popup on first run on android, so that user can choose if accelerometer should be enabled 2018-03-04 00:08:24 +01:00
Deve
41ba4395d9 Don't spam with old drivers popup on android 2018-03-02 22:34:20 +01:00
Benau
efa294d4f4 Clean up lan and wan server code 2018-03-02 15:21:27 +08:00
Benau
80a9cc5c48 Auto shutdown the child STK server in windows 2018-03-02 13:25:14 +08:00
Benau
3141b67f89 Use a signal handler to partially clean up STK when terminating 2018-03-01 02:19:26 +08:00
Benau
13d4cc50cf Use server id file to determine the status of no-graphics server 2018-02-28 16:09:53 +08:00
Benau
18eb0a613a Allow non-saved password user to create wan server 2018-02-28 15:05:34 +08:00