1
0
Commit Graph

2053 Commits

Author SHA1 Message Date
Daniel O'Brien
b72ced3164 removed SpendExperience and changed AddExperience to handle removing Xp 2013-11-16 22:00:45 +11:00
Daniel O'Brien
3595392937 fixed bug and added SpendExperience() 2013-11-16 21:38:57 +11:00
Daniel O'Brien
c0c8fe1bcd fix possible threadlock issue, changed function names to be closer to standard 2013-11-16 20:29:57 +11:00
Daniel O'Brien
a94a6d48a0 alignment fixes :) 2013-11-16 02:32:04 +11:00
Daniel O'Brien
04dff4882a finished #143 I believe 2013-11-16 02:23:50 +11:00
Daniel O'Brien
5e3614ce87 Merge remote-tracking branch 'upstream/master' into playerxp 2013-11-16 00:07:42 +11:00
Daniel O'Brien
1b2e6e7473 added cProtocol function to pass xp to client 2013-11-15 22:42:09 +11:00
madmaxoft
ee1ac65e54 cChunkDesc::GetBlockEntity() re-creates block entity when blocktype doesn't match. 2013-11-15 11:33:24 +01:00
madmaxoft
49d6afd501 Removed cBlockEntity:CreateByBlockType() from the Lua API.
Plugins cannot be allowed to create block entities, that would result in memory leaks.
2013-11-15 10:15:27 +01:00
madmaxoft
90fc51c4d0 cRoot::SaveAllChunks() doesn't wait for the save (deadlocks).
Rather, it only queues the save task onto each world's tick thread.
2013-11-15 10:13:32 +01:00
madmaxoft
ebb2ccaa26 Removed BlockEntities' constructors from the API.
Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating).
2013-11-15 09:49:56 +01:00
Daniel O'Brien
af17faac45 Merge remote-tracking branch 'upstream/master' into playerxp 2013-11-15 18:25:20 +11:00
Daniel O'Brien
f6e16ce150 cProtocol add SendExperience() and debugging 2013-11-15 08:35:02 +11:00
Samuel Barney
570aedb927 Fixed growing issue with crops. 2013-11-14 09:53:09 -07:00
madmaxoft
4533fc34ec Added cNoteEntity to Lua API.
Ref. #228.
2013-11-14 17:14:54 +01:00
madmaxoft
efb6f598bc Exported cJukeboxEntity to Lua API.
Ref. #228
2013-11-14 16:05:55 +01:00
Daniel O'Brien
ea778c7027 fixed XpGetPercentage 2013-11-15 01:46:41 +11:00
madmaxoft
082573771f Added cSignEntity into API, added cChunkDesc:GetBlockEntity().
This fixes both #228 and #347.
2013-11-14 15:37:09 +01:00
Mattes D
79a98627a2 Merge pull request #344 from marmot21/playerxp
PlayerXp
2013-11-13 23:04:43 -08:00
Daniel O'Brien
dbc2694b0f fixed function name 2013-11-14 16:48:14 +11:00
Daniel O'Brien
21bd1d74a1 luaExport 2013-11-14 16:20:27 +11:00
madmaxoft
99da44095a Fix for NULL arithmetic compiler warning in Linux. 2013-11-13 22:54:01 +01:00
madmaxoft
a8cf6edab0 Merge remote-tracking branch 'origin/WolfUpdate'
Conflicts:
	source/Mobs/Wolf.h
2013-11-13 22:38:34 +01:00
Daniel O'Brien
d5c6d0666e fixed comment 2013-11-14 07:12:16 +11:00
Daniel O'Brien
b0be6cb02d changed function name 2013-11-14 07:07:57 +11:00
Daniel O'Brien
8c6bdca425 minor changes 2013-11-14 07:02:53 +11:00
madmaxoft
5ebbdb4d51 Implemented the "help" console command in the server.
Fixes #42.
2013-11-13 20:40:18 +01:00
Daniel O'Brien
c17f77cf2a changed name convention 2013-11-14 04:41:36 +11:00
Daniel O'Brien
bf2dc38f35 Fixed problems with code style etc 2013-11-14 04:25:47 +11:00
madmaxoft
1701b628cb Console "reload" command implemented in MCServer, rather than in a plugin.
First part of #42.
2013-11-13 15:56:40 +01:00
madmaxoft
991f7d2315 cPluginManager:BindCommand() and :BindConsoleComman() now report full Lua stacktrace on failure. 2013-11-13 15:54:56 +01:00
madmaxoft
ceee25bd11 Fixed compiler warning. 2013-11-13 15:53:03 +01:00
madmaxoft
a8ad7c2383 PluginManager::Bind displays more information in the error message. 2013-11-13 15:50:24 +01:00
Daniel O'Brien
39f6b12b62 Merge remote-tracking branch 'upstream/master' into playerxp 2013-11-14 01:16:23 +11:00
Daniel O'Brien
875bca5fb9 Player Xp, includes get/set and addExperience 2013-11-14 01:07:24 +11:00
Daniel O'Brien
fc0b6adf51 Player Xp, includes get/set and addExperience 2013-11-14 01:05:58 +11:00
Mattes D
f0febc2fca Merge pull request #339 from nesco/master
Bug correction
2013-11-13 06:04:24 -08:00
nesco
7d615ee3ba Bug correction
Syntax error
2013-11-13 14:57:54 +01:00
Daniel O'Brien
3b47a07bac Player Xp 2013-11-14 00:50:47 +11:00
Mattes D
8efc04328d Merge pull request #337 from nesco/master
Updating enchantments list and ID/Metas List and some properties to the 1.7.2 version of Minecraft
2013-11-13 05:34:13 -08:00
nesco
e671f29d85 compatibility update 2013-11-13 14:29:18 +01:00
madmaxoft
293051eca8 Merge remote-tracking branch 'origin/fixes'. 2013-11-13 11:08:51 +01:00
nesco
f99835c095 compatibility update 2013-11-13 08:19:28 +01:00
nesco
ffe4de51c7 Update Enchantments.cpp 2013-11-13 08:17:26 +01:00
nesco
e4d77bc3fd Update Enchantments.h 2013-11-13 08:16:35 +01:00
Tiger Wang
347162a82f Bundled fixes [SEE DESC]
* BoundingBox now returns FACE_NONE
+ Arrows can be picked up
* Arrows dug up resume physics simulations
* Added sound effects for bows, lava to stone, and arrows
* Fixed SoundParticleEffect on <1.7 protocols
2013-11-12 21:43:20 +00:00
nesco
d58723cc4d Delete BiomeID.h 2013-11-12 22:11:57 +01:00
nesco
ce05498311 Sorting by Name on g_BlockTransparent 2013-11-12 22:08:33 +01:00
nesco
4d082d1190 BiomeFile, if not needed, will be removed 2013-11-12 22:03:48 +01:00
nesco
b6a9394d7a Update BlockID.cpp 2013-11-12 22:01:30 +01:00