summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Debuggers/Debuggers.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-04-23Refactored ManualBindings' callbacks using templates.Mattes D1-1/+1
This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889.
2015-04-23Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().Mattes D1-0/+34
Both functions are exported as static.
2015-04-11cFile:ChangeFileExt now accepts extensions with leading dot, too.Mattes D1-0/+9
2015-04-11Added more cFile API functions.Mattes D1-5/+20
GetLastModificationTime, GetPathSeparator() and GetExecutableExt()
2015-04-10Added proper implementation of cFile::ChangeFileExt().Mattes D1-0/+13
2015-03-18Debuggers: Added inheritance testing.Mattes D1-0/+75
This allows detailed testing of #1789 - bad Lua bindings for class inheritance.
2015-03-18Debuggers: Added a cBoundingBox test.Mattes D1-0/+55
2015-03-01Debuggers plugin: Disabled WECUI manipulation.Mattes D1-1/+2
2015-02-21Added cCryptoHash namespace to Lua API.Mattes D1-12/+48
2015-01-27Debuggers: Logging the os.clock for console-scheduled tasks.Matyas Dolak1-3/+6
This performs the test for #1717.
2014-12-12Exported cWorld:PrepareChunk to Lua API, test in Debuggers.Mattes D1-1/+6
2014-12-11Debuggers: Added loadchunk and preparechunk commands.Mattes D1-0/+77
preparechunk is not working yet because the required API is missing.
2014-12-11Debuggers: Changed to use Info.lua file.Mattes D1-33/+9
2014-10-13cWorld: Fixed scheduler.Mattes D1-3/+16
Fixes #1534. Added a test case into the Debuggers plugin.
2014-09-17Fixed wrong url in the debuggers pluginHowaner1-1/+1
2014-09-03Debuggers: Reviewed and fixed the Pickups and Poof commands.madmaxoft1-10/+17
Now they're confirmed working.
2014-09-03Debuggers: Added a test code for ForEachEntityInBox().madmaxoft1-0/+49
Currently untested, may not run, may crash.
2014-09-02Added a custom name test to the debuggers plugin.Howaner1-0/+17
2014-08-27Debuggers: Added a testcase for OnProjectileHitBlock.Mattes D1-0/+13
This is a test for #1326.
2014-08-09Debuggers: Disabled UUID and RankMgr tests.madmaxoft1-2/+2
2014-08-08Debuggers: Simple cRankManager test case.madmaxoft1-0/+13
2014-08-03Debuggers: Added a Name-from-UUID cMojangAPI test.madmaxoft1-0/+7
2014-07-31MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft1-1/+31
2014-07-30Debuggers: Updated for the new cMojangAPI changes.madmaxoft1-1/+10
2014-07-28Debuggers: Added an example for cClientHandle:GetUUIDsFromPlayerNames().madmaxoft1-0/+31
2014-07-18Debuggers: Optimized and commented the /rmitem handler.madmaxoft1-4/+8
2014-07-18Added RemoveItem() function to the player inventory.Howaner1-4/+36
2014-07-10Debuggers: Added forced chunk ticking test.madmaxoft1-0/+28
Ref.: #1160
2014-06-24Debuggers: Fixed the Blaze rod query tool.madmaxoft1-2/+2
2014-06-02Added OnProjectileHitBlock example in DebuggersSTRWarrior1-1/+13
2014-04-02Debuggers: Added a Base64 API roundtrip test.madmaxoft1-4/+23
2014-03-31Console logging supports cCompositeChat as its parameters.madmaxoft1-0/+9
2014-03-28Debuggers: Deactivated the chunk generator callback.madmaxoft1-1/+3
2014-03-18Debuggers: Using binary file mode for .schematics.madmaxoft1-2/+2
2014-03-15Debuggers: Added a test for WE selection API.madmaxoft1-1/+39
This tests mc-server/WorldEdit#34.
2014-03-07Debuggers: Added a test of the cBlockArea string-serialization.madmaxoft1-0/+38
2014-03-04Debuggers: Added simple test for cCompositeChat.madmaxoft1-0/+15
2014-02-18Debuggers: Added a test for the cWorld:SetAreaBiome() function.madmaxoft1-0/+40
2014-02-15Debuggers: Added code to test cCompositeChat functionality.madmaxoft1-0/+23
Ref.: #678
2014-02-15Debuggers: Added a WebAdmin StressTest page.madmaxoft1-13/+76
This page reloads content from the WebAdmin as fast as possible.
2014-02-11Debuggers: Updated messaging functionsmadmaxoft1-4/+9
2014-02-10Debuggers: Updated to reflect the new API.madmaxoft1-15/+9
2014-02-09Debuggers: Added a cLuaChunkStay test code.madmaxoft1-0/+72
2014-02-09Debuggers: Disabled testing plugin calls.madmaxoft1-1/+1
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft1-1/+34
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-19Changed the cWorld::ScheduleTask() signature.madmaxoft1-0/+40
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-09Debuggers: Test code for WECUI plugin messaging.madmaxoft1-0/+17
2014-01-07Plugin messages are received and handed to plugins.madmaxoft1-23/+12
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-05Fixed cPluginManager:AddHook() binding.madmaxoft1-0/+19
Fixes #401. Old formats are still accepted, for compatibility reasons.
2013-12-29Added HOOK_PLUGINS_LOADED.madmaxoft1-0/+9
This fixes #482.
2013-11-22Added cFile:GetFolderContents().madmaxoft1-0/+11
Fix 162.
2013-11-22Added cRoot:GetFurnaceFuelBurnTime() to Lua API.madmaxoft1-1/+20
2013-11-22Debuggers: Added a test harness for cRoot:GetFurnaceRecipe().madmaxoft1-0/+21
The "/fr" command lists the furnace recipe for the currently held item.
2013-11-20Debuggers: Test harness for cWorld:ForEachBlockEntityInChunk().madmaxoft1-19/+59
The fill command will fill all empty slots in block entities with containment with gold nuggets, one per slot.
2013-11-16updated plugin again...Daniel O'Brien1-1/+1
2013-11-16updated pluginDaniel O'Brien1-1/+1
2013-11-16removed SpendExperience and changed AddExperience to handle removing XpDaniel O'Brien1-1/+1
2013-11-15finished #143 I believeDaniel O'Brien1-0/+11
2013-11-15added cProtocol function to pass xp to clientDaniel O'Brien1-1/+1
2013-11-15Debuggers: Removed the old OnChunkGenerated code testing the cBlockArea writing.madmaxoft1-15/+0
2013-11-15Debuggers: Added the BlockEntity test harness when generating chunks.madmaxoft1-0/+22
2013-11-14cProtocol add SendExperience() and debuggingDaniel O'Brien1-0/+6
2013-10-28Debuggers: Fixed after the cWindow API change.madmaxoft1-2/+2
2013-09-07Implemented ghast fireball and firecharge projectilesmadmaxoft1-0/+16
2013-09-07Debuggers plugin: Removed unneeded globalmadmaxoft1-4/+2
2013-08-22Debuggers: added a test cmd to spawn arrows.madmaxoft1-0/+18
2013-08-21Updated the Debuggers plugin to the #121 API.madmaxoft1-9/+33
2013-08-19Debuggers: Added continuous hunger reporting.madmaxoft1-20/+49
Showcases the OnWorldTick() hook to fire events at regular intervals. Will be used for debugging the issues related to hyper-hunger.
2013-08-19Debuggers plugin: Added details about pickups to the "/le" command.madmaxoft1-1/+7
2013-08-18Added cWindow property manipulation API.madmaxoft1-0/+9
Now enchantment table and furnace properties can be set by a plugin
2013-08-07Debuggers plugin: added the "/spidey" command.madmaxoft1-11/+43
This showcases the cLineBlockTracer functionality exposed to Lua.
2013-08-02Implemented OnPlayerRightClickingEntity() hookmadmaxoft1-1/+11
Fixes FS 425
2013-07-30Changed name and put the whitespace back, as per xoft's suggestion.Alexander Harkness1-1/+11
2013-07-30Removed old features and fix #25.Alexander Harkness1-55/+0
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-744/+744
2013-07-28Debuggers: added the /starve and /fl (foodlevel) commands for manipulating player food levelmadmaxoft1-0/+27
2013-07-12First implementation of movement-related hunger and APImadmaxoft@gmail.com1-2/+41
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com1-0/+36
Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01Added DamageType translation to APImadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1639 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22Plugins can modify message in the OnChat() hook handler.madmaxoft@gmail.com1-0/+9
FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1546 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com1-3/+3
A player disconnecting will now force all windows to close, not respecting any plugin's overrides. http://forum.mc-server.org/showthread.php?tid=1146&pid=8350#pid8350 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1543 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1542 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02Enchantments are now stored in Anvil world and in player inventorymadmaxoft@gmail.com1-1/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02Enchantments: API and sending to clientmadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-31Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slotsmadmaxoft@gmail.com1-0/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1535 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1534 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com1-5/+64
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Implemented droppersmadmaxoft@gmail.com1-13/+12
Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-25Added all new bindings, refactored Debuggers; new Debuggers function.madmaxoft@gmail.com1-104/+188
Rclk with a redstone torch on a dispenser causes the dispenser to spit out one item each tick. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1509 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-4/+4
This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19Inventory changes made by plugins are now propagated to the clientmadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19Debuggers: a simple test of armor slot settingmadmaxoft@gmail.com1-2/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1494 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19Debuggers: sorted things into separate functions, commented out most of them; added ForEachEntity() testing - list all and kill all entities.madmaxoft@gmail.com1-33/+130
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1492 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-09Added Expat and LuaExpat, XML parsing now available in the API.madmaxoft1-0/+27
FS #336 Windows version only, Linux to be fixed soon. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07Added SQLite and LuaSQLite, Lua plugins can now use SQLite.madmaxoft@gmail.com1-0/+30
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-26BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.madmaxoft@gmail.com1-0/+31
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-25BlockArea: Implemented rotation without meta manipulationmadmaxoft@gmail.com1-0/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1317 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-25BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com1-0/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1316 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-03Debuggers plugin no longer performs generator / blockarea interface testing by default, but writes the current API.txt file.madmaxoft@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1245 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-13Implemented the cBlockArea:RelLine() API function.madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1211 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-11More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com1-0/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1208 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-10Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com1-0/+14
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1207 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-09Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com1-4/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1203 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-08cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com1-2/+18
A simple example is provided in the Debuggers plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1201 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com1-3/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1199 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com1-0/+19
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-06cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com1-0/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1195 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-06Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com1-1/+30
Also fixed cBlockArea:MakeIndex(), the indexing was wrong. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1194 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-02Debuggers plugin dumps entire API into a file, API.txt. Enabled by default.madmaxoft@gmail.com1-6/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-27Debuggers: added some filtering to the API output, but still not good enough.madmaxoft@gmail.com1-7/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1177 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-26Added a function to dump all available Lua API functions into the Debuggers plugin.madmaxoft@gmail.com1-0/+23
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1173 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-13Forgotten files for previous merge commit (rev 1139)madmaxoft@gmail.com1-6/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1140 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21Added TakeDamage logging to the Debuggers plugin.madmaxoft@gmail.com1-0/+11
http://forum.mc-server.org/showthread.php?tid=625&pid=5720#pid5720 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1089 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16Turned sTick plugin into general Debuggers plugin, added the Blaze Rod Of Enquiry (rclk with a blaze rod prints out the blocktypes and metas)madmaxoft@gmail.com1-0/+69
git-svn-id: http://mc-server.googlecode.com/svn/trunk@968 0a769ca7-a7f5-676a-18bf-c427514a06d6