Commit Graph

582 Commits

Author SHA1 Message Date
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
kremsy
1c06e7ff6e added withoutbots to getplayercount 2015-06-21 20:55:10 +02:00
kremsy
12e72c7398 fixed some developing stuff 2015-06-21 20:47:11 +02:00
kremsy
fa899e87a8 added new socketmanager, testing and exception ahndling not done yet 2015-06-21 20:45:48 +02:00
kremsy
fc5a3e04b6 added new socket manager, errorhandling and testing is not finished yet 2015-06-21 20:43:18 +02:00
kremsy
eaf8819a57 added removerights command 2015-06-19 19:07:39 +02:00
kremsy
090830fa8c added changelog 2015-06-19 18:43:09 +02:00
kremsy
351a0b424c finished and tested first version of echomanager 2015-06-19 18:30:44 +02:00
kremsy
7527561263 new EchoManager to handle Echo Callbacks 2015-06-19 01:37:31 +02:00
kremsy
56833021c6 added missing docs 2015-06-18 17:12:44 +02:00
kremsy
cf0555f422 found new exception 2015-06-18 16:18:19 +02:00
kremsy
fc7b1bdade player action weired exception fix 2015-06-18 15:52:30 +02:00
kremsy
e5278e6987 added server Method getServerLoginByIndex 2015-06-16 21:40:56 +02:00
kremsy
d887488f04 billmanager exception handling + mc version increase for new beta release 2015-06-05 10:07:34 +02:00
kremsy
9f809ec9d3 new good solution for labelline issues 2015-06-04 00:23:29 +02:00
kremsy
de6c57fc73 fixed label line, added pos in arrays as first (note its not the best fix, but it shouldnt break everything) 2015-06-03 23:27:50 +02:00
kremsy
ea33ebc47b added message to billdata 2015-06-03 22:49:08 +02:00
kremsy
65802d38f5 BillManager fix 2015-06-03 22:27:09 +02:00
kremsy
bd2097066b billmanager cleanup 2015-06-03 22:22:07 +02:00
kremsy
ebbe9f933d doc update 2015-02-26 15:18:37 +01:00
Christopher F
cadb414b27 Fire callback CB_MAPQUEUE_CHANGED on /replay
Needed this for to fix some weird behaviours "NextMap" widget in Plugin BWP\InfoWidgets and think it's useful for all plugin developers.
2015-02-26 03:12:05 +01:00
kremsy
cee9039c0b added zlib to required extensions 2015-02-24 10:21:27 +01:00
kremsy
58072861c3 Temporary workaround for Trackmania Manialink bug 2015-02-19 11:24:37 +01:00
kremsy
a95f93c4a8 action menu fix 2015-02-04 23:16:52 +01:00
kremsy
723ed19e08 z fix in advanced playerlist 2015-02-01 11:41:17 +01:00
kremsy
ef90574ca0 small fixes/cleanups 2015-02-01 11:34:51 +01:00
kremsy
8c54b3d6fc endroundstop 2015-01-23 19:18:29 +01:00
kremsy
ea44fc5dc2 added endroundstop 2015-01-23 19:17:02 +01:00
kremsy
c583d52e30 added endroundstop 2015-01-23 19:05:07 +01:00
kremsy
e4100ea045 increased mc version due recent changes (new beta + nightly release) 2015-01-23 14:55:10 +01:00
kremsy
efa9c275c9 removed debug var_dump 2015-01-21 21:27:40 +01:00
kremsy
eeac91bd22 final tested version of maniaexchange map search 2015-01-21 21:26:48 +01:00
kremsy
67208624e5 fixed typo 2015-01-21 21:02:48 +01:00
kremsy
b4fbac6b56 finished mapsearch class (not tested yet) 2015-01-21 20:59:24 +01:00
kremsy
385bcebac7 begin maniaexchange mapsearcher class 2015-01-21 20:37:25 +01:00
kremsy
97f4d44202 display mx karma in maplist 2015-01-21 17:47:29 +01:00
kremsy
8419498959 added todo 2015-01-21 17:26:08 +01:00
kremsy
de97efaa00 added mania exchange constants 2015-01-21 17:06:18 +01:00
kremsy
95a6e3e6a3 small cleanup help-manager 2015-01-19 19:18:26 +01:00
Tom Valk
3879db2dc7 Code refactoring, replaced 3 code blocks with one function. 2015-01-19 19:04:43 +01:00
kremsy
0ca7d2dd15 updated copyright 2015-01-19 11:06:20 +01:00
kremsy
0d8ff77867 full url method to iconmanager 2015-01-17 15:59:26 +01:00
kremsy
ac4339e22b added temp error trigger manialinkmanager 2015-01-17 10:05:54 +01:00
kremsy
eb5f59cd48 moved defaultwindow more to z 2015-01-16 19:07:27 +01:00
kremsy
3c94a35573 billmanager constant fix 2015-01-15 11:06:47 +01:00
kremsy
888356cf16 fixed bug not showing mods in adminlist 2015-01-13 18:05:04 +01:00
kremsy
c786a89704 fixed thumbnail in mx mapdata 2015-01-12 18:16:14 +01:00
kremsy
2d942c58fe mapmanager exception 2015-01-12 13:22:51 +01:00
kremsy
6068ed1ec1 exception add on player ban 2015-01-12 13:20:21 +01:00
kremsy
b5eca8d59b renamed callback 2015-01-11 20:37:52 +01:00
kremsy
4a2190e9df increase version of maniacontrol 2015-01-11 16:20:34 +01:00
kremsy
923dfcf128 added bill payed cb 2015-01-11 16:12:57 +01:00
kremsy
fbdf92cd25 exception unbann command 2015-01-11 16:00:55 +01:00
kremsy
f6297215c5 Added unban command 2015-01-11 15:53:46 +01:00
kremsy
d310500723 exception fix 2014-12-25 12:20:27 +01:00
kremsy
440d690279 callback improvements 2014-12-21 23:21:59 +01:00
kremsy
5f7eff0660 callback improvements 2014-12-20 18:43:51 +01:00
kremsy
609337434d added hitdistance to the playerhit-structure 2014-12-13 16:25:11 +01:00
Steffen Schröder
2a6ef42017 suppress warnings 2014-10-24 20:28:11 +02:00
Steffen Schröder
b25171657c phpdoc & formatting improvements 2014-10-24 20:20:12 +02:00
Steffen Schröder
354ab0bcdd fix undefined index 2014-10-24 20:19:57 +02:00
Steffen Schröder
81ae9c2e2a suppress warning 2014-10-24 20:08:58 +02:00
Steffen Schröder
1a8c6ad036 phpdoc improvements 2014-10-24 20:08:21 +02:00
kremsy
a26c25e980 capturestructure fix 2014-10-11 00:26:46 +02:00
kremsy
0aa539b00d callback fix 2014-10-10 18:55:49 +02:00
kremsy
984235e97a removed var_dump 2014-10-10 17:47:59 +02:00
kremsy
27efcabb6e callback improvements, new structures for shootmania callbacks 2014-10-10 16:19:46 +02:00
kremsy
1feeb768b2 callbacks improvements begin 2014-10-10 14:40:00 +02:00
Steffen Schröder
9642433363 removed 'application' folder to have everything in the root directory 2014-09-29 18:20:09 +02:00