71 Commits

Author SHA1 Message Date
UnknownShadow200
8d892df7d7 GUI: Change Edit Text dialog to not use Calibri 2024-04-28 17:27:45 +10:00
UnknownShadow200
9dead7961b GUI: Darken very bright colours and slightly lighten very dark colours in main log window 2023-11-30 23:27:30 +11:00
UnknownShadow200
ada403cb0f Fix ECL license linking to non-existent page (Thanks TomCube2) 2023-07-06 21:22:09 +10:00
UnknownShadow200
28843b10c4 WIP on optimising guns to use BufferedBlockSender 2023-06-11 13:12:48 +10:00
UnknownShadow200
61a332181d Fix for partial player name matching methods from DB, that in the case of the provided name partially matching over 100 names before the first exact match, that the result was unexpectedly 'no matches' instead of the expected exact match (Thanks Goodly)
This typically happened when you have had 1000s of players join, then someone with a 2 letter name joins, and you attempt to do /info on the 2 letter name when they're offline
2023-06-05 21:35:36 +10:00
UnknownShadow200
fcbef535b7 Port forwardind GUI: Add logs panel that logs messages related to UPnP forwarding/unforwarding 2023-06-05 19:30:55 +10:00
UnknownShadow200
f2ce59e19d Restore original software name in rest of copyright headers 2022-12-24 21:21:35 +11:00
UnknownShadow200
f270e37add Add disabled-commands option to server.properties to allow disabling certain commands altogether, also remove long obsolete Command.all 2022-11-09 21:55:42 +11:00
UnknownShadow200
b53f02a1d9 minorly tidy up upnp code 2022-08-05 22:34:20 +10:00
UnknownShadow200
cadde3b0c4 Improve /pcreate C# example, and simplify ICompiler slightly since a full CompilerResults instance is not required 2022-07-23 13:57:07 +10:00
UnknownShadow200
5d8289dd3f Custom commands GUI compiling now generates temp .dll path itself, instead of relying on CodeDomCompiler to generate it through 'GenerateInMemory' 2022-07-23 09:01:45 +10:00
UnknownShadow200
3cd44c8175 Change custom commands GUI and /compile help to use actual list of ICompilers instead of hardcoding for C#/VB 2022-07-21 23:17:59 +10:00
UnknownShadow200
f0005c754d WIP splitting up scripting into dll scripting and source code compiling 2022-05-15 18:47:41 +10:00
UnknownShadow200
97d24dcc55 Fix some comments 2022-05-01 17:25:47 +10:00
UnknownShadow200
56e0f71585 Fix /mi env sometimes wrongly showing exponential fog as enabled (Thanks fizzwhiz) 2022-04-29 20:57:47 +10:00
UnknownShadow200
6dcd6ee66b Further tidyup upnp 2021-12-17 08:04:47 +11:00
UnknownShadow200
e51d1690fa Fix SECURE_WEBSOCKETS not compiling 2021-11-13 11:59:26 +11:00
UnknownShadow200
b2d35b06db GUI: WIP on custom update available dialog to address #662 2021-11-12 23:12:54 +11:00
UnknownShadow200
8afbd356d1 GUI: Make custom commands popup font consistent with rest 2021-11-12 20:11:21 +11:00
UnknownShadow200
ada34d4c32 GUI: Fix icon not showing in popup dialogs on Mono
This took a long time to figure out because
1) for testing purposes I set Icon before the window handle had been created
2) When the window handle was later created, mono would not actually apply the custom icon since the border style is FixedDialog (see CreateHandle in Form.cs)
3) I later set Icon again in multiple other places. However, this was essentially a noop because Mono checked if the new icon was the same as the same previously assigned icon and do nothing in that case.
However, the assumption in step 3) was incorrect because the previously assigned icon had not actually been applied to the window.
Unfortunately this meant the correct Icon never showed at all. So the correct solution to this is to only assign Icon once in the Load event of forms.

I spent way too much time on this
2021-11-11 22:31:59 +11:00
UnknownShadow200
8ee32ba780 Get rid of obsolete warning when compiling GUI, partially fix scale 1/2 not working 2021-11-10 20:37:14 +11:00
UnknownShadow200
dad908c68c GUI: Use FixedDialog instead for FixedToolWindow for improved appearance of popup dialogs, especially on Linux
Note that this means that popup dialogs now appear in taskbar on Linux, whereas they weren't before. However popup dialogs were already appearing before in taskbar on Windows, so at least the behaviour is consistent now
2021-11-10 18:51:55 +11:00
UnknownShadow200
5b774651e3 GUI: Fix listboxes having almost invisible text color for unselected items on Gnome DE with dark theme (Thanks TehcJS, addresses #651)
Testcase: Ubuntu 20.04 with Adwaita-dark or Yaru-dark themes
2021-11-09 21:42:30 +11:00
UnknownShadow200
90864a0c6b Split up Scripting.cs into Scripting.cs and ScriptingOperations.cs 2021-11-07 12:08:41 +11:00
UnknownShadow200
87dec1a792 Fix /compile keeping a reference to dll/pdb on disc (Thanks 123DMWM)
This prevented compiling the same command with a 'file already in use' error)
2021-10-01 08:36:34 +10:00
UnknownShadow200
750af9cb6c move code out of /cmdload and into Scripting.cs 2021-09-02 12:38:52 +10:00
UnknownShadow200
cd9a520ea9 Make compiling source file existence checking consistent, simplify GUI custom commands compiling 2021-09-01 18:26:29 +10:00
UnknownShadow200
2826bf8f20 Make custom commands GUI support other languages too 2021-05-28 08:56:01 +10:00
UnknownShadow200
1a4ccea029 GUI: Fix ampersands not showing in 'insert token' popup dialog 2021-05-16 22:05:26 +10:00
UnknownShadow200
93fbe8f992 Try to fix compiling for .NET core not working 2021-04-25 21:46:39 +10:00
UnknownShadow200
c50c7973a6 GUI: IRC port should be a numericupdown, not a textbox 2021-04-21 23:01:21 +10:00
UnknownShadow200
38d0b14544 Cleanup custom commands GUI by using two buttons for creating C#/VB commands instead of 1 button + 2 radio buttons 2021-04-20 22:58:32 +10:00
UnknownShadow200
a6a04ec92d Add Visual Basic plugin compiling and creating support 2021-03-26 22:39:47 +11:00
UnknownShadow200
0c26ffb88a Split up IScripting into IScripting and ICompiler 2021-03-25 19:39:31 +11:00
UnknownShadow200
d2875cae20 Tidy up IScripting API 2021-03-24 22:20:27 +11:00
UnknownShadow200
45fe8e9471 Cleanup CustomCommands GUI and use IScripting.LoadAssembly instead 2021-03-23 21:58:48 +11:00
UnknownShadow200
65a05f81e8 GUI: Fix having grey instead of white background for input controls on mono 2021-01-17 22:22:45 +11:00
UnknownShadow200
5869a4437d Use Colors.StripUsed instead of Colors.Strip in more places such as /who,/clients, name filter, etc 2020-11-28 22:46:50 +11:00
UnknownShadow200
f2ad5694b3 Remove unused dll references and some unused includes 2020-06-02 22:32:18 +10:00
UnknownShadow200
c7dff51acd Support 'reference' when compiling custom commands from GUI, improve logging of errors compiling custom commands from GUI 2020-04-12 11:40:11 +10:00
UnknownShadow200
50b4b0db47 Majorly improve 'server port utilities' dialog window
It uses server's port instead of having to type in a port, it shows a more useful description message, and it uses https:// instead of http:// for external links
2019-07-11 10:23:44 +10:00
UnknownShadow200
dd46cf2b73 Custom commands in GUI aren't forced to lowercase filename 2019-06-03 23:48:15 +10:00
UnknownShadow200
a96d45a30a Warnings shouldn't prevent custom command from compiling 2019-06-03 23:38:57 +10:00
UnknownShadow200
3b29a178ae Add a save button for EditText popup 2018-11-20 04:32:21 +11:00
UnknownShadow200
0d7ed870da use custom timespan numericupdown 2018-07-18 17:16:33 +10:00
UnknownShadow200
f210dbff44 TNT wars now mostly rewritten 2018-07-06 18:22:37 +10:00
UnknownShadow200
75a19fe6c6 refactor commands class 2018-05-30 08:56:46 +10:00
UnknownShadow200
a4427566ad Few more commands can be used in museums, minor tidy-up in UI 2018-05-24 14:41:31 +10:00
UnknownShadow200
e0d0f6f3bc Make UI popups consistent 2018-05-24 11:57:32 +10:00
UnknownShadow200
d1c2595098 Don't show ZS group or team chat when you've ignored someone (Thanks fam0r) 2018-02-21 07:15:33 +11:00