1
0
Commit Graph

118 Commits

Author SHA1 Message Date
Mattes D
a89d5f53fd Refactored ManualBindings' callbacks using templates.
This is a bit easier to read, has better error reporting and fixes a few subtle bugs.
Fixes #1889.
2015-04-23 22:20:31 +02:00
Mattes D
08624348f4 Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
Both functions are exported as static.
2015-04-23 19:41:01 +02:00
Mattes D
a34aa77641 Debuggers: Renamed conflicting /cs command to /cstay.
/cs caused a conflict with WorldEdit.
2015-04-13 11:24:11 +02:00
Mattes D
79e8f8fb20 cFile:ChangeFileExt now accepts extensions with leading dot, too. 2015-04-11 17:42:32 +02:00
Mattes D
c4842cb9aa Added more cFile API functions.
GetLastModificationTime, GetPathSeparator() and GetExecutableExt()
2015-04-11 10:06:08 +02:00
Mattes D
65a1158e40 Added proper implementation of cFile::ChangeFileExt(). 2015-04-10 21:40:45 +02:00
Mattes D
fa17fb9b80 Debuggers: Added inheritance testing.
This allows detailed testing of #1789 - bad Lua bindings for class inheritance.
2015-03-18 16:07:15 +01:00
Mattes D
c41183d450 Debuggers: Added a cBoundingBox test. 2015-03-18 13:50:43 +01:00
Mattes D
a22a81ef4b Debuggers plugin: Disabled WECUI manipulation. 2015-03-01 12:12:10 +01:00
Mattes D
b9e4fe0a3b Added cCryptoHash namespace to Lua API. 2015-02-21 09:41:14 +01:00
Matyas Dolak
42162b5193 Debuggers: Logging the os.clock for console-scheduled tasks.
This performs the test for #1717.
2015-01-27 13:28:01 +01:00
Mattes D
6cd7e52eb7 Exported cWorld:PrepareChunk to Lua API, test in Debuggers. 2014-12-12 13:32:52 +01:00
Mattes D
1142879cc8 Debuggers: Added loadchunk and preparechunk commands.
preparechunk is not working yet because the required API is missing.
2014-12-11 21:21:58 +01:00
Mattes D
2a4ad3a475 Debuggers: Changed to use Info.lua file. 2014-12-11 21:21:57 +01:00
Mattes D
7f8118e0cb cWorld: Fixed scheduler.
Fixes #1534.
Added a test case into the Debuggers plugin.
2014-10-13 14:49:18 +02:00
Howaner
4b38e077cf Merge branch 'master' into EntityCustomName
Conflicts:
	src/ClientHandle.cpp
	src/ClientHandle.h
	src/Protocol/Protocol.h
	src/Protocol/Protocol125.cpp
	src/Protocol/Protocol125.h
	src/Protocol/Protocol17x.cpp
	src/Protocol/Protocol17x.h
	src/Protocol/ProtocolRecognizer.cpp
	src/Protocol/ProtocolRecognizer.h
	src/World.cpp
	src/World.h
2014-09-23 14:39:49 +02:00
Howaner
ccaec8f424 Fixed wrong url in the debuggers plugin 2014-09-17 20:28:30 +02:00
madmaxoft
1b9edb0279 Debuggers: Reviewed and fixed the Pickups and Poof commands.
Now they're confirmed working.
2014-09-03 23:05:49 +02:00
madmaxoft
5fa1a7fa22 Debuggers: Added a test code for ForEachEntityInBox().
Currently untested, may not run, may crash.
2014-09-03 17:02:16 +02:00
Howaner
c8953d165c Added a custom name test to the debuggers plugin. 2014-09-02 19:13:36 +02:00
Mattes D
fe3d8fd810 Debuggers: Added a testcase for OnProjectileHitBlock.
This is a test for #1326.
2014-08-27 15:41:29 +03:00
madmaxoft
af202c2363 Debuggers: Disabled UUID and RankMgr tests. 2014-08-09 22:55:38 +02:00
madmaxoft
251f0d5b97 Debuggers: Simple cRankManager test case. 2014-08-08 23:13:43 +02:00
madmaxoft
f5aaf52210 Debuggers: Added a Name-from-UUID cMojangAPI test. 2014-08-03 22:04:51 +02:00
madmaxoft
8b519bf6e2 MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). 2014-07-31 10:02:50 +02:00
madmaxoft
afef7a79d7 Debuggers: Updated for the new cMojangAPI changes. 2014-07-30 13:56:30 +02:00
madmaxoft
b6677efecd Debuggers: Added an example for cClientHandle:GetUUIDsFromPlayerNames(). 2014-07-28 17:14:23 +02:00
madmaxoft
0346ab15ad Debuggers: Optimized and commented the /rmitem handler. 2014-07-18 23:51:15 +02:00
Howaner
51b91befbd Added RemoveItem() function to the player inventory. 2014-07-18 23:11:59 +02:00
madmaxoft
3b7e0969b9 Debuggers: Added forced chunk ticking test.
Ref.: #1160
2014-07-10 18:19:05 +02:00
madmaxoft
4306092753 Debuggers: Fixed the Blaze rod query tool. 2014-06-24 07:05:49 +02:00
STRWarrior
4c757de9ff Added OnProjectileHitBlock example in Debuggers 2014-06-02 11:54:45 +02:00
madmaxoft
67d7ad8689 Debuggers: Added a Base64 API roundtrip test. 2014-04-02 11:58:19 +02:00
madmaxoft
8126d9e66e Console logging supports cCompositeChat as its parameters. 2014-03-31 22:51:14 +02:00
madmaxoft
7cc44d4d8b Debuggers: Deactivated the chunk generator callback. 2014-03-28 13:34:32 +01:00
madmaxoft
38aad32a8b Debuggers: Using binary file mode for .schematics. 2014-03-18 13:54:32 +01:00
madmaxoft
4a5bea159f Debuggers: Added a test for WE selection API.
This tests mc-server/WorldEdit#34.
2014-03-15 08:38:15 +01:00
madmaxoft
f6aaeb74a9 Debuggers: Added a test of the cBlockArea string-serialization. 2014-03-07 09:18:10 +01:00
madmaxoft
ab30d94b2f Debuggers: Added simple test for cCompositeChat. 2014-03-04 22:17:47 +01:00
madmaxoft
71b6fd3da9 Debuggers: Added a test for the cWorld:SetAreaBiome() function. 2014-02-18 13:49:23 +01:00
madmaxoft
3582c4bc60 Debuggers: Added code to test cCompositeChat functionality.
Ref.: #678
2014-02-15 23:17:50 +01:00
madmaxoft
147b9ed694 Debuggers: Added a WebAdmin StressTest page.
This page reloads content from the WebAdmin as fast as possible.
2014-02-15 16:30:28 +01:00
madmaxoft
90d68c57e4 Debuggers: Updated messaging functions 2014-02-11 08:54:29 +01:00
madmaxoft
2b1506de9c Debuggers: Updated to reflect the new API. 2014-02-10 22:47:32 +01:00
madmaxoft
1447d6d0dc Debuggers: Added a cLuaChunkStay test code. 2014-02-09 20:40:20 +01:00
madmaxoft
4ef6c56f32 Debuggers: Disabled testing plugin calls. 2014-02-09 18:56:43 +01:00
madmaxoft
2a018cfa49 Implemented cPluginManager:CallPlugin() API.
This function supersedes cPlugin:Call(), is safer to use in regards to multithreading and once again removes the need for the cPlugin class being exported at all.
2014-01-21 23:00:35 +01:00
madmaxoft
41618bf242 Changed the cWorld::ScheduleTask() signature.
Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly.
2014-01-19 23:49:19 +01:00
madmaxoft
00af5d4d6e Debuggers: Test code for WECUI plugin messaging. 2014-01-09 14:26:44 +01:00
madmaxoft
e353f29d4a Plugin messages are received and handed to plugins.
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-07 17:47:20 +01:00