Commit Graph

1662 Commits

Author SHA1 Message Date
Designburo
59fe5dd844 Remember fixed pointlimit after new map
Added callback for when new map start and if pointlimit is linear then set it again.
2014-05-29 16:36:49 +02:00
Steffen Schröder
433a088325 use constant instead of hard-coded number 2014-05-27 23:18:56 +02:00
Steffen Schröder
736507fccf phpdoc + coding improvements #3 2014-05-27 23:08:43 +02:00
Steffen Schröder
8b89289784 improved plugin settings saving 2014-05-27 23:00:24 +02:00
Steffen Schröder
b92b592900 coding & phpdoc improvements continued #2 2014-05-27 22:50:28 +02:00
Steffen Schröder
c284feb843 coding & phpdoc improvements continued 2014-05-27 22:44:22 +02:00
Steffen Schröder
9e016cc770 coding & phpdoc improvements 2014-05-27 22:32:54 +02:00
Steffen Schröder
0a7bc3b234 phpdoc & closure improvements 2014-05-27 22:25:55 +02:00
Steffen Schröder
683e6f30a2 improved phpdoc 2014-05-27 22:21:17 +02:00
Steffen Schröder
5df32fa657 improved closure code & phpdoc 2014-05-27 22:19:47 +02:00
Steffen Schröder
e23c795fc9 removed unnecessary method 2014-05-27 22:17:23 +02:00
Steffen Schröder
9c028fbf23 getAdmins() returns player objects
phpdoc improvements
2014-05-27 22:17:07 +02:00
Steffen Schröder
0754b88aee minor code improvement 2014-05-27 15:34:37 +02:00
Steffen Schröder
615010e824 fix & improvement of dynamic point limit command 2014-05-27 11:45:17 +02:00
Steffen Schröder
7d9c1b5fde added try-catch to prevent crash in modes without the setting 2014-05-27 11:36:59 +02:00
Steffen Schröder
ffd2387591 polished setpointlimit command (+ static mode) of dynamic point limit plugin 2014-05-27 11:32:51 +02:00
steeffeen
aa9ff918f7 Merge pull request #3 from Designburo/patch-2
Added dynamic/linear chatcommand
2014-05-27 11:19:11 +02:00
Steffen Schröder
48fed27ad0 improved master admins config loading 2014-05-27 10:59:14 +02:00
Steffen Schröder
cd9b522bfa added lib class property for proper code-completion 2014-05-27 10:59:00 +02:00
Steffen Schröder
762d1652ee database config model class
improved config loading code
2014-05-27 10:46:32 +02:00
Steffen Schröder
eead92e0dd renamed server config class
improved loading code
2014-05-27 10:46:18 +02:00
Steffen Schröder
f54ee6df64 improved config loading and validation 2014-05-27 08:57:26 +02:00
Steffen Schröder
2818192102 added todo 2014-05-27 08:56:56 +02:00
Steffen Schröder
7b04ec4317 improved shutdown on error 2014-05-27 08:56:46 +02:00
Steffen Schröder
01c617c16a deleted obsolete util files (moved into Utils folder) 2014-05-27 08:56:33 +02:00
Steffen Schröder
6500e69553 removed iconv() calls - they don't work as expected 2014-05-26 12:57:57 +02:00
Steffen Schröder
26ec7dbc52 bye ChatLog plugin 2014-05-26 12:52:50 +02:00
kremsy
e8a80dd2df small fix 2014-05-25 10:23:45 +02:00
kremsy
f60d53478c vers increase 2014-05-25 10:11:50 +02:00
kremsy
7690f76aca back button maniacontrol settings, authentication manager permission level set 2014-05-25 10:10:01 +02:00
kremsy
2758bc055d sets for permission levels 2014-05-25 10:06:22 +02:00
kremsy
0146a5f4f1 fixed serversettings 2014-05-25 09:58:52 +02:00
Steffen Schröder
cfbafc8f82 shutdown error report fixed by revert to old state.. 2014-05-25 00:26:46 +02:00
Steffen Schröder
d7975e33b7 prevent too long error reports 2014-05-24 22:34:57 +02:00
Steffen Schröder
fcd4e577cf minor changes 2014-05-24 21:53:07 +02:00
Steffen Schröder
02222680e2 minor coding improvements 2014-05-24 21:49:38 +02:00
Steffen Schröder
2666d8b616 log response on failed reports 2014-05-24 21:49:17 +02:00
Steffen Schröder
8822c79108 try to prevent utf-8 related error 2014-05-24 21:29:04 +02:00
Steffen Schröder
4e1983b06a try to prevent logging errors 2014-05-24 21:09:55 +02:00
Steffen Schröder
c24b7d228e moved dev mode constant 2014-05-24 20:56:34 +02:00
Steffen Schröder
10c8ab92ef replaced unsafe method 2014-05-24 20:48:32 +02:00
Steffen Schröder
ca4df9d89a minor changes 2014-05-24 20:39:18 +02:00
Steffen Schröder
62c51eef5b dedimania plugin update for new records callback class 2014-05-24 20:29:32 +02:00
Steffen Schröder
ddc3f98715 dedimania coding improvements 2014-05-24 20:21:47 +02:00
Steffen Schröder
e8c649664a removed temporary migrations 2014-05-24 20:11:34 +02:00
Steffen Schröder
dda20f9737 endurance plugin update for new record callback class 2014-05-24 19:41:11 +02:00
Steffen Schröder
2892891bec local records plugin update for new records callback class
improved delrec command
2014-05-24 19:16:48 +02:00
Steffen Schröder
412556e57e trackmania callbacks fix 2014-05-24 18:56:20 +02:00
Steffen Schröder
01d5c79fee boolean parse method 2014-05-24 18:56:07 +02:00
Steffen Schröder
2ea6233774 lap finish instead of usual checkpoint callback 2014-05-24 18:36:08 +02:00
Steffen Schröder
cf345dfdc3 improved trackmania callbacks
added legacy trackmania callbacks
2014-05-24 18:32:09 +02:00
Steffen Schröder
1c78afc63b no backtrace for user errors 2014-05-24 18:31:38 +02:00
Steffen Schröder
2d7ac34319 trackmania callbacks class 2014-05-24 17:45:35 +02:00
Steffen Schröder
5faa16d5be introductoin of callback models
added record callback model
2014-05-24 17:22:48 +02:00
Steffen Schröder
dd490b02a9 player cache instead of own array 2014-05-24 16:52:46 +02:00
Steffen Schröder
480fd9aa5f callback parameter fixes 2014-05-24 16:43:37 +02:00
Steffen Schröder
f915417b8b moved core callbacks constants into callbacks interface
server options fix
2014-05-24 16:39:12 +02:00
Steffen Schröder
5e688a5354 trackmania xmlrpc callbacks 2014-05-24 16:20:29 +02:00
Steffen Schröder
7fc0228952 added more libxmlrpc callbacks 2014-05-24 16:11:35 +02:00
Steffen Schröder
cb29330a50 core error source class fix 2014-05-24 14:05:33 +02:00
Steffen Schröder
3e98adb4d6 improved error analysing regarding source class 2014-05-24 13:57:27 +02:00
Steffen Schröder
7830a017ad prevent bug for empty data 2014-05-22 16:21:32 +02:00
Designburo
0e94f267fa Added dynamic/linear chatcommand 2014-05-21 09:44:48 +02:00
Steffen Schröder
255912b335 added TODOs
(proposed by Designburo)
2014-05-20 23:15:12 +02:00
Steffen Schröder
ff2e9e0a8e plugin renaming 2nd (git doesn't recognize case-sensitive change..) 2014-05-20 22:58:48 +02:00
Steffen Schröder
5b4a65907e plugin renaming 1st (git doesn't recognize case-sensitive change..) 2014-05-20 22:58:21 +02:00
Steffen Schröder
8cf3d5fea0 improved dynamic point limit plugin 2014-05-20 22:56:09 +02:00
Steffen Schröder
16394a6532 dynamic point limit plugin overhaul+improvements
moved into MCTeam namespace
2014-05-20 22:32:38 +02:00
steeffeen
82940aa855 Merge pull request #2 from Designburo/patch-1
Update DynamicPointlimitPlugin.php
2014-05-20 21:10:21 +02:00
Steffen Schröder
54c3f77fbf readme update 2014-05-20 16:11:42 +02:00
Steffen Schröder
2550f43669 improved readme 2014-05-20 16:10:36 +02:00
Steffen Schröder
0fc03e1d08 fml update (1.2 final) 2014-05-20 15:44:45 +02:00
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
Designburo
6d0ad1d6bd Update DynamicPointlimitPlugin.php
Added error check if player array was empty ..
2014-05-17 22:40:37 +02:00
Designburo
2e04725479 Update DynamicPointlimitPlugin.php
Added player moving in and out of spec check
Added on begin round check
Added chat notice to inform pointlimit changes
2014-05-17 14:36:25 +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
d664675230 supress notices 2014-05-16 20:26:08 +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
0ca8793a58 fixed div by zero 2014-05-15 18:10:01 +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
d37acbd116 fixed offset error 2014-05-15 17:30:40 +02:00
Steffen Schröder
40794151b6 deleted min dedi build file 2014-05-15 16:31:23 +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
ee0e55c10b further check 2014-05-15 14:53:41 +02:00
Steffen Schröder
70b8a31b55 resolved warning 2014-05-15 14:52:12 +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
e61c6f4c11 moved constant away from configurable section 2014-05-14 00:38:16 +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
cdc8054371 removed empty plugin classes 2014-05-13 14:32:46 +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
8646177531 increased timeouts (reverted from commit 456ae3d2a8) 2014-05-09 23:10:19 +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
bbaa0c6012 hide local records widget on plugin deactivation 2014-05-09 20:12:08 +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
3b47f0fd9a fixed & improved phpdoc 2014-05-09 17:31:29 +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
e816a7de44 managed restart flag (reverted from commit db3fbf80de) 2014-05-09 12:41:17 +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
274384767c removed dedimania trigger 2014-05-09 11:06:48 +02:00
kremsy
6db3d133cb check for minimum php5.4 2014-05-09 11:02:39 +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