Commit Graph

1395 Commits

Author SHA1 Message Date
Steffen Schröder
26911c0071 error message 2014-06-14 18:54:29 +02:00
Steffen Schröder
99d6299016 prevent exception 2014-06-14 18:43:56 +02:00
Steffen Schröder
a46e401746 prevent exception 2014-06-14 18:16:45 +02:00
Steffen Schröder
8592b4d47d skip fault exception as source class 2014-06-14 18:14:01 +02:00
Steffen Schröder
a8ae27eb64 prevent exception 2014-06-14 18:07:18 +02:00
Steffen Schröder
e60871903d callback name constants 2014-06-14 17:10:19 +02:00
Steffen Schröder
72dbbbb746 check for invalid callback format 2014-06-14 17:10:06 +02:00
Steffen Schröder
eee2cfd9f1 prevent error on unknown weapon num 2014-06-14 16:44:49 +02:00
Steffen Schröder
2bbc466c74 debug notice to resolve error 2014-06-14 15:58:24 +02:00
Steffen Schröder
ff0dfc4ae7 code refactoring
- variable names
- unused parameters
2014-06-14 15:52:02 +02:00
Steffen Schröder
9985b814d2 code refactoring
- improved comparing & checking
- improved string composition
2014-06-14 14:32:29 +02:00
Steffen Schröder
bd6e0b5151 directory access coding improved 2014-06-14 11:32:09 +02:00
Steffen Schröder
8208ab5f6d check if maps dir is writable 2014-06-14 11:25:25 +02:00
Steffen Schröder
79c1260cb5 improved config file loading 2014-06-13 22:09:25 +02:00
Steffen Schröder
4c2a5e3260 Revert "FileUtil::loadConfig now returns a DOMDocument"
This reverts commit 58b07f266c.
2014-06-13 19:53:36 +02:00
Steffen Schröder
58b07f266c FileUtil::loadConfig now returns a DOMDocument
improved config loading & error output
2014-06-13 17:58:42 +02:00
Steffen Schröder
0ecd68a6fd improved server config loading & validation 2014-06-13 17:26:13 +02:00
Steffen Schröder
2172962622 config xmlrpc tag 'login' changed to 'user'
quit on invalid configuration instead of triggering an error
validate user name
2014-06-13 17:11:45 +02:00
Steffen Schröder
96e573e8bd pass api version
camel case method names
2014-06-13 16:59:25 +02:00
Steffen Schröder
543782631a bugfix 2014-06-13 16:48:14 +02:00
Steffen Schröder
765fab6622 error handler function reset to cover additional errors 2014-06-12 16:59:24 +02:00
Steffen Schröder
c95b08d304 file util bugfix 2014-06-12 16:41:26 +02:00
Steffen Schröder
43a2e6b075 improved log message formatting 2014-06-12 15:50:13 +02:00
Steffen Schröder
e202ce9f86 minor adjustments 2014-06-12 15:46:24 +02:00
Steffen Schröder
d44de5f49e updated dedicated-server-api 2014-06-12 15:39:50 +02:00
Steffen Schröder
b1decafc1d improved log file writing to log all errors 2014-06-12 14:02:16 +02:00
Steffen Schröder
f0e325fda0 error backtrace improved by only adding a limited string length
improved error shutdown message
2014-06-12 13:38:08 +02:00
Steffen Schröder
57b0e51746 server is empty method 2014-06-10 23:29:28 +02:00
Steffen Schröder
860aae811e adjustment for new web service 2014-05-30 03:17:39 +02:00
Steffen Schröder
897630a95c improved shutdown/quit code 2014-05-29 22:54:43 +02:00
Steffen Schröder
4f8542b854 moved php shutdown function into error handler
removed gc cycle code
2014-05-29 22:46:38 +02:00
Steffen Schröder
8f07376b93 new plugin web service url 2014-05-29 16:56:53 +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
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
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
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
c24b7d228e moved dev mode constant 2014-05-24 20:56:34 +02:00
Steffen Schröder
ca4df9d89a minor changes 2014-05-24 20:39:18 +02:00
Steffen Schröder
e8c649664a removed temporary migrations 2014-05-24 20:11:34 +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
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
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