Commit Graph

1835 Commits

Author SHA1 Message Date
steeffeen
f037392acf FML Update 2014-07-04 23:50:43 +02:00
steeffeen
c072019047 maps browser manialink 2014-07-04 21:17:54 +02:00
steeffeen
5b03fe06dc browser button in maplist 2014-07-04 21:17:54 +02:00
steeffeen
4df544cea6 map files scanning 2014-07-04 21:17:53 +02:00
steeffeen
a948dd57c1 created directory browser class 2014-07-04 21:17:53 +02:00
steeffeen
897111feff check for plugins directory existence before scanning it 2014-07-04 21:17:53 +02:00
kremsy
d4c094498d small fix 2014-07-04 19:58:59 +02:00
kremsy
eca5dcc2de fixed setting changed callback + added use of it in widgets plugin 2014-07-04 18:48:39 +02:00
kremsy
40fa025317 new icon for donation menu 2014-07-04 18:29:30 +02:00
kremsy
4647299ec8 adding check if the mode uses warmup to add the buttons in the menu 2014-07-04 18:25:09 +02:00
kremsy
0ada7f2a1e maplist added suggestion 2014-07-04 18:09:20 +02:00
kremsy
626e5ee5d3 fixed timeouts on adding lots of maps at once 2014-07-04 18:03:18 +02:00
kremsy
f624f54269 fixed doc 2014-07-04 11:41:03 +02:00
kremsy
2709df4d7e vote plugin, possability to react on trigger events, now built in only for map ralated votes 2014-07-04 11:34:17 +02:00
kremsy
82f639be46 use of sets in serverrankingplugin 2014-07-04 10:34:24 +02:00
kremsy
a1dfdca189 update widget on playerinfo changed (for example when player got from player to spec) 2014-07-04 10:12:17 +02:00
kremsy
5ce1878ce3 fixed changeinprogress exception 2014-07-04 10:06:07 +02:00
kremsy
d80480a681 fixed exception on player unknown 2014-07-04 10:04:19 +02:00
kremsy
ba2acca2c5 resolved error on fakeplayer connecting 2014-07-04 09:58:49 +02:00
Steffen Schröder
8b3667b252 FML Update 2014-07-03 22:34:47 +02:00
Steffen Schröder
edd62f0eb4 suggested icon for verified plugins 2014-07-01 21:43:08 +02:00
Steffen Schröder
a17e681ef0 renamed plugin install menu class 2014-07-01 21:23:50 +02:00
Steffen Schröder
072120064f updated dedi-api 2014-06-30 23:20:02 +02:00
Steffen Schröder
1c94e2da27 improved error prevention 2014-06-30 18:48:31 +02:00
Steffen Schröder
8c5b7b4b14 prevent error on null object 2014-06-30 18:47:37 +02:00
steeffeen
2fd369d746 very restrictive file name clearing
(windows sucks)
2014-06-29 22:18:14 +02:00
steeffeen
5a09db0e72 catch file exceptions like "map unknown" 2014-06-29 22:16:07 +02:00
steeffeen
f5458589c5 fixed create database statement 2014-06-29 19:59:02 +02:00
Steffen Schröder
c1cc6449c5 check whether ManiaControl.sh exists before trying to restart 2014-06-29 17:27:01 +02:00
Steffen Schröder
3151ed2bc6 prevent 'undefined index' error 2014-06-29 17:24:01 +02:00
Steffen Schröder
8d5359bb82 validate dedimania resposne 2014-06-29 17:17:20 +02:00
Steffen Schröder
4ac0ec7f73 fixed loading of server options on start
(property name needs to start in lower case)
2014-06-29 17:12:43 +02:00
Steffen Schröder
fc73510e8d replaced deprecated fileutil method by webreader 2014-06-27 01:18:55 +02:00
Steffen Schröder
2d78c75155 adjusted return type 2014-06-27 01:18:39 +02:00
Steffen Schröder
bb94b7712f fixed post method 2014-06-27 01:18:18 +02:00
Steffen Schröder
03bd3caa65 remove require of alrady removed lib 2014-06-27 01:16:09 +02:00
Steffen Schröder
70e2c89d22 fixed post method 2014-06-27 01:11:47 +02:00
Steffen Schröder
29081181bf removed unused imports 2014-06-27 01:09:12 +02:00
Steffen Schröder
02cb1430bc moved webreader class in utils namespace 2014-06-27 01:06:11 +02:00
Steffen Schröder
5c88fac7d6 code improvements for common curl options 2014-06-27 01:02:52 +02:00
Steffen Schröder
1aa1432384 deprecated FileUtil loadFile() method 2014-06-27 00:42:19 +02:00
Steffen Schröder
8e44f0f3c5 web reader for synchronous web requests 2014-06-27 00:40:43 +02:00
Steffen Schröder
15edb02e9e code refactored 2014-06-27 00:19:03 +02:00
Steffen Schröder
47a8c5bcfe removed unused lib gbxdatafetcher 2014-06-26 20:50:22 +02:00
Steffen Schröder
1dbcf486fb prevent non-object access error 2014-06-26 19:45:54 +02:00
Steffen Schröder
1a021c0189 improved utf8 array conversion 2014-06-26 11:18:00 +02:00
Steffen Schröder
73148364e0 utf8 conversion for arrays 2014-06-26 11:16:29 +02:00
Steffen Schröder
55efbc437f exception report message in utf8 2014-06-26 11:08:02 +02:00
Steffen Schröder
935b69a416 minor changes 2014-06-26 11:07:53 +02:00
Steffen Schröder
f2b9bc82ed utf-8 conversion with mb_convert_encoding instead of bugged iconv 2014-06-26 10:57:37 +02:00
Steffen Schröder
ec7f2f96d3 catch change in progress exception 2014-06-23 23:11:16 +02:00
Steffen Schröder
d6c3707219 catch not spectator exception 2014-06-23 23:08:08 +02:00
Steffen Schröder
d7bea9ecd8 constant fix 2014-06-23 22:54:27 +02:00
Steffen Schröder
0b5162db32 code improvements & cleanup 2014-06-23 16:32:40 +02:00
steeffeen
d4f685a607 Merge pull request #9 from Designburo/patch-3
Remember fixed pointlimit after new map
2014-06-23 16:27:15 +02:00
Steffen Schröder
1fc4ad999f catch next map exception 2014-06-23 16:17:39 +02:00
Steffen Schröder
d8951b7255 handle socket exception on connect 2014-06-23 16:14:47 +02:00
Steffen Schröder
269408c71a improved error handling on map adding 2014-06-23 16:04:00 +02:00
Steffen Schröder
d1c3ada631 map file name sanitizing 2014-06-23 15:51:39 +02:00
Steffen Schröder
6aeea15621 improved map restart param parsing 2014-06-23 15:45:40 +02:00
Steffen Schröder
e25b352a7a improved error handling 2014-06-22 19:23:54 +02:00
Steffen Schröder
9ae9c1cf07 fixed z level 2014-06-22 19:23:33 +02:00
Steffen Schröder
bb5058e532 improved constants access 2014-06-22 19:02:18 +02:00
Steffen Schröder
c7a7693c6f improved error color 2014-06-22 18:45:14 +02:00
Steffen Schröder
1fc2d567cf resolved todo 2014-06-22 18:42:40 +02:00
Steffen Schröder
3b4b2f2cce improved error handling and query param binding 2014-06-22 18:38:07 +02:00
Steffen Schröder
0012cb8ab9 improved error handling 2014-06-22 18:37:56 +02:00
Steffen Schröder
b86161ecd0 removed temporary alter table query 2014-06-22 18:26:01 +02:00
Steffen Schröder
2e987c2013 improved error handling 2014-06-22 18:24:43 +02:00
Steffen Schröder
d880c1995c prevent force message if not successful 2014-06-22 16:13:19 +02:00
Steffen Schröder
a9c509c8e9 better error message on addmap 2014-06-21 22:40:29 +02:00
Steffen Schröder
41df9efdbf added map exception 2014-06-21 22:36:20 +02:00
Steffen Schröder
af01cf46c1 strip base dir in error reports to ensure privacy 2014-06-21 13:31:24 +02:00
Steffen Schröder
c8d599189c FML Update 2014-06-21 03:18:21 +02:00
Steffen Schröder
816ff486ef renamed database config class 2014-06-20 19:06:55 +02:00
Steffen Schröder
3922b6eac7 renamed server config class 2014-06-20 19:05:59 +02:00
Steffen Schröder
14e92a10b8 server cache & logs folder cleaning on shutdown 2014-06-20 18:51:40 +02:00
Steffen Schröder
88a8a83fae improved folder deleting 2014-06-20 18:51:25 +02:00
Steffen Schröder
4a122927dc improved mc logs folder cleaning 2014-06-20 16:51:08 +02:00
Steffen Schröder
51e2fde2b0 improved mc quit handling 2014-06-20 16:34:19 +02:00
Steffen Schröder
f4681da6c5 improved server stop handling 2014-06-20 16:22:45 +02:00
Steffen Schröder
1f905e2b3f fixed logger setup 2014-06-20 16:20:03 +02:00
Steffen Schröder
f4b67accde maniacontrol quit on server stop 2014-06-20 16:19:30 +02:00
Steffen Schröder
54f1855ea9 more folder methods for server directory 2014-06-20 16:14:15 +02:00
Steffen Schröder
dfec7d0028 server directory class 2014-06-20 16:08:09 +02:00
Steffen Schröder
6fd042b57b improved logs, backup & temp folder creation 2014-06-20 15:36:52 +02:00
Steffen Schröder
488b6fc4a4 deleted unused methods 2014-06-20 15:13:11 +02:00
Steffen Schröder
f72568240b removed class aliases again as it doesn't work as expected 2014-06-20 15:07:31 +02:00
Steffen Schröder
88b471f283 modifiers fixed 2014-06-20 15:07:08 +02:00
Steffen Schröder
6e08ee9ac7 improved log fodder creation
deleting of old log files
2014-06-20 14:57:02 +02:00
Steffen Schröder
53e3078cc1 class aliases to keep compatibility 2014-06-20 14:29:17 +02:00
Steffen Schröder
32f2fd6f30 logger convenience methods 2014-06-20 10:56:15 +02:00
Steffen Schröder
d6e313309a minor readme update 2014-06-20 02:38:46 +02:00
Steffen Schröder
2e9f740a61 improved plugin install menu
- added checks for min & max mc versions
- special frames for errors or empty lists
2014-06-20 00:47:32 +02:00
Steffen Schröder
9b2c876d1a improved fatal error recognition 2014-06-20 00:05:50 +02:00
Steffen Schröder
b9dd9190f2 improved trace step skipping 2014-06-19 18:05:58 +02:00
Steffen Schröder
1b9097812e added skipping of library classes in error traces 2014-06-19 17:54:37 +02:00
Steffen Schröder
402bbc1971 ignore error handler as possible error source class 2014-06-19 02:22:32 +02:00
Steffen Schröder
dab0db49aa renamed+changed methods to better reflect functionality 2014-06-17 23:56:31 +02:00
Steffen Schröder
c59b5ac9cd improved variable names 2014-06-17 23:55:59 +02:00
Steffen Schröder
b1ce658fc9 constants names improved 2014-06-17 23:35:56 +02:00
Steffen Schröder
2e0a0359dd removed old php 5.3 compatibility code 2014-06-17 23:27:28 +02:00
Steffen Schröder
ea223a6d26 replaced deprecated logMessage function 2014-06-17 22:59:49 +02:00
Steffen Schröder
296fb77028 logging methods 2014-06-17 22:53:50 +02:00
Steffen Schröder
1e641f69c6 requirements check in SystemUtil 2014-06-17 22:25:33 +02:00
Steffen Schröder
621c795a54 Logger Class 2014-06-17 22:15:35 +02:00
Steffen Schröder
2ff88c230b AutoLoader Class 2014-06-17 21:46:32 +02:00
Steffen Schröder
83aa2246c7 improved utf8 conversion 2014-06-17 21:18:17 +02:00
Steffen Schröder
130b5351f8 increased version 2014-06-15 18:57:41 +02:00
Steffen Schröder
5e375c0c13 improved error report 2014-06-15 03:37:07 +02:00
Steffen Schröder
f6ac379dc0 plugin settings menu fml value picker 2014-06-15 03:23:44 +02:00
Steffen Schröder
7488e83cb5 plugin settings menu fml checkbox 2014-06-15 03:15:06 +02:00
Steffen Schröder
a16e00356b fixed script settings 2014-06-15 02:55:50 +02:00
Steffen Schröder
e94bf2ec05 use gmdate 2014-06-15 02:55:46 +02:00
Steffen Schröder
a400573625 script settings with fml checkbox 2014-06-15 02:26:50 +02:00
Steffen Schröder
4ed545d7a5 implemented checkbox for mc settings 2014-06-15 02:13:00 +02:00
Steffen Schröder
65919efb43 selected setting header label 2014-06-15 01:58:25 +02:00
Steffen Schröder
2408dba961 fixed plugin install 2014-06-15 01:31:31 +02:00
Steffen Schröder
630d5e82d9 allow null mapinfo 2014-06-15 01:04:35 +02:00
Steffen Schröder
6319a6a58a check for function availability before trying to restart 2014-06-15 01:02:59 +02:00
Steffen Schröder
609d451895 system utility class 2014-06-15 00:51:43 +02:00
Steffen Schröder
ddc42c854f improved response handling
- btw: returning stuff in a closure doesn't make sense
2014-06-15 00:34:52 +02:00
Steffen Schröder
fa14d96111 prevent error on missing record id 2014-06-15 00:21:30 +02:00
Steffen Schröder
c69c14a0c6 prevent error through non-object 2014-06-15 00:05:43 +02:00
Steffen Schröder
81706481f2 improved wording 2014-06-15 00:03:07 +02:00
Steffen Schröder
afb9b6df87 improved query code 2014-06-14 23:57:06 +02:00
Steffen Schröder
0198fbc3aa prevent error 2014-06-14 22:30:33 +02:00
Steffen Schröder
b55a1043db bugfix 2014-06-14 22:19:43 +02:00
Steffen Schröder
4a11043dcd added params for more info about issue 2014-06-14 19:45:32 +02:00
Steffen Schröder
ac55d0f511 mark too long parameters 2014-06-14 19:36:54 +02:00
Steffen Schröder
3b95166b21 strip invalid characters on reports 2014-06-14 19:31:17 +02:00
Steffen Schröder
23ddeb539c method renamed 2014-06-14 19:08:07 +02:00
Steffen Schröder
9647a48fb6 fixed param string 2014-06-14 18:56:59 +02:00
Steffen Schröder
54441ab65d shorter param 2014-06-14 18:54:37 +02:00
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
b1663303b0 removed unused variable 2014-06-14 14:37:09 +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
8559799907 constant outside of function 2014-06-12 15:25:40 +02:00
Steffen Schröder
9524dd08c3 readded min php version constant instead of simple variable 2014-06-12 15:21:33 +02:00
Steffen Schröder
4db11ed322 cleaned up startup script 2014-06-12 15:12:22 +02:00
Steffen Schröder
9e791f1e58 use error_log function to write the log 2014-06-12 14:50:08 +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
5b4fee140a wording fixed 2014-06-09 16:01:22 +02:00
Steffen Schröder
ba5aa94ec8 removed steeffeen plugins 2014-06-03 01:44:23 +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
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