1
0
Commit Graph

1200 Commits

Author SHA1 Message Date
Anthony Birkett
51891b766c Working as a Windows service. Starts and stops correctly.
Added "/service" switch, to prompt the binary to attempt starting as a service.
Added service* methods, to control service startup.
Split up main() into universalMain(), which contains the startup code for both service and normal start.
Added cRoot::m_RunningAsService bool,
Added cRoot::SetStopping(bool) to allow a stop request to be sent by the service controller.
Added cBlockIDMap::init() to avoid loading items.ini before the working directory has been set.
2015-04-01 00:03:37 +01:00
Mattes D
d3838d40d2 APIDump: Linkified eShrapnelLevel. 2015-03-21 22:24:30 +01:00
STRWarrior
785201a6f3 APIDump: Used suggestions 2015-03-21 22:02:24 +01:00
STRWarrior
20a2e36087 APIDump: Improved documentation of cWorld:GetTNTShrapnelLevel
Fixed APIDump loading
2015-03-21 22:02:22 +01:00
STRWarrior
24aad0dc45 APIDump: Gave shrapnellevel it's own constantgroup 2015-03-21 22:02:10 +01:00
STRWarrior
db0da55021 APIDump: Fixed typo in cWorld:BroadcastEntityAnimation documentation 2015-03-21 22:01:20 +01:00
STRWarrior
5a2b38a8b8 APIDump: Improved cWorld:GetMaxViewDistance documentation 2015-03-21 22:01:16 +01:00
STRWarrior
7df58d8b21 APIDump: Improved cBlockArea.msDifference documentation 2015-03-21 22:01:12 +01:00
STRWarrior
6251bee670 APIDump: Documented function in cChunkDesc 2015-03-21 22:01:08 +01:00
STRWarrior
df4959b0f4 APIDump: Documented functions & Variables in cBlockInfo 2015-03-21 22:01:04 +01:00
STRWarrior
37f53d0f78 APIDump: Documented missing constant in cBlockArea 2015-03-21 22:00:58 +01:00
STRWarrior
538cde6bbb APIDump: Documented all undocumented functions in cWorld 2015-03-21 22:00:52 +01:00
Mattes D
13ccd1adb0 Updated Core. 2015-03-20 12:06:01 +01:00
Mattes D
abd3f06a76 APIDump: Added inheritance checking. 2015-03-19 21:29:23 +01:00
Mattes D
e301ff48fa APIDump: Removed the tolua.cast() example.
The example was all wrong and the function is normally not needed at all (#1789).
Fixes #1787
2015-03-19 12:57:00 +01: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
f9991c9f92 Merge pull request #1761 from mc-server/NetworkIPEnum
cNetwork: Added EnumLocalIPAddresses() function.
2015-03-12 13:35:45 +01:00
flx5
d130696e95 Fixes #493 and #490 2015-03-11 04:14:17 +01:00
joshi07
3cef52a7f7 Added OnEntityTeleport.lua hook to APIDump 2015-03-05 20:08:32 +01:00
joshi07
a5e1f970a6 Added description to APIDump for OnEntityTeleport 2015-03-05 19:44:15 +01:00
joshi07
f71b1fe799 Added OnTeleportEntity hook for plugins.
Plugins may or may not allow teleport to the new position.
Updated the HookNotify plugin with it.
2015-03-05 11:52:42 +01:00
Mattes D
a22a81ef4b Debuggers plugin: Disabled WECUI manipulation. 2015-03-01 12:12:10 +01:00
STRWarrior
056b42cb94 Added documentation for CompressStringZLIB
There was no info about the factor.
2015-02-23 18:43:01 +01:00
STRWarrior
174f508021 Documented cStringCompression 2015-02-23 12:53:34 +01:00
STRWarrior
f073636805 Documented CompressString and UncompressString 2015-02-22 17:40:44 +01:00
Mattes D
c758482ece cNetwork: Added EnumLocalIPAddresses() function. 2015-02-22 10:51:16 +01:00
Mattes D
006b1afa9e Merge pull request #1758 from mc-server/CryptoHashAPI
Added cCryptoHash namespace to Lua API
2015-02-21 12:19:07 +01:00
Mattes D
b9e4fe0a3b Added cCryptoHash namespace to Lua API. 2015-02-21 09:41:14 +01:00
Mattes D
e39d2d4605 APIDump: Added the UDP zero port policy. 2015-02-20 16:14:44 +01:00
Mattes D
9c5162041e cNetwork: Added UDP API. 2015-02-20 14:28:05 +01:00
Mattes D
af1a5b36db InfoReg: Fixed MultiCommand return values. 2015-02-18 20:59:50 +01:00
Creaprog
421d370955 Fixed guest.html 2015-02-16 11:40:11 +01:00
Creaprog
3aebe686d7 Fixed guest.html
Fixed syntax.
2015-02-16 11:37:12 +01:00
Alexander Harkness
41e2eaa915 Fixed guest page. 2015-02-16 09:54:02 +00:00
Creaprog
d2fdaf1d5b Fixed login_template.html
Remove "/".
2015-02-15 13:08:44 +01:00
Mattes D
d336a3ea9e Fixed TCP link shutdown.
The shutdown is postponed until there's no more outgoing data in the LibEvent buffers.
2015-02-14 13:55:54 +01:00
Mattes D
557adf3be9 Exported TLS server start on cTCPLink to Lua API. 2015-02-13 23:18:22 +01:00
Mattes D
b8bf795dd1 Exported cTCPLink:Close and :Shutdown() to Lua API. 2015-02-13 18:31:54 +01:00
Mattes D
16636ff6e2 LuaAPI: Added client TLS support for TCP links. 2015-02-12 20:05:55 +01:00
Mattes D
512b1a6b0e Merge pull request #1718 from mc-server/LuaNetworkAPI
Lua Network API
2015-02-07 17:46:16 +01:00
Mattes D
43b68975f7 APIDump: Added client and server examples. 2015-02-07 13:30:45 +01:00
Howaner
d36e8ffd77 Updated IsOnGround() documentation 2015-02-07 10:46:01 +01:00
Mattes D
adf0020cd4 APIDump: Added cNetwork documentation. 2015-02-06 18:44:05 +01:00
Mattes D
d1c9ce2a03 NetworkTest plugin: updated comments and splash loading. 2015-02-04 10:39:48 +01:00
Mattes D
014b96adb3 Exported cServerHandle and cNetwork:Listen to Lua.
Also added an example to the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
17498a97a2 cNetwork: Exported lookup functions to Lua API.
Also added an example in the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
04347084d6 NetworkTest plugin: Added cNetwork:Connect test code. 2015-02-04 08:40:51 +01:00
Mattes D
e8a9f0a5df Turned off echo in Windows script. 2015-01-27 14:53:33 +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
tonibm19
48b0f4daa4 Use cRoot:Get():GetServer():GetNumPlayers() instead of a custom function. 2014-12-30 10:31:16 +01:00
tonibm19
b621fb511f Added player count to webadmin
Now it shows the number of online players near the memory use
2014-12-29 20:21:57 +01:00
Mattes D
f59740b262 APIDump: Added details about client handle in OnServerPing hook. 2014-12-25 00:36:01 +01:00
Mattes D
5609d76ed7 APIDump: Updated the player block placement documentation.
The hooks now have fewer parameters but are called on all player-placed blocks (#1618).
2014-12-24 20:02:51 +01:00
Masy98
6e8e1c6d8d Added Rabbits 2014-12-20 10:31:34 +01:00
Masy98
5cfb6063c3 Fixed Guardians size and health 2014-12-19 16:06:43 +01:00
Masy98
706b9181e6 Merge branch 'master' into entities 2014-12-18 19:32:48 +01:00
Masy98
c836b52dd1 Added Entity Guardian 2014-12-18 19:30:32 +01:00
Mattes D
aff32ba27b Updated Core. 2014-12-16 12:52:34 +01:00
Masy98
5005c01f4c Fixed fence/-gates and door recipes and added baked potato recipe 2014-12-14 16:01:06 +01:00
Alexander Harkness
72b38c284f Merge pull request #1663 from mc-server/APIDumpSize
APIDump Width
2014-12-13 14:39:22 +00:00
STRWarrior
3fb10f064c Made comment in example code smaller
It caused the whole page to extend beyond the max width
2014-12-13 15:34:46 +01:00
STRWarrior
4f2931dd39 Reverted main_APIDump.lua changes 2014-12-13 15:33:51 +01:00
STRWarrior
f62a0e137e Fixed the width sometimes going over the div size 2014-12-13 12:59:23 +01:00
Mattes D
125c70ab63 Updated the Core. 2014-12-12 14:33:11 +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
Jonathan Fabian
a1c6e89273 Fix duplicate commands added to README.md 2014-12-04 23:25:46 -05:00
Howaner
3bf9e978ae Updated core 2014-12-01 16:05:22 +01:00
Howaner
e74ad386f0 Reverted bad .gitignore change 2014-12-01 16:04:49 +01:00
Howaner
bcbd73f7d8 MobSpawner fixes. 2014-12-01 14:58:13 +01:00
Howaner
677dde51bd Merge branch 'master' into MobSpawner
Conflicts:
	MCServer/Plugins/APIDump/APIDesc.lua
2014-12-01 14:43:03 +01:00
Mattes D
36500f88b2 Merge pull request #1624 from mc-server/LuaDeprecating
Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead
2014-12-01 09:50:34 +01:00
Howaner
6adf749164 Merge branch 'master' into MobSpawner 2014-11-30 19:38:52 +01:00
Mattes D
c8384fee39 Merge pull request #1622 from M10360/master
Missing Fuels, Incorrect Smelting Recipe, Duplicate Code, Listing Myself
2014-11-29 22:00:06 +01:00
Howaner
615bca1567 Update core 2014-11-29 16:00:52 +01:00
Howaner
ea20ccaa96 Removed old MobType category. 2014-11-29 15:45:12 +01:00
Howaner
c673eb590f Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead 2014-11-29 15:40:38 +01:00
Howaner
2478e290f9 Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. 2014-11-29 15:20:44 +01:00
M10360
7f190c4ec2 Smelting Netherrack not TallGrass gives you NetherBrickItem. 2014-11-29 01:59:01 -06:00
M10360
23a176057d Added missing fuels. 2014-11-29 01:56:44 -06:00
M10360
ab9c006938 Removed duplicate. 2014-11-29 01:47:13 -06:00
Mattes D
f0266c578e InfoReg: Added a diagnostic for bad Info.lua command info. 2014-11-22 13:31:58 +01:00
Mattes D
9ece37e8f1 Merge pull request #1598 from mc-server/SignEditor
Fixed a security problem with signs.
2014-11-18 08:52:48 +01:00
Mattes D
a63eb1ac6e Merge pull request #1577 from mc-server/ViewDistance
Added a MaxViewDistance option.
2014-11-16 15:13:39 +01:00
Howaner
277151582f Use LastPlacedSign instead of LastPlacedBlock. 2014-11-15 22:36:31 +01:00
Howaner
fe9750136c Updated APIDump 2014-11-15 15:27:41 +01:00
Howaner
8c3c11d6b3 Renamed GetSettedViewDistance() to GetRequestedViewDistance() 2014-11-15 14:27:50 +01:00
Howaner
7120b1a769 APIDump: Fixed example cCompositeChat URL 2014-11-14 22:56:55 +01:00
Howaner
66c4117856 Updated APIDump 2014-11-14 22:55:09 +01:00
Mattes D
58fe37814b Merge branch 'master' of https://github.com/mc-server/MCServer 2014-11-06 08:55:33 +01:00
Lukas Pioch
13b20d6fe2 renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump 2014-11-05 21:57:38 +01:00
Alexander Harkness
dc401e6ff4 Merge pull request #1587 from Ambushed91/WebAdmin
Update V1.0.3
2014-11-05 19:37:09 +00:00
Ambushed91
0fa8c881a6 Update V1.0.9
Removed Time, Scroll-Able Header, Resized contention
2014-11-05 14:20:03 +01:00
Ambushed91
eab829ee37 Update V1.0.3
WebAdmin Fixes
2014-11-05 13:45:15 +01:00
Mattes D
74aef9ea64 WebAdmin: Fixed login template destination address. 2014-11-04 15:22:53 +01:00
Mattes D
dd75330d1e Merge remote-tracking branch 'ambushed/WebAdmin' 2014-11-04 14:54:00 +01:00
Arian
8604978d50 Update template.lua 2014-11-04 00:17:14 +01:00
Arian
b98d0c51de Update template.lua
more to come
2014-10-28 22:12:57 +01:00