Commit Graph

1312 Commits

Author SHA1 Message Date
Steffen Schröder
63981d8002 - adjustment for dedicated-api update
- minor changes
2014-05-20 15:42:10 +02:00
Steffen Schröder
18cd71818a dedicated-server-api update 2014-05-20 15:25:26 +02:00
Steffen Schröder
33b86cdca0 improved send message, error, exception to admin
get connected admins method
2014-05-20 14:59:53 +02:00
Steffen Schröder
6ca5decdb4 PHPDoc improvements
Replaced deprecated method call
2014-05-20 14:59:17 +02:00
Steffen Schröder
7bcd42d927 Revert "phpdoc change"
This reverts commit 27cc23d1d2.
2014-05-19 16:42:48 +02:00
Steffen Schröder
27cc23d1d2 phpdoc change 2014-05-19 16:42:31 +02:00
Steffen Schröder
eca798750d Revert "sample plugin"
This reverts commit 1fd4162a9e.
2014-05-19 16:42:20 +02:00
Steffen Schröder
1fd4162a9e sample plugin 2014-05-19 16:02:51 +02:00
Steffen Schröder
6fbeab1cd6 fixed twice-running one-time timer listening 2014-05-19 15:22:53 +02:00
Steffen Schröder
55cc74ec84 don't report exception chat messages 2014-05-19 00:03:36 +02:00
Steffen Schröder
fedf1710a2 renamed DEBUG_MODE to DEV_MODE 2014-05-18 23:51:20 +02:00
Steffen Schröder
5cf86b2025 working setting type SET in MC settings menu 2014-05-18 23:35:39 +02:00
Steffen Schröder
cb5ad4e077 replaced mysqli_result::close() by ::free() 2014-05-18 23:34:47 +02:00
Steffen Schröder
a6d9753cee removed unnecessary assignment of (default) values 2014-05-18 21:59:21 +02:00
Steffen Schröder
722c0f483e use of player cache in settings config menu 2014-05-18 21:50:15 +02:00
Steffen Schröder
53ff6b35cd changed update channel setting to SET 2014-05-18 21:46:10 +02:00
Steffen Schröder
3af2da045a SET setting type fixes 2014-05-18 21:46:00 +02:00
Steffen Schröder
36b8baaecd don't report in debug mode 2014-05-18 21:45:28 +02:00
Steffen Schröder
0a716aeb91 debug mode constant
option to log even suppressed errors
2014-05-18 21:27:13 +02:00
Steffen Schröder
4194f99c2a FML Update 2014-05-18 20:06:39 +02:00
Steffen Schröder
31cba03bba fixed widget closing for other players 2014-05-18 18:37:18 +02:00
Steffen Schröder
c088a79041 player cache instead of own data array 2014-05-18 16:27:08 +02:00
Steffen Schröder
32259585bd minor wording and spelling fixes 2014-05-18 16:26:52 +02:00
Steffen Schröder
8ff4e191a8 improved loading of update interval setting 2014-05-17 14:14:27 +02:00
Steffen Schröder
192cb2cb79 FML Improvements 2014-05-16 22:44:22 +02:00
Steffen Schröder
1c4d024f4b feedback on settings save 2014-05-16 20:42:37 +02:00
Steffen Schröder
3423bef7a3 fixed error 2014-05-16 20:31:50 +02:00
Steffen Schröder
3a8ea3e519 fixed chat messages 2014-05-16 20:07:41 +02:00
Steffen Schröder
277e76f641 fixed applying of server setting 'NextUseChangingValidationSeed' 2014-05-16 00:28:08 +02:00
Steffen Schröder
db3d59d47f server setting with checkboxes for boolean values 2014-05-15 23:05:57 +02:00
Steffen Schröder
f7070a51e1 fixed getPlayer 2014-05-15 19:30:44 +02:00
Steffen Schröder
8d28ccfc2b null object access fixed 2014-05-15 17:58:57 +02:00
Steffen Schröder
74658044fc improved paging code 2014-05-15 17:45:08 +02:00
Steffen Schröder
c2e1ca0938 only show commands in help that have a description 2014-05-15 15:13:58 +02:00
Steffen Schröder
d5b6e16ccd fixed paging 2014-05-15 15:13:30 +02:00
Steffen Schröder
8c32655ba9 clearer default values 2014-05-15 15:13:18 +02:00
Steffen Schröder
d68031e052 allow login string parameter in manialink manager methods 2014-05-15 15:07:03 +02:00
Steffen Schröder
987254970c resolved warning 2014-05-15 14:42:01 +02:00
Steffen Schröder
62d8feeb47 fixed maplist name 2014-05-15 14:32:07 +02:00
Steffen Schröder
ee49956058 avoid warning 2014-05-15 14:25:19 +02:00
Steffen Schröder
675bdfad5c source class & plugin id in error+exception reports 2014-05-15 14:20:44 +02:00
Steffen Schröder
a6635f15c5 improved error logging 2014-05-15 13:04:05 +02:00
Steffen Schröder
9a84a983d3 fixed rare error (how can that even happen?) 2014-05-15 13:03:59 +02:00
Steffen Schröder
d3e4fd309f FML 1.2 2014-05-14 23:24:00 +02:00
Steffen Schröder
f0d0a072b8 first draft for 'set' setting type
removed 'array' setting type
2014-05-14 00:28:53 +02:00
Steffen Schröder
6ac2726bb9 increased version 2014-05-14 00:28:07 +02:00
Steffen Schröder
55a3ac446a deprecated getSetting method to keep third-party plugin compatibility 2014-05-13 22:54:26 +02:00
Steffen Schröder
23c58b47ff minor spelling & phpdoc improvements 2014-05-13 18:26:38 +02:00
Steffen Schröder
16d2571485 updated dedicated-server-api exception usages 2014-05-13 17:59:37 +02:00
Steffen Schröder
d16e89d13d dedicated-server-api update 2014-05-13 17:37:35 +02:00
Steffen Schröder
eb5af6ebd1 readded old deprecated util classes 2014-05-13 17:09:38 +02:00
Steffen Schröder
de2deac28f readded old constant as deprecated 2014-05-13 16:57:07 +02:00
Steffen Schröder
30b11cc466 minor fixes 2014-05-13 16:54:32 +02:00
Steffen Schröder
2a705e05d9 Improved PHPDoc, Type Hints & Parameter Names 2014-05-13 16:40:05 +02:00
Steffen Schröder
53504f984a use class utils method 2014-05-13 16:15:46 +02:00
Steffen Schröder
ef9c141786 implemented new setting method 2014-05-13 16:03:26 +02:00
Steffen Schröder
1fa1d7ee7d improved type hint 2014-05-13 16:00:25 +02:00
Steffen Schröder
00eb49414a moved Utility classes into own folder+namespace 2014-05-13 14:32:30 +02:00
Steffen Schröder
2fd501f2e8 Setting Model Class 2014-05-13 14:15:00 +02:00
Steffen Schröder
411f23a618 class utility 2014-05-13 13:58:14 +02:00
Steffen Schröder
09f11afd6e Base Listening Class for Callback Management 2014-05-13 01:21:35 +02:00
Steffen Schröder
09f61f2ad4 improved check for valid callback method
decreased amount of duplicated code
2014-05-13 00:22:47 +02:00
Steffen Schröder
02ad48951b fixed playerlist paging 2014-05-12 23:43:12 +02:00
Steffen Schröder
a8b50378d9 timer listening $time parameter correctly renamed 2014-05-12 20:07:56 +02:00
Steffen Schröder
74decfd1d9 timer listening $time parameter renamed 2014-05-12 20:00:58 +02:00
Steffen Schröder
07d0016151 gc code cleanup 2014-05-12 19:56:24 +02:00
kremsy
7a18d7e20c added a todo 2014-05-11 21:29:44 +02:00
kremsy
adb7c14dd4 dump of mapobject 2014-05-11 20:33:57 +02:00
kremsy
a1424f7a00 mxmapinfo comment update 2014-05-11 20:28:52 +02:00
kremsy
7627546baa mx object cleanup 2014-05-11 19:57:33 +02:00
kremsy
2650db54e3 update mx map object 2014-05-11 19:51:53 +02:00
Steffen Schröder
f9df0fc325 revert match settings manager (nevermind) 2014-05-11 16:02:29 +02:00
Steffen Schröder
0834d2c587 match settings manager 2014-05-11 15:28:53 +02:00
Steffen Schröder
52be0fab10 improved script mode check 2014-05-11 14:41:14 +02:00
kremsy
899d14c5c3 cleanup 2014-05-10 13:41:14 +02:00
kremsy
158df3f165 dump playercache 2014-05-10 13:35:49 +02:00
kremsy
778dec9a7d dump playercache 2014-05-10 13:35:23 +02:00
kremsy
1b142192ab dump playerscache optional 2014-05-10 13:33:41 +02:00
kremsy
3a70b7e902 cleanup 2014-05-10 10:13:55 +02:00
kremsy
bc578d9a4e bugfixes 2014-05-10 10:12:48 +02:00
kremsy
74320397ea added classname to cache 2014-05-09 23:33:24 +02:00
kremsy
456ae3d2a8 increased timeouts 2014-05-09 23:09:47 +02:00
kremsy
231c2de954 version increase 2014-05-09 23:06:25 +02:00
kremsy
4cd6d909ad append player data to player object 2014-05-09 23:04:11 +02:00
kremsy
e3f9952ec3 typo fix 2014-05-09 22:06:35 +02:00
Steffen Schröder
ba0f417f59 improved plugin menu
use player cache for selected setting class
2014-05-09 20:11:48 +02:00
Steffen Schröder
6fd7775bcb player object cache 2014-05-09 19:47:20 +02:00
Steffen Schröder
ce1863318c fixed doubled reopening of plugin menu 2014-05-09 19:40:39 +02:00
Steffen Schröder
e50ee01d01 refactored & fixed MapList
improved phpdoc & error messages
2014-05-09 19:11:06 +02:00
Steffen Schröder
8a0039422a improved config parsing 2014-05-09 18:42:45 +02:00
Steffen Schröder
56108f0605 escaping utility methods 2014-05-09 18:42:27 +02:00
Steffen Schröder
e8bcae081a ManiaControl property in player class 2014-05-09 17:30:43 +02:00
Steffen Schröder
49f3953abf fixed & improved phpdoc 2014-05-09 17:30:31 +02:00
Steffen Schröder
4a31d638bd improved phpdoc 2014-05-09 16:58:57 +02:00
Steffen Schröder
8577aa5b3b fixed timer listening 2014-05-09 16:54:00 +02:00
Steffen Schröder
2b3e9113b4 reduced connect timeout 2014-05-09 16:33:33 +02:00
Steffen Schröder
991b9048ba improved error / quit messages 2014-05-09 14:08:58 +02:00
Steffen Schröder
36531b9227 main loop in own method 2014-05-09 13:46:04 +02:00
Steffen Schröder
d58e468492 fixed phpdoc 2014-05-09 13:22:21 +02:00
Steffen Schröder
53df7353e5 let timer listenings be called right after start 2014-05-09 13:19:57 +02:00
Steffen Schröder
f41cd5b8f1 improved error messages & quit 2014-05-09 13:13:29 +02:00
Steffen Schröder
bd2a00ef46 improved path methods 2014-05-09 13:00:49 +02:00
Steffen Schröder
1e93aafd63 improved message texts 2014-05-09 13:00:49 +02:00
kremsy
350e82d32b karma small fixes 2014-05-09 12:54:30 +02:00
kremsy
db3fbf80de managed restart flag 2014-05-09 12:40:50 +02:00
kremsy
9ea97b684f cleanup 2014-05-09 12:19:06 +02:00
kremsy
19917c9add mapcallbacks cleanup 2014-05-09 12:18:25 +02:00
kremsy
d208be32c8 cleanedup endMap / beginMap bugs 2014-05-09 12:14:25 +02:00
kremsy
a51d5423a3 mapqueue fix, begin mapactions class 2014-05-09 11:58:33 +02:00
kremsy
b514a9599c karma plugin fixes + new methods in chat (sendChatToAdmins / sendErrorToAdmins) 2014-05-09 10:48:51 +02:00
kremsy
a16ddc7bb4 filereader cleanup 2014-05-09 09:39:32 +02:00
kremsy
74fb78bd2a filereader + maplist fixes / improvements 2014-05-09 09:37:37 +02:00
kremsy
d923a13933 added fixme 2014-05-08 23:45:06 +02:00
kremsy
8ed8ba6069 maplist cleanup 2014-05-08 23:43:30 +02:00
kremsy
442d06eaa5 reopen maplist on mapupdate 2014-05-08 22:33:01 +02:00
kremsy
e28428f35b small vers increase 2014-05-08 21:37:40 +02:00
kremsy
5fcd61e9d1 small fix 2014-05-08 21:30:30 +02:00
kremsy
73583093f3 dedicated api update 2014-05-08 21:12:38 +02:00
kremsy
3f7da59ae2 exception fixes 2014-05-08 21:10:56 +02:00
kremsy
696505769d small fixes 2014-05-08 20:51:28 +02:00
Steffen Schröder
d84017d4c1 fixed timer listening 2014-05-08 20:37:36 +02:00
kremsy
bde438f665 dedicated server api update 2014-05-08 19:38:15 +02:00
kremsy
554abe77da dedicated server api update 2014-05-08 19:33:27 +02:00
kremsy
aefa91fc15 dedicated server api update (reverted from commit 77a53b282c) 2014-05-08 19:32:14 +02:00
kremsy
77a53b282c dedicated server api update 2014-05-08 19:28:45 +02:00
Lukas Kremsmayr
55850c5ca9 Merge pull request #1 from NewboO/master
Adaptation to new dedicated-api
2014-05-08 19:24:20 +02:00
Steffen Schröder
df7c025aaa improved callback code 2014-05-07 23:00:21 +02:00
Steffen Schröder
c58298a0bd model class for timer listenings 2014-05-07 23:00:07 +02:00
Steffen Schröder
51651623f2 improved phpdoc 2014-05-07 22:10:35 +02:00
Steffen Schröder
50697bfb4f error handling code improved 2014-05-07 21:37:37 +02:00
Steffen Schröder
5b04257c9a only log available update once 2014-05-07 21:09:13 +02:00
Steffen Schröder
5fdb738886 minor improvement 2014-05-07 17:56:52 +02:00
Steffen Schröder
f920a11ae9 improved error handling code 2014-05-07 17:46:19 +02:00
Steffen Schröder
72b52d9a27 improved backup zipping 2014-05-07 17:35:09 +02:00
Steffen Schröder
5a29e1c3ce don't report user errors (what was i thinking) 2014-05-07 14:52:45 +02:00
Steffen Schröder
ba01624765 backup zipping improved 2014-05-07 14:36:17 +02:00
Steffen Schröder
b5d781076d improved shutdown 2014-05-06 10:34:57 +02:00
Steffen Schröder
7c4c18535f 5.3 support 2014-05-06 10:29:07 +02:00
Steffen Schröder
f18432aea4 increased version 2014-05-06 02:53:52 +02:00
Steffen Schröder
194fd6d641 report user errors (to replace them with better logging) 2014-05-06 02:49:20 +02:00
Steffen Schröder
cdd75bc7bd proper initial connect failed shutdown 2014-05-06 02:30:06 +02:00
Steffen Schröder
aac762c452 readded ignoring in error handling 2014-05-06 02:29:48 +02:00
Steffen Schröder
5562421f85 cleaned error reports 2014-05-06 02:17:24 +02:00
Steffen Schröder
8148da6753 script manager class
improved script callback enabling
2014-05-06 02:17:11 +02:00
Steffen Schröder
3e1daa99e2 plugin loaded & unloaded callbacks 2014-05-04 17:00:03 +02:00
Steffen Schröder
32889034a0 improved plugin activation code 2014-05-04 16:53:36 +02:00
Steffen Schröder
5219e0206c server empty callback 2014-05-04 16:45:59 +02:00
kremsy
3b4f21d482 fixed usagereporter 2014-05-04 16:07:04 +02:00
Steffen Schröder
f1eb4915cd Increased ManiaControl Version to 0.13 2014-05-04 15:47:36 +02:00
Steffen Schröder
ea2e0b0698 added update channel to usage report 2014-05-04 15:29:01 +02:00
Steffen Schröder
0ce3c8bae6 update manager fixes & improvements 2014-05-04 15:14:58 +02:00
Steffen Schröder
8cb6fdcceb update manager fix 2014-05-04 15:10:34 +02:00
Steffen Schröder
cfa50168b3 update manager fix 2014-05-04 15:09:11 +02:00
Max Klaversma
5959135a1b Merge remote-tracking branch 'origin/master' 2014-05-04 13:03:00 +02:00
Max Klaversma
183137732c Don't skip replay map if replayer left. 2014-05-04 13:02:53 +02:00
Steffen Schröder
2716fe0432 fixed database migration method 2014-05-04 00:33:49 +02:00
Steffen Schröder
e79bb64cbb added exception class to error report
improved code
2014-05-04 00:16:50 +02:00
Steffen Schröder
de8905c475 code improvement 2014-05-04 00:02:28 +02:00
Steffen Schröder
f9b6437970 fixed private property access in closure 2014-05-03 23:03:07 +02:00
Steffen Schröder
43a1cd99b0 added FileLine to error report 2014-05-03 22:54:42 +02:00
Steffen Schröder
ca7d5863bf improved error check on shutdown 2014-05-03 22:26:49 +02:00
Steffen Schröder
334892c287 improved error handler method names 2014-05-03 22:21:57 +02:00
Steffen Schröder
456ba8dffe readded team plugins with proper names
added empty files for replacing old files
2014-05-03 21:59:33 +02:00
Steffen Schröder
a0a800c0fb methods to clean up files 2014-05-03 21:57:41 +02:00
Steffen Schröder
7e5054b58a improved directory separator 2014-05-03 21:57:41 +02:00
kremsy
9e9dafcea4 removed test fail 2014-05-03 21:13:18 +02:00
kremsy
fcd4f33264 short fixes + switch to map vote for admins 2014-05-03 21:12:44 +02:00
NewboO
417873f0b1 Adaptation to new dedicated-api 2014-05-03 19:53:34 +02:00
kremsy
216003faab mc crash on libxml callback 2014-05-03 13:38:20 +02:00
Steffen Schröder
ac5bbbeafa code refactoring 2014-05-02 18:21:56 +02:00
Steffen Schröder
a0f5421bea applied common formatting 2014-05-02 17:50:30 +02:00
Steffen Schröder
ba720f46bf applied common formatting 2014-05-02 17:40:47 +02:00
Steffen Schröder
d52423b737 applied common formatting 2014-05-02 17:31:10 +02:00
Steffen Schröder
212517d290 added, fixed & improved PHPDoc & Type Hints 2014-05-02 16:13:59 +02:00
Steffen Schröder
c059d7316c type hints
resolved warnings
2014-05-02 15:35:52 +02:00
Steffen Schröder
f9a3c0f72e fixed update url 2014-05-02 15:35:35 +02:00
Steffen Schröder
7b5137d050 fixed method call 2014-05-02 15:35:09 +02:00
Steffen Schröder
e87a454ba7 fixed typos / spelling 2014-05-02 15:26:07 +02:00
Steffen Schröder
36b76da5c9 removed unused variable
added missing use statement
2014-05-02 15:20:25 +02:00
Steffen Schröder
dcaf247813 removed unnecessary uses 2014-05-02 15:14:20 +02:00
Steffen Schröder
d0194da312 fixed $this in static methods 2014-05-02 15:12:28 +02:00
Steffen Schröder
5f09a4ad3d improved error handler 2014-05-02 05:12:47 +02:00
Steffen Schröder
fb079f6f2e fixed plugin updating 2014-05-02 05:04:55 +02:00
Steffen Schröder
47c7a69e5d resolved warnings 2014-05-02 05:01:33 +02:00
Steffen Schröder
d3c7b51f2f fixed & improved plugin install 2014-05-02 04:58:41 +02:00
Steffen Schröder
6a193a2fb5 updated method calls for plugin update manager 2014-05-02 04:04:27 +02:00
Steffen Schröder
17bbc89bc1 improved code
return loaded plugin classes
2014-05-02 04:04:27 +02:00
Steffen Schröder
08d52f1a18 removed code of plugins update manager
refactored & improved other code
2014-05-02 04:04:27 +02:00
Steffen Schröder
d89d5578dc plugins update manager 2014-05-02 04:04:27 +02:00
Steffen Schröder
d5e6d1ca8b temp folder and write permissions methods 2014-05-02 04:04:27 +02:00
Steffen Schröder
f3086956b2 class for creating backups 2014-05-02 04:04:27 +02:00
Steffen Schröder
e9cb455933 improved sendChat 2014-05-02 04:04:27 +02:00
kremsy
6659556f6b test 2014-05-02 00:35:51 +02:00
kremsy
f5b45b0ee9 test 2014-05-02 00:34:02 +02:00
Steffen Schröder
d44f406933 added todo 2014-05-01 23:32:58 +02:00
Steffen Schröder
8640dc3c05 improved isPluginClass check 2014-05-01 20:29:29 +02:00
Steffen Schröder
509251c5f7 added support for "-config=" parameter to load another xml file 2014-05-01 20:21:40 +02:00
Steffen Schröder
df976a8229 skip non-php files when loading plugin files 2014-05-01 20:20:47 +02:00
Steffen Schröder
0f4281f415 use command line helper 2014-05-01 20:20:29 +02:00
Steffen Schröder
d978a19fd6 improved error message 2014-05-01 20:15:58 +02:00