Commit Graph

1734 Commits

Author SHA1 Message Date
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
kremsy
e8a80dd2df small fix 2014-05-25 10:23:45 +02:00