1
0
Commit Graph

4362 Commits

Author SHA1 Message Date
madmaxoft
010e64be11 Removed a useless check in cLuaState. 2014-02-04 22:24:03 +01:00
madmaxoft
5cdbb6683f Fixed a warning in cItem in gcc.
Constructor member order...
2014-02-04 22:18:59 +01:00
madmaxoft
835a59b8fc Protocol 1.7 uses char for blockface.
That should fix #644 on RasPi.
2014-02-04 22:15:01 +01:00
Mattes D
dad49c6fdd Merge pull request #644 from worktycho/warningfixes
Improved Type safety of eBlockFace
2014-02-04 13:10:44 -08:00
Tycho
1f26c9f5ab Fix gcc not having operator ++ on enums 2014-02-04 11:26:39 -08:00
Tycho
bee7de25f1 Ensure -Wall is enabled 2014-02-04 11:15:41 -08:00
Tycho
8464f689ea Improved Type safety of eBlockFace
May Fix #640
2014-02-04 10:59:05 -08:00
madmaxoft
634331fd3b Fixed chest placement.
Fixes #624.
2014-02-04 18:38:10 +01:00
madmaxoft
dd1d85c8ad Fixed indent from previous commits. 2014-02-04 18:27:05 +01:00
Mattes D
0ceb0ef607 Merge pull request #635 from tonibm19/master
Exported Item:IsEnchantable and Monster:MoveToPosition to Lua API
2014-02-04 09:23:03 -08:00
tonibm19
f3f4c5b110 Fixed indentation 2014-02-04 17:31:17 +01:00
tonibm19
a845b9abbb Blank lines and indentation.
Also removed GetClosestPlayer documentation
2014-02-04 17:29:36 +01:00
madmaxoft
3dc1452790 Fixed calling plugins with userdata params. 2014-02-04 14:26:36 +01:00
madmaxoft
1dbfd7eb76 Removed a leftover debug message. 2014-02-04 11:37:34 +01:00
madmaxoft
69c85e5169 Fixed error handling in cPluginManager:CallPlugin() API.
Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
2014-02-04 10:29:10 +01:00
madmaxoft
aa19f4fd04 Improved error resistance in cPluginManager:CallPlugin().
Fixed: If the call failed, all the next plugin calls would fail as well.
2014-02-04 09:18:32 +01:00
madmaxoft
1bd939c4d4 InfoDump: Fixed export for undeclared command param combinations. 2014-02-04 00:16:26 +01:00
Tiger Wang
d1b5f0859a Greatly improved TNT propulsion chances 2014-02-03 22:55:15 +00:00
Tiger Wang
01c723e89e Pickup constructor no longer exported
It didn't do anything without Initialize() exported, anyway, pickups are
spawned with cWorld.
2014-02-03 22:51:26 +00:00
Tiger Wang
3583a58cf7 Added SendMessageXXX() to cPlayer
As requested by @bearbin, one no longer needs to download a file that
links to Core. The server does it! Hopefully this encourages standards
compliance.
2014-02-03 22:46:56 +00:00
Mattes D
41b8315f53 Merge pull request #636 from worktycho/warningfixes
Increased Type safety of Biomes
2014-02-03 14:42:31 -08:00
Tiger Wang
d82f3102e5 Partial fix for #130 2014-02-03 22:26:16 +00:00
Tiger Wang
fad90081d2 Fixed #491 2014-02-03 22:25:16 +00:00
Tiger Wang
6de8c09fe0 Fixed a crash bug 2014-02-03 22:24:22 +00:00
Mattes D
351e925e3d Merge pull request #633 from mc-server/More_Sideways_Blocks
More sideways blocks.
2014-02-03 14:01:22 -08:00
STRWarrior
70e48960ac Named the different quartz block. 2014-02-03 22:30:32 +01:00
Tiger Wang
a3759c1462 Merge remote-tracking branch 'origin/master' into playerimprovements 2014-02-03 21:25:42 +00:00
Tiger Wang
3fc848c95a Fixed #626
* Fixed consumption of carrots and potatoes
2014-02-03 21:16:26 +00:00
Tiger Wang
6bbba2644d Fixed issues with farmland
* Fixed farmland reversion checks not taking into account carrots and
potatoes
* Fixed #623
2014-02-03 21:14:52 +00:00
Tiger Wang
b5e898a608 Server now handles join messages also
* Revised as well hook documentation
2014-02-03 21:12:44 +00:00
Tycho
4b19247305 Fogot to save Biogen 2014-02-03 13:07:38 -08:00
Tycho
d9fb83300c Fixed Compile errors
c++11 introduces scoped enums, so the code didn't fail in clang
2014-02-03 13:01:12 -08:00
Tycho
f8881622a4 Removed unused lookups 2014-02-03 12:31:18 -08:00
Tycho
80807eec2c Increased Type safety of Biomes
Changed a number of funcictions from using integers to store biomes to using EMCSBiome
Note that switching from an int to an Enum is a non-breaking chang to the lua bindings
2014-02-03 12:26:17 -08:00
tonibm19
df8b589b31 Not exporting FindClosestPlayer 2014-02-03 21:06:43 +01:00
tonibm19
defb001ad7 Fixed compilation 2014-02-03 21:05:10 +01:00
tonibm19
0beae3a427 Added documentation 2014-02-03 21:02:32 +01:00
tonibm19
c2e7dd34d9 Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua API 2014-02-03 20:52:11 +01:00
STRWarrior
347488a9a2 Fixed some issues.
Meta wasn't set if the block wasn't a pillar.
Fixed typo.
2014-02-03 20:34:05 +01:00
STRWarrior
0c29c52ff3 Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks. 2014-02-03 20:22:45 +01:00
STRWarrior
5ba46ebc21 This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars. 2014-02-03 20:08:38 +01:00
Mattes D
2450d0467f Merge pull request #623 from mc-server/tnt
TNT improvements
2014-02-03 10:55:23 -08:00
madmaxoft
c9916cd8c2 Fixed socket leaking. 2014-02-03 17:07:46 +01:00
Tiger Wang
e3b9cdebc9 Inversed condition 2014-02-03 14:01:47 +00:00
madmaxoft
0b384198e5 SocketThreads: Fixed sending to closed socket. 2014-02-03 10:39:10 +01:00
madmaxoft
c2c1639af8 Groups.ini can contain spaces around commas in values.
This includes Permissions, Inherits and Commands.
Also fixed an unlikely but possible crash with group colors.
2014-02-03 10:39:09 +01:00
Mattes D
b090547c17 Merge pull request #602 from mc-server/improvementsandfixes
Redstone crash fix and current console line replace function
2014-02-02 22:02:25 -08:00
Tiger Wang
c1c7936c68 Fixed multiple invalid permission nodes
New players can build as default now
2014-02-02 22:55:41 +00:00
Tiger Wang
2d0b31e7b6 Merge branch 'master' of https://github.com/mc-server/MCServer 2014-02-02 22:09:03 +00:00
Tiger Wang
ac03c51997 Fixed #624 2014-02-02 22:08:57 +00:00