Commit Graph

251 Commits

Author SHA1 Message Date
ApsZoldat
862d3153d9 Map-specific locale bundles system (#9199)
* Fix text setting in marker control

* Fix marker and bridge calculation game crashes, minor marker instruction code fixes

* Add privileged desynced client constant global variables

* Remove broken attempt to not initialize client vars on server

* Make @clientLocale variable non-constant, make @server and @client privileged

* WIP Implementation of map-specific locale bundles

* Progress on map locale bundles: add locale data to saves, make objectives use map locales if possible

* Add print formatting and map locale printing to world processors

* 🗿

* Minor map locales dialog ui changes

* Make map locale bundles load when joining multiplayer server

* Remove static declaration of current locale in MapLocales to fix tests failing

* Unify name of localeprint instruction, minor instruction description change, fix map locales incorrectly loading from clipboard

* Fix locale bundles not saving in game state, add  global var, make objective markers use map locale bundles and .mobile properties on mobile devices

* Even more map locales dialog improvements

* Fix english locale picking (when property isn't presented in current locale but english version has it) not working

* Add icon pasting to map locales dialog, minor ui changes

* Fix inconsistent game crash with null text in objectives, define player.locale on game loading (for clientLocale var)

* Change format instruction placeholders to backslash, fix map locales system incorrectly handling default locale

* understood
2023-12-01 21:14:10 -05:00
Anuken
130336bff0 arc 2023-11-23 19:04:17 -05:00
Anuken
d2956d1f2c ConnectFilter API now public 2023-11-23 14:24:59 -05:00
Anuken
8bbf5b1f52 Marker instruction rework 2023-09-28 01:04:03 -04:00
Anuken
700dd38a36 Fixed #9011 2023-09-04 00:04:22 -04:00
Anuken
2715d4954f Ignore ratelimit for local 2023-08-17 09:17:47 -04:00
Даркнесс#3729
6566f1c554 ServerControl improvements (#8928)
* Update ServerControl.java

* Update Administration.java

* Update Maps.java

* Update ServerControl.java

* Update ServerControl.java

* Update Administration.java

* Update ServerControl.java

* Update Maps.java
2023-08-15 09:51:52 -04:00
Anuken
053afcace9 Fixed #8795 2023-07-23 15:43:04 -04:00
router
591c31fd29 Add priority servers, update servers_v7.json (#8720)
* Update servers_v7.json

* Add priority server outlining and bumping

* a

* chore: A little bit of cleanup :)

* json

* fixed no-server issue

* removed cursed duplication

---------

Co-authored-by: phinner <62483793+Phinner@users.noreply.github.com>
2023-06-23 14:00:00 -04:00
Anuken
4b0824a20c Admin player team switch + more trace info 2023-06-11 23:18:04 -04:00
Anuken
fc673de556 augh 2023-06-03 12:43:39 -04:00
Anuken
cda82e572f ServerConnectFilter 2023-06-03 12:38:18 -04:00
Anuken
038994a95f Fixed #8667 2023-06-03 11:47:19 -04:00
Даркнесс#3729
94caca680a Make PlayerInfo map public (#8655) 2023-05-31 18:26:04 -04:00
Anuken
19cd6fd07c Fixed #8632 2023-05-24 09:49:30 -04:00
Anuken
bf320a98b8 Faster connection lookup 2023-05-22 01:09:53 -04:00
Anuken
1b254745e9 bigger numbers 2023-05-10 11:54:39 -04:00
Anuken
60fc2fb5cd Doubled server object buffer size 2023-04-07 10:43:59 -04:00
Anuken
0daafc5ff3 Steam kick bugfixes 2023-03-25 11:11:06 -04:00
MEEPofFaith
29f36c1927 ClientServerConnectEvent (#8309) 2023-02-18 19:48:22 -05:00
Anuken
c2262cc9cf Fixed #8235 / Fixed #8221 2023-02-01 14:42:50 -05:00
Даркнесс#3729
30dcbe1af3 Administration improvements (#8167)
* Administration improvements

Reduced the interval for preventing sending the same message because 50 seconds is too much and kinda confusing
Added saving and loading kicked IPs so they are saved even when the server crashes
Fixed smth in Config

* skill issue
2023-01-12 16:24:51 -05:00
Anuken
411367f294 Revert JSON rules change 2023-01-12 14:38:11 -05:00
Anuken
f49e05a915 Fixed #8161 / Fixed #8162 2023-01-12 14:30:57 -05:00
Anuken
3ec2ae797e Ship beryllium cost increase / Scathe discover range nerf 2023-01-09 22:17:20 -05:00
Anuken
dcf9aa9793 Fixed #8132 2023-01-08 10:19:47 -05:00
Anuken
246591eab4 Fixed #8119 2023-01-07 13:15:56 -05:00
Anuken
54a9955e30 #8126 2023-01-07 12:44:29 -05:00
Anuken
b422e041f4 Fixed #7906 2022-11-13 09:57:09 -05:00
Anuken
4c51b97667 Fixed #7893 / Fixed #7902 2022-11-13 09:35:48 -05:00
Anuken
e3d7acc556 Show world processors in darkness in editor mode 2022-10-31 17:51:34 -04:00
Anuken
b9892335d4 Misc balance, tweaks, configuration... 2022-10-28 15:13:52 -04:00
Anuken
c8ebe0cd87 Packet rate limit 2022-10-27 10:30:28 -04:00
Anuken
8c78f37566 More tweaks to Karst / Default player limit of 30 2022-10-24 10:59:10 -04:00
Даркнесс#3729
61e9ffb7e8 Fix WorldReloader (#7701)
* Fix WorldReloader

* horrible if

* Update WorldReloader.java

Co-authored-by: Anuken <arnukren@gmail.com>
2022-10-12 09:50:07 -04:00
Anuken
d5b34f0b73 Fixed #7469 2022-08-28 16:08:09 -04:00
zenonet
dde9f895cf Added autoPause config for servers (#7405)
* Extracted the method ServerControl.setPauseState()

* Added a comment to EventType.PlayerLeave

* Added the `pauseWithoutPlayers` config

* Revert "Extracted the method ServerControl.setPauseState()"

This reverts commit 45f5b01547.

* Renamed pauseWithoutPlayers to autoPause,
fixed manual- and automatic pausing to interfere
and made the server pause when hosting a new game

* Added a dot to the config description of `autoPause` and added my name to the contributors list

* Refactoring

* Merged remote-tracking changed I guess

* More refactoring

* More refactoring

* Removed logging about autoPause

* Removed another log I forgot in the last commit

Co-authored-by: Anuken <arnukren@gmail.com>
2022-08-21 10:32:58 -04:00
Anuken
1bb45fe91c Minor bugfixes/cleanup 2022-08-04 13:49:22 -04:00
Anuken
243a672a5b Disabled NetworkIO entity writing 2022-08-03 23:44:07 -04:00
Anuken
7ddbc40720 Minor BE update fix 2022-07-05 18:30:43 -04:00
Phinner
685e3cac83 Add support for SRV records (#6982)
* SRV record support

* respect the formatting II

* avoid blocking call

* Add android support

* switch to stripped down version of dnsjava

* move srv lookup from `Net` to `NetProvider`

* random optimizations

* bump arc and restart the thing

* reimplement using ArcDns

* Update core/src/mindustry/net/ArcNetProvider.java

Co-authored-by: buthed010203 <naguiar010203@gmail.com>

* Update ArcNetProvider.java

Co-authored-by: buthed010203 <naguiar010203@gmail.com>
2022-07-03 10:37:58 -04:00
Anuken
3927841f43 Fixed #7080 2022-06-26 17:31:31 -04:00
Anuken
668b09e955 Misc bugfixes 2022-05-08 17:07:06 -04:00
Anuken
d28a839f55 RTS unit control improvements/fixes 2022-05-08 12:45:48 -04:00
Anuken
495250850e Custom Config support / Corrupt crux 2022-04-17 10:21:44 -04:00
Anuken
4b5d833c74 Centralized executor 2022-04-13 17:38:18 -04:00
Anuken
91f19a5c81 Misc 2022-04-02 17:33:35 -04:00
Anuken
c0ac84fbc6 Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
 Conflicts:
	core/src/mindustry/core/NetServer.java
2022-03-28 15:18:13 -04:00
TranquillyUnpleasant
580fcd1fbc Apply color stripping to player names in console wherever applicable. (#6672)
* utility method

* plainName for all console outputs

* plainLastName for all console outputs

* some formats

* slightly reformat trace output

* Slightly nicer admin indicator

* A space
2022-03-28 10:09:01 -04:00
Anuken
5fa28e6090 Server-side fog clip + Omnidirectional flare + resprite 2022-02-20 10:17:20 -05:00