1
0
Commit Graph

108 Commits

Author SHA1 Message Date
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
madmaxoft
84bf32f857 Fixed cPluginManager:AddHook() binding.
Fixes #401. Old formats are still accepted, for compatibility reasons.
2014-01-05 15:46:45 +01:00
madmaxoft
248ba1ea9f Added HOOK_PLUGINS_LOADED.
This fixes #482.
2013-12-29 12:51:58 +01:00
madmaxoft
63753c5e84 Added cFile:GetFolderContents().
Fix 162.
2013-11-22 20:11:24 +01:00
madmaxoft
281bf8f90b Added cRoot:GetFurnaceFuelBurnTime() to Lua API. 2013-11-22 16:50:03 +01:00
madmaxoft
07a1de8ebb Debuggers: Added a test harness for cRoot:GetFurnaceRecipe().
The "/fr" command lists the furnace recipe for the currently held item.
2013-11-22 12:26:39 +01:00
madmaxoft
fed37bca4d Debuggers: Test harness for cWorld:ForEachBlockEntityInChunk().
The fill command will fill all empty slots in block entities with containment with gold nuggets, one per slot.
2013-11-20 21:54:37 +01:00
Daniel O'Brien
b3bb34974f updated plugin again... 2013-11-16 22:17:46 +11:00
Daniel O'Brien
25ccc33252 updated plugin 2013-11-16 22:05:34 +11:00
Daniel O'Brien
b72ced3164 removed SpendExperience and changed AddExperience to handle removing Xp 2013-11-16 22:00:45 +11:00
Daniel O'Brien
04dff4882a finished #143 I believe 2013-11-16 02:23:50 +11:00