Commit Graph

418 Commits

Author SHA1 Message Date
kremsy
9741027a71 async filereader removed old test method 2017-04-16 15:30:43 +02:00
kremsy
11b9dabf72 renamed folder 2017-04-16 14:49:11 +02:00
kremsy
c36886d3f3 added deprecated tags 2017-04-16 14:47:35 +02:00
kremsy
5e0a5c48a2 Added some PHPUnit Tests 2017-04-16 14:43:13 +02:00
kremsy
879b3056ce changed timestamp to seconds in backup filename + unit tests 2017-04-15 23:35:17 +02:00
kremsy
32514fe740 Fixed Bug in Windows in Webreader 2017-04-15 23:00:24 +02:00
kremsy
26b508311c php unit tests 2017-04-15 22:01:27 +02:00
kremsy
eb6dc3db1a Started PHPUnit Tests 2017-04-15 13:21:49 +02:00
kremsy
19c500c105 removed deprecated 2017-04-14 19:23:09 +02:00
kremsy
9fb226b2aa removed deprecated 2017-04-14 19:19:37 +02:00
kremsy
974c69d226 removed deprecated updatemanager 2017-04-14 19:17:40 +02:00
kremsy
7f6b946158 removed deprecated in statisticmanager 2017-04-14 19:16:06 +02:00
kremsy
f81e233af3 playermanager removed deprecates 2017-04-14 19:10:54 +02:00
kremsy
787510296e updated mindediversion 2017-04-14 17:12:37 +02:00
kremsy
3aab01b98b implemented all trackmania callbacks 2017-04-14 17:02:00 +02:00
kremsy
91d09ec8dc increased version 2017-04-14 16:32:41 +02:00
kremsy
6e4f36ca56 removed todo 2017-04-14 16:32:05 +02:00
kremsy
486263826d callback refactor 2017-04-14 16:30:33 +02:00
kremsy
da408a9bee removed debugline 2017-04-14 16:06:52 +02:00
kremsy
7835f89eae changed arguments of the modescripptevents to strings 2017-04-13 22:59:41 +02:00
kremsy
cffbc6cd89 updated pause / warmup systems in mc 2017-04-13 20:46:23 +02:00
kremsy
65f179e7a2 updated teammode recognization with the new cb 2017-04-13 19:48:37 +02:00
kremsy
89bc297b98 removed deprecates from server class 2017-04-13 19:26:57 +02:00
kremsy
a2542de916 updated and improved statistic collector 2017-04-13 19:24:01 +02:00
kremsy
fce74ed928 Callbacks Structure Refactor 2017-04-13 19:14:23 +02:00
kremsy
7a7826b4b6 callbacks update https://github.com/maniaplanet/script-xmlrpc/releases
to have this mc version working you need to update the dedicated server scripts
2017-04-13 16:12:10 +02:00
Jocy
09b974e2cc Added search feature to map list
Enhanced mx list x values
Added setY to LabelLine
Renamed setPosZ to setZ (same as in FML)
2017-04-12 17:56:43 +02:00
kremsy
1ac702f29e MapManager cahnged visability of deprecates 2017-04-11 15:13:22 +02:00
Jocy
9fdcb1ae4c Begin of map search in map list 2017-04-11 15:08:21 +02:00
Jocy
750f605d96 Begin of map search in map list 2017-04-11 15:04:18 +02:00
kremsy
5b87873aba improved directory browser and map update check 2017-04-11 14:58:17 +02:00
Jocy
8d7a147295 Corrected z values of Lists 2017-04-11 12:28:04 +02:00
Jocy
98bcd24268 Corrected z values of Menus 2017-04-11 11:56:27 +02:00
Jocy
a97f1b8ff7 Added Admin HelpAll icon 2017-04-10 20:50:52 +02:00
kremsy
526a3e81d4 temp endwarmup command fix 2017-04-08 15:06:14 +02:00
kremsy
f681c2d70d namespace fix 2017-04-08 13:45:04 +02:00
kremsy
d04a6b71fe added some api / internal tags 2017-04-07 23:38:18 +02:00
kremsy
c94c1caf4b removed a old callback 2017-04-07 23:29:36 +02:00
kremsy
fa4c16e659 doc update 2017-04-07 23:26:35 +02:00
kremsy
782d8b50e8 added xmlrpc structures + removed/refactored double trigger code 2017-04-07 23:03:56 +02:00
kremsy
31054d7502 implemented all new shootmania callbacks + some refactors 2017-04-07 22:30:55 +02:00
kremsy
287e6316d6 fixed doc 2017-04-07 18:46:12 +02:00
kremsy
dcfb3fb9ec added possability to set a Method to call in your class 2017-04-07 18:45:59 +02:00
kremsy
28f60a1ddb reformat code 2017-04-07 18:37:36 +02:00
kremsy
5b330d5753 Small Fix + Test
Test/Usage example:

		$this->getShootmaniaScores()->setCallable(function(OnScoresStructure $scores){
			$scores->getUsageInformation();
		});
2017-04-07 18:37:08 +02:00
kremsy
067536458e added direct invoke callback for methods 2017-04-07 18:30:48 +02:00
kremsy
6ad6768caa added deprecated tags 2017-04-07 17:37:26 +02:00
kremsy
03b2ff1183 ModeScriptEventManagerUpdate 2017-04-07 17:34:57 +02:00
kremsy
0b08d5371d callback updates 2017-04-07 17:28:04 +02:00
kremsy
50eaf4b82d dev mode false again 2017-04-04 19:41:47 +02:00
kremsy
527c37d006 added jsonserializable interface / trait 2017-04-04 19:40:31 +02:00
Jocy
9ab81d0614 Added help button to player actions menu 2017-04-03 21:30:31 +02:00
Jocy
be76e54148 Fixed detailed player page 2017-04-03 20:59:28 +02:00
Jocy
83710a9269 changed deprecated public values in ManiaLinkManager.php + CallbackManager.php to private 2017-04-02 16:25:04 +02:00
Jocy
1b110e5d17 Plugin filenames must match class names
changed deprecated public values in ManiaControl.php to private
2017-04-02 16:20:16 +02:00
Jocy
2e94928539 Replaced old with new LabelLine 2017-04-01 18:48:36 +02:00
Jocy
a9f462ea8f Corrected z-value of confirmation frame in maplist 2017-04-01 17:22:38 +02:00
kremsy
3e138a9065 improved error handling for plugins (if an error occur now in a plugin it always gets deactivated and maniacontrol directly restarted 2017-04-01 12:23:10 +02:00
kremsy
5abc3c3a16 end map is not deprecated 2017-04-01 11:12:06 +02:00
kremsy
3014bc2202 added deprecated to mp3 callbacks 2017-04-01 10:30:18 +02:00
kremsy
8f4d164c46 finished libxmlrpc methods (also trackmania) 2017-03-31 22:39:35 +02:00
kremsy
a0639c477a added min and max plugin version in plugin install / update 2017-03-31 22:32:12 +02:00
kremsy
bd5e4b922e updated statisticcollector 2017-03-31 22:07:00 +02:00
kremsy
25fe6f1df6 small fixes 2017-03-30 22:04:29 +02:00
kremsy
868c2d524b fixed cntent types 2017-03-30 20:38:03 +02:00
kremsy
389ff7925c updated async http requests 2017-03-30 20:27:57 +02:00
kremsy
1369aab401 moved basestructure + changed namespace 2017-03-30 19:49:45 +02:00
kremsy
191235b246 refactored scoressstructures 2017-03-30 19:40:10 +02:00
kremsy
e9ed9d910c refactored Scores Structure 2017-03-30 19:39:23 +02:00
kremsy
ee2facb427 split onHit / onNearMiss / onArmorEmpty (with common base) 2017-03-30 19:02:18 +02:00
kremsy
e6afd27440 labelline height default 2017-03-30 17:58:04 +02:00
kremsy
e39b903ebd fixed labelline + FML control update 2017-03-30 17:11:27 +02:00
kremsy
63ee8a9ae4 labelline fix 2017-03-30 16:25:54 +02:00
kremsy
769ee7262a fixed errror 2017-03-30 16:10:29 +02:00
Jocy
6a703f7311 Updated MXlist with new Labelline 2017-03-29 23:26:03 +02:00
Jocy
cfc3694835 Moved LabelLine to own class 2017-03-29 22:26:34 +02:00
kremsy
8dc2c358af typo fixes 2017-03-29 21:31:28 +02:00
kremsy
6eef55df6d small fixes 2017-03-29 20:38:56 +02:00
Jocy
b5d63d796d Merge remote-tracking branch 'origin/v0.2' into v0.2 2017-03-29 20:28:32 +02:00
Jocy
5654d968e2 Added mp4 filter to mx-list 2017-03-29 19:54:50 +02:00
kremsy
4e546f6404 cb fix 2017-03-29 18:29:02 +02:00
W1lla van den Munckhof
498237491f First Batch TM Callbacks
Gonna work on the others
2017-03-29 13:28:32 +02:00
Jocy
6ab53508fb Fixed pagination in Helpmanager 2017-03-28 19:09:36 +02:00
Jocy
95d55836de Fixed Adminmenu, Playermenu
Corrected background size of Donation menu and customvotes menu
Fixed bug directory browser and removed the default value for tooltip (was always shown)
2017-03-28 16:44:41 +02:00
Jocy
e0102e20ed Fixed Statslist z-values 2017-03-28 16:13:05 +02:00
Jocy
654bf539c9 Fixed z-values for playerlist
Fixed advanced actions in playerslist
Added z value to the labelline
2017-03-28 16:03:05 +02:00
Jocy
fa9e9a0f5c Fixed z-values for playerlist
Fixed advanced actions in playerslist
Added z value to the labelline
2017-03-28 16:00:40 +02:00
Jocy
c318f26d68 Fixed z-values and MX-Icon design problem (issue 71) 2017-03-28 15:03:37 +02:00
kremsy
a90b307bac implements all shootmania and common methods 2017-03-27 22:45:40 +02:00
kremsy
5a7ee1c9be finished first version of shootmania callbacks 2017-03-27 22:21:59 +02:00
kremsy
4f94fe0275 updated communication usage doc 2017-03-26 21:21:19 +02:00
kremsy
da94e8c588 updated to HttpAsyncRequest Structure 2017-03-26 20:21:23 +02:00
kremsy
8e664879d5 added new exception 2017-03-26 19:51:22 +02:00
kremsy
f83640179d add UsageInformation Interface to every class which can be used by Plugin Authors 2017-03-26 19:44:55 +02:00
kremsy
d46eb59fb9 added dedibuild to error and usage reporting 2017-03-26 13:58:23 +02:00
kremsy
f2ab40a50f moved scriptmanager 2017-03-26 13:11:30 +02:00
kremsy
602ec5b7fc renamed the new usageinformation method 2017-03-26 13:01:18 +02:00
kremsy
46daaee61a added UsageInformationTrait / INterface + updated mindediversion 2017-03-26 12:56:44 +02:00
kremsy
de3bae9029 proper scoping to callback structures + usage Information Method 2017-03-26 12:42:20 +02:00
kremsy
4effad8f6d callback fixes 2017-03-25 20:37:39 +01:00
kremsy
d6995f211d callback implementation 2017-03-25 20:19:45 +01:00
kremsy
8a9ae9465a small fault fixes 2017-03-25 19:25:20 +01:00
kremsy
a9e24234e0 reanmed to new FML names 2017-03-25 19:15:50 +01:00
Jocy Wolff
120a0e2169 Updated to ManiaLink v3 2017-03-25 18:40:15 +01:00
kremsy
1010c1db6b callback renaming 2017-03-25 13:57:42 +01:00
kremsy
9a19691420 added trackmania switch case for callbacks 2017-03-25 13:44:03 +01:00
kremsy
e8586586a3 added check if callback got subscribed before triggering and creating structures 2017-03-25 13:40:37 +01:00
kremsy
4804e0ab55 added scores shootmania callback -> TODO implement players there in a good way, maybe a Object including these properties and a getPlayer() method with a reference to the player (setable without maniacontrol reference in the object itself) 2017-03-25 12:55:09 +01:00
kremsy
970d54cc35 updated namespace 2017-03-25 11:54:44 +01:00
kremsy
bd2c5a8c9c added some callbacks 2017-03-25 11:53:55 +01:00
kremsy
f15dab5d42 added some shootmania callbacks 2017-03-24 22:49:43 +01:00
kremsy
7a668b53ba added dumpable interface, implemented all ManiaPlanet Callbacks 2017-03-24 22:08:51 +01:00
kremsy
7c01319a4a added callback names 2017-03-24 17:08:27 +01:00
kremsy
b96c3e92fd added two new callbacks 2017-03-24 16:49:54 +01:00
kremsy
49cc190b86 rename json object 2017-03-23 21:19:03 +01:00
kremsy
55d5cf1b06 better name for the get Json 2017-03-23 21:04:05 +01:00
kremsy
bb10a6a784 removed testdump 2017-03-23 21:02:26 +01:00
kremsy
4b974e66c2 added parent constructor 2017-03-23 21:01:44 +01:00
kremsy
d2d6209880 fixed typo 2017-03-23 20:55:20 +01:00
kremsy
40c3955de5 adjusted folder structure (added some events which arent finished in every folder, the only finished is the one in XmlRpc) 2017-03-23 20:52:23 +01:00
kremsy
ca5dd279c1 improved base callback structure 2017-03-23 20:43:23 +01:00
kremsy
2faa78c8e2 advanced callback structure 2017-03-23 20:39:32 +01:00
kremsy
8ab5d384da new callbacks are only supported in some modes, so leave backwards compatiblity in 2017-03-22 19:12:38 +01:00
kremsy
4ab3bf7650 added abstract basestructure class above all callback structures 2017-03-22 18:31:53 +01:00
kremsy
a1373b4e7c test for api version 2017-03-22 18:21:33 +01:00
kremsy
496039a627 added draft of new callback structure (made example) 2017-03-22 18:10:21 +01:00
kremsy
ba86708e22 https mistake 2017-03-22 18:00:17 +01:00
kremsy
60524e9244 structural changes for v0.2 2017-03-22 17:57:21 +01:00
W1lla van den Munckhof
df2d548755 Update ScriptManager.php
Added XmlRpc.EnableCallbacks for TrackMania aswell as Shootmania.
2017-03-22 11:15:52 +01:00
W1lla van den Munckhof
795df0ed2c Update Callbacks.php
Added WayPoint Callback for TrackMania.
2017-03-22 11:14:15 +01:00
kremsy
e4f7346d42 updated icon link 2017-03-16 21:53:45 +01:00
kremsy
f4e0579e24 ssl update + v0.166 2017-03-16 21:45:48 +01:00
kremsy
644c8d2a1d small fixes 2017-03-16 18:29:04 +01:00
kremsy
6fea856b9c fixed an exception 2017-03-16 18:20:30 +01:00
kremsy
adc4753fe4 MapManager add Method getMapByIndex 2017-03-12 11:26:20 +01:00
kremsy
2807d056a5 updated doc block 2017-03-11 22:12:47 +01:00
kremsy
2b44ed609d included zip into requirements, php 7 users which did not have them crashed 2017-03-10 20:09:39 +01:00
kremsy
cebdb05027 fixes for mysql 5.7 support 2017-03-09 21:02:03 +01:00
kremsy
de2e9cae84 mx update 2017-03-06 19:05:15 +01:00
kremsy
f44f56a5dc exception crash avoidance fixes 2017-02-11 23:26:28 +01:00
kremsy
a35835e1f6 small improvement for STRICT_TRANS_TABLES mysql 7.1 2017-02-04 12:32:22 +01:00
kremsy
9e9c09e14a small fix 2017-02-04 11:57:36 +01:00
kremsy
d09faa7c53 update copyright label 2017-02-04 11:49:23 +01:00
kremsy
8dd3d9bc7d minor improvements 2017-02-04 11:41:31 +01:00
kremsy
2e50a757fd Updated Copyright label 2016-05-04 09:57:31 +02:00
kremsy
e3aa9062a0 fixed an error message 2016-04-11 17:14:25 +02:00
kremsy
ade276d17c CommunicationMethod SET_SERVER_OPTIONS sets the changed values also in database on call 2016-04-10 13:34:12 +02:00
Lukas Kremsmayr
0397bd0006 Merge pull request #47 from tomvlk/f/refactor-timeelapsed-dbpassword
Reformat time_elapsed_string into camelcase. Database can be used with no password given
2015-11-17 12:58:52 +01:00
kremsy
458ff45f85 mx https update 2015-11-16 22:07:06 +01:00
Tom Valk
6a6e14cf02 Refactor time_elapsed_string -> timeElapsedString and with short version. 2015-11-16 17:43:25 +01:00
Tom Valk
a82a8afa3a Password for database in config (server.xml) is not longer required. 2015-11-16 17:18:44 +01:00
kremsy
a06e0b90b3 new filereader, some fixes 2015-11-06 16:52:13 +01:00
kremsy
57fcc239ba small fix 2015-11-06 16:45:27 +01:00
kremsy
c1dd4c41c9 formatting fix 2015-11-06 16:24:46 +01:00
kremsy
aa7502bfd3 mx http -> https 2015-11-06 16:23:53 +01:00
kremsy
7dadba5a97 improvements to suppport mania exchange ssl support 2015-11-06 16:21:04 +01:00
kremsy
f8dc43e517 filereader cleanup 2015-10-13 19:13:27 +02:00
kremsy
3f7c4a50a6 file reader fix 2015-10-13 19:12:27 +02:00
kremsy
07fa365d1a finishing async file reader restructureing 2015-09-30 22:58:49 +02:00
kremsy
67239cd1a9 async file reader restructure part 4 2015-09-30 22:51:12 +02:00
kremsy
fed08286ee restructuriing filereader stage 3 2015-09-30 22:42:52 +02:00
kremsy
8aa0bbba86 restructuring filereader stage 2 2015-09-30 22:33:48 +02:00
kremsy
62105611bf started restructuring filereader 2015-09-30 22:28:16 +02:00
kremsy
48076587e0 added pause command for chase (and combo?) 2015-09-02 13:50:09 +02:00
kremsy
35bb8a1a37 script callback update 2015-08-20 18:48:14 +02:00
kremsy
1b80befac1 fixed ban not connected player 2015-07-29 22:07:52 +02:00
kremsy
6a8087cd95 additional headers in asynchronousfilereader 2015-07-29 14:35:19 +02:00
kremsy
30945a17e6 added typhinting ladderstat in player object 2015-07-25 12:18:39 +02:00
kremsy
790dbeb0a2 removed vardump 2015-07-23 13:10:02 +02:00
kremsy
6d78fc35f7 mx list limit fix 2015-07-23 13:09:16 +02:00
kremsy
f6e7535023 added //uptime 2015-07-19 16:48:34 +02:00
kremsy
f47e36d001 updated playerhitstructure 2015-07-19 11:05:09 +02:00
kremsy
13f38d2576 fixed some z axis in Trackmania 2015-07-15 01:05:50 +02:00
kremsy
3d8eaf4e7c v0.16 nightly release 2015-07-11 15:59:02 +02:00
kremsy
1ef9d3622a added auth level communication methods 2015-07-11 15:54:15 +02:00
kremsy
bebd2e7353 server option communication methods 2015-07-11 15:18:44 +02:00
kremsy
e572412bbb communication listener implemented scriptsetting methods 2015-07-11 14:57:54 +02:00
kremsy
cd5a9bf9ac added types to doc 2015-07-11 14:10:28 +02:00
kremsy
908e310fce added playeractions to communication listenings 2015-07-11 14:06:18 +02:00
kremsy
a3cba8de76 map communcation refactor and testing 2015-07-11 13:41:46 +02:00
kremsy
cc7c36f3d8 added mapmanager communicationmethods 2015-07-11 13:04:34 +02:00
kremsy
8a29489285 added classname to billdata 2015-07-10 22:56:27 +02:00
kremsy
ef7ddc0de2 mc version 0.159 2015-06-26 17:20:27 +02:00
kremsy
60274bfd99 cleanup 2015-06-26 17:18:08 +02:00
kremsy
82e1dd1c65 added maniacontrol restart callback 2015-06-26 16:53:41 +02:00
kremsy
0b02f63309 added getSpectators to PlayerManager 2015-06-26 13:25:29 +02:00
kremsy
491ac03078 implemented force actions 2015-06-26 13:06:05 +02:00
kremsy
f2f21c3e2b typing 2015-06-26 11:51:23 +02:00
kremsy
9760a59836 cleanup communicationmanager 2015-06-26 11:48:21 +02:00
kremsy
f9fd1ad90b added new communication methods 2015-06-23 21:20:44 +02:00
kremsy
6c1d0658fe shortfixes 2015-06-23 18:17:03 +02:00
kremsy
2271f809c2 prepare for nightly 158 update 2015-06-23 17:44:55 +02:00
kremsy
abaeb24d96 added restart maniacontrol communication method 2015-06-23 17:12:23 +02:00
kremsy
2f25069845 implementation of sendChat communication 2015-06-23 16:57:11 +02:00
kremsy
2fbb51dcd4 some cleanup 2015-06-23 15:44:22 +02:00
kremsy
35de1b1b87 improvements of sockethandler, possibility for maniacontrol to maniacontrol connections 2015-06-22 22:52:26 +02:00
kremsy
687bb7be1b renamed SocketManager to CommunicationManager 2015-06-22 20:22:17 +02:00
kremsy
8a58035a57 first socket method implementation :) 2015-06-21 22:24:10 +02:00
kremsy
a025211dfd started with simple usage doc 2015-06-21 21:45:52 +02:00
kremsy
73ae826e44 finished socket manager 2015-06-21 21:33:45 +02:00