Commit Graph

1448 Commits

Author SHA1 Message Date
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
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
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
d7bea9ecd8 constant fix 2014-06-23 22:54:27 +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
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
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
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
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