summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-12ToLua now generates cLuaState::Push() and GetStackValue()Mattes D11-498/+195
For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs. Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.
2015-05-12Fixed creative click-outsideTiger Wang1-1/+1
* Fixes #1995
2015-05-11Improved hoppersTiger Wang2-27/+16
* Fixes #1994
2015-05-11AllToLua: Removed unneeded virtual method hooks.Mattes D1-481/+7
2015-05-10OnExecuteCommand hook can override the command result (crXXX).Mattes D7-17/+35
2015-05-10Exported cPluginManager:ExecuteConsoleCommand() to Lua API.Mattes D4-16/+76
Fixes #1999.
2015-05-10Call HOOK_EXECUTE_COMMAND even for unknown console commands.Mattes D1-0/+2
This allows plugins such as Aliases to intercept even unknown commands.
2015-05-10StringUtils: Fixed StringSplitWithQuotes().Mattes D1-0/+7
The function would crash when given a string that started with the delimiter.
2015-05-10Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND.Mattes D5-9/+9
Fixes #1996.
2015-05-10Fixed some warnings and logic errors in Monster.cppTiger Wang1-5/+7
2015-05-10PF - Less calcs per tickwiseoldman951-1/+1
2015-05-09Added check against "Type const &" and "Type const *".Mattes D1-0/+4
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D42-104/+115
2015-05-09More style checking.Mattes D78-186/+207
Spaces around some operators are checked.
2015-05-09Rabbit and cooked rabbit now stackablejammet1-1/+3
And corrected the alphabetical ordering.
2015-05-09Fixed remaing pragmasworktycho1-3/+3
2015-05-09clang diagnostic not diagnosticsworktycho1-3/+3
fixed clang pragmas
2015-05-09GetSizeName of cSlime and cMagmaCube is now staticTristan4-4/+4
2015-05-09Fixed compiler warning overrides in Vector3.hWoazboat1-4/+4
2015-05-09Fixed some Visual Studio warningsTiger Wang8-25/+38
2015-05-09Move chunk position accesses after the chunk validity checksworktycho1-2/+4
2015-05-08Spaces in cPathwiseoldman952-0/+2
2015-05-08Added float comparison warning overrides to Vector3::hasNonZeroLengthWoazboat1-7/+16
2015-05-08Ignoring Clang warnings for strict float comparison in Vector::Equals()Woazboat1-1/+11
2015-05-08Changed Vector3 Equals function to avoid using memcmpWoazboat1-5/+1
2015-05-08Tracer::signum function now returns intWoazboat3-25/+29
convert c style casts to c++ static casts Changed fabs() to std::abs()
2015-05-08Check for zero length vector in TraceWoazboat2-4/+15
Added hasNonZeroLength member function to Vector3
2015-05-08Changed Tracer::m_NormalTable to static arrayWoazboat2-8/+23
Was previously instantiated for every trace
2015-05-07Fixed inter-plugin calls.Mattes D2-9/+9
When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield". Fixes #1959.
2015-05-07Fixed #1893Tri1251-0/+1
Quartz ore now stack properly
2015-05-07Big Magma Cube can now spawnTri1252-2/+2
Following the same method as the Slime, Magma Cube can now spawn with the size of 1, 2 or 4.
2015-05-07Fixed the sound issue with the MagmaCubeTri1252-2/+16
-Name of the sound is correctly capitalized -Get the appropriate sound depending on its size
2015-05-07Added support for additional data in the ParticleEffect Packettycho22-19/+310
Also started refactoring how broadcasts are handled
2015-05-06AI - Safer WouldBurnAt()wiseoldman951-3/+8
2015-05-06AI - Better shade coverwiseoldman951-1/+9
2015-05-06Actually empty the open listworktycho1-1/+1
2015-05-06(duplicate) AI - Livestock escape fixed, water jumping fixedwiseoldman953-34/+79
2015-05-06PF - Swimming bugfixwiseoldman951-3/+3
2015-05-06PF - Fixed mobs not reaching leaning playerwiseoldman952-3/+10
2015-05-05Revert "Small code cleanup"worktycho4-62/+45
2015-05-05AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bugwiseoldman952-26/+47
2015-05-05Chmod +x CheckBasicStyle.luawiseoldman951-0/+0
2015-05-04Change visual protocol name to include MCServerjan642-3/+3
2015-05-04Print Build info as part of the crash informationworktycho1-0/+9
2015-05-04Entity improvementsTiger Wang8-265/+224
•Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes
2015-05-03PathFinder - Fixed nullptr chunk bugwiseoldman951-1/+1
2015-05-03AI - Improved Mob Jumpingwiseoldman952-5/+16
2015-05-03PathFinder - Crash fix, chunks in parameters are now referenceswiseoldman953-10/+8
2015-05-02Update submodulesTiger Wang3-3/+3
2015-05-02AI - Better daylight handlingwiseoldman956-63/+22
2015-05-02PathFinding - Chunk querying optimization and improve cPath::IsSolidwiseoldman954-66/+38
2015-05-02CheckBasicStyle: Can check individual files or git commits.Mattes D1-2/+101
2015-05-01A* Pathfinding and better monster AIwiseoldman9513-175/+736
2015-04-30Added cBlockArea:CountNonAirBlocks API function.Mattes D2-1/+36
2015-04-30Fixed bindings for cFile:ReadWholeFile().Mattes D2-8/+44
Fixes #1914
2015-04-29Changed fabs() to std::abs()Woazboat1-4/+4
2015-04-29braces in Tracer::mNormalTable initializer in separate linesWoazboat1-2/+4
2015-04-29Added Guardian and Rabbit to DefaultMonsters in OverworldMathias1-1/+1
2015-04-29Added cBlockArea::msSimpleCompare merge strategy.Mattes D2-1/+54
2015-04-29Added cBlockArea:GetNonAirCropRelCoords() API function.Mattes D5-1/+146
Fixes #1915.
2015-04-29Clay blocks are handled with the OreHandlerjammet1-0/+1
2015-04-29Added extra braces to initialization of Tracer::m_NormalTableWoazboat1-2/+2
2015-04-29And another cs fix I overlookedWoazboat1-1/+1
2015-04-29Fixed comments according to csWoazboat1-11/+11
2015-04-29Fix HasNonZeroLength nameWoazboat2-3/+3
now 100% more cs compliant
2015-04-29Changed Tracer::m_NormalTable to static arrayWoazboat2-7/+14
Was previously instantiated for every trace
2015-04-28Updated MC versions in ProtocolRecognizer.hwiseoldman951-1/+1
2015-04-28Changed Vector3 Equals function to avoid using memcmpWoazboat1-5/+1
2015-04-28Tracer signum function now returns intWoazboat2-7/+10
2015-04-28Check for zero length vector in TraceWoazboat2-4/+15
Added hasNonZeroLength member function to Vector3
2015-04-28convert c style casts to c++ static castsWoazboat2-15/+16
2015-04-27Removed redundant temp iterator. std::list.erase already returnsWoazboat1-4/+1
iterator to next valid list element
2015-04-27cSetChunkData constructor explicitly requires std::move() instead ofWoazboat4-10/+12
unsafely stealing data
2015-04-26Fix explosions trying to write to unread blockareaTiger Wang1-3/+5
2015-04-25cPlayer now checks restrictions.Mattes D3-7/+68
Fixes #1331.
2015-04-25Added player restrictions to the DB and API.Mattes D3-36/+704
2015-04-25Plugin removes its command registrations and webtabs when unloaded.Mattes D1-0/+5
Fixes #1890.
2015-04-24Eliminate race condition in cRoot::FindAndDoWithPlayerworktycho1-4/+4
Avoid a race condition where a player gets deleted during the FindAndDoWithPlayer callback by moving the callback into DoWithPlayer.
2015-04-23Refactored ManualBindings' callbacks using templates.Mattes D3-365/+259
This is a bit easier to read, has better error reporting and fixes a few subtle bugs. Fixes #1889.
2015-04-23Digging up a clay block spawns 4 clay items.jammet1-0/+5
Fixes #1884. Closes #1891.
2015-04-23Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().Mattes D3-170/+294
Both functions are exported as static.
2015-04-23Nether Quartz is handled in the Ore handler.jammet1-0/+5
Fixes #1885, Closes #1888
2015-04-22Fix slab placingwraith111-0/+23
2015-04-21Narrowed WindowID to use only 7 bits.Mattes D2-3/+7
Ref.: http://forum.mc-server.org/showthread.php?tid=1876
2015-04-21Hotfixed some chunk presence issues when generating.Mattes D1-0/+2
2015-04-21Fix door placing in connection with slabswraith112-6/+21
Except top-half slabs as transparent blocks for doors.
2015-04-21Changed default MaxThreshold valueSTRWarrior1-1/+1
There is now really a difference between open and dense parts
2015-04-21Calculate threshold for each column in a chunk instead for the whole chunkSTRWarrior1-2/+1
2015-04-21Network: fixed excessive debug logging.Mattes D2-7/+1
2015-04-21Added URL member to the HTTPRequest API class.Mattes D2-1/+11
2015-04-20Changed Nether composition to change the threshold from a cubic noiseSTRWarrior2-7/+7
2015-04-20ItemHandler type fixes.Mattes D1-2/+2
2015-04-20Protocol 1.8: Limit the amount of displayed data on NBT parse failure.Mattes D1-1/+1
2015-04-20ItemHandler: Using automatic array bounds.Mattes D1-1/+1
2015-04-19HangingEntity: Fixed a needless clang warning.Mattes D1-2/+5
2015-04-19Fixed typo in NetherForts initializationSTRWarrior1-1/+1
The S in NetherForts was missing
2015-04-19GlowStone: Changed order of initialization of member variablesSTRWarrior1-2/+2
2015-04-19Fixed styleSTRWarrior1-2/+2
2015-04-19Added GlowStone finisherSTRWarrior4-2/+140
2015-04-19ClientHandle: Fixed re-sending refused right-clicks.Mattes D1-1/+8
The coords weren't checked against Y boundary and -1 coords weren't sent. This fixes mc-server/Gallery#45.
2015-04-19HTTP: Error message is sent as the payload as well.Mattes D2-2/+5
This shows the error message in the browsers. Before, the browsers would display just a blank page.
2015-04-19Refresh plugin list before trying to load.Mattes D1-0/+1
2015-04-19Added cPluginManager:IsPluginLoaded() API, better load error msgs.Mattes D2-5/+42
2015-04-19Refactored cWebPlugin for C++11 style and proper WebTab clearing.Mattes D6-103/+149
2015-04-19Split the plugin names and plugin folders to avoid confusing them.Mattes D9-387/+482
Ref.: http://forum.mc-server.org/showthread.php?tid=1877
2015-04-17Update IronGolem.cppmathias-gh1-1/+1
2015-04-17Added MobTypeName for Giantmathias-gh1-0/+1
2015-04-17Fixed arm swing animationTiger Wang1-1/+1
* Fixes #1861
2015-04-16Recipes match zero DamageValue strictly.Mattes D1-2/+2
To match any DamageValue for the ingredient, an explicit "-1" as the DamageValue must be specified. Fixes #1859.
2015-04-16Fixed PolishedGranite et al crafting recipes.Mattes D3-3/+4
Fixes #1774. Ref.: #1859
2015-04-14Scooping up fluid calls the player placement hooks.Mattes D1-4/+12
Ref.: #1857.
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D21-53/+204
Ref.: #1857.
2015-04-13Removed HOOK_MAX and HOOK_NUM_HOOKS from Lua API.Mattes D1-2/+3
2015-04-11cFile:ChangeFileExt now accepts extensions with leading dot, too.Mattes D1-2/+14
2015-04-11Added more cFile API functions.Mattes D2-2/+66
GetLastModificationTime, GetPathSeparator() and GetExecutableExt()
2015-04-10Fixed plugin hook calls when unloading plugins.Mattes D1-1/+248
If a plugin installs any hooks in its Initialize method and then causes the Lua runtime to abort, the server asserted because the hooks were called while the plugin was being unloaded.
2015-04-10Added proper implementation of cFile::ChangeFileExt().Mattes D1-2/+17
2015-04-07Added extra divide operator to Vector3.STRWarrior1-0/+9
The multiply operator had one for both a different vector and a number, but the divide operator didn't.
2015-04-06Fixed MSVC warnings, improved comments.Mattes D1-5/+5
2015-04-06Added cFile:ChangeFileExt() function.Mattes D2-0/+27
2015-04-05Fixed crash on exit introduced with Windows Service capability.Mattes D3-31/+29
Ref.: #1845
2015-04-03Fixed players not appearing/disappearing when traveling to a new world.STRWarrior1-0/+6
2015-04-03Fixed the nether and end getting snow if they were generated in the overworld.STRWarrior1-0/+7
2015-04-01Working as a Windows service. Starts and stops correctly.Anthony Birkett4-35/+234
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-03-31Changed air drag for pickupsDevToaster1-1/+1
2015-03-31Changed air drag units to 'interpolated ticks' per secondDevToaster11-14/+18
2015-03-31Adjusted projectile physicsDevToaster1-4/+6
2015-03-31Modified physics for more vanilla-like behaviorDevToaster15-12/+51
2015-03-28Fixed placing bottom half-slabs by clicking a top half-slab.Mattes D1-2/+2
Ref.: #1837
2015-03-25Removed 0x6, 0x7 from BlockButton.Alexandre Guertin1-5/+3
2015-03-22Added VarInt64, normalized cPacketizer datatype names.Mattes D7-688/+744
2015-03-22Unified cPacketizer across all protocols.Mattes D14-769/+873
2015-03-22ProtoProxy: Fixed connection and logging.Mattes D1-0/+1
2015-03-21Style fixesworktycho1-15/+15
2015-03-21Fixed alignmentworktycho1-2/+2
2015-03-21Fixed signedness warnings in Protocol.Mattes D11-14/+14
2015-03-21Creeper: Fixed skeleton check.Mattes D1-11/+10
2015-03-21Fixed signedness issues in protocols.Mattes D6-62/+76
2015-03-21Changed linked world name variables and setters / getters.Mattes D3-30/+31
Ref.: #1792 Ref.: https://github.com/mc-server/MCServer/pull/1792#discussion_r25946707
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D22-169/+224
2015-03-21Fixed trailing whitespace.Mattes D1-1/+1
2015-03-21Unified cByteBuffer types.Mattes D12-253/+371
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-20Improved arrow in-flight and block-hit appearanceTiger Wang2-19/+3
* Fixes #1495
2015-03-20cPluginLua:cResettable no longer shares CS with plugin.Mattes D2-10/+13
This fixes locking the resettable while the plugin is already gone. Hopefully no deadlocks.
2015-03-20Added cPluginLua::cResettable interface, used for scheduled tasks.Mattes D6-79/+150
This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556.
2015-03-20Removed Metavalue from Piston drops. Bugfix #1765bibo382-0/+12
2015-03-20Correct world height validations.Tommy Santerre18-22/+31
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
2015-03-19Removed unwanted base classes from Lua API.Mattes D4-2/+10
2015-03-19AllToLua: Fixed cMonster inheritance.Mattes D1-2/+2
2015-03-19Improved DoWithID bindings.Mattes D2-3/+8
2015-03-19Removed wrong else clause, which caused that the following if-Statement got only executed in rare cases. This has blocked the creation of new Fluid-Sources. Bugfix #1783bibo381-1/+2
2015-03-19Fixed a clang warning, improved comments.Mattes D1-7/+4
2015-03-19AllToLua: Removed an unneeded class declaration.Mattes D2-8/+2
It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg.
2015-03-19AllToLua: Fixed the parse order for bindings generation.Mattes D1-26/+45
Fixes #1789.
2015-03-18Added cNetwork initialization to program start.Mattes D1-0/+4
Otherwise the server could crash because MSVC doesn't implement magic statics yet.
2015-03-18World:DoWithEntityByID() checks the entities-to-add as well.Mattes D1-0/+14
This allows plugins to create entities and immediately act on them using that call. This will most likely need to be added to most of the DoWith<> and ForEach<> calls.
2015-03-18Network: Close the UDP endpoint in destructor.Mattes D2-0/+11
2015-03-17Changed Variable types of Endianness.h to uniform UInt* types from Globals.hbibo381-4/+4
2015-03-17Fixed double underscore identifiers in the Endianess.h file, which are reserved for implementation use. Bug #1715bibo381-8/+8
2015-03-14Use thread_local in cFastRandomTiger Wang1-2/+8
2015-03-14Fixed a small bugtumultenrx1-1/+1
2015-03-14Fixed grass spread, closes #1743Tiger Wang5-41/+8
- Removed the salt parameter in cFastRandom functions, it wasn't doing what we thought it was following the move to C++11
2015-03-14Fixed style violationsTiger Wang1-2/+2
2015-03-14cPainting saving implementedTiger Wang13-72/+83
Additionally, it now inherits from cHangingEntity.
2015-03-13Fixed confusion over Item Frame directionsTiger Wang4-120/+76
2015-03-13Monsters will now attack. Additional checks have been added when generating spawn.tumultenrx6-11/+72
Monsters will now attack. Additional checks have been added when generating spawn.
2015-03-12Performance improvements for #1807flx51-3/+3
2015-03-11Fixed coding conventions for Pull Request #1807flx55-24/+32
2015-03-11Fixed issue with quotes not appearing in pairsflx51-4/+5
2015-03-11Changed pipeline character from >> to |tycho2-15/+15
2015-03-11Fixed style and removed false positivestycho2-7/+12
Relaxed the rules for < followed by an && and removed rule for < following an &&
2015-03-11Fixed some markup issuesflx51-3/+4
2015-03-11Fixed some markup issuesflx51-3/+5
2015-03-11Fixes #493 and #490flx59-13/+73
2015-03-10Use std::memcpy to fix alignmentTiger Wang1-2/+8
As suggested by @madmaxoft
2015-03-10Fixed Sequence Generator for IntGenTycho2-12/+24
2015-03-10Fixed Bug in cChunkData.worktycho1-1/+1
FIxed a bug where if the index was not aligned with the sections empty sections would not be set in the correct location.
2015-03-10Moved window code into cpp filesHowaner23-519/+839
2015-03-09Buttons can be placed on the top and on the bottom face of a blockAlexandre Guertin1-1/+7
2015-03-09Fixed client kick/crash if many block changes happendHowaner1-3/+15
2015-03-08Potential Linux implementationTiger Wang1-4/+54
2015-03-08Added parenthesis around the comparisonsSTRWarrior1-2/+2
2015-03-08Added proper trees to Mesa biomesSTRWarrior1-6/+10
Mesa only has small apple trees.
2015-03-08Added grass/course dirt layer on MesaPlateauF(M)STRWarrior1-0/+14
2015-03-05Reverted non-functional changesTiger Wang5-53/+11
2015-03-05Grass checks for sufficient light before spreadingAlexander Harkness1-1/+13
2015-03-05Added OnTeleportEntity hook for plugins.joshi077-12/+64
Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it.
2015-03-03Lua API: Fixed md5 and sha1 hex formatting.Mattes D1-4/+4
std::setw() is only valid for one output operation and needs to be set again in each loop repetition.
2015-03-01Removed trailing whitespaceSTRWarrior1-1/+1
2015-03-01Replaced IntNoiseXX with IntNoiseXXIntSTRWarrior1-2/+2
2015-03-01Replaced cFinishGenPtr with std::make_sharedSTRWarrior1-1/+1
2015-03-01Fixed StyleTycho2-13/+15
Still fails CheckBasicStyle.lua dua to issue with rvalue references and templates
2015-03-01Added pipelining syntax for generatorsTycho2-16/+63
2015-03-01Steppy HeiGen: Fixed Linux compilation.Mattes D1-1/+1
2015-03-01Added Steppy height generator.Mattes D3-1/+409
2015-02-28Made the minimum vine level configurableSTRWarrior3-4/+7
2015-02-28Implemented a vines finisher that creates vines in jungle biomesSTRWarrior3-0/+119
2015-02-28Changed C-styled casts to static_cast and removed unneeded castsDevToaster1-34/+34
2015-02-28Replaced short int with int for Player experienceDevToaster1-1/+1
2015-02-28 modified: src/Entities/Player.cppDevToaster2-27/+27
modified: src/Entities/Player.h
2015-02-28GetSnowStartHeight returns an intSTRWarrior2-2/+2
2015-02-28Fixed door placement.Mattes D1-4/+17
Doors now have hinges on the correct side, based on what the surroundings are when placing them.
2015-02-28Added experience drops when mining oresSTRWarrior1-0/+59
2015-02-26changed int to unsignedSTRWarrior2-4/+4
And return 0 instead of -1
2015-02-26use DoSetSpeed in AddSpeed* in Entity.cppRaekye1-10/+4
2015-02-25Ice finisher uses GetSnowStartHeight instead of specific biomesSTRWarrior1-26/+19
2015-02-25Snow finisher uses GetSnowStartHeight instead of specific biomesSTRWarrior1-22/+14
2015-02-25Weather: Snow starts forming when the top block is at the right height or higherSTRWarrior1-66/+57
2015-02-25Added GetSnowStartHeightSTRWarrior2-0/+130
returns the height of a biome where it starts snowing
2015-02-25Fixed flowing water turning into ice when snowingSTRWarrior1-1/+1
2015-02-241.8 Protocol: Fixed a possible race condition.Mattes D1-5/+9
Fixes #1759.
2015-02-23Fixed operatorsSTRWarrior1-6/+6
2015-02-23Added forgotten indentSTRWarrior1-2/+2
2015-02-23Replaced lua_isXYZ with cLuaState::CheckParamXYZSTRWarrior1-12/+13
2015-02-23Exported all compression functions in a new class.STRWarrior1-16/+129
2015-02-22Fixed race condition for TCP link deleting.Mattes D1-2/+6
This could have caused crashes when a client disconnected from the server.
2015-02-22Network: Replaced magic number with named constant.Mattes D1-1/+1
2015-02-22Exported CompressString and UncompressString to LuaSTRWarrior1-0/+37
2015-02-22cNetwork: Added EnumLocalIPAddresses() function.Mattes D4-5/+163
2015-02-21Door handler: Removed needless check.Mattes D1-1/+1
The Y coord has already been checked above.
2015-02-21Fix door placement checkFreddie Wang1-7/+3
2015-02-21Added cCryptoHash namespace to Lua API.Mattes D1-2/+107
2015-02-20Fixed monster spawn randomness.Mattes D1-1/+2
Fixes #1699.
2015-02-20UDPEndpointImpl: Fixed clang warnings.Mattes D1-3/+3
2015-02-20cNetwork: Added UDP API.Mattes D11-32/+1400
2015-02-20Fixed crash when logging nil values.Matyas Dolak1-0/+32
Ref.: http://forum.mc-server.org/showthread.php?tid=1798
2015-02-18Flower pots: In 1.8 items are saved with the name and not the id.Howaner1-5/+12
2015-02-18NetworkSingleton: LibEvent thread is joined properly on server exit.Mattes D2-7/+5
2015-02-18Network: Fixed two-socket servers.Mattes D1-1/+1
2015-02-14Fixed TCP link shutdown.Mattes D2-9/+68
The shutdown is postponed until there's no more outgoing data in the LibEvent buffers.
2015-02-14SslContext: Turned debug messages off.Mattes D1-1/+1
2015-02-14Fixed Linux compilation.Mattes D2-2/+2
2015-02-13Exported TLS server start on cTCPLink to Lua API.Mattes D3-7/+188
2015-02-13Exported cTCPLink:Close and :Shutdown() to Lua API.Mattes D1-13/+83
2015-02-12PolarSSL++: Fixed debugging output.Mattes D1-0/+3
2015-02-12Fixed Linux compilation.Mattes D1-1/+1
std::make_unique is not available in C++11.
2015-02-12LuaAPI: Added client TLS support for TCP links.Mattes D9-7/+335
2015-02-08Handle client 'leave bed' requestTiger Wang9-61/+92
* Fixes #1728
2015-02-08Protocol 1.7: Fixed Coverity issues.Mattes D1-4/+7
Fixes CID 66411, CID 103166 and CID 103167.
2015-02-08ServerHandle: Fixed socket reuse.Mattes D1-10/+30
Fixes CID 104670, CID 104670 and CID 103724.
2015-02-08WSSAnvil: Fixed chunk data padding.Mattes D1-2/+5
When the chunk data fit perfectly into the old space, an extra 4 KiB of padding zeroes were written, overwriting the next chunk. Fixes #1730.
2015-02-07Use evutil_make_listen_socket_reuseableHowaner1-16/+6
2015-02-07Set reuse flag to socketsHowaner1-1/+24
Should fix #1726
2015-02-07SpacingHowaner1-1/+1
2015-02-07cPlayer should override IsOnGround()Howaner2-3/+3
2015-02-07Added IsOnGround() to cEntityHowaner2-6/+9
2015-02-06Readded old commentHowaner1-0/+2
2015-02-06APIDump: Added cNetwork documentation.Mattes D1-1/+1
2015-02-04LuaServerHandle: Removed debugging output.Mattes D1-4/+0
2015-02-04Exported cServerHandle and cNetwork:Listen to Lua.Mattes D11-14/+613
Also added an example to the NetworkTest plugin.
2015-02-04cNetwork: Exported lookup functions to Lua API.Mattes D5-3/+219
Also added an example in the NetworkTest plugin.
2015-02-04cTCPLink: Fixed missing addresses on link connection.Mattes D1-2/+2
2015-02-04cNetwork: Exported the Connect() method and cTCPLink class to Lua.Mattes D8-1/+614
2015-01-31Switched LuaState to use sizeof...tycho1-15/+1
2015-01-29CheckBasicStyle: Fixed a forgotten file close.Mattes D1-0/+1
2015-01-29Fixed missing LibEvent reference in OSSupport.Mattes D1-1/+1
2015-01-27Fixed listening ports not closed on cServerHandle::Close.Mattes D1-0/+3
2015-01-27Fixed server failure to open any port not aborting the server.Mattes D1-29/+35
2015-01-27Fixed a deadlock in cClientHandle network sending.Mattes D2-5/+28
2015-01-27Added network termination called at app exit.Mattes D3-14/+52
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor.
2015-01-27cTCPLinkImpl: Added the BEV_OPT_THREADSAFE flag.Mattes D1-2/+8
2015-01-27ServerHandleImpl: Removed needless diagnostic output.Mattes D1-4/+0
2015-01-27Client: Only decode protocol when there's actual data incoming.Mattes D1-2/+8
2015-01-27Fix clang compile errorworktycho1-1/+1
2015-01-27Removed cFile::ReplaceFileNameInvalidChars().Mattes D3-27/+3
Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems.
2015-01-27Fixed enchant packet handling.Mattes D1-3/+3
2015-01-27RCONServer: Changed variables to UInt32.Mattes D2-32/+29
2015-01-27Replaced atoi() with StringToInteger().Mattes D5-9/+11
2015-01-27Removed ListenThread and SocketThreads.Mattes D5-1225/+0
They have been replaced by the cNetwork API. Socket.cpp is still used by RCONClient.
2015-01-27BlockingSslClientSocket: Migrated to cNetwork API.Mattes D3-15/+198
2015-01-27Converted cServer to use the cNetwork API.Mattes D8-413/+330
2015-01-27cNetwork: Fixed IP address reading for incoming connections.Mattes D1-1/+2
2015-01-27Protocol18: Fixed failure with invalig logfile names.Mattes D1-8/+15
2015-01-27cFile: Added ReplaceFileNameInvalidChars().Mattes D2-0/+26
2015-01-27StringUtils: Fixed bad predicate in MergeStringVectors().Mattes D1-1/+1
Instead of preventing duplicates it was allowing only duplicates.
2015-01-27RCON server: fixed compilation.Mattes D1-1/+1
2015-01-27Migrated RCON server to cNetwork API.Mattes D2-100/+116
2015-01-27Fixed a crash in RCON server.Mattes D1-1/+0
2015-01-27Fixed missing LibEvent reference in OSSupport.Mattes D1-1/+1
2015-01-27WebAdmin uses the new cNetwork API.Mattes D8-203/+237
2015-01-27IniFile: Added common code to migrate ports.Mattes D2-4/+56
Old settings have IPv4 and IPv6 ports as separate values, new settings have a single value for the ports.
2015-01-27StringUtils: Added string vector manipulation.Mattes D2-1/+54
2015-01-26fix logic bug in cChunk::FastSetBlock filtering out leaves meta changesRaekye1-7/+9
- send update if it's not a leaves block and (the original checks)
2015-01-26filter out leaves meta changes from being sent to the clientRaekye1-0/+4
2015-01-25Readded old DistributeStackToAreas() comment.Howaner1-2/+5
2015-01-23cNetwork: Added self pointers to keep objects alive for callbacks.Mattes D5-17/+39
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
2015-01-23Fixed defect #43662 in Coverity list.Kirill Kirilenko1-1/+17
2015-01-23Fixed defect #43665 in Coverity list.Kirill Kirilenko1-0/+11
2015-01-23Fixed defect #73101 in Coverity list.Kirill Kirilenko1-1/+13
2015-01-23Fixed defect #43671 in Coverity list.Kirill Kirilenko1-0/+4
2015-01-23Fixed defect #43661 in Coverity list.Kirill Kirilenko1-1/+2
2015-01-23Fixed defect #71781 in Coverity list.Kirill Kirilenko1-0/+5
2015-01-23Fixed negative return values in SchematicFileSerializer.Matyas Dolak1-1/+3
Fixes CID 103165.
2015-01-22cNetwork: Renamed callback to OnConnected()Mattes D2-3/+6
2015-01-22cNetwork: Added link creation callback.Mattes D4-15/+42
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
2015-01-22cNetwork: Changed listening API.Mattes D4-29/+51
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
2015-01-22cNetwork: Added error message to error callbacks.Mattes D5-13/+20
2015-01-22cTCPLinkImpl: Fixed type conversion warning.Mattes D3-5/+5
2015-01-22cNetwork: Fixed race conditions with lookups; proper shutdown.Mattes D6-82/+123
2015-01-22cNetwork: Split the main cpp file into several files.Mattes D13-1050/+1148
2015-01-22cNetwork: Fixed WinXP dualstack listening.Mattes D1-21/+42
2015-01-22cNetwork: Split cNetworkSingleton to a separate file.Mattes D4-325/+430
2015-01-22cNetwork: Fixed WSAStartup()-not-called error in Listen().Mattes D1-0/+3
2015-01-22cNetwork: Handle WSA initialization failures.Mattes D1-1/+7
2015-01-22cNetwork: Added an OnError callback for listening servers.Mattes D2-0/+8
The callback receives the error details.
2015-01-22cNetwork: Rewritten server listen into a factory method.Mattes D1-88/+102
2015-01-22cNetwork: Removed unneeded dependency.Mattes D1-1/+0
2015-01-22cNetwork: Refactored cTCPLinkImpl::Connect into a factory.Mattes D1-41/+48
2015-01-22cNetwork: Cosmetics.Mattes D1-6/+10
2015-01-22cNetwork: Fixed compilation.Mattes D1-9/+8
2015-01-22Wrap debug variable in ifdef worktycho1-0/+2
avoidss unused variable error in clang
2015-01-22cNetwork: Added error logging to server socket creation.Mattes D1-6/+24
This is mainly for WinXP and RasPi testing.
2015-01-22cNetwork: Added multithreading protection.Mattes D2-3/+28
2015-01-22cNetwork: Implemented connection shutdown and close.Mattes D2-17/+59
2015-01-22cNetwork: Fixed Linux compilation.Mattes D1-5/+23
2015-01-22cNetwork: Implemented link address getting.Mattes D1-57/+117
2015-01-22cNetwork: Implemented basic server functionality.Mattes D1-122/+215
2015-01-22cNetwork: Implemented IP-to-hostname lookup.Mattes D1-8/+114
2015-01-22cNetwork: Implemented HostnameToIP lookups.Mattes D2-6/+141
2015-01-22Added newline to logged messages in the tests.Mattes D1-8/+12
2015-01-22Extracted Google connection testTycho2-74/+13
2015-01-22cNetwork: Linux compilation fix.Mattes D2-4/+23
2015-01-22Implemented LibEvent-based client connections.Mattes D4-0/+1028
2015-01-22Added the libevent library.Mattes D1-1/+1
2015-01-21Fixed warnings in StringUtils.Mattes D2-49/+59
2015-01-21ByteBuffer: Added support for reading unsigned shorts and ints.Matyas Dolak2-1/+33
2015-01-20Fixed warnings in FastNBT.cpp.Mattes D1-39/+40
2015-01-18Fixed warnings in 1.7 protocol.Mattes D3-110/+131
2015-01-18Fixed various warnings.Mattes D3-8/+8
2015-01-18cWorld: Fixed a type warning.Mattes D1-1/+1
2015-01-18Fixed type conversion warnings.Mattes D2-4/+4
2015-01-18Fixed type-conversion warnings.Mattes D4-8/+8
2015-01-17correct comment to say millisecondsworktycho1-1/+1
2015-01-17Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types.Kirill Kirilenko2-2/+2
2015-01-17Fixed CppCheck: (performance) Possible inefficient checking for emptiness.Kirill Kirilenko4-5/+5
2015-01-17Fixed CppCheck: (performance) Function parameter should be passed by reference.Kirill Kirilenko2-4/+4
2015-01-16Converted Monster to std::chronoTycho4-18/+18
2015-01-16Converted cPickupEntity to std::chronoTycho2-12/+12
2015-01-16Converted MinecartEntity to std::chronoTycho2-8/+8
2015-01-16Converted cExpOrbEntity to std::chronoTycho2-7/+7
2015-01-16Converted ArrowEntityTiers to std::chronoTycho2-7/+7
2015-01-11Fix trailing whitespaceTycho1-1/+1
2015-01-11Initial convertion of a_Dt to std::chronoTycho117-221/+221
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2015-01-11Created new type cTickTime and rewrote cWorld::TickThread to use itTycho2-6/+8
2015-01-03Fixed Linux compilation.Mattes D2-2/+2
2015-01-03Protocols: Ignore garbage data at the end of PluginMessage packets.Mattes D2-0/+21
Fixes #1692.
2015-01-03cByteBuffer: Improved SingleThreadAccessChecker performance.Mattes D1-1/+6
But it's still poor and unusable for regular testing.
2014-12-25MobHead: Fixed wither spawning.Mattes D1-13/+40
2014-12-25MobHeads: fixed regular head placement.Mattes D1-2/+22
2014-12-25Fixed door placement.Mattes D2-3/+4
2014-12-25Fixed forgotten big flower handler.Mattes D1-1/+2
2014-12-25Fixed basic style.Mattes D4-23/+71
2014-12-25cIsThread: Fixed a race condition on thread start.Mattes D2-7/+30
2014-12-24APIDump: Updated the player block placement documentation.Mattes D1-1/+2
The hooks now have fewer parameters but are called on all player-placed blocks (#1618).
2014-12-24Fixed redstone dust placement on upside-down slabs.Mattes D1-1/+36
2014-12-24ByteBuffer: SingleThreadAccessChecker is request-only.Mattes D1-1/+10
It slows the server down way too much, so it can't be turned on by default.
2014-12-24Replaced a std::hash specialization with explicit type.Mattes D2-8/+4
std::hash is problematic in gcc / clang, one has a class, the other a struct.
2014-12-24gcc compilation fix.Mattes D1-1/+6
2014-12-24Refactored all player block placing to go through hooks.Mattes D43-775/+1423
Fixes #1618.
2014-12-24Added Vector3::TurnCW() and Vector3::TurnCCW()Mattes D1-0/+16
2014-12-23Init Mojang API pointerworktycho1-0/+1
Fixes CID 90583
2014-12-22Fix compile error on OS X introduced by commit ecf778bbec2794562bf5e5b8645e2171f7cd081cJonathan Fabian1-1/+1
The following error occurs on OS X with the order reversed: `MCServer/src/World.cpp:282:2: error: field 'm_LastSave' will be initialized after field 'm_LastUnload' [-Werror,-Wreorder] m_LastSave(0),`. Reversing the order of initialization fixes this.
2014-12-22Added Depth Strider enchantmentJonathan Fabian2-0/+16
2014-12-21WSSAnvil: Added clamping to entity coords.Mattes D1-3/+3
Fixes CID 72854.
2014-12-21FastNBT: Added a sanity check for number of list items.Mattes D1-1/+8
Fixes CID 55812.
2014-12-21cChunk: Fixed missing initialization.Mattes D1-0/+2
Fixes CID 72670.
2014-12-21cWorld: Moved initialization into constructor.Mattes D1-3/+2
Fixes CID 71781.
2014-12-21cEndGen: Fixed unitialized member variables.Mattes D1-1/+3
Fixes CID 43671.
2014-12-21cNoise3DComposable: Fixed unitialized member variables.Mattes D1-1/+3
Fixes CID 43665.
2014-12-21Fixed coverity issues in protocols.Mattes D2-4/+11
Fixes CID 73099, CID 66411.
2014-12-21Fixed a possible division by zero.Mattes D3-6/+16
2014-12-21Fixed crash on restartTiger Wang2-5/+14
2014-12-20Fixed damn empty line with no useMasy982-5/+1
2014-12-20Added Rabbit.h and Rabbit.cpp to the CMakeListMasy981-0/+2
2014-12-20Fixed Rabbit sizeMasy981-1/+1
2014-12-20Added RabbitsMasy9811-0/+99
2014-12-19Fixed Guardians size and healthMasy981-1/+1
2014-12-18Guardian can now spawn if wanted!?Masy982-2/+2
2014-12-18Added Entity GuardianMasy9814-2/+141
2014-12-18Fix repeater unpoweringTiger Wang1-2/+4
2014-12-17derpHowaner1-1/+1
2014-12-17Added comment.Howaner1-1/+1
2014-12-17C++11 and function rename.Howaner16-50/+71
2014-12-17Fixed eMonsterType lua bugs.Howaner1-0/+1
2014-12-17Removed unneeded newlinesIvan Đorđević1-6/+0
2014-12-17NULL -> nullptrTiger Wang5-18/+22
2014-12-16Fixed water from spreading on bottom of worldgushromp1-7/+11
2014-12-16Fixed water from spreading on bottom of worldgushromp1-5/+8
2014-12-15Added braces to 'if' according to the code guidelinesgushromp1-0/+2
2014-12-15Updated cPlayer::DoMoveToWorld to send target world's weather info to Playerblashyrk1-0/+4
2014-12-14Fixed mob invisibilityHowaner1-1/+0
2014-12-14"& 0x0f" isn't neededHowaner2-3/+3
2014-12-13FixesHowaner4-5/+22
2014-12-13Implemented vanilla-like shift click.Howaner17-105/+400
This fixes many visual bugs.
2014-12-13WormNestCaves occasionally generates sandstone around the caveSTRWarrior1-3/+22
Only when the block around the cave is sand.
2014-12-13Own classes for all windows.Howaner28-597/+647
2014-12-12Fixed print of milliseconds from chronoLukas Pioch1-1/+1
2014-12-12LightingThread: Fixed a memory leak.Mattes D1-2/+2
2014-12-12Exported cWorld:PrepareChunk to Lua API, test in Debuggers.Mattes D1-0/+67
2014-12-11Cosmetic touchups.Mattes D5-10/+11
Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files.
2014-12-11Fixed DungeonRooms edges not generating sometimes.Mattes D1-2/+2
2014-12-10Added a cWorld:PrepareChunk function.Mattes D9-51/+260
It prepares the chunk - loads or generates it and lights it. The spawn prepare process uses this function.
2014-12-10Lighting thread: skip chunks that are already lit.Mattes D1-0/+10
2014-12-10Moved NetherOreNeststonibm191-1/+1
2014-12-10Changed method call to DoesAllowMultiLogin() instead of IsAllowMultiLogin()Vincent1-1/+1
Compiles correctly.
2014-12-09Fixed return value in CheckMultiLogin()Vincent1-1/+2
2014-12-09Fixed compiling.Howaner1-1/+1
2014-12-09Fixed indent problems and added return definitions to CheckMultiLogin().Vincent3-7/+8
Changed from IsAllowMultiLogin() to DoesAllowMultiLogin(). Fixed CheckMultiLogin() to not run to the end without returning a value.
2014-12-09Added a RemoveIf() function to cQueueMattes D1-0/+23
2014-12-09Changed DoWithPlayer to auto instead of using iterator.Vincent1-2/+2
2014-12-08Changed CheckMultiLogin() to not have main body wrapped in an if statement.Vincent4-21/+28
Added in indent to cPlayerListCallBack in cCallback class inside CheckMultiLogin(). Added doxy-comment for DoWithPlayer(). Changed comments on IsPlayerInQueue() and IsAllowMultiLogin() to doxy-comments.
2014-12-08Moved NaturalPatches in front of PreSimulator and Animals.Mattes D1-1/+1
2014-12-08Check to see if header write out is requiredplanetx1-17/+15
2014-12-08Added NetherOreNests to nether default generator.tonibm191-1/+1
Now there's quartz in the nether
2014-12-08Added NaturalPatches to finisherstonibm191-1/+1
2014-12-08Added timestamp to merged files WSSAnvilplanetx1-1/+1
2014-12-08Added timestamp to merged files WSSAnvilplanetx1-62/+62
2014-12-08Added timestamp to new files WSSAnvilplanetx2-79/+149
2014-12-08created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World.Vincent2-2/+9
2014-12-08Fixed compile errorsVincent6-18/+14
2014-12-08removed last space in handlehandshakeVincent1-1/+0
2014-12-08Changed HandleHandshake to return the result of CheckMultiLogin instead of just true since it already returns true if it finds and kicks the current player.Vincent1-24/+23
2014-12-08Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added.Vincent4-23/+52
2014-12-07Added Timestamp info to chunks in WSSAnvilplanetx2-87/+47
2014-12-07changed from using iterator to auto for server and clienthandleVincent2-4/+4
2014-12-07cMojangAPI: Fixed a possible problem with thread termination order.Mattes D1-5/+17
2014-12-07Fixed integer overflow problems.Mattes D2-4/+4
The event would overflow when requesting a 60 minute timeout.
2014-12-07Fixed format warning.Mattes D1-2/+2
2014-12-07Fixed crash on server stop.Mattes D1-0/+9
The entity destructors called through chunkmap destructor and chunk destructor were accessing the world which was in an already invalid state (half-destroyed). Fixed by destroying chunkmap explicitly and providing a nullptr check in the HasEntity() function.
2014-12-07Fixed c++11 branch issues.Mattes D7-44/+57
2014-12-07Reduced river heightSTRWarrior1-2/+2
Rivers would exceed the water height quite often
2014-12-07Fixed error message in cFinishGenPassiveMobsSTRWarrior1-1/+1
It would send an error message when trying to spawn mobs in a desert
2014-12-06Replaced most auto_ptr with unique_ptr.Mattes D2-62/+62
2014-12-05FinishGenPassiveMobs: Cosmetic changes.Mattes D2-30/+33
2014-12-05formatting and default spawn percentagep-mcgowan1-1/+2
2014-12-05CheckBasicStyle: Check missing braces for control statements.Mattes D1-0/+19
Only single-line control statements are checked.
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D17-54/+241
2014-12-05CheckBasicStyle: Added a check for parentheses around comparisons.Mattes D1-0/+22
The check is only rudimentary and tends to fall towards missed positived rather than false positives.
2014-12-05Fixed reported parentheses around comparisons.Mattes D14-83/+99
2014-12-05reformatp-mcgowan1-9/+5
2014-12-05restructure, with logic this timep-mcgowan1-5/+13
2014-12-05restructured random animals, added check for desert (update as per wiki)p-mcgowan1-19/+17
2014-12-05handle non-vanilla dimensionsp-mcgowan1-2/+2
2014-12-05handle non-vanilla dimensionsp-mcgowan1-2/+3
2014-12-05formatting fixesp-mcgowan1-4/+11
2014-12-04CheckBasicStyle: Doesn't report false positives ending in a keyword.Mattes D1-5/+5
2014-12-04format blocks and randomizingp-mcgowan2-9/+9
2014-12-04Fixed trailing whitespace.Mattes D2-6/+6
2014-12-04last doxy fixp-mcgowan1-3/+3
2014-12-04awful comment fixing, randomizer fixp-mcgowan2-19/+32
2014-12-04Fixed the CRAFTING_NO_RECIPE hook call.Mattes D6-6/+6
It used a pointer-to-pointer-to-cCraftingRecipe, which the Lua bindings didn't know how to handle, and emitted a warning message at runtime. Fixes #1641.
2014-12-04Updated whitespace in comment, changed conditional to logical equivalent due to popular demandJonathan Fabian1-2/+2
2014-12-03Fixed indent.Mattes D1-2/+2
2014-12-03Server: Fixed a MSVC warning.Mattes D1-1/+1
2014-12-03ByteBuffer: Re-added Single-thread access checker.Mattes D2-0/+90
2014-12-03Fixes socket leak in HTTP server.Mattes D1-3/+11
Fixes #1643.
2014-12-03clearing CheckBasicStyle.lua messagesp-mcgowan4-34/+34
2014-12-03class description and doxy-commentingp-mcgowan2-5/+8
2014-12-03doxy-commentingp-mcgowan1-3/+3
2014-12-03Fix Spaces to TabsJonathan Fabian1-5/+5
2014-12-03Add missing IsSpectatorMode() checks in Player.cpp, make sure that player is flying when spawned otherwise it will fall through the world.Jonathan Fabian1-6/+11
2014-12-03Allow Spectator Gamemode as a world default.Jonathan Fabian1-1/+1
2014-12-03forgot generation defaul initp-mcgowan1-1/+1
2014-12-03forgot initializerp-mcgowan1-1/+5
2014-12-02typos and oversights for lua and CIp-mcgowan1-1/+5
2014-12-02fastRandom unusedp-mcgowan1-1/+0
2014-12-02indentation, repeatable random, small correctionsp-mcgowan1-98/+93
2014-12-02updated mooshroom check for myceliump-mcgowan1-1/+1
2014-12-02fix comments after replacing spaces with tabsp-mcgowan1-4/+4
2014-12-02animal terrain finisherp-mcgowan2-187/+187
2014-12-02animal terrain finisherp-mcgowan2-0/+241
2014-12-02Fixed forgotten semicolonSTRWarrior1-1/+1
2014-12-02Using IntNoise3DInt instead of IntNoise3DSTRWarrior1-1/+1
2014-12-02Suggestions by xoftSTRWarrior1-3/+3
Using IntNoise3D to prevent needless floating point math
2014-12-02extra formatting parenthesesp-mcgowan1-2/+2
2014-12-02added spawning rule to mooshroomp-mcgowan1-0/+13
2014-12-02reformat for lua and CIp-mcgowan2-6/+9
2014-12-02formatting and commenting fixesp-mcgowan2-6/+6
2014-12-01cacti no longer spawn outside of desert variantsp-mcgowan2-1/+16
2014-12-01Using static cast for Dungeon spawnersSTRWarrior1-1/+1
2014-12-01Using static cast for MineShaft spawnersSTRWarrior1-1/+1
2014-12-01Mineshaft spawners now spawn cave spidersSTRWarrior1-1/+4
2014-12-01Added cocoa pod.Howaner5-2/+139
2014-12-01Dungeons spawners now spawn mobsSTRWarrior1-1/+22
25% for a spider, 25% for a skeleton and 50% for a zombie spawner.
2014-12-01Simplefied SoulsandRimsSTRWarrior1-36/+6
Replaced two for loops with a single if
2014-12-01Added better soulsand rimsSTRWarrior5-12/+107
As a finisher called SoulsandRims
2014-12-01MobSpawner fixes.Howaner6-5/+13
2014-12-01DistortedHeightmap: Added missing initialization.Mattes D1-0/+2
This was probably the original cause for the "empty chunks". Fixes #1433.
2014-12-01Noise3D: Fixed missing initialization.Mattes D1-1/+3
This should fix terrain being at Y=0 or Y=255 for the spawn chunk. Fixes #1433.
2014-11-30Hopefully fixed random build failsSTRWarrior1-1/+1
2014-11-30Fixed a crash in cSpawnPrepare.Mattes D1-0/+2
2014-11-30Fixed nether ceilingSTRWarrior1-1/+1
2014-11-30Fixed compiling on linux.Howaner1-0/+1
2014-11-30Improved comments for cWorld::DoWithPlayer().Mattes D2-2/+3
2014-11-30Removed old StringToMobType() function from Monster.cppHowaner1-10/+0
2014-11-30Changed Kick messagevincentleung11-2/+2
2014-11-30removed extra space and fixed some formatting in cCallbackvincentleung11-3/+3
2014-11-30removed GetUsernames() from WorldVincent2-18/+0
2014-11-30Uses callback for players already in World.Vincent1-5/+12
2014-11-29Removed unneeded include.Mattes D1-1/+0
2014-11-29Fixed QtBiomeVisualiser compilation.Mattes D1-1/+0
2014-11-29Added a basic stacktracing for assert and signal failures.Mattes D5-4/+73
2014-11-29fixed naming of strings and changed from i to IVincent5-13/+18
2014-11-29Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() insteadHowaner2-9/+39
2014-11-29Removed unused imports.Howaner2-2/+0
2014-11-29Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner11-116/+86
2014-11-29issue 1253 - prevent multiple logins with same usernameVincent5-0/+58
2014-11-27Chunk: Fixed same-name iterators.Mattes D1-5/+5
2014-11-27OctavedNoise: Another unshadowed local variable.Mattes D1-9/+11
2014-11-27Minecart.h: Fixed integral conversion warning.Mattes D1-1/+1
2014-11-27RidgedNoise: Replaced fabs with std::abs().Mattes D1-2/+2
2014-11-27OctavedNoise: Unshadowed a local variable.Mattes D1-10/+12
2014-11-27BlockEntities: Removed the extra semicolon.Mattes D16-24/+25
2014-11-27Replaced auto_ptr with unique_ptr.Mattes D2-6/+6
2014-11-27CompoGenBiomal: Fixed signed vs unsigned comparison.Mattes D1-1/+1
2014-11-27Fixed BlockStringToType return value.Mattes D3-5/+5
-1 was not a valid BLOCKTYPE and would not be recognized by the callers, ever.
2014-11-26CMake: Fixed linux builds.Mattes D1-5/+4
2014-11-26cRoot: Fixed a memory leak with cRankManager.Mattes D2-3/+5
2014-11-26Windows: Fixed builds with LeakFinder enabled.Mattes D2-2/+4
2014-11-26WSSAnvil: Fixed bad code in arrow loading.Mattes D1-2/+8
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang32-1653/+1688
2014-11-25ClientHandle: Fixed max block place distance check.Mattes D1-4/+10
Fixes #1492
2014-11-24Changed back capitalization.Mattes D1-3/+3
2014-11-23Added TwoHeights shape generator.Mattes D5-8/+162
This is a faster shape generator that can generate overhangs and has biome awareness.
2014-11-23Removed unnecessary #includesTiger Wang2-2/+0
2014-11-23Compilation fixesTiger Wang3-10/+8
2014-11-23Noise3D generator: Enlarged averaging to avoid steep beach slopes.Mattes D2-4/+4
2014-11-23formatting - newline at EOF inserted: Pig.cppp-mcgowan1-1/+5
2014-11-23pigs turn into pigmen on lightningp-mcgowan2-0/+19
2014-11-22cWorld: Rewritten spawn preparation.Mattes D2-120/+113
It now supports pregeneration distance of any size and runs in two threads in parallel (generator / lighting). Fixes #1597.
2014-11-22formatter errorp-mcgowan1-3/+3
2014-11-22villagers turn into witches on lightningp-mcgowan1-2/+4
2014-11-22villagers turn into witches when struck by lightningp-mcgowan1-0/+5
2014-11-20cWorld: Changed generator defaults.Mattes D1-13/+17
2014-11-20BiomalNoise3D generator: finished all biomes.Mattes D1-66/+74
2014-11-20CompoGenBiomal: Fixed sealevel offset.Mattes D1-1/+1
2014-11-20CompoGenBiomal: Fixed sealevel not generating properly.Mattes D1-1/+2
2014-11-20Generators: Unified SeaLevel into a single variable.Mattes D3-70/+3
It is shared between shape generators and composition generators and there's no sense in having two different values for those.
2014-11-20Noise3D generators: Changed noise generator to InterpolNoise.Mattes D2-10/+10
2014-11-19cInterpolNoise: Implemented optimized 2D generating.Mattes D3-32/+219
2014-11-19cOctavedNoise: Removed misleading comment, fixed assert texts.Mattes D1-3/+3
2014-11-18cOctavedNoise: Added a forgotten comment.Mattes D1-1/+1
2014-11-18Added a cInterpolNoise template for faster noise generator.Mattes D3-4/+439
Used an instance of it in the Noise3D generator.
2014-11-18Finished mob spawner implementation.Howaner18-124/+78
2014-11-18Moved all Noise-related files into a separate folder.Mattes D26-80/+56
2014-11-18Refactored cRidgedNoise into a separate template.Mattes D5-243/+104
This allows us to make the ridges out of any noise and to combine the cRidgedNoise with cOctavedNoise.
2014-11-18OctavedNoise: linux compilation fixes.Mattes D2-2/+3
2014-11-17Added cOctavedNoise template.Mattes D3-258/+206
This allows us to use any noise generator in the combination of octaves.
2014-11-17Use cLuaState's stack trace.Howaner1-48/+27
2014-11-17Fixed include path.Mattes D1-1/+1
2014-11-17Added cImprovedNoise implementation.Mattes D4-46/+376
2014-11-17Added UpdateSign() method to DeprecatedBindings.cppHowaner2-3/+88
2014-11-17Fixed a wrong assert in cClientHandle::SetViewDistance().Mattes D1-4/+8
2014-11-16Changed commentSTRWarrior1-1/+1
Suggestion by xoft
2014-11-16BiomalNoise3D: Added more biomes.Mattes D1-13/+65
2014-11-15Use LastPlacedSign instead of LastPlacedBlock.Howaner2-8/+6
2014-11-15Renamed m_UsedViewDistance to m_CurrentViewDistanceHowaner2-11/+11
2014-11-15Mobs: Fixed crash with terrain too high.Mattes D2-5/+7
2014-11-15Generator: Fixed crash with trees too high.Mattes D1-2/+7
2014-11-15Snow generator: Fixed failure at top of the world.Mattes D1-1/+1
2014-11-15ChunkDesc: Fixed comment about indexing.Mattes D1-1/+1
2014-11-15Renamed m_SetViewDistance to m_RequestedViewDistanceHowaner2-7/+7
2014-11-15Fixed a security problem with signs.Howaner5-16/+18
2014-11-15Renamed GetSettedViewDistance() to GetRequestedViewDistance()Howaner2-3/+3
2014-11-15DungeonRooms: Changed to work with the new shape generators.Mattes D1-10/+15
2014-11-14Use m_UsedViewDistance and m_SetViewDistance.Howaner3-15/+26
2014-11-14Noise3D: Added jungles.Mattes D1-0/+2
2014-11-13Noise3D: Added oceans.Mattes D1-0/+3
2014-11-13Gen refactor: Implemented CompositedHeiGen.Mattes D9-217/+141
This fixes crashes in the Village generator due to the missing generator.
2014-11-13First implementation for the LargeOakTreeSTRWarrior3-2/+125
2014-11-12Fixed trailing whitespace.Mattes D3-3/+3
2014-11-12Generator: Shape initial refactoring.Mattes D23-1346/+1356
The code compiles, but several structure generators are broken, crash on start.
2014-11-10BiomalNoise3D: Added a few biomes.Mattes D1-5/+8
2014-11-10TallGrassGenerator: Fixed crash when too highSTRWarrior1-0/+5
2014-11-10Added BiomalNoise3D shape generator.Mattes D4-29/+369
2014-11-09Noise3d Generator: Fixed unused function error.Mattes D1-1/+1
2014-11-09Noise3D generator: rewritten from scratch.Mattes D2-78/+145
Now it uses three 3D and one 2D perlin noises to generate the terrain, and is highly parametrizable.
2014-11-06Noise3D CompoGen: Fixed missing initialization.Mattes D1-0/+2
2014-11-06Fixed an extra space.Mattes D1-1/+1
2014-11-05renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDumpLukas Pioch5-10/+11
2014-11-04cEvent: Changed chrono duration resolution.Mattes D1-1/+1
2014-11-04cEvent: Changed steady_clock to system_clock.Mattes D1-2/+2
2014-11-04MinMax heigen: Reduced the number of octaves.Mattes D1-2/+0
They didn't affect the terrain that much anyway.
2014-11-04Added MinMax height generator.Mattes D1-0/+207
Fixes #1578.
2014-11-03Fixed a missing endline.Mattes D1-1/+5
2014-11-03Added a (disabled) perf test for biome generators.Mattes D1-0/+46
2014-11-03HeiGen: Moved construction to the end of file.Mattes D1-75/+75
This will allow us to define generators in the cpp file instead of needing them in the header, thus speeding up compilation on changes.
2014-11-02Simplified FindAndDoWithUUID, formatted lineLukas Pioch2-8/+2
2014-11-02Added FindAndDoWithUUIDLukas Pioch5-0/+46
2014-11-02Grown biomes: fixed Linux build.Mattes D1-3/+3
2014-11-02Grown biomes: Unified with GrownProt biomes.Mattes D3-159/+595
Also fixed a Zoom filter randomness.
2014-11-01GrownProt: Added the rest of rare and M biomes.Mattes D2-14/+91
2014-11-01GrownProt biome gen: Added biome edges.Mattes D2-2/+162
2014-10-31cLuaState: Fixed errors on non-existent callbacks.Mattes D1-1/+5
This mostly affected table-based callbacks, such as the cLineBlockTracer. If a callback didn't exist, the code would still push its arguments on the stack, breaking the next callback.
2014-10-31Fixed missing CS lock in cChunkMap::WakeUpSimulatorsInArea().Mattes D1-0/+1
2014-10-31GrownProt biomes: added alterations.Mattes D3-130/+192
2014-10-30Fixed m_SentChunks list chunk removing.Howaner1-1/+1
2014-10-30... in this worldHowaner1-1/+1
2014-10-30Added a MaxViewDistance option.Howaner3-1/+16
2014-10-30QtBiomeVisualiser: Added a prototyping int generator flavor.Mattes D4-53/+1253
This generator is easier to manipulate, since it doesn't require rewriting the sizes in the template parameters. On the other hand, it doesn't optimize so well, so it's a bit slower.
2014-10-29Improved redstone simulatorTiger Wang2-818/+808
* Fixed style inconsistencies * Used more C++11 features * Improved speed perhaps
2014-10-29Fixed 1.8 world item format reading.Howaner2-3/+25
2014-10-29Grown biomes: made biomes smaller, made beaches smaller.Mattes D1-11/+8
2014-10-28Forgotten m_SendChunksMediumPriority.empty() check.Howaner1-1/+1
2014-10-27Fixed compile (typos).Alexander Harkness1-2/+2
2014-10-27Comment alignment.Alexander Harkness2-8/+8
2014-10-27CheckBasicStyle'dAlexander Harkness4-32/+32
2014-10-27Another one.#Alexander Harkness1-0/+22
2014-10-27Fixed more warnings.Alexander Harkness1-14/+14
It's ugly though.
2014-10-27Another switch.Alexander Harkness1-0/+5
2014-10-27Fix missing biomes in enum.Alexander Harkness1-0/+5
2014-10-27Fixed remaining warnings.Alexander Harkness1-5/+5
2014-10-27Actually fixed the warning.Alexander Harkness1-20/+9
2014-10-27Test warning fix.Alexander Harkness1-0/+11
2014-10-27Fixed typo.Alexander Harkness1-1/+1
2014-10-27Pocess?Alexander Harkness1-2/+2
2014-10-27cIntGen: Added a virtual destructor.Mattes D1-0/+4
2014-10-27Removed too advanced C++11 features.Mattes D2-32/+28
We need to keep gcc 4.6 compatibility; these features were not implemented in that version yet.
2014-10-26IntGen: Attempt at fixing Linux compilation.Mattes D1-13/+13
2014-10-26BioGenGrown: Smaller biomes, add land to map center.Mattes D2-16/+13
2014-10-26Fixed a copypasta error in cIntGenAddToOcean.Mattes D1-4/+4
2014-10-26Added a missing header to CMakeLists.Mattes D1-0/+1
2014-10-26Added new biomegen: GrownMattes D3-0/+1053
2014-10-26Added IsBiomeVeryCold() and IsBiomeCold() functions.Mattes D2-0/+71
2014-10-26Added type to block type enum.Mattes D1-1/+11
2014-10-25Cleaned up simulatorsTiger Wang17-2681/+2644
2014-10-25Fixed some block checksTiger Wang2-4/+3
* Fixes #1330
2014-10-24Moved the chrono include into Globals.Mattes D2-1/+2
2014-10-24Added a missing chrono include.Mattes D1-0/+1
2014-10-24IniFile: Removed the problematic printf-like Set function.Mattes D2-20/+0
It wasn't used in any client code anyway.
2014-10-24OSSupport/CMakeLists.txt: fixed indentationarchshift1-3/+3
2014-10-24SuggestionsTiger Wang7-10/+50
2014-10-24Fixed formatstringworktycho1-1/+1
2014-10-24Fixed potential linker errors with mingw, as it isn't MSVC and it isn't APPLE.archshift1-4/+4
2014-10-23Fix linking on OS X, which does not have librt.archshift1-2/+6
2014-10-23Use 3 priorities.Howaner4-7/+45
2014-10-23IniFile: Removed an unused macro.Mattes D1-4/+0
2014-10-23Removed iniFile library from linux dependencies.Mattes D2-2/+2
2014-10-23Merged IniFile into main MCS sources.Mattes D27-27/+1160
2014-10-23Fixed a crash in redstone simulator.Mattes D1-1/+0
2014-10-23Reimplemented cEvent using C++11 primitives.Mattes D2-136/+51
Fixes #1523.
2014-10-23Removed the "conditional expression is constant" warning.Mattes D1-2/+4
MSVC spits out many of these on its own std libraries.
2014-10-23Signs can be placed on wallsigns.Alexander Harkness1-1/+1
Fixes #1438
2014-10-23Added FastRandom.* back to CMakeLists.txt.Mattes D1-0/+2
2014-10-23En masse NULL -> nullptr replaceTiger Wang211-1746/+1768
2014-10-22ComposableGenerator: Removed nullptr initializers.Mattes D1-3/+3
2014-10-22LuaState: Projectiles are pushed using their full class.Mattes D1-1/+1
2014-10-21cItemFrame: Fixed a forgotten rename.Mattes D2-2/+2
2014-10-21Properly exported cItemFrame and cHangingEntity to Lua.Mattes D10-67/+100
2014-10-21Fixed trailing whitespace.Mattes D2-2/+2
2014-10-21Exported individual projectile classes to Lua API.Mattes D18-221/+367
They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list.
2014-10-21Reverted hook move.Howaner1-5/+5
2014-10-21style.Howaner1-1/+2
2014-10-21Moved tall grass pickups handle.Howaner2-9/+37
2014-10-21Use two lists and 2 chunk send prioritys.Howaner4-66/+40
2014-10-21New c++11 stuff.Howaner1-4/+4
2014-10-21Missing EOL.Alexander Harkness1-1/+1
2014-10-21Alignment.Alexander Harkness1-6/+6
2014-10-21Missing space.Alexander Harkness1-1/+1
2014-10-21Missing space fix.Alexander Harkness1-1/+1
2014-10-21Compile fix?Tiger Wang2-4/+2
2014-10-21Windows close handlers handles more closesTiger Wang1-5/+2
2014-10-21Replace &*[0] accesses with .data()Tiger Wang3-8/+8
2014-10-21cLuaState: cEntity is pushed with specific type.Mattes D1-7/+48
2014-10-20En masse NULL -> nullptr replaceTiger Wang211-1439/+1439
2014-10-20Use std::recusive_mutexTiger Wang3-52/+9
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang18-168/+45
2014-10-20Fixed #1550Julian Laubstein1-6/+6
2014-10-20Fixed a potential crash in cEntity bindings.Mattes D1-2/+6
2014-10-20Found it!Julian Laubstein1-1/+1
2014-10-20Fix for fix #1552Julian Laubstein1-2/+2
2014-10-20Added error messageJulian Laubstein2-9/+11
2014-10-20Added error handling to load <plugin> commandJulian Laubstein1-1/+11
2014-10-19Removed obsolete tr1::shared_ptr.Mattes D1-13/+2
2014-10-19Fixed minor style issues.Mattes D3-3/+3
2014-10-19TwoLevel BioGen: fixed swapped inside and outside biomes.Mattes D1-1/+1
2014-10-19Fixed error with non-const functionJulian Laubstein2-2/+2
2014-10-19Migrated random generators to std::randomTiger Wang16-556/+102
2014-10-19Added mechanics placeable on halfslabsJulian Laubstein4-10/+79
2014-10-19Mountain height gen: Added ditches.Mattes D2-8/+16
2014-10-19Generator: Rewritten to use SharedPtrs.Mattes D18-181/+145
2014-10-19cLuaState: cMonster descendants don't push their specific type.Mattes D1-1/+10
The individual mob types aren't exported to Lua, so pushing them would crash the server.
2014-10-19cLuaState: cBlockEntity descendants are pushed with proper class type.Mattes D17-26/+63
2014-10-19LuaState: Pushing a cEntity pushes the correct class name.Mattes D2-6/+8
This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant.
2014-10-19Bindings: Removed obsolete codegen files.Mattes D3-237/+0
LuaState_Call.inc is no longer needed, it was replaced with variadic templates.
2014-10-19Use std::threadTiger Wang13-432/+59
2014-10-18Fixed failure for cRankManager to restartTiger Wang4-43/+44
2014-10-18Furnaces now update their block entity typeTiger Wang2-3/+5
Therefore improving cChunk's variable boundary checking.
2014-10-18Simpler code.Alexander Harkness1-3/+2
2014-10-17cMojangAPI: Don't update data if server is in offline mode.Mattes D5-8/+12
2014-10-17LuaChunkStay: Fixed a crash on unused callback.Mattes D1-2/+6
2014-10-16Nullptr?Alexander Harkness1-2/+2
2014-10-16Merged branch 'fix_chunks'.Mattes D2-3/+35
2014-10-16Fixed a number of stylistic issues.Alexander Harkness1-7/+7
2014-10-16Use universal referencesworktycho1-4/+4
2014-10-16Changed i variable to jSTRWarrior1-3/+10
The server wasn't going over all the items before.
2014-10-16BioGen: Fixed a compiler warning.Mattes D1-2/+2
2014-10-16Reversed wrong fix for #1517.STRWarrior1-8/+2
2014-10-15Reversed the order of the lootSTRWarrior1-7/+15
For some reason the rare items weren't generating at all. Added forgotten Golden Apple
2014-10-15Added loot to dungeons.STRWarrior1-1/+27
2014-10-15Fixed possible crashSTRWarrior1-1/+8
It could crash if MinAmount - MaxAmount was 0 because it would execute (Number % 0)
2014-10-15cLuaState::Call() uses variadic templates.Mattes D1-3/+75
(doesn't compile)
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D29-181/+220
2014-10-15Using C++11 loopsSTRWarrior1-5/+5
2014-10-15The code now prevents conflicting enchantments.STRWarrior1-0/+1
2014-10-15IntNoise1DInt result gets devided by 7 firstSTRWarrior1-1/+1
suggestion by xoft
2014-10-15Adding enchantments directly instead of first getting the name of it.STRWarrior1-1/+1
2014-10-15Renamed the counter to 'j'STRWarrior1-1/+1
2014-10-15Returned cFastRandom and cEnchantment:GetRandomEnchantmentFromVector to beforeSTRWarrior5-16/+36
Added cEnchantment:GenerateEnchantmentFromVector that allows to get the same enchantments over and over.
2014-10-15Enchanted books generate in MineShafts chestsSTRWarrior5-6/+30
2014-10-15Usernames are lowercased before generating offline UUID.Mattes D1-1/+4
This breaks previous offline UUIDs, but it guarantees that future offline UUIDs will be the same even for usernames with wrong capitalization.
2014-10-13cWorld: Fixed scheduler.Mattes D1-9/+18
Fixes #1534. Added a test case into the Debuggers plugin.
2014-10-13Fixed style.Mattes D3-4/+7
2014-10-13CheckBasicStyle ignores the Bindings.h generated file.Mattes D1-0/+1
2014-10-12Aligned simulatorsworktycho1-5/+5
2014-10-12Fix styleworktycho1-2/+2
2014-10-12Fix spacesworktycho1-2/+2
2014-10-12Update World.cppworktycho1-1/+1
2014-10-12fix std:min call, include algorithm and compare same typeSteven Riehl1-2/+2
2014-10-12refactor an if block to std::minSteven Riehl1-4/+1
2014-10-12convert old style casts to fix warningsSteven Riehl17-549/+486
2014-10-11Fixed compilation.Alexander Harkness1-1/+1
2014-10-11Fixed typo and removed useless right side up slab meta.Alexander Harkness1-2/+1
2014-10-11Fix lambda captureworktycho1-1/+2
2014-10-10Moved a few objects to unique_ptrtycho4-39/+41
2014-10-10Fixed MSVC compilation.Mattes D2-1/+3
2014-10-09Float/Ciel: If it's going to use C++11, it might as well take advantage of itarchshift3-26/+12
2014-10-09Use static casts instead of C casts, add floor-cast functionsarchshift3-24/+55
2014-10-09DistortedHeightmap: Fixed crash on number rounding.Mattes D1-4/+5
Fixes #1521.
2014-10-08Added comments to the GetAcaciaTreeImage functionSTRWarrior1-0/+18
2014-10-08Using array with possible directions.STRWarrior1-8/+9
2014-10-08Added AcaciaTrees for the savanna biomesSTRWarrior1-5/+56
2014-10-07Added distance check.Howaner1-0/+12
2014-10-07Leaves are harvest-able.Howaner1-2/+0
2014-10-07Corrected drops from dead bush, tall grass and cobweb.Howaner5-39/+64
2014-10-07Corrected IsBlockAttachable() in BlockVine.hHowaner1-5/+15
2014-10-07Removed BlockHaybale.h from CMakeLists.txtHowaner1-1/+0
2014-10-07Removed unused cBlockHayBaleHandler.Howaner2-24/+1
2014-10-06Stream 4 chunks per tick. Added priority.Howaner7-29/+58
2014-10-06Better StreamNextChunk() methodHowaner2-15/+120
2014-10-06Fixed crash in ForEachEntityInBox API.madmaxoft3-6/+18
Fixes #1511.
2014-10-06cMojangAPI: Added periodical refreshes.Mattes D2-19/+132
2014-10-06Update CMakeLists.txtworktycho1-1/+1
2014-10-05Fixed a missed value.madmaxoft1-1/+1
2014-10-05Removed obsolete cMonster::eType.madmaxoft1-3/+0
Has been replaced with global eMonsterType.
2014-10-05Fixed eMonsterType Lua API mismatch.madmaxoft6-54/+25
2014-10-05cClientHandle: Added protocol version knowledge.Mattes D4-3/+21
2014-10-05Added a cEvent::Wait() with timeout.Mattes D2-0/+51
2014-10-04Fixes #1503 - No gravel is being generatedwin32re1-1/+1
2014-10-03Comment suggestionsTiger Wang1-2/+3
2014-10-03Improved furnacesTiger Wang15-180/+131
* Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070
2014-10-02Optimized chunk loaderHowaner7-105/+93
2014-10-02Fix spelling of PRISMRAINEAlexander Harkness1-1/+1
Fixes #1497
2014-10-01Fixed sortingMasy981-2/+2
2014-10-01Fixed Red Sandstone and Prismarine dropsMasy983-24/+30
2014-10-01Added Daylight Sensors to the "can't push" listMasy981-0/+2
2014-10-01Fixed ":"Masy981-11/+11
2014-10-01Added missing 1.8 blocks, E_METAs and soundsMasy983-7/+59
2014-10-01cRoot: Removed useless variable from Lua API.madmaxoft1-2/+3
2014-10-01cPlayer: Removed useless functions from the Lua API.madmaxoft1-2/+6
2014-10-01Bindings: Fixed binding for cPlayer::PermissionMatches().madmaxoft1-10/+4
2014-10-01Unified cRoot broadcast chat documentation.madmaxoft1-5/+5
2014-10-01cClientHandle: Alpha-sorted the sending functions.madmaxoft1-7/+7
2014-09-30Removed WSSCompactTiger Wang28-1664/+0
2014-09-30Improved torch handlerTiger Wang2-70/+52
2014-09-30Code improvementsHowaner3-3/+7
2014-09-30Fixed 1.8 dirt typesHowaner3-3/+35
2014-09-30Fixed a missing semicolon.madmaxoft1-1/+1
2014-09-30Fixed iron trapdoorsHowaner4-2/+9
2014-09-30Fixed 1.8 doors.Howaner1-1/+14
2014-09-30IndentationJulian Laubstein1-3/+3
2014-09-30Rewritten plugin messages, vanilla are being parsed directly.madmaxoft6-118/+242
This should finally fix the compatibility problems between 1.7 and 1.8 protocols with the changes in the vanilla plugin messages.
2014-09-30Set right indentationJulian Laubstein1-3/+3
2014-09-30actual solving of the halfslap+torch problemJulian Laubstein1-1/+3
2014-09-29RankMgr: GetAllPlayers() returns players sorted by name.madmaxoft2-2/+2
2014-09-29Style fixes.madmaxoft3-10/+13
2014-09-29World: Fixed chunk generation by plugins.madmaxoft1-1/+1
ChunkWorx was broken, it was trying to generate chunks that were not properly marked as InQueue.
2014-09-29Fixed codestyle again.Alexander Harkness1-1/+1
2014-09-29BlockStone.h: fix the codestylew00tc0d31-6/+5
2014-09-29Tabs -> spacesw00tc0d31-4/+4
2014-09-29BlockStone: drop the right cobblestone on onBreak().netchip2-3/+15
Signed-off-by: netchip <w00tc0d3@outlook.com>
2014-09-29Renamed GetAllPlayers() to GetAllPlayerUUIDs()Howaner3-7/+7
2014-09-29Update BlockTorch.hJulian Laubstein1-3/+3
2014-09-29Added torches placeable on upside-down-halfslapsJulian Laubstein1-1/+3
2014-09-29DerpJonathan Frederick1-1/+1
2014-09-29Fix commentsJonathan Frederick1-2/+2
2014-09-28Plugin messages: Vanilla prefixes its payloads with VarInt lengths.madmaxoft1-4/+13
2014-09-28Make endermen take damage in waterJonathan Frederick2-0/+21
2014-09-28Revert "1.8: Fixed plugin messages."madmaxoft1-1/+3
This reverts commit 04ee8c43dd17eb98d1e3d66ff691898e9f269b95.
2014-09-28Protocol 1.8: Fixed possible crash on malformed packet.madmaxoft1-0/+5
2014-09-28Fixed trailing whitespace.madmaxoft1-1/+1
2014-09-28Fixed compilationSTRWarrior1-1/+10
2014-09-28Added Granite, Diorite and Andesite to the NaturalPatches generator.STRWarrior3-7/+37
2014-09-28Fixed SetDefaultRank() return value.Howaner1-1/+1
2014-09-28Update Chunk.cppworktycho1-1/+1
2014-09-28Use factory method to construct redstone simulator dataTycho4-1/+13
2014-09-28cRankManager: Added ClearPlayerRanks()Howaner3-0/+45
2014-09-28Compilation fixTiger Wang2-4/+4
2014-09-28Compilation fixTiger Wang1-1/+1
2014-09-28Updated api documentation.Howaner1-1/+1
2014-09-28cRankManager: Added GetAllPlayers() and GetPlayerName()Howaner4-0/+157
2014-09-271.8: Fixed plugin messages.Howaner1-3/+4
2014-09-27Bug fixTiger Wang5-32/+27
2014-09-27Fixed another redstone crash.madmaxoft1-1/+6
2014-09-27BioGen: TwoLevel is now fully settable in INI.madmaxoft2-44/+31
2014-09-27Combined conditionsMasy981-8/+11
2014-09-27Fixed minor style issues.madmaxoft3-3/+3
2014-09-27Wrapped clang-specific pragma into an #ifdef block.madmaxoft1-1/+6
MSVC was complaining about an unknown pragma.
2014-09-27Added barriers correctlyMasy982-0/+6
2014-09-27SuggestionsTiger Wang6-23/+69
2014-09-27Update IncrementalRedstoneSimulator.incworktycho1-1/+1
2014-09-27Update IncrementalRedstoneSimulator.incworktycho1-1/+1
2014-09-27Correct method name.worktycho1-1/+1
2014-09-27Set chunk dataworktycho1-0/+5
2014-09-27Add data accessor.worktycho1-0/+1
2014-09-27Dropped support for <1.7.xTiger Wang22-4733/+6
2014-09-27Added default value to switch and spruce gate to fence gate handlerMasy982-0/+6
2014-09-27Fixed convertToPickups for fence gatesMasy981-1/+1
2014-09-27Fixed convertToPickups for doorsMasy981-1/+38
2014-09-27Fixed compile errors.Howaner2-42/+42
2014-09-26Fixed UNUSED macro so that it doesn't require type knowledge.madmaxoft2-5/+14
Introduced new UNUSED_VAR macro that is used when type knowledge is available (for local variables).
2014-09-26Update Plugin.hworktycho1-2/+0
2014-09-26Moved curly brace to seperate lineMasy981-1/+2
2014-09-26Re-added 1.8 blocks to the redstone simulatorMasy981-9/+46
2014-09-26Removed more unessicary includesTycho48-59/+55
2014-09-26Fixed issue with castingtycho3-3/+8
2014-09-26Fixed players custom name in 1.8Howaner14-66/+30
2014-09-26Removed a few unnessicary includesTycho10-21/+16
2014-09-26Added type checking to map loading.Howaner2-11/+11
2014-09-26Improved searching for spawn.madmaxoft1-3/+14
Won't spawn on a small island inside ocean anymore.
2014-09-25cByteBuffer: Simplified ReadPosition().madmaxoft1-6/+9
Also, by popular demand, added more comments to the code.
2014-09-25Protocol 1.8: Fixed plugin message packet.madmaxoft1-1/+3
2014-09-25cByteBuffer: Fixed position reading.madmaxoft1-3/+3
2014-09-25TwoLevel BioGen: reads params from INI file.madmaxoft1-9/+26
2014-09-25Added cByteBuffer::WriteBEUShort().madmaxoft3-1/+15
2014-09-25Protocol 1.8: Handling packet compression properly.madmaxoft2-14/+39
The compression didn't work with CommLog turned on.
2014-09-25Protocol 1.8: Added checks for values presence.madmaxoft1-2/+8
Reported by @worktycho / Coverity.
2014-09-25Comment styleHowaner1-1/+1
2014-09-25Fixed wrong Surrounding sizeHowaner1-3/+3
2014-09-25Anvil: Arrow Tile tags are a short in VanillaHowaner2-7/+24
2014-09-25Use the json writer to write sign texts.Howaner1-5/+10
Without this change the client disconnects if the text contains "
2014-09-25Fixed dispender direction bugHowaner1-1/+1
2014-09-25Fixed hanging direction bugs.Howaner3-2/+17
2014-09-25Redstone: Fixed a crash with repeaters on a chunk border.madmaxoft1-13/+22
2014-09-251.8 Protocol: Fixed problems with no-payload packets.madmaxoft1-6/+7
2014-09-251.7 Protocol: fixed potential problems with no-payload packets.madmaxoft1-4/+4
2014-09-25HangingEntity: Silenced a crash.madmaxoft1-2/+8
Vanilla worlds sometimes contain data that this was asserting upon. Changed into a log.
2014-09-25Fixed styleTycho4-2/+108
2014-09-24derpHowaner1-4/+4
2014-09-24Don't create two entity lists.Howaner2-7/+14
2014-09-23Anvil: Wolf collar color is a byte in Vanilla.madmaxoft2-4/+18
Kept the old Int reading for compatibility reasons. Ref.: #1448
2014-09-23Fixed compiler warnings in 1.8 protocol.madmaxoft1-2/+2
2014-09-23Fixed a crash in WSSAnvil.madmaxoft1-3/+3
Reported as #1448.
2014-09-23MCServer world compatiblity with vanilla and mcedit.Howaner3-5/+52
2014-09-23Made ExpBottleEntity break on entities.archshift2-1/+23
Fixes #1369
2014-09-23A few compiler warning fixesChris Darnell5-44/+47
2014-09-22Updated README.mdHowaner1-1/+1
2014-09-22Hotfixed 1.8 item reading.Howaner2-6/+6
2014-09-22Changed metadata reading again.Howaner2-173/+7
2014-09-22Fixed item nbt reading.Howaner2-3/+168
2014-09-22Made it compile with clangChris Darnell6-11/+11
2014-09-21Fix crash in cLineBlockTracerTiger Wang1-8/+7
* Fixes #1418
2014-09-20Fixed cParsedNBT::FindTagByPath().madmaxoft1-1/+1
There was an off-by-one error in the name handling.
2014-09-19Implemented mob spawner.Howaner11-67/+393
2014-09-19Code improvements.Howaner4-38/+36
2014-09-18DerpHowaner1-1/+1
2014-09-18Exported player list states to extra functions.Howaner14-531/+837
2014-09-181.8: Simplified item metadata reading.Howaner3-27/+3
2014-09-17Fixed minor style issues.madmaxoft3-5/+5
2014-09-17Voronoi biomegen: Added JitterSize and OddRowOffset.madmaxoft3-88/+164
2014-09-17Implementing Spectator Modenesco1-1/+1
Adding some proprieties of the spectator game mode in player.cpp : - Players can't toss items - Players can't touch the ground
2014-09-17Added an explicit setting for allowing BungeeCord handshake.madmaxoft3-1/+16
2014-09-17Added first test to show the object can be createdTycho43-456/+508
2014-09-17Use xofts ReadPosition() code.Howaner1-3/+6
2014-09-17Created MobSpawnerEntity class.Howaner4-1/+165
2014-09-17Update World.hnesco1-1/+1
2014-09-17Preparing 1.8 updatenesco1-5/+15
2014-09-17BungeeCord compatibility: don't overwrite UUID / properties.madmaxoft1-2/+10
2014-09-17Full BungeeCord compatibility.madmaxoft2-1/+17
Fixes #1392. Fixes SpigotMC/BungeeCord#1211.
2014-09-17Initial BungeeCord support.madmaxoft4-1/+43
Ref.: #1392
2014-09-16IncrementalRedstoneSimulator now has no dependencies on cChunkTycho6-375/+384
2014-09-16Preparing 1.8 updatenesco1-1/+2
Partially added Spectator gamemode
2014-09-16Preparing 1.8 update nesco1-0/+3
Added Spectator gamemode
2014-09-16Pre 1.8 releasenesco1-0/+8
Added Spectator gamemode
2014-09-16Preparing 1.8 changesnesco1-0/+3
Added Spectator Gamemode
2014-09-16Pre 1.8 releasenesco1-0/+2
Added Gamemode Spectator
2014-09-15VoronoiMap: Added Jitter and OddRowOffset params.madmaxoft2-11/+55
2014-09-14Simplified WriteUUID()Howaner1-9/+9
2014-09-14Fixed warnings.Howaner1-3/+3
2014-09-14OSSupport: Fixed UNICODE Windows builds.Mattes D2-8/+8
The files now compile even inside UNICODE applications.
2014-09-13Improved cBlockHandler::DropBlockTiger Wang5-46/+34
2014-09-13Entities experience water resistanceTiger Wang2-16/+31
2014-09-131.8: Updated scoreboard packets.Howaner1-3/+7
2014-09-13Moved chat json creating to the CompositeChat class.Howaner6-346/+192
2014-09-13e.t.c. -> etc.Tiger Wang1-1/+1
etcetera, not egg tray conglomerate :P
2014-09-13Added newlinesTiger Wang1-1/+5
2014-09-131.8: Fixed maps.Howaner12-45/+43
2014-09-13Implemented Chest MinecartsTiger Wang15-94/+161
2014-09-12Fixed friction being applied whilst airborneTiger Wang1-11/+13
Reported by tonibm9 in #1300.
2014-09-12Only drop flint or gravel, not both.Howaner1-2/+4
2014-09-12Added extra mushroom handler.Howaner4-10/+60
2014-09-12Fixed farmland issues.Howaner11-64/+75
2014-09-12Only place farmland if no block is upper than dirt/grass.Howaner1-1/+6
2014-09-12Added hoe interact sound.Howaner1-0/+1
2014-09-12Play placesound from the middle of the block.Howaner1-1/+1
2014-09-12Fixed block place sounds.Howaner2-15/+27
2014-09-12Added Sea Lantern dropsMasy982-0/+32
2014-09-12Fixed 1.8 Item stacking and block harvestingMasy982-26/+44
2014-09-12Spawn exp if you break a mob spawner.Howaner6-4/+50
2014-09-12Disabled mobspawner itemdrop.Howaner1-0/+1
2014-09-12Players in survival mode are not allowed to break a bedrock.Howaner1-0/+6
2014-09-12Fixed iron ore drop.Howaner1-1/+2
2014-09-12Added flint drop and fence gate meta reset.Howaner2-0/+17
2014-09-12Fixed many right click issues.Howaner2-7/+17
2014-09-12Fixed wrong buffer length in the 1.8 protocol.Howaner1-10/+4
2014-09-121.8: Fixed ReadItem()Howaner2-20/+40
2014-09-121.8: Added difficulty sendingHowaner1-0/+6
2014-09-121.8: Fixed block entities.Howaner1-8/+2
2014-09-121.8: Fixed eating.Howaner1-0/+1
2014-09-121.8: Fixed workbench, enchanting and anvil window.Howaner1-3/+19
2014-09-121.8: Enderman, byte -> shortHowaner1-1/+1
2014-09-121.8: Fixed enderman spawning.Howaner1-1/+1
2014-09-111.8: Fixed inventory open packet.Howaner3-4/+32
2014-09-11Removed GetProtocolVersion() from the protocols.Howaner7-19/+6
2014-09-111.8: Fixed sign placing.Howaner1-1/+1
2014-09-111.8: Fixed hangings.Howaner4-32/+89
2014-09-11Don't include IncrementalRedsonteSimulator.inc when in SELF_TEST modeTycho1-5/+0
2014-09-11Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho22-2339/+2403
THis wil hopefully allow for unit testing
2014-09-111.8: Added ParticleEffect packet.Howaner19-38/+115
2014-09-11Added new doors in ItemDoor.hMasy981-1/+15
2014-09-11Fixed mutton name in Sheep.cppMasy982-3/+11
2014-09-11Fixed mutton name in ItemHandlerMasy981-1/+1
2014-09-11Added barrier blockMasy983-1/+7
2014-09-11Added 1.8 food to the food listMasy982-2/+5
2014-09-11Added blocks to the fire simulatorMasy981-0/+11
2014-09-11Fixed incorrect handlersMasy981-3/+3
2014-09-11Fixed a redstone sim failure with droppers.Mattes D1-1/+1
2014-09-10Added stone slab in BlockSlab.hMasy981-1/+3
2014-09-10Fixed typoMasy981-1/+1
2014-09-10Added new blocks to the BlockInfoMasy983-12/+76
2014-09-10Added new blocks to the BlockHandlerMasy981-0/+12
2014-09-10Added iron trapdoor, fence gates and doors to the redstone simulatorMasy981-0/+11
2014-09-10Added 1.8 Blocks and ItemsMasy981-0/+37
2014-09-10Grammar fixes.Alexander Harkness1-2/+2
2014-09-10Added abilty to set build infoTycho3-0/+24
build info is displayed at startup Fixes #1410
2014-09-09Removed old sound-configuration for SignPostsMasy981-6/+0
2014-09-09Removed old sound-configuration for RepeatersMasy981-6/+0
2014-09-09Removed old sound-configuration for TrapdoorsMasy981-5/+0
2014-09-091.8: Added MultiBlockChange packet.Howaner4-54/+86
2014-09-09Removed old sound-configuration for doorsMasy982-10/+0
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy9845-272/+172
2014-09-09Actually set defaultworktycho1-0/+1
2014-09-09Added the player list to the 1.8 protocol.Howaner15-31/+108
2014-09-09PlayerSpawn packet: Send the correct uuid.Howaner1-5/+1
2014-09-091.8: Added new uuid field.Howaner3-17/+44
2014-09-08use the correct ASSERTworktycho1-2/+2
2014-09-08FIxed a couple more warningsTycho1-2/+8
2014-09-08More fixes.Howaner3-12/+7
2014-09-08TimeOfDay does not need to be an Int64Tycho3-6/+6
2014-09-08Fixed a few compile warningsTycho1-9/+14
2014-09-08Recoded cProtocol180 class.Howaner4-589/+2690
2014-09-08capitalisation errorworktycho1-1/+1
2014-09-081.8: Fixed tab complete.Howaner3-2/+20
2014-09-08Fixed more 1.8 packets.Howaner7-47/+313
2014-09-08derpworktycho1-1/+1
2014-09-08If server fails init, save any changed or generated settings.worktycho1-0/+1
2014-09-08Updated chunk sending to 1.8Howaner4-26/+22
2014-09-08Added GetProtocolVersion() to cProtocol.Howaner8-26/+29
2014-09-08Implemented packet compression.Howaner7-35/+117
ChunkData packet needs this.
2014-09-07Exported cClientHandle:GetIPString() to Lua API.Mattes D1-1/+1
2014-09-07Webadmin: Added default ports to auto-generated ini file.Mattes D1-2/+6
Fixes #1382.
2014-09-07WebAdmin: Added HTTPS instructions when cert / key is missing.Mattes D1-0/+1
2014-09-06Removed chunk's unused Y coord.Mattes D2-5/+4
This fixes the second issue of #1313.
2014-09-06Added Y-wise asserts to signs.Mattes D3-0/+4
This should help detect #1313's second case.
2014-09-06Alpha-sorted protocol 1.7 senders.Mattes D1-7/+7
2014-09-06Fixed player spawning in unknown world.Mattes D1-0/+4
This may happen if the admin removes a world.
2014-09-06Anvil: Fixed an off-by-one error in the loader.Mattes D1-1/+1
Fixes #1307.
2014-09-06Fixed scoreboard loader type checks.Mattes D1-10/+10
Fixes scoreboard loading error reported on the Dropper map in #1307.
2014-09-06Xoft fixes.Alexander Harkness1-1/+1
2014-09-05WorldStorage no longer queues chunks into generator.Mattes D4-51/+17
2014-09-05Fixed loading empty chunks.Mattes D2-2/+7
Reported on the Dropper map in #1307.
2014-09-05Rewritten chunk status to specify whether the chunk is in queue.Mattes D9-107/+141
This fixes #1370.
2014-09-05BiomeMultiCache is not used for simple generators.Mattes D1-21/+22
2014-09-05Fixed style.Mattes D3-9/+13
2014-09-05Fixed security: Player cannot spawn in a disabled world.Mattes D1-1/+1
2014-09-05Anvil: Fixed loading block entities with invalid Y coord.Mattes D1-1/+1
2014-09-04Fixed client errors.Howaner5-52/+79
2014-09-04Fixed compilation after chunk Y removal.madmaxoft1-1/+1
2014-09-04Anvil: Cleanly refuse to store data that is too large.madmaxoft1-1/+7
Each chunk in MCA needs to be less than 1 MiB compressed; chunks that are larger will be refused with a log message.
2014-09-04Added more 1.8 protocol things.Howaner6-14/+632
2014-09-04Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc"archshift4-62/+29
This reverts commit 472efa8174626a00ffdf5b39e1a44ac419cd3698. Apparently we don't support some of these features quite yet (darn you C++98!)
2014-09-04In 1.8, carrots and potatoes yield one less hunger point.archshift2-2/+2
2014-09-04Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etcarchshift4-29/+62
Snow Golems must also be above 64Y to spawn snow (as of 1.8).
2014-09-04Started implementing of the 1.8 protocol.Howaner7-7/+502
2014-09-03LuaState: Fixed class value-getting off the stack.madmaxoft1-4/+4
2014-09-03LuaState: Fixed referenced function pushing.madmaxoft2-1/+9
The references are no longer destroyed by the call.
2014-09-03ChunkGenerator: Log world seed when creating a new one.madmaxoft1-3/+14
2014-09-03Anvil: switched inflate to stream mode.madmaxoft3-18/+70
This removes the fixed-size buffer which could have caused #1307 and #1366.
2014-09-03change to linear calculationDayBr3ak2-9/+7
2014-09-03Exported ForEachEntityInBox() to Lua API.madmaxoft1-0/+70
2014-09-03Added cWorld::ForEachEntityInBox()madmaxoft8-0/+117
2014-09-03cBoundingBox: Added accessors.madmaxoft1-0/+11
2014-09-03commitLO1ZB1-1/+1
2014-09-03Fixed style and alpha-sorting.madmaxoft6-20/+20
2014-09-03Added mutton, which sheep now drop when killedarchshift4-0/+13
2014-09-03EntityEffect.cpp: Enable 1.8's leaping potionarchshift1-1/+1
2014-09-03adapting formatDayBr3ak3-7/+14
2014-09-03re-add the missing "s" too cChunkCoordsWithBoolListLO1ZB3-6/+6
2014-09-03hopefully the last commit for removing y-coord from chunks. :)LO1ZB5-23/+41
2014-09-02Clang wants volatile...madmaxoft1-1/+1
2014-09-02Added strict error reporting to chunk loading.madmaxoft1-1/+29
This should help with #1307.
2014-09-02Changed the IsEnchantable() comment again.Howaner1-1/+2
2014-09-02Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner3-9/+9
2014-09-02[WebAdmin] Code improvements.Howaner2-61/+99
2014-09-02Added CustomName saving.Howaner3-2/+23
2014-09-02Added the new functions to APIDump.Howaner2-3/+3
2014-09-02Added SetCustomName() to players.Howaner15-41/+124
2014-09-02forgot this oneDayBr3ak2-2/+2
2014-09-02opting for size_tDayBr3ak2-5/+5
2014-09-02fixing memory leakDayBr3ak1-4/+5
2014-09-02changing implem, using vectorsDayBr3ak2-98/+23
2014-09-02adding config file entry #381DayBr3ak1-1/+10
2014-09-02adding the multicache behaviorDayBr3ak3-4/+119
2014-09-01Pickups combine only within one chunk.madmaxoft1-2/+6
This greatly improves performance of the tick thread.
2014-09-01added multicache class definitionDayBr3ak1-0/+35
2014-09-01Fixed off-by-one errors in cChunkDef asserts.madmaxoft1-8/+8
2014-09-01Added name tagHowaner7-3/+31
2014-09-01Added CustomName to cMonster.Howaner4-4/+64
2014-09-01Make sure packets are validworktycho1-6/+24
Fixes CID 66408, 66409 and 72045
2014-09-01Fixed Bindings regeneration under MSVC.madmaxoft1-1/+6
2014-09-01fix possibility of a twice generated chunkLO1ZB1-1/+2
2014-09-01Fixed previous commit's wrong assumptions.madmaxoft1-10/+10
The equipment-getting functions return a copy already, so we can't take a pointer, really.
2014-09-01Fixed MSVC compilation, improved performance.madmaxoft1-30/+59
We're not creating copies of the equipped items anymore, rather, we're using pointers to them. Also pow() is needlessly slow for a simple second power, and MSVC2008 was confused about the pow() overloads.
2014-09-01Fixed MSVC warning.madmaxoft1-2/+2
2014-09-01Avoid false positive in style check.madmaxoft1-1/+1
2014-09-01Fixed style.madmaxoft1-1/+2
2014-08-31Removed isDone checkworktycho1-2/+2
The same data is returned by executeStep so why execute a call when you have the data.
2014-08-31Changed null check to assertworktycho1-5/+3
Changed the null check to clarify that the function should not be called before the entity has been attached to a world.
2014-08-31Use std::auto_ptrHowaner1-6/+6
2014-08-31Delete the entity before removing from the listworktycho1-1/+1
Old code was calling dereference on invalid iterator
2014-08-31Init RankMgr pointer to NULLworktycho1-1/+2
2014-08-31Fixed compile warnings.Howaner2-5/+5
2014-08-31Fixed wrong doxy-comment.Howaner1-1/+1
2014-08-31Rewrited furnace.txt loading.Howaner4-159/+119
2014-08-31WebAdmin: Stop webadmin if template can't load.Howaner1-1/+3
2014-08-31WebAdmin: Added "files" folder and load the login template from login_template.htmlHowaner2-10/+102
2014-08-31Fixed styleJaume Aloy3-8/+9
2014-08-31Check range of y in HasNearLogworktycho1-1/+1
Fixes #803
2014-08-30Fixed style.madmaxoft2-4/+6
2014-08-30WSSAnvil: Removed leftover debugging code.madmaxoft1-4/+0
2014-08-30Fixed MSVC2008 compilation.madmaxoft1-18/+18
It was getting confused about which sqrt() overload to call.
2014-08-30Changed the IsEnchantable() comment.Howaner1-1/+2
2014-08-30Fixed potion removing in creative mode.Howaner5-8/+16
2014-08-30Added slowness effect and added entity support.Howaner2-16/+65
2014-08-30Added SetWalkSpeed() to cMonster.Howaner2-0/+9
2014-08-30remove orphaned comment.LO1ZB1-4/+0
2014-08-30Added a_Digger checkJaume Aloy2-30/+33
2014-08-29cChunk: Fixed the Coords param.Mattes D1-1/+1
2014-08-29me being stupidLO1ZB1-1/+1
2014-08-29add commentsLO1ZB1-1/+2
2014-08-29fix chunk regeneratingLO1ZB3-9/+9
2014-08-29Rewritten block entity loading.Mattes D7-215/+308
Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked. The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't. Fixes #1354.
2014-08-29A better hotfix for CraftingRecipiesTiger Wang1-1/+1
2014-08-29Added new console command with cleanupTiger Wang2-28/+45
2014-08-29Improved explosion damageTiger Wang2-48/+28
2014-08-29Removed unused codeTiger Wang3-3/+1
2014-08-29Improved command block securityTiger Wang1-6/+19
2014-08-29VanillaFluidSimulator: Fixed an invalid Y-coord query.Mattes D1-1/+1
This was causing a spam of console messages, along with possible server crash, when liquids passed below the world: http://forum.mc-server.org/showthread.php?tid=1508&pid=15632#pid15632
2014-08-29Fixed conversion warning.Mattes D1-1/+1
2014-08-29Fixed spaces.Mattes D1-1/+1
2014-08-29Hotfixed recipe.txt loading.Hownaer2-4/+7
2014-08-28Added speed entity effect.Hownaer3-1/+46
2014-08-28Fire can be destroyed with the sword in creative-modeHownaer1-1/+2
2014-08-28Fixed anvil placing.Hownaer1-5/+6
2014-08-28APIDump: Added missing cItem things.Hownaer1-1/+1
2014-08-28Fixed a typo.Mattes D1-1/+1
2014-08-28Final template keyword style fix.Mattes D1-2/+2
2014-08-28More template keyword fixes.Mattes D5-16/+16
2014-08-28CheckBasicStyle: Added checking for the "template" keyword.Mattes D1-1/+2
2014-08-28Fixed spaces after "template" keyword.Mattes D5-14/+14
2014-08-28Added comments.Hownaer1-1/+3
2014-08-28Fixed bad values in the IsEnchantable() method.Hownaer2-5/+17
2014-08-28Fixed crashes and use std::swap.Hownaer4-26/+43
2014-08-28remove y-coord from chunksLO1ZB18-217/+208
2014-08-28Enchanting table improvements.Hownaer5-154/+113
2014-08-28Fixed mob burning.reiter1-1/+1
Fixes #1298
2014-08-27DungeonRooms: Fixed an off-by-one error.Mattes D1-2/+2
2014-08-27More basic style fixes.Mattes D1-2/+2
2014-08-27Fixed basic style violations.Mattes D2-13/+11
2014-08-27CheckBasicStyle: Relaxed the "space after comma".Mattes D1-1/+1
An apostrophe directly following a comma is not a violation.
2014-08-27DungeonRooms: Added a height probability distribution function.Mattes D3-9/+19
2014-08-27DungeonRooms: Added the spawner in the center of the room.Mattes D1-0/+15
2014-08-26DungeonRooms: Chests are never placed next to each other.Mattes D1-22/+27
2014-08-26DungeonRooms: Random pattern for floors.Mattes D1-1/+32
2014-08-26DungeonRooms: Replaced explicit switch with CanBeTerraformed().Mattes D1-11/+3
2014-08-26Added initial dungeon rooms finisher.Mattes D4-0/+289
2014-08-25Type warning fixes.Mattes D2-2/+2
2014-08-25Fixed a type warning.Mattes D1-2/+2
2014-08-24RankMgr: Exported the default-rank functions.Mattes D1-0/+55
2014-08-24RankMgr: Default rank is applied to players without any rank.Mattes D3-60/+21
2014-08-24Change comment formattingChristophe Piveteau1-20/+12
2014-08-23RankMgr: Unified function signature comments in the bindings.Mattes D2-28/+36
2014-08-23Assume POWER is big-endian, so it compiles.Alexander Harkness1-1/+1
[reference](http://nadeausoftware.com/articles/2012/02/c_c_tip_how_detect_processor_type_using_compiler_predefined_macros#POWER) We may want to come back and figure out if the processor is running in little-endian mode, but for now assume they're big-endian.
2014-08-23RankMgr: Implemented default rank, added defaults.Mattes D2-24/+198
2014-08-22Fixed item drop.Howaner1-14/+18
Fixes #1341
2014-08-22More EnchantmentsJaume Aloy2-58/+70
- Added Thorns and Respiration enchantments
2014-08-22Fixed a warning in FastRandom.Mattes D1-1/+1
2014-08-22World: Report chunk count for the spawn area.Mattes D1-1/+1
2014-08-22Fixed cPlugin::OnPlayerMoving signature.Mattes D3-3/+3
2014-08-22cLuaState: Fixed Vector3<> names pushed to Lua.Mattes D2-5/+44
2014-08-21Added initializers for class members.Mattes D14-9/+54
As reported by Coverity, these weren't initialized.
2014-08-21cSetChunkData: Added missing initializers.Mattes D1-0/+3
2014-08-21Added cWorld initializers.Mattes D1-0/+30
2014-08-21Fixed 1.7.2 login packet reading.Mattes D1-1/+5
Fixes #1317.
2014-08-21Sorted the generated param count.Mattes D1-1/+1
2014-08-21Fixed a compile-time warning in MSVC.Mattes D1-1/+1
2014-08-21cMojangAPI updates cRankManager's playernames.Mattes D4-2/+87
2014-08-21RankMgr: Added cRankManager::RemovePlayerRank().Mattes D3-0/+59
2014-08-21Removed last remnant of cGroup.Mattes D1-1/+0
2014-08-21Removed Group.h from Bindings' dependencies.Mattes D1-1/+0
2014-08-21Removed cGroup and cGroupManager.Mattes D10-395/+8
2014-08-21cMojangAPI: Fixed MakeUUID___() bindings.Mattes D2-4/+58
ToLua would generate a shadow return value for the input strings.
2014-08-21Protection Enchantments, some fixesJaume Aloy4-15/+122
- Protection echantments (fire, blast, feather falling, protection and projectile). It isn't finished, add secondary effects and optimize the code. - Removed some brackets. - Silk touch fixed.
2014-08-20Renamed a_Motd to a_ServerDescription.Howaner7-14/+14
2014-08-20Exported cServer:ShouldAuthenticate to Lua API.Mattes D1-1/+1
2014-08-20Added a_ClientHandle to the HOOK_SERVER_PING hook.Howaner8-10/+14
2014-08-20cPlayer: Exported the LoadRank function to Lua API.Mattes D1-2/+2
2014-08-20RankMgr bindings: fixed GetRankVisuals return value.Mattes D1-18/+22
2014-08-20RankMgr: Fixed an ignored return value in the API.Mattes D1-2/+2
2014-08-20Added "HOOK_SERVER_PING" call to older protocolsHowaner1-13/+12
2014-08-20Cleaned up code.Howaner3-848/+1
2014-08-20Added HOOK_SERVER_PINGHowaner8-36/+926
2014-08-20Removed old classes from the CMakeLists.txtHowaner1-2/+0
2014-08-19Code formatting fixes.Howaner29-152/+83
2014-08-19Changed if in BlockHandlerJaume Aloy2-6/+2
2014-08-19FixesJaume Aloy6-50/+51
- Changed m_TicksLeftBurning > 0 for IsOnFire() - Tried to do the changes in BlockHandler.cpp - Removed m_Creator in ArrowEntity - Added m_Enchantments in ProjectileEntity CreatorData - Added blank lines between functions
2014-08-19cPlayer reads ranks from cRankManager.Mattes D3-263/+139
2014-08-19Changed if for switchJaume Aloy3-15/+25
2014-08-19Added more enchantments and some fixesJaume Aloy6-23/+101
- Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect
2014-08-19Added some EnchantmentsJaume Aloy4-7/+100
- Bow enchantments: Infinity, Flame and Power - Sword and tools enchantments: Fire Aspect, Bane of Arthropods, Smite, Sharpness
2014-08-18Player: Silenced a few type conversion warnings.Mattes D1-2/+2
2014-08-18Adjust comment formattingChristophe Piveteau1-20/+40
2014-08-17Player saving creates the "players" folder, if needed.Mattes D1-0/+1
Fixes #1268.
2014-08-18SwamplandM: Fixed sometimes having no mountains.STRWarrior1-1/+1
2014-08-16Better OnPlayerMoving hook.Howaner6-9/+17
2014-08-16First implementation of HOOK_SERVER_PING.Howaner5-0/+43
2014-08-15Added a lot of commentsChristophe Piveteau1-30/+36
2014-08-15Clarify comment messageChristophe Piveteau1-2/+2
2014-08-15End of comment moved away from new lineChristophe Piveteau1-2/+1
2014-08-15Add some commentsChristophe Piveteau1-10/+21
2014-08-15Removed an unneeded cast.madmaxoft1-1/+1
2014-08-14RankMgr: Removed unneeded testing code.madmaxoft1-208/+2
2014-08-14Further changes in coding styleChristophe Piveteau1-38/+28
2014-08-14CheckBasicStyle checks the src folder as well.madmaxoft5-14/+20
2014-08-13Further fixing of coding style errorsChristophe Piveteau1-26/+22
2014-08-13Another intendation errorChristophe Piveteau1-2/+2
2014-08-13Fixed braces and intendation errorsChristophe Piveteau1-3/+11
2014-08-13Implement ability to push minecarts on curved railsChristophe Piveteau1-2/+70
2014-08-13Fixed commentsTycho1-5/+5
2014-08-13Added missing headerTycho1-0/+1
2014-08-13Fixed Integer pasing warnings in CraftingRecipies.cppTycho2-4/+64
2014-08-13File logger prefixes are 4 chars wide.madmaxoft1-6/+6
2014-08-13Logger: Fixed windows debug ODS logger, fixed-size file prefixes.madmaxoft1-8/+9
2014-08-13Logger: Fixed missing timestamp in log messages.madmaxoft1-1/+1
2014-08-13Fixed type issues in CraftingRecipe.cppTycho2-5/+5
2014-08-13Fixed forgotten error checkingTycho1-1/+5
2014-08-13Fixed shadowing variableTycho1-5/+5
2014-08-13Removed unused methodTycho2-25/+0
2014-08-13RankMgr: Fixed multithreading issues.madmaxoft2-49/+109
Only one thread is allowed to interact with a SQLite::Database object at a time. Additionally, improved performance of the migration by wrapping the entire thing in a transaction.
2014-08-13RankMgr: Initial migration code.madmaxoft3-1/+568
2014-08-12Fixed windows compilation and style issues.madmaxoft4-37/+177
2014-08-12Fix messing renameTycho1-1/+1
2014-08-12Renamed LoggersTycho14-426/+405
2014-08-11Revert "Removes the fire if the block under the fire was broken."Howaner1-5/+0
This reverts commit 01001d2a49a3366e9b1eccf938d5073ab9a2f06e.
2014-08-11Removes the fire if the block under the fire was broken.Howaner1-0/+5
2014-08-11Moved the clicked-through block check to the top of the function.Howaner2-41/+17
2014-08-11Fixed unchecked return values.madmaxoft1-3/+6
2014-08-11cProtocol172: Check return values.madmaxoft1-4/+9
Fixes CID 43489, CID 43490, CID 43491, CID 43493, CID 66410, CID 66411, CID 66416, CID 66417, CID 66418, CID 66419, CID 66420, CID 66421, CID 66422, CID 66423, CID 66424, CID 66425, CID 66429, CID 66430, CID 66431
2014-08-11Fixed cancelled fire interact from all directions.Howaner1-4/+12
2014-08-11Fixed tolua error with static initializationarchshift2-3/+12
2014-08-11Exported daylight cycle flag to the protocol.Howaner12-28/+29
2014-08-11Gave names to unnamed enumsarchshift4-5/+5
2014-08-11Player.cpp: change unnamed enum to constant integersarchshift2-7/+8
2014-08-10Fixed circular dependecy luaState_Call.incTycho1-1/+1
2014-08-10Fixed potential null dereferenceTycho1-5/+5
Fixes CID 70466
2014-08-10Bunch of tweaks:STRWarrior3-15/+15
Renamed Quarts to Quartz Using const_iterator instead of iterator Used CheckBasicStyle script to find style errors
2014-08-10SpacesTycho1-1/+1
2014-08-10Fixed potential crash in Player.cppTycho1-0/+4
Fixes CID 71780 If ShouldBroadcastDeathMessages is false the pointer would fall through to a check agaist it being a player
2014-08-10Fixed Tools to work with new logging frameworkTycho5-206/+0
2014-08-10Added forgoten filesTycho4-0/+457
2014-08-10First Implementatation of new Loggin frameworkTycho14-398/+49
2014-08-10Added a comment and simplified code.Howaner2-11/+5
2014-08-10Changed comment.Howaner1-3/+1
2014-08-10Fixed swing arm animation when you ate.Howaner1-4/+2
2014-08-10Added IsDaylightCycleEnabled saving.Howaner1-0/+2
2014-08-10Renamed functions.Howaner2-7/+7
2014-08-10Added NaturalPatches generatorSTRWarrior1-0/+22
It generates gravel and dirt.
2014-08-10Added NetherOreNests.STRWarrior1-0/+15
It generates Nether Quarts.
2014-08-10Changed cStructGenOreNests to take a list of ores + the block to replace.STRWarrior3-53/+83
2014-08-10Removed an old and outdated comment.STRWarrior1-2/+0
2014-08-09WebAdmin: Manually exported string conversion functions.madmaxoft2-6/+64
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
2014-08-09WebAdmin: Added GetURLEncodedString().madmaxoft2-1/+36
2014-08-09WebAdmin: Manually exported string conversion functions.madmaxoft2-6/+64
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
2014-08-09WebAdmin: Added GetURLEncodedString().madmaxoft2-1/+36
2014-08-09RankMgr: Added GetRankVisuals() function.madmaxoft3-5/+81
2014-08-08Exported cRankManager to LuaAPI.madmaxoft5-1/+894
2014-08-08cLuaState: Added GetStackValues() auto-generated templates.madmaxoft1-0/+27
These will read consecutive values off the stack, each value of a type independent of the other values. Auto-generated because we don't have variadic templates in C++03.
2014-08-08Renamed m_DoDaylightCycle to m_CycleDaylight.Howaner2-7/+7
2014-08-08Added comment.Howaner1-0/+3
2014-08-08RankMgr: Finished API implementation.madmaxoft2-38/+401
2014-08-08Send the old slab to the client when the interact cancelled.Howaner1-0/+11
2014-08-08RankMgr: Implemented GetXforY and GetAll APIs.madmaxoft2-18/+162
2014-08-08RankMgr: Implemented the basic API functions.madmaxoft2-60/+696
2014-08-08RankMgr: Renamed PermissionGroup to Group in API and PermGroup in DB.madmaxoft2-28/+36
"Group" is SQL keyword and shouldn't be used as table name.
2014-08-07Fixed nether wart digging.Howaner1-0/+1
Fixes #1265
2014-08-07Removed debug message.Howaner1-1/+0
2014-08-07Added SetDoDaylightCycle() and IsDaylightCycleEnabled() to cWorld.Howaner4-20/+56
I need this for a GameRule plugin.
2014-08-06On destroy ender crystal, create bedrock and firearchshift1-3/+3
2014-08-06Fixed style issuesTycho3-5/+8
2014-08-06Fixed multiple inhertance being output by toluaTycho2-6/+10
2014-08-06Resending fire to the client when the interact cancelled.Howaner1-0/+8
2014-08-05Removed dependecy of redstone simulator on NoteBlockTycho4-12/+20
2014-08-05Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity DirectlyTycho5-9/+56
2014-08-05RankMgr: Added SQL integer datatypes.madmaxoft1-5/+5
2014-08-05RankMgr: More interface.madmaxoft1-2/+14
2014-08-05Made lua clamp() compatible with all number types.Howaner1-4/+4
2014-08-05RankMgr: Initial interface declaration.madmaxoft3-0/+258
2014-08-05Added api documentation for Clamp()Howaner1-2/+2
2014-08-05Added Clamp() function to the lua api.Howaner1-0/+28
2014-08-05Fixed unsigned long comparison to size_tarchshift1-1/+1
2014-08-04MojangAPI: Fixed PlayerNameToUUID().madmaxoft1-1/+1
2014-08-04Changed arrow comment.Howaner1-1/+1
2014-08-04Fixed signs not staying on other signsTiger Wang2-2/+4
2014-08-04Made AllToLua output consistentTiger Wang1-2/+2
2014-08-04Added arrow consuming on shootingHowaner1-0/+10
2014-08-04Fixed #1286Howaner1-1/+1
2014-08-04CheckBasicStyle: multi-level indent change.madmaxoft7-13/+33
2014-08-04BasicStyleCheck: Dividers are exactly 80 slashes.madmaxoft2-2/+18
2014-08-04Refactored case-conversion functions.madmaxoft7-47/+54
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
2014-08-04Anvil: Wolf owner not saved if not present.madmaxoft1-2/+8
2014-08-04Changed properties for-loop.Howaner1-1/+1
2014-08-04Changed /** to /*Howaner1-3/+5
2014-08-04Rewritten string case manipulation to use std::transform.madmaxoft1-22/+4
2014-08-04Fixed warningsHowaner1-3/+3
2014-08-04Attempt to fix knockback and swimming.Howaner2-18/+22
2014-08-03Attempting a compilation fix for gcc / clang.madmaxoft2-0/+18
2014-08-03Fixed skins in mc 1.7.9/1.7.10Howaner1-6/+5
2014-08-03Wolf uses UUID for owner.madmaxoft5-17/+82
Fixes #1277.
2014-08-03cMojangAPI: Added UUID-to-Name lookup.madmaxoft5-62/+522
Also fixed the bindings, now all functions are static-like.
2014-08-03Trailing whitespace fix.madmaxoft1-1/+1
2014-08-03Added cMojangAPI:GetUUIDFromPlayerName().madmaxoft2-0/+35
This is a simpler way to ask for a single name -> uuid conversion.
2014-08-03Added cPlayer::GetUUID().madmaxoft1-0/+3
2014-08-03Fixed a ToLua warning - operator = not supported.madmaxoft8-8/+16
2014-08-03VillageGen: Fixed a typo in commentSTRWarrior1-1/+1
2014-08-03Entity.cpp: Air timer comment fixarchshift1-1/+1
2014-08-03Code reduction and clarity fixesarchshift2-29/+16
2014-08-03Removed unused cPlayer::FoodPoison functionarchshift2-12/+0
2014-08-03Entity.cpp: On portal check, use if-else for current dimensionarchshift1-60/+54
If current dimension corresponds with the portal (nether portal in the nether) send to the overworld, else send to the portal dimension. No need to switch on the dimension and exclude potential others.
2014-08-02Added proper trees and height for SwamplandM biomeSTRWarrior3-2/+4
2014-08-02Fixed a bug who can used from hacked clients.Howaner2-1/+18
2014-08-01Fixed issues with autocomplete and time loadingTiger Wang1-7/+33
* Fixes #1274
2014-08-01Improved endermen code a littleTiger Wang3-20/+56
2014-08-01Added missing HOOK_BLOCK_SPREAD call.Howaner1-6/+14
2014-08-01Compile fix.Howaner1-2/+1
2014-07-31Import Statistics.hHowaner1-0/+1
2014-07-31Use "default:" in switch.Howaner1-3/+6
2014-07-31Capitalised "incremental"Howaner1-4/+4
2014-07-31Changed IsSolid to FullyOccupiesVoxelHowaner1-1/+1
2014-07-31Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects.Howaner8-48/+177
2014-07-31Removed trailing whitespace.madmaxoft1-2/+2
2014-07-31Fixed UUIDs handling in cPlayer.madmaxoft2-6/+9
The loading expected dashed UUIDs, MCS uses short UUIDs throughout.
2014-07-31Comment suggestionsTiger Wang1-9/+8
2014-07-31Fixed water from ice and removed packed ice drop.Howaner2-2/+13
2014-07-31Added a default value to WaterSimulator, LavaSimulator and RedstoneSimulator.Howaner1-2/+2
2014-07-31Renamed "select..." methods to "set..." and better IsValidEffect() function.Howaner4-55/+19
2014-07-31MojangAPI: Moved the settings to a separate ini section.madmaxoft1-2/+2
2014-07-31Updated documentation.Howaner1-3/+3
2014-07-31Renamed functions and added beacon json saving.Howaner8-66/+84
2014-07-31MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft3-9/+23
2014-07-30Added window update.Howaner1-0/+23
2014-07-30Added beacon load/save.Howaner5-1/+74
2014-07-30SuggestionsSTRWarrior1-2/+2
2014-07-30Changed return type from GetPrimaryPotion() and GetSecondaryPotion()Howaner1-2/+2
2014-07-30Exported the beacon.Howaner11-17/+107
2014-07-30Added beacon.Howaner13-33/+689
2014-07-30Moved GetRoofedForestTreeImage content to GetDarkoakTreeImageSTRWarrior2-66/+55
2014-07-30Fixed doxy commentSTRWarrior1-1/+1
2014-07-30Fixed comment at the end of a for-loopSTRWarrior1-1/+1
2014-07-30Renamed NEWLEAVES and NEWLOG to LEAVES and LOG.archshift1-34/+34
2014-07-30Added lighting code and added commentsSTRWarrior1-0/+17
2014-07-30MojangAPI: Renamed cache file to MojangAPI.sqlite.madmaxoft1-2/+2
2014-07-30Fixed compiling using ClangSTRWarrior1-4/+2
2014-07-30Added RoofedForest trees.STRWarrior2-2/+73
Could still be improved allot.
2014-07-30MojangAPI: Clarified the UUID conversion code.madmaxoft2-4/+17
2014-07-30ManualBindings: Fixed alignment.madmaxoft1-3/+3
2014-07-30Removed lighting code in cEnderman::CheckEventSeePlayerSTRWarrior1-9/+1
2014-07-30MojangAPI: Implemented UUID shortening and dashing.madmaxoft5-22/+40
2014-07-30Exported cMojangAPI to Lua.madmaxoft4-5/+20
2014-07-30Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft9-239/+564
The cache is persisted into a SQLite DB file on server shutdown.
2014-07-30PreSimulator: Added configurations.STRWarrior3-6/+30
You can now choose if it should pregenerate something or not
2014-07-30Fixed "Dependency" typosarchshift2-6/+6
2014-07-30Fixed FinishGen.h types.madmaxoft1-2/+2
2014-07-30Entity.h: Moved constants out of some unnamed enumarchshift1-14/+14
2014-07-30Changed size_t to 'unsigned long'Howaner1-2/+2
2014-07-30Fixed compile error with clang.Howaner1-2/+2
2014-07-29Added soulsand to the terraformed list.STRWarrior1-0/+1
2014-07-29Added cBlockInfo::CanBeTerraformed and made finishers use itSTRWarrior4-44/+31
I might have forgotten some of them though
2014-07-29Slight cleanup after portalsTiger Wang8-20/+14
2014-07-29Detrailed whitespaceTiger Wang1-3/+3
2014-07-29Some finishing touchesSTRWarrior2-2/+2
Removed whitespace fixed dead bush comment
2014-07-29Fixed comment above cFinishGenSingleTopBlockSTRWarrior1-1/+1
2014-07-29SingleTopBlock: All blocktypes and biometypes get initialized properlySTRWarrior1-2/+14
2014-07-28Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API.madmaxoft1-3/+62
2014-07-28Using suggestionsSTRWarrior1-25/+20
2014-07-28Forgot Mesa Plateau biome.STRWarrior1-0/+1
2014-07-28Renamed cFinishGenSingleBiomeSingleTopBlock to cFinishGenSingleTopBlockSTRWarrior3-20/+82
Now accepts a vector of biomes and a vector of allowed blocks.
2014-07-28cAuthenticator: Added GetUUIDsFromPlayerNames().madmaxoft2-3/+116
2014-07-28DistortedHeightmap: Now generates gravel in deep ocean.STRWarrior1-1/+1
2014-07-27Hotfixed compilation problems.madmaxoft2-2/+2
2014-07-27Change Group->SetColor() again.Howaner1-1/+1
2014-07-27Use AString(1, Color[0])Howaner1-1/+1
2014-07-27NetherClumpGenerator: Fixed generating stuff on halfslabs and fencesSTRWarrior1-1/+1
2014-07-27Use Color[0].Howaner1-1/+1
2014-07-27Added a missing include for abs(float).madmaxoft1-0/+6
2014-07-27Updated NetherForts' weights.madmaxoft1-2/+2
2014-07-27RoughRavines: Made floor and ceiling settings-adjustable.madmaxoft4-20/+99
The world.ini has settings for the minimum and maximum height for each at the ravines' center and edges.
2014-07-27RoughRavines: Added per-height radius modifier. Ledges!madmaxoft1-32/+73
2014-07-27Removed forgotten commentSTRWarrior1-1/+1
2014-07-27Made nether ceiling smooth.STRWarrior1-1/+8
2014-07-27RoughRavines: More settings - size, width, roughnessmadmaxoft3-23/+84
2014-07-27Fixed group color's.Howaner2-16/+5
2014-07-27Added a ceiling to disguise the bedrock above it.STRWarrior1-1/+9
2014-07-27NetherClumpFoliage: Fixed assertSTRWarrior1-8/+39
2014-07-27Add "Broadcasting" settings to world.iniHowaner5-11/+22
2014-07-27Updated NetherFort prefabs to latest Gallery content.madmaxoft1-37/+752
2014-07-27RoughRavines: Initial generator implementation.madmaxoft4-3/+264
This provides the basic shape of the ravines, with the basic settings based on GridStructGen, and good default values.
2014-07-27Fixed plugin count and fixed plugin loading, when settings.ini was regenerated.Howaner1-16/+30
2014-07-26Derp.Howaner1-1/+1
2014-07-26Change comment.Howaner1-1/+1
2014-07-26Rename function.Howaner4-6/+6
2014-07-26SplashPotionEntity: Use `const cItem &` instead of a cItemarchshift2-2/+2
2014-07-26Fixed indentations, removed redundant init code in SplashPotionEntity.cpparchshift4-9/+7
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift7-139/+164
2014-07-26Endianness.h: undefined ntohll before redefiningarchshift1-0/+1
2014-07-25Tweaks to NetherClumpFoliageSTRWarrior1-34/+6
Simplefied the way NetherClupFoliage creates the X and Z coordinate.
2014-07-25Speed up the NetherClumpFoliage finisher.STRWarrior1-8/+9
Using IntNoiseXX instead of CubicNoiseXX.
2014-07-24Fixed block dropsTiger Wang5-17/+59
* Fixes #1242 (the issue addressed within)
2014-07-24Removed redundant semicolons and re-added warningarchshift73-103/+103
2014-07-24Added a queue for setting chunk data.madmaxoft11-118/+349
Fixes #1196.
2014-07-24Made the cWorld::SpawnMobFinalize function more readable.STRWarrior1-0/+10
2014-07-23SuggestionsTiger Wang6-24/+28
2014-07-23Moar view distance!tonibm191-2/+2
Let's blow up our computers! :D
2014-07-23Fix item durability.Howaner16-69/+149
Fixes #1181
2014-07-23TallGrass: Less grass on mountains.STRWarrior1-0/+11
2014-07-23Fixed possible crash in the NetherClumpFoliage finisher.STRWarrior1-0/+5
2014-07-23BlockLeaves: Fixed comment style.madmaxoft1-2/+2
2014-07-22Fixed MSVC bindings regeneration.madmaxoft1-1/+1
Still one typo had been left in the cmake file.
2014-07-22Fixed Bindings generation in MSVC.madmaxoft1-2/+2
The bindings weren't regenerated because of the typo in the dependencies cmake variable.
2014-07-22Export SendEntityAnimation to ToLuaarchshift1-1/+1
2014-07-22Fix misguided comment on bits...Tiger Wang1-1/+1
...obviously written by someone very confused, also known as me
2014-07-22Export BroadcastEntityAnimation with ToLuaarchshift1-1/+1
Fixes #752
2014-07-22Speed improvements, crash fixes, & self-suggestionsTiger Wang8-61/+55
2014-07-22Extreme Hills M variant only spawn with grass and stoneSTRWarrior1-1/+1
Removed gravel.
2014-07-22Suggestion and failed merge fixTiger Wang2-1/+6
2014-07-22Updated prefabs to current Gallery content.madmaxoft3-226/+243
2014-07-21SuggestionsTiger Wang9-126/+160
2014-07-21ExtremeHillsPlus and ExtremeHills spawn with grass onlySTRWarrior1-12/+2
Turns out only the M variants have stone and gravel in them.
2014-07-21Defines.h: Fixed a warning.madmaxoft1-1/+1
2014-07-21CheckBasicStyle: Added a lua shebang.madmaxoft1-0/+1
2014-07-21CheckBasicStyle: Doesn't require LuaFileSystem.madmaxoft1-34/+10
Instead it uses the list of files generated by CMake.
2014-07-21CMake: generates a list of all source files.madmaxoft1-0/+20
This will be used for the style-checking script.
2014-07-21Normalized spaces after "catch".madmaxoft2-3/+4
2014-07-21CheckBasicStyle: Checks spaces after keywords, no space before ")".madmaxoft1-1/+16
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft94-535/+541
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft28-135/+137
2014-07-21Fixed a missing enter.STRWarrior1-0/+1
2014-07-21Removed y for-loop.STRWarrior1-27/+27
Only the top block now gets long grass.
2014-07-21Fixed indentationSTRWarrior1-12/+12
2014-07-21Cuboid: added explicit copy assignment operatorarchshift2-0/+13
2014-07-20Changed CubicNoiseXX to IntNoiseXXSTRWarrior2-40/+49
Added some comments
2014-07-20Renamed cFinishGenFoliage to cFinishGenTallGrassSTRWarrior3-17/+34
Better grass density Added double tall grass.
2014-07-20Fixed warningsSTRWarrior2-5/+4
2014-07-20First attempt for a new foliage finisherSTRWarrior3-0/+74
2014-07-20Revert "Only one instance of server can be started"Tiger Wang1-0/+2
This reverts commit 6484e9814a3a540518606f552398e0b82f91ab4d. * Fixes #1200
2014-07-20Line tracer invalid chunk fixTiger Wang2-26/+27
* Fixes #1230 * Additionally improved speed in some scenarios
2014-07-20Proper comment for DropBlock()Tiger Wang1-2/+5
2014-07-20NBTChunkSerializer.cpp: Added break after serializing the splash potionarchshift1-0/+1
2014-07-20Bug and crash fixesTiger Wang12-65/+107
* Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files
2014-07-20Added m_TicksAlive to entities, allows projectiles to hit their creatorsarchshift3-3/+14
2014-07-20Added destroy-timer system to splash potion entitiesarchshift2-3/+24
2014-07-20Add armor items directly to the armor slots.Howaner3-3/+16
2014-07-20main.cpp: field style fixesarchshift3-12/+12
2014-07-20ChatColor.h: The @deprecated tag slipped. Oops.archshift1-2/+2
2014-07-19Socket: removed unused Socket destructorarchshift2-10/+0
2014-07-19main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATEDarchshift3-6/+6
2014-07-19Monsters: Made IsUndead overridable by the respective mob classesarchshift6-13/+11
2014-07-19Fixed attempts to call c_str on ChatColorsarchshift2-6/+6
2014-07-19Removed references to deprecated cChatColor::Colorarchshift2-2/+2
2014-07-19Refactored cChatColorarchshift2-49/+51
- Changed std::string fields to const char-pointers in order to wipe out potential issues with static initialization and global destructors - Deprecated cChatColor::Color() because the name does not match the value
2014-07-19CheckBasicStyle: Checks for braces not on separate lines.madmaxoft1-2/+6
Only the opening braces at the end of a line are checked, others (such as inline getters and setters or initializers) are valid.
2014-07-19Code style: Fixed braces on separate lines.madmaxoft14-20/+38
2014-07-19CheckBasicStyle: Check spaces around commas.madmaxoft1-6/+6
We want no space in front of and at least one space after a comma.
2014-07-19Fixed spaces after commas in protocol data.madmaxoft1-7/+7
The JSON data is well-formatted with spaces, too; we can afford to waste the few bytes.
2014-07-19Fixed style: spaces after commas.madmaxoft42-101/+100
2014-07-19Fixed MSVC bindings generation.madmaxoft2-4/+4
2014-07-19World.cpp: fixed not all enum fields being used in m_Dimension switcharchshift1-1/+2
2014-07-19Minecart: slimmed down SpawnOn by keeping subtype in the payload enumarchshift2-20/+7
2014-07-19Trees.cpp: removed unused "debug" fieldsarchshift1-7/+1
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift5-15/+15
2014-07-19Fixed splash potion color on tossarchshift2-0/+16
2014-07-19Fixed clamping issuesarchshift6-33/+6
2014-07-19Renamed AllToLua_lua script.madmaxoft1-0/+0
Fixes #1222.
2014-07-19Authenticator.cpp: Killed a global destructor warningarchshift1-53/+56
2014-07-19Moved Windows custom command to src/CMakeLists.txtarchshift2-15/+20
2014-07-19CMakeLists: Moved Bindings-specific code to subdirarchshift3-120/+125
2014-07-19Blocks/CMakeLists.txt: Fixed header list after merge of masterarchshift2-10/+6
2014-07-19CMake: Add Bindings library from subdirectoryarchshift2-23/+12
2014-07-19src/CMakeLists.txt: Replaced glob with list of filesarchshift2-20/+180
On MSVC, CMake will traverse all the CMakeLists and add their source and header files to one conglomerate SOURCE list.
2014-07-19Subdirs: Only add_library if not using MSVCarchshift13-19/+45
2014-07-19src/CMakeLists: Small changes for increased readabilityarchshift1-5/+9
2014-07-19OSSupport/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+32
2014-07-19HTTPServer/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+20
2014-07-19Generating/Prefabs/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+22
2014-07-19Simulator/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+28
2014-07-19WorldStorage/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+26
2014-07-19Generating/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+54
2014-07-19BlockEntities/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+35
2014-07-19UI/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+9
2014-07-19Protocol/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+23
2014-07-19Blocks/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+92
2014-07-19Items/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+47
2014-07-19Entities/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+56
2014-07-19Mobs/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+69
2014-07-18Clarified RemoveItem()'s comments.madmaxoft2-2/+4
2014-07-18Fixed slime-related comments.madmaxoft3-5/+10
2014-07-18Added RemoveItem() function to the player inventory.Howaner4-0/+57
2014-07-18Normalized code style for both sign handlers.madmaxoft2-16/+20
2014-07-18Fix failed merge and other issuesTiger Wang14-77/+28
2014-07-18Removed cBlockSignPostHandler descend.Howaner1-2/+28
2014-07-18Slime sizes are 1, 2 or 4 and not 1, 2 or 3.Howaner3-4/+4
2014-07-18Moved comment.Howaner1-1/+1
2014-07-18Monster fixesTiger Wang7-35/+5
* Fixes #1203 * Fixes #627
2014-07-18Fixed creative players not being able to drinkarchshift1-3/+4
Fixes #1215
2014-07-18CheckBasicStyle: Proper spaces with commas.madmaxoft1-21/+48
2014-07-18Fixed spaces before commas.madmaxoft7-14/+14
2014-07-18Removed duplicate IPvX labels.madmaxoft3-6/+6
2014-07-18Moved ChatColor.h out of defines where it was not neededarchshift2-1/+1
2014-07-18ProtocolRecognizer.cpp: removed unused NumBytesReadarchshift1-2/+0
2014-07-18Generator: removed rnd definitions that are never readarchshift2-2/+0
2014-07-18Added a extra wall sign handler.Howaner4-27/+85
Fixes #1119
2014-07-18Skeletons should spawn with a bow in the hand.Howaner2-0/+17
Fixes #1184
2014-07-18Fixed the armor slot in creative mode. Also removed that armor get directly to the armor slot. It is extremely buggy and unnecessary.Howaner2-9/+13
2014-07-18Items should first added to the first slot, not the latest.Howaner1-3/+3
2014-07-17Fixed NULL being passed instead of a double to AddEntityEffectarchshift1-1/+1
2014-07-17Split into more lines.Howaner2-6/+10
2014-07-17Fixed issues relating to saplings and leavesTiger Wang10-139/+32
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
2014-07-17Fixed code style in Trees.cpp.madmaxoft1-24/+24
The src folder now has zero BasicStyle violations.
2014-07-17Fixed tabs used for alignment.madmaxoft29-99/+115
2014-07-17More trailing whitespace fixes.madmaxoft13-25/+25
2014-07-17Player.cpp: Fixed compile errorarchshift1-1/+1
2014-07-17Player.cpp: Added Wither death messagearchshift1-0/+1
2014-07-17Basic style fixes.madmaxoft130-286/+290
2014-07-17Fixed many slime bugs.Howaner3-7/+74
- Fixed slime hurt/death sound - Added slime spawning on death. - Fixed the max health. - Fixed the attack damage. - Little slimes should not attack players.
2014-07-17Initial version of a script to check basic style.madmaxoft1-0/+188
This script reports basic violations of the style, such as indentation using spaces, alignment using tabs, trailing whitespace etc. Passing this script does NOT mean that the style is clean, it's only for fast-checking purposes.
2014-07-17Normalized comments.madmaxoft173-867/+893
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-07-17Fix sapling drop.Howaner1-1/+1
2014-07-17Fixed spaces around single-line comments.madmaxoft34-139/+141
There should be at least two spaces in front and one space after //-style comments.
2014-07-17Fixed basic whitespace problems.madmaxoft52-298/+306
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-07-17Fixed mob knockbackTiger Wang1-23/+8
* Fixes #901
2014-07-17Fixed crash with entities in unloaded chunksTiger Wang1-1/+3
* Fixes #1190
2014-07-17Fixed 3 MSVC warnings in SplashPotionEntity.madmaxoft1-1/+1
2014-07-17Updated cPawn::KilledBy signature for custom death messages.madmaxoft2-3/+3
2014-07-17Reformatted cItemPotionHandler.madmaxoft2-48/+79
2014-07-17Fixed formatting for cWitherSkullEntitymadmaxoft2-3/+13
2014-07-16Another fix for excessive food drainTiger Wang2-1/+10
2014-07-16Fixed a bug with bucketsTiger Wang2-9/+10
* Additionally fixed cLineBlockTracer's EntryFace parameter when a block was hit on the first iteration along the projected line
2014-07-16Fixed another redstone simulator crashTiger Wang1-0/+7
2014-07-16SuggestionsTiger Wang1-2/+5
2014-07-16Resolved backwards compatibility issuesTiger Wang7-9/+9
2014-07-16Function renameTiger Wang2-3/+3
2014-07-16Unified functionsTiger Wang2-34/+28
Thanks @Howaner!
2014-07-16Store properties as Json::ValueTiger Wang9-21/+44
2014-07-15Fixed a DropSpenser AddFace bugTiger Wang1-1/+1
2014-07-15Restructured cSplashPotionEntity code.madmaxoft5-72/+104
The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType.
2014-07-15Removed Stairs and carpet from the "isSolid" list to prevent mobs falling through them.Masy981-1/+0
2014-07-15Removed Stairs and carpet from the "isSolid" list to prevent mobs falling through them.Masy981-12/+0
2014-07-15Derp.Howaner1-2/+2
2014-07-15Fixed code formatting.madmaxoft2-6/+9
2014-07-15Added Brick fence to m_TransparentMasy981-0/+1
2014-07-15Fixed FindClosestPlayerTycho1-3/+6
2014-07-15Added various missing blocks in the lists in BlockInfo.cppMasy982-64/+214
2014-07-15Added super typedefTycho3-3/+6
2014-07-15Only the cEntityEffect::effXXX constants are Lua-exported.madmaxoft2-72/+102
The rest of the classes don't need exporting, there's no interface using them anyway.
2014-07-15Reformatted EntityEffect code.madmaxoft1-25/+29
2014-07-15Fixed a MSVC warning in cEntityEffect::CreateEntityEffect().madmaxoft1-0/+1
2014-07-15Pass cItem by reference.madmaxoft1-1/+1
Fixes CID 66445.
2014-07-15Added missing member initialization to cGridStructGen.madmaxoft1-0/+1
Fixes CID 68228.
2014-07-15COnverted Lilypad back to mixinTycho1-8/+2
2014-07-15Revert "Converted some blockhandlers to use cClearMetaOnDrop"Tycho9-21/+67
This reverts commit 333f4f982cbd24ffcb376594eddef439b3f05e9e.
2014-07-15Fixed redstone simulator crashTiger Wang2-8/+31
* Fixes #1176 * Fixed #1186
2014-07-14Fixed some meta resetting bugsTiger Wang6-27/+28
* Fixes #1174 * Fixes #1171
2014-07-14Maybe improved arrow sinkingTiger Wang1-2/+2
2014-07-14Fixed placing liquids over liquidsTiger Wang1-1/+1
* Fixes #1182
2014-07-14ItemHandler.cpp: removed redundant food and drink checksarchshift1-33/+0
2014-07-14Readability and clarity changesarchshift4-59/+68
2014-07-14Added documentationTycho1-0/+6
2014-07-14Converted some blockhandlers to use cClearMetaOnDropTycho9-67/+21
2014-07-14Simplified ClearMetaOnDropTycho1-1/+1
2014-07-14Added cClearOnDrop Mixin to cPumpkinTycho1-2/+2
2014-07-14Added first implementation of cClearMetaOnDropTycho2-2/+21
2014-07-14Player properties are now retrievedTiger Wang11-116/+216
2014-07-14Reset meta to zero when the block explode.Howaner1-4/+4
2014-07-14EntityEffect: Inlined functions, added explicit copy constructor and operator.archshift2-20/+29
2014-07-14Changed separating comment style from asterisks to slashes.archshift2-93/+93
2014-07-13Added parenthasiesworktycho1-1/+1
2014-07-13Fixed Issue with Comparing agast the wrong chest, potentially causing crashes.worktycho1-7/+7
2014-07-13CopyPaste Errorworktycho1-1/+1
Fixes CID 70460.
2014-07-13Another COpyPaste Errorworktycho1-1/+1
Fixes CID 70461
2014-07-13Adjusted calls to CreateProjectile that passed ItemsTycho1-2/+2
2014-07-13Made CreateProjectile a pointerworktycho4-6/+7
2014-07-13Fix CopyPaste error that ment a_MaxRelX wasdn't checkedworktycho1-1/+1
Fixes CID 70464
2014-07-13Fixed MSVC warnings in SoundEffect functions.madmaxoft3-15/+7
2014-07-13Update.Howaner1-1/+1
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner36-83/+77
2014-07-13Only one instance of server can be startedTiger Wang1-2/+0
This disallows the UDP multicasting that the original code enabled. xoft deterrent, in PR #1151 you implied that this was unwanted behaviour (but comments gone now as I force pushed - check emails?). Revert at will if unsatisfactory :P
2014-07-13Revert failed fix for #31Tiger Wang2-31/+4
This reverts commit 69dc9b4c9aea58ebd95e2dbd0205701dfc4ce54e.
2014-07-13Changed comments.Howaner1-3/+5
2014-07-13Fixed wrong types. (BLOCKTYPE -> NIBBLETYPE)Howaner3-6/+6
2014-07-12Comment grammar correctionTiger Wang1-1/+1
2014-07-12Simplified buckets code slightlyTiger Wang1-32/+15
2014-07-12cNBTChunkSerializer: Fixed alignment.madmaxoft1-14/+14
2014-07-12cHopperEntity: Simplified chest conditions.madmaxoft1-10/+4
2014-07-12cChestEntity: Renamed a member to avoid confusion.madmaxoft2-8/+9
2014-07-12Fixed alignment.madmaxoft1-2/+3
2014-07-12Suggestions and bug fixTiger Wang7-30/+35
* Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft
2014-07-12Changesdaniel09161-5/+4
2014-07-12Added splash potions to NBT serialization and retrievalarchshift6-1/+50
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift12-104/+94
2014-07-11Simplified the player data loading.madmaxoft1-9/+8
2014-07-11SuggestionsTiger Wang3-2/+6
2014-07-11Changesdaniel09161-24/+16
2014-07-11SuggestionsTiger Wang4-14/+18
2014-07-11Player data filenames are based on UUID.madmaxoft4-67/+155
2014-07-11Improved LinkedPowering speedTiger Wang1-15/+15
* Additionally fixed wires powering other wires through blocks
2014-07-11Fixed a missing return value.madmaxoft1-0/+2
2014-07-11Preparation for player UUID-based storage: LoadFromFile()madmaxoft2-21/+42
2014-07-10Fixed style consistency.madmaxoft2-61/+64
2014-07-10Implemented support for forced chunk ticking.madmaxoft6-8/+95
Fixes #1160.
2014-07-10Changesdaniel09161-20/+22
2014-07-10Maybe fixed whitespacesdaniel09161-7/+7
2014-07-10Maybe fixed whitespacesdaniel09161-1/+1
2014-07-10Fixed Bucket Placingdaniel09161-6/+57
2014-07-10Fixed a missing "inline" keyword.madmaxoft1-1/+1
2014-07-10Fixed Vector3.h compilation in MSVC2008.madmaxoft1-0/+9
2014-07-10Removed lilypad from plains village prefabs.madmaxoft1-7/+8
2014-07-09Fixed bow chargeTiger Wang1-11/+2
2014-07-09Fixed arrow collection animationTiger Wang5-33/+4
* Fixed piston extension non-solidness
2014-07-09Fixed Bucket placingdaniel09161-1/+1
2014-07-09Removed unused include line.Howaner1-1/+0
2014-07-09Added inventory number click.Howaner2-1/+43
2014-07-08Updated generator prefabs to current Gallery contents.madmaxoft3-7/+8
2014-07-08Made things consistentTiger Wang2-6/+9
2014-07-07Added extra space before commentsTiger Wang1-6/+6
2014-07-07Fixed compilation and pressure platesTiger Wang1-8/+4
2014-07-07Implemented trapped chests & othersTiger Wang26-179/+340
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-07-06Fixed crafting grid updating.Mattes D2-2/+21
Fixes #1152.
2014-07-06Fixed slime handling in cMonster::StringToMobType().madmaxoft1-1/+1
2014-07-06Added drop window action.Howaner3-25/+113
2014-07-05Changed everything to callbacksTiger Wang4-82/+53
2014-07-05Add middle click.Howaner2-21/+88
2014-07-04Crash and compile fixTiger Wang3-5/+10
2014-07-04Compile fixTiger Wang1-1/+1
2014-07-04SuggestionsTiger Wang7-11/+20
2014-07-04MCS WebAdmin sockets rebinds instantlyTiger Wang1-0/+2
* Fixes #272 * Fixes #1150
2014-07-04Various fixedTiger Wang4-17/+111
* Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly
2014-07-04cPluginManager: Reformatted the switch statement.madmaxoft1-7/+34
2014-07-04Moved sending error messages to cPluginManager:CallHookChatSTRWarrior1-4/+6
2014-07-04Eps comparisonTiger Wang2-2/+2
2014-07-04Fixed c1deda5d8f01811efa5094e9375166acb69d50edTiger Wang1-2/+2
I keep on breaking stuff :P
2014-07-04Tailored death messagesTiger Wang20-40/+61
2014-07-04Removed world-saving log messages.madmaxoft3-35/+5
Ref.: http://forum.mc-server.org/showthread.php?tid=1518
2014-07-03Changed OnWeatherChanging hook to always read the returned weather.madmaxoft3-4/+18
Ref.: http://forum.mc-server.org/showthread.php?tid=1512
2014-07-03CMake: Changed slash format to support MSYS.madmaxoft1-1/+1
Ref.: #1044
2014-07-02Spacing fixes and a few more BLOCK_META constants.narroo1-131/+152
2014-07-02SuggestionsTiger Wang4-19/+31
2014-07-02SuggestionTiger Wang1-13/+13
2014-07-02Fixed player teleport food drainTiger Wang2-1/+14
2014-07-02Redstone simulator is alerted to lever unpoweringTiger Wang4-1/+6
* Fixed the "fix" that broke the fix for #535, thereby fixing said issue * Fixed #535
2014-07-02CMake: Use cmake for file-copying.madmaxoft1-1/+1
This should enable MSYS builds.
2014-07-02Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel()Howaner5-6/+6
2014-07-01Vector clamping fixesTiger Wang2-21/+24
Thank you, @madmaxoft.
2014-07-01Fixed printf formats for Win buildsmadmaxoft2-4/+4
2014-07-01Tolua generates LuaState_Call.inc file.madmaxoft4-624/+31
2014-07-01Initial codegen for LuaState_Call.inc.madmaxoft1-0/+196
2014-07-01Fixed a possibly unused variable.madmaxoft1-1/+1
2014-07-01Add doxy-comments.Howaner1-1/+4
2014-07-01Only fixes the server crash.Howaner2-7/+1
2014-07-01Fix server-crash with non-existing items.Howaner2-2/+8
2014-07-01Fixed linking order under MinGW.Mattes D1-1/+1
Ref.: #1044
2014-06-30Fixed size_t printfing under MinGW.Mattes D1-3/+18
2014-06-30Fixes.Howaner2-4/+4
2014-06-30Fixed cFile compilation under MinGW.madmaxoft1-0/+3
2014-06-30Changed commentworktycho1-1/+1
2014-06-30Moved the random code to a function (cSheep::GenerateNaturalRandomColor())Howaner2-36/+47
2014-06-30Implemented Vector3<>::Floor()Tiger Wang2-10/+19
2014-06-30Removed unneeded codeTiger Wang4-38/+1
2014-06-30Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGEHowaner6-26/+67
2014-06-30Unnecessary returnHowaner1-2/+0
2014-06-29Fixed respawningTiger Wang12-19/+19
* Fixes #1103
2014-06-29SuggestionsTiger Wang3-3/+20
2014-06-29Fixed offline UUID generator.Mattes D1-2/+4
It generated invalid UUIDs, too many hex chars.
2014-06-29Removed bad commentTiger Wang1-1/+0
2014-06-29Properly implemented enderchestsTiger Wang10-99/+102
2014-06-29Send statistics to the player, when he logged in.Howaner2-2/+4
2014-06-29Code fixes.Howaner1-1/+1
2014-06-28An unification of code styleTiger Wang1-1/+1
2014-06-28Likely fixed too quick food depletionTiger Wang1-1/+1
* Fixes FS427 properly, hopefully
2014-06-28Fixed doxycommentsSTRWarrior1-3/+3
2014-06-28Fixed issue with breaking blocks at -1 coordinatesTiger Wang1-6/+1
2014-06-28Implemented tripwire(s) (hooks)Tiger Wang9-17/+324
* Fixes #944
2014-06-28Fixed a silly path error in #include.Mattes D1-1/+1
2014-06-28CMake: Added polarssl include dir as non-system.Mattes D1-1/+2
2014-06-28Save IsSheared from Sheep.Howaner2-4/+14
2014-06-28Fix sheep color's, add shear sound.Howaner3-3/+42
2014-06-28Changed include folders to work for Bindings, too.Mattes D1-3/+3
2014-06-28Added more block exceptions to torchesTiger Wang1-0/+4
2014-06-28Minor change to buttons and leversTiger Wang2-3/+3
+ They now detect if the block they are on occupies its voxel, instead of just being solid
2014-06-28Fixed bad water/redstone simulator communicationTiger Wang1-32/+22
* Fixes #713
2014-06-28Fixed server forcing players afloatTiger Wang1-1/+4
* Fixes #1131
2014-06-27Added generic entity-collecting.Mattes D17-25/+36
Now any cEntity can be collected, not only cPickups. This should help PR #1098.
2014-06-27Added PolarSSL dependency to Bindings.Mattes D1-1/+1
2014-06-27Removed the md5 library, obsoleted by PolarSSL.Mattes D3-19/+16
Fixes #1130.
2014-06-26Check GridSize for 0worktycho1-0/+10
Fixes CID 68226 and CID 66437
2014-06-26Add Null check to SendBlockToworktycho1-1/+1
Fixes CID 43611
2014-06-26FurnaceRecipe parsing: Fixed whitespace removing.Mattes D1-1/+1
2014-06-26Fixed misformed trimming.Mattes D1-1/+1
2014-06-26FurnaceRecipe: Moved the parsing into separate functions for clarity.Mattes D2-60/+68
2014-06-26FurnaceRecipe parser: Made the parser more forgiving.Mattes D1-2/+2
Errors don't cause a stop in the parsing, but rather just skip the offending line.
2014-06-26FurnaceRecipe parser: Added an else branch, changed to a switch.Mattes D1-45/+69
2014-06-26Add comment.Howaner1-0/+1
2014-06-26Fixed a comment and changed CombineCount to short.Howaner1-2/+2
2014-06-26GameMode checkHowaner1-1/+1
2014-06-25BlockInfo is now a proper C++ singleton.madmaxoft2-381/+374
It is properly initialized before it is ever used.
2014-06-24Optimize combining.Howaner1-3/+3
2014-06-24Better combining.Howaner1-3/+20
2014-06-24Add entity health saving.Howaner2-16/+8
2014-06-24Fix pickup combining over the maximum stack size.Howaner2-5/+9
2014-06-24Fixed BlockInfo initialization.madmaxoft1-15/+6
Now cBlockInfo is initialized in the getter, instead of "at any time during startup", which included "after it was already needed".
2014-06-24Added asserts for cChunk::GetBlockEntity() coords.Mattes D1-0/+6
2014-06-24Fixed crashes in HopperEntity.Mattes D1-19/+58
Some of the coords were off and some functions were assuming too much. Fixes the crash reported in http://forum.mc-server.org/showthread.php?tid=1497
2014-06-23Parenthesised comparisonTiger Wang1-1/+1
2014-06-23VoronoiMap: Added a missing initializer.madmaxoft1-1/+3
Fixes CID 68410.
2014-06-23Added a (disabled) block meta mirror / rotate test code.madmaxoft1-2/+87
This will perform basic sanity checks on block metadata mirroring and rotating. cMetaRotator must disable its asserts in order for this to work.
2014-06-23Fixed the slab vertical mirroring.madmaxoft1-9/+6
2014-06-23Fixed sign and lever rotations.madmaxoft2-8/+9
2014-06-23Prefabs don't draw into chunk if they don't intersect.madmaxoft1-0/+11
2014-06-22SuggestionsTiger Wang1-6/+7
2014-06-22Bettered zombie and skeleton AITiger Wang2-6/+4
* Fixed potential issues with skylight detection
2014-06-22Some Entity.cpp style improvementsTiger Wang2-13/+8
2014-06-22Fixed multiple issues with projectilesTiger Wang8-63/+112
* Fixed arrows not being collectable/not truly hitting a block/not lodging into blocks/not going in far enough * Fixed projectiles not playing their block hit animation owning to being destroyed too quickly
2014-06-22Changed 0xFFFFFFFB to ~0x04Howaner1-1/+1
2014-06-22Fixed another daylight sensor bugTiger Wang1-20/+23
Additionally fixed unpowering across chunks.
2014-06-22Chests don't open if obstructedTiger Wang1-0/+13
* Fixes FS383
2014-06-22Fixed missing breakworktycho1-0/+1
Fixes CID 68409
2014-06-22Fixed invalid iteratorworktycho1-2/+3
Fixes CID 60408
2014-06-22Fixed compile errorsworktycho1-2/+2
2014-06-22Conforms to standardsTiger Wang1-1/+1
2014-06-22SuggestionsTiger Wang2-40/+30
2014-06-21Fixed invalid iteratorsTiger Wang7-39/+26
2014-06-21Added cClientHandle::IsUUIDOnline function.madmaxoft2-2/+38
Ref.: #771
2014-06-21More suggestionsTiger Wang4-5/+7
2014-06-21Removed debugging codeTiger Wang1-1/+0
2014-06-21Rewrote furnace recipe parserTiger Wang2-93/+181
* Fixes #110
2014-06-21Added a TestRails generator.madmaxoft5-0/+667
This is for debugging purposes only.
2014-06-21Fixed a caching bug in GridStructGen.madmaxoft1-2/+2
The elements in cache were queried wrong, so sometimes they wouldn't be used even if they were the ones to use.
2014-06-21Updated prefabs to the latest Gallery content.madmaxoft4-2049/+2644
2014-06-20Updated all prefabs to current Gallery content.madmaxoft2-650/+824
2014-06-20MCA saver marks chunks as populated.madmaxoft1-0/+3
Fixes #140.
2014-06-20Optimized Voronoi calculation.madmaxoft4-21/+81
Fixes #818.
2014-06-20Added pig riding.tonibm192-0/+14
Now you can ride a pig using a carrot on a stick.
2014-06-19Nullify deleted pointers.archshift35-18/+75
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift15-320/+748
Changed effect map to take a pointer of the effect as a result.
2014-06-18(Force)ExecuteCommand returns the CommandResult enumsSTRWarrior2-8/+8
Exported and documented the CommandResult enums
2014-06-18Replaced strange algebra with dot product.worktycho1-4/+6
10 degrees is a completely arbitary constant I pulled from nowhere. Feel free to adjust this value.
2014-06-18Improved Enderman codeTiger Wang2-14/+34
2014-06-18Swapped m_Player and m_EndermanPosSTRWarrior1-2/+2
2014-06-18Enderman attacks a player if he's looking at him.STRWarrior2-0/+91
2014-06-17Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift6-36/+20
2014-06-17Added the OnEntityAddEffect hook.madmaxoft7-0/+57
2014-06-17Entity Effects: Clarified user, added it to AddEntityEffectarchshift7-15/+32
Added second AddEntityEffect with a pass-by-value of the class.
2014-06-17Changed the AddEntityEffect() params for easier calls.madmaxoft7-50/+52
2014-06-17Entity Effect: Separates total duration and ticks of activityarchshift3-22/+23
Changed HandleEntityEffect to use cEntityEffect's ticks instead of a static counter
2014-06-17Fixed MSVC compilation.madmaxoft3-14/+17
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift7-10/+12
Exported entity effect functions for ToLua and documented them in APIDesc.lua
2014-06-17Cave spider now poisons its victim, added IsPawn function to Entityarchshift5-5/+24
2014-06-17Added wither damage type, wither entity effect.archshift4-1/+21
2014-06-17Monster: added IsUndead(), undead-specific entity effectsarchshift3-6/+71
2014-06-17Applies splash potion effects to mobs as well as playersarchshift2-8/+12
2014-06-17Removed long function wrappingarchshift2-12/+3
2014-06-17ItemHandler: changed IsDrinkable() to take a short argumentarchshift5-18/+14
2014-06-17Splash potion: Adjusted speed, fixed spawn positionarchshift1-6/+3
2014-06-17Entity effect type: use 'eff' as a prefix instead of 'ef'archshift5-74/+74
2014-06-17Added splash potion functionalityarchshift6-15/+122
2014-06-17Entity: only fire critical hit if damage type is physicalarchshift1-1/+2
2014-06-17Player: made healing instantaneousarchshift2-2/+2
2014-06-17Implemented drinkable potions, noeffect entity effect,archshift8-6/+165
Clears entity effects on death
2014-06-17Implemented milk, added documentation to Pawn.harchshift7-5/+86
2014-06-17Pawn.cpp: fixed effect iterator BAD_ACCESSarchshift2-9/+14
Erasure was occurring before the iterator increased, causing a bad access. Solved by storing map pairs in variables and manually updating iterator before erasure. Fixed mix-up in function arguments on food poisoning
2014-06-17Pawn: Enabled entity effect broadcast, added typedefarchshift2-4/+6
Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap
2014-06-17EntityEffect: read-only getters, added user and distance modifier fieldsarchshift3-11/+35
User: the pawn that uses or produces the entity effect (drinks/throws a potion) Distance modifier: the potency modifier from splash potion effectivity radius
2014-06-17Player: Removed food-poisoning-specific code, set duration to 30 secondsarchshift3-27/+3
http://minecraft.gamepedia.com/Hunger#Behavior
2014-06-17Entity effects: Added handlers for entity effectsarchshift4-13/+138
Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations
2014-06-17Added iterator on tick to manage entity effect durationarchshift1-1/+18
2014-06-17cPawn: Remove unused m_bBurnablearchshift2-2/+0
2014-06-17Moved Effects.h to EntityEffects.h, added initial implarchshift9-36/+115
2014-06-17Added classes for splash potions and wither skullsarchshift5-0/+149
2014-06-17Fix fence gate sound (Redstone simulator).Howaner1-4/+10
2014-06-17Add fence gate sound.Howaner1-0/+1
2014-06-17Add UNUSED() TagsHowaner1-0/+6
2014-06-17Add door soundHowaner1-0/+1
2014-06-17Added crBlocked and crNoPermissionSTRWarrior2-2/+4
2014-06-17HandleCommand now returns an CommandResult enum.STRWarrior2-23/+19
2014-06-17Check block type from cBlockEntityHowaner1-8/+8
2014-06-17Add more documentation.Howaner1-0/+2
2014-06-17derpHowaner1-3/+3
2014-06-17Fixed possible confusion.STRWarrior2-2/+8
If a command handler gets an error then the player will receive an unknown command error. This can be confusing for players.
2014-06-17Add comment.Howaner1-0/+1
2014-06-17Add parenthesisHowaner1-2/+2
2014-06-17The same: Float, not DoubleHowaner1-1/+1
2014-06-17Float, not DoubleHowaner1-1/+1
2014-06-17Revert "Fix right click bugs."Howaner1-41/+40
This reverts commit 61b6fdde7553dac6e2d5c5a071b9a13fa0d71b2f.
2014-06-17The motion is already set in AddBasicEntity()Howaner1-5/+0
2014-06-17Add DoWithBlockEntityAt() to WorldInterface.hHowaner4-40/+64
2014-06-17Add end lines to BlockPressurePlate.hHowaner1-1/+5
2014-06-17Add pressure plate handlerHowaner3-0/+41
2014-06-17Fix fence gate redstone simulator.Howaner1-2/+1
2014-06-16Split Broadcast Sound Effect function call in multiple lines.Howaner2-3/+24
2014-06-16Fix doubleslab meta.Howaner1-0/+1
2014-06-16Glass shouldn't drop.Howaner1-0/+3
2014-06-16This isn't neededHowaner1-1/+0
2014-06-16Fix bow sound and creative arrow pickup.Howaner2-19/+30
2014-06-16Fixed GCC compilation.madmaxoft1-1/+1
2014-06-16Fixed MSVC builds.madmaxoft1-9/+0
2014-06-16Add bow charging animationHowaner2-2/+6
2014-06-16FIxed second weird enumTycho1-20/+1
2014-06-16Refactored reversing logic into seperate functionTycho2-16/+16
2014-06-16Fixed gcc compilation.madmaxoft1-1/+1
2014-06-16Fixed tigers weird enumsTycho1-14/+6
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho30-455/+820
2014-06-16Moved repeater handling to seperate passTycho2-97/+64
2014-06-16Fix a few warningsTycho1-3/+3
2014-06-16Added overrideTycho1-3/+3
2014-06-16Fixed a copypasta error in WormNestCaves generator settings.madmaxoft1-1/+1
2014-06-16Updated the SandFlatRoofVillage prefabs.madmaxoft1-288/+381
2014-06-16Implemented PR suggestionsarchshift4-7/+4
Furnace.txt: newline BlockID: removed extraneous dimension mapping cEntity: fixed typo cPlayer: WorldPtr typedef
2014-06-15Added random offsets to cGridStructGen.madmaxoft17-85/+127
Fixes #740.
2014-06-15Players are saved regularlyTiger Wang2-2/+22
* Fixes #1076
2014-06-15Fixed bad comparison crashTiger Wang1-2/+2
* Fixes #1095
2014-06-15Fixed daylight sensor unpoweringTiger Wang1-6/+28
* Fixes #1094
2014-06-14Changed names of callbacksTycho2-10/+10
2014-06-14Removed spacesTycho1-2/+2
2014-06-14Documented starvation callbacksTycho1-0/+7
2014-06-14Documented cAllocationPoolTycho1-0/+5
2014-06-14Reformated ChunkMap.hTycho2-4/+10
2014-06-14Moved m_SectionsTycho1-1/+2
2014-06-14Added generic Allocation Pool InterfaceTycho7-30/+46
2014-06-14fixed spacesTycho7-13/+15
2014-06-14fixed spacesTycho3-6/+6
2014-06-14fixed compileTycho1-1/+1
2014-06-14fixed const issueTycho1-3/+3
2014-06-14Fill with buffer on startupTycho1-0/+10
2014-06-14Fixed commentsTycho2-6/+6
2014-06-14Added loggingTycho1-3/+12
2014-06-14Removed an unused tolua_end and tolua_begin pair.madmaxoft1-2/+0
2014-06-14Simplified speed clamping.madmaxoft1-8/+3
2014-06-14Refactored speed-setting to use a common function for all cases.madmaxoft4-93/+44
2014-06-14Fixed bindings generation for Win64 builds.Mattes D3-9/+29
Fixes #1092.
2014-06-14Fixed MSVC Bindings generation.Mattes D1-0/+3
2014-06-14Remove windows bindings crutchworktycho1-10/+0
2014-06-14Fixed a repeater issueTiger Wang2-17/+16
* Repeaters now properly continuously update their powering * Minor cosmetic improvements
2014-06-14Reverted portal creation codeTiger Wang2-103/+0
It wasn't really working and needs more development
2014-06-14Cauldrons check the heightmapTiger Wang3-8/+12
2014-06-14Reduced cPluginManager code duplicationTiger Wang1-286/+178
2014-06-13Removed an unused fwd declaration.madmaxoft1-1/+0
2014-06-12Fixed order of initalisationTycho2-5/+6
2014-06-12Removed unnessicary indirection from Entity iterator listTycho2-6/+6
2014-06-12automaticlly build tolua and generate bindings as part of build.tycho2-84/+85
2014-06-12Fixed compileworktycho1-1/+1
2014-06-12Fixed two redstone bugsTiger Wang1-0/+6
* Fixed chunk border powering * Fixed quick place-replace powering
2014-06-12Portals animate and delay correctlyTiger Wang19-117/+174
2014-06-11DispenserEntity code cleanup after PR merge.madmaxoft2-30/+30
2014-06-11Roads in villages are made out of wooden planks if they generate on water.STRWarrior1-4/+17
2014-06-11Changed the teleport permissions to the new ones.Alexander Harkness1-1/+1
2014-06-11Fixed constnessworktycho1-5/+5
2014-06-11Player.h: Moved doxy-comments to Entity.harchshift2-3/+10
Moved doxy-comments to the defining function in Entity.h rather than the overloaded functions in Player.h Comment for each function (instead of assumed encapsulating comments) @deprecated tag for ForceSetSpeed()
2014-06-11Compile fixTiger Wang1-1/+1
2014-06-11Reduced code duplicationTiger Wang1-4/+4
call @maxmaxoft! calling... call connected (0:20) call ended
2014-06-11IsWeatherSunnyAt does something useful :DTiger Wang1-9/+5
2014-06-11Added cBlockArea:GetCoordRange to Lua API.madmaxoft1-0/+32
2014-06-11SMICOLOSLAlexander Harkness1-4/+4
Meant to be semicolons up there.
2014-06-11Revert "Initial Mesa Bryce implementation."madmaxoft4-116/+4
This reverts commit 1ff1a93866ab81e3868588a256f446a902a1a8c4.
2014-06-11Updated unnecessary function :/Tiger Wang1-1/+5
2014-06-11Add DoxyComments to he weather things. Alexander Harkness1-7/+24
Also changed the function names.
2014-06-11Add new IsWeatherWet hook for cauldrons.Alexander Harkness1-1/+12
@madmaxoft can you comment?
2014-06-11Removed assert that is now informed by type systemworktycho1-1/+0
2014-06-10Initial Mesa Bryce implementation.madmaxoft4-4/+116
2014-06-10Portal improvements and suggestionsTiger Wang9-54/+175
2014-06-10Fixed clang warnings about abs() in Noise.cpp.madmaxoft1-2/+2
MSVC provides a float overload of abs(), clang does not. Using the proper fabs().
2014-06-10Fixed a race condition when adding a player to a world.madmaxoft3-4/+29
2014-06-10Fixed gcc compilation.madmaxoft1-2/+2
2014-06-09Added an experimental height generator, Mountains.madmaxoft2-0/+87
2014-06-09Added cRidgedMultiNoise, fixed cPerlinNoise.madmaxoft2-1/+233
2014-06-09Added Y coord checks and documentation to cBlockDoorHandler.madmaxoft1-19/+40
2014-06-09ToLua can now be run in pure-lua mode.madmaxoft1-0/+27
See the src/Bindings/AllToLua_lua.bat for usage example.
2014-06-09Fixed a crash when creating negative-size blockareas.madmaxoft1-0/+8
Now the server emits a warning instead and continues execution.
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D32-96/+204
Fixes #1039, fixes #851
2014-06-08Added queue for adding entities to cWorld.Mattes D6-7/+42
This alone doesn't work properly yet, further changes to cPlayer are needed.
2014-06-08Proper fix for long interaction.madmaxoft1-7/+14
Fixes #1078 and #1038.
2014-06-08Fixed E_META_...Typos in BlockID.hnarroo3-90/+80
2014-06-07docs/Generator: Added the easy Finishers.madmaxoft1-1/+13
2014-06-07Added RainbowRoads finisher generator.madmaxoft5-3/+1594
2014-06-07Further improvements on redstone speedTiger Wang3-68/+81
Based on suggestions of @worktycho * Repeaters now walk their data structure only when needed * Fixed a bug with cChunkData returning an incorrect value for whether a meta had changed
2014-06-07Fixed mob hitbox sizes, removed TODOsarchshift3-5/+2
Measured bat and blaze in vanilla, updated values. Cavespiders are, in fact, passive in the day.
2014-06-07Fixed Time of dayworktycho1-1/+1
2014-06-06Further reduced redstone idle CPU consumptionTiger Wang1-7/+27
* Repeaters and wires are no longer unnecessarily ticked * Fixed #1063, likely addressed #1062 * Fixed bugs regarding duplicate values
2014-06-05SuggestionsTiger Wang5-14/+14
2014-06-05- Fixed a lot of alignmentJoannisO1-7/+7
2014-06-05Fixed decision failureTiger Wang1-1/+1
2014-06-05Fixed compilationTiger Wang1-1/+1
2014-06-05Redstone fixes and improvements [SEE DESC]Tiger Wang3-61/+96
Haha, see desc. * Improved redstone speed through a marking dirty system. Only a select few devices are still continuously simulated * Fixed redstone crashing with recent piston changes
2014-06-04SuggestionsTiger Wang2-2/+5
2014-06-04Time and weather is saved, part of #1058Tiger Wang2-3/+22
Also fixed unreliability in Health and LootPickup loading.
2014-06-04Health of monsters is now savedTiger Wang2-0/+2
2014-06-04Fixed a NetherFinisher bugTiger Wang3-24/+9
2014-06-04Configurable portalsTiger Wang4-14/+83
2014-06-04SuggestionsTiger Wang3-6/+10
2014-06-04Fix itemframe break.Howaner1-1/+3
2014-06-04Removed use of autoTiger Wang1-1/+1
2014-06-04Added checks for no downfall biomesTiger Wang3-3/+3
2014-06-04- Removed the code that removed fireworks from a dispenser even thoughtJoannisO1-3/+0
they weren't launched.
2014-06-04derpworktycho1-1/+1
2014-06-04- Fixed variable names in a function.JoannisO1-2/+2
2014-06-04- Fixed a lot of astethicsJoannisO2-14/+17
2014-06-04Fixed bad coordinateworktycho1-1/+1
2014-06-04Make sure m_StackSizeToBeUsedInRepair Always has a valid valueworktycho1-1/+3
2014-06-04Removed unused field testworktycho1-1/+0
2014-06-04Initialise m_Callbacks field to NULL in empty constructor.worktycho1-1/+2
2014-06-04Exploded creepers drop nothing, part of #1058Tiger Wang1-2/+8
2014-06-04Fixed mob loading, part of #1058Tiger Wang1-1/+1
2014-06-04Fixed #1057Tiger Wang1-1/+1
2014-06-04Update IncrementalRedstoneSimulator.cppJulian Laubstein1-8/+8
2014-06-03Player permissions aren't logged to console anymore.madmaxoft1-7/+0
This was only logspam on most servers and there are alternative ways to list players' permissions.
2014-06-03- Fixed an issue where there were 2 "DispChunk"-s in the same function.JoannisO1-16/+5
Resused the initial one.
2014-06-03- Fixed a bug where I didn't return anything in the GetShootVectorJoannisO1-0/+2
function. This was however passed as "working" by GCC.
2014-06-03Fixed OnProjectileHitBlock bindings.madmaxoft3-82/+111
Also sorted the various cLuaState::Push() functions.
2014-06-03- Fixed a bug where I used the FireCharge ITEM instead of the ProjectileJoannisO1-1/+1
ENUM
2014-06-03- Cleaned up the code massivelyJoannisO2-90/+31
- Stopped using cChunk in the GetShootVector class. Parameter is now the Metadata of the block - Stopped using cChunk in the SpawnProjectileFromDispenser method now using coordinates and finding the chunk by itself. - Removed the matrix calculations from GetShootVector.
2014-06-03- Added doxy comments and exported to luaJoannis2-22/+64
- Manipulation of the ShootVector is not to be done by the function that wants to spawn a projectile.
2014-06-02Small tweak for mobsSTRWarrior1-4/+14
Mobs move a bit smoother and aren't able to move allot when in air.
2014-06-02cBlockArea reading hotfix.madmaxoft1-63/+109
This should fix the crashes introduced with chunksparsing. Not the most performant solution, but at least it should work. Ref.: #1056
2014-06-01Update UnderwaterBase prefabs.madmaxoft1-12/+378
Added the waterfall room and the decaying sphere room. Re-tweaked the pieces' weights.
2014-06-01Suggestions twoTiger Wang2-10/+12
2014-06-01Implemented bed homesTiger Wang4-16/+42
+ Implemented bed home positions * Fixed some inventory and health server/client mismatches after world change
2014-06-01abort does not take a parameter.worktycho1-2/+2
2014-06-01Use abort in SIGSEGV and SIGABRT handlersworktycho1-2/+2
This should cause Mcserver to generate core dumps when it crashes.
2014-06-01Made a_BlockHitPos a referenceSTRWarrior5-6/+6
2014-06-01Updated UnderwaterBase prefabs.madmaxoft1-103/+123
2014-06-01Updated AlchemistVillage prefabs.madmaxoft1-103/+105
2014-06-01Players can't set items in the result slot, when they shift a item.Howaner2-0/+39
2014-06-01Add HandleSmeltItem() call for achievements.Howaner1-7/+11
2014-06-01Missing return;Howaner1-0/+1
2014-05-31Implemented end and nether portalsTiger Wang23-92/+254
2014-05-31Added an initial version of the underwater base generator.madmaxoft5-0/+2103
2014-05-31- Changed the name of the ProjectileLookVector method.JoannisO2-3/+3
Note: I still think the new name is unclear. Any other suggestions are welcome.
2014-05-31Used recommendationsSTRWarrior6-9/+8
2014-05-31Moved the IsDoor check before the meta get.Howaner1-2/+1
2014-05-31Add doxy-commentHowaner1-3/+4
2014-05-31Updated PlainsVillage prefabs.madmaxoft1-73/+85
2014-05-31Fixed a memory leak in VillagGen.madmaxoft1-0/+5
2014-05-31Set DraggingItem to Slot directly.Howaner1-1/+1
2014-05-31Fix DBL bug.Howaner1-5/+4
2014-05-31Change "Slot.IsEmpty()" to "Slot.m_ItemCount <= 0"Howaner1-1/+1
2014-05-30Fix the furnace result slot.Howaner1-2/+90
2014-05-30Fixed bindings for cCompositeChat:SetMessageType().madmaxoft1-2/+2
2014-05-30Updated PlainsVillage and AlchemistVillage.madmaxoft2-239/+1270
2014-05-30Wrong arrow commit.Howaner1-4/+0
2014-05-30Better SetOpen() and IsOpen() function from the doors.Howaner2-77/+27
2014-05-30removed NULL assignment to const valueTycho1-1/+0
2014-05-30removed unneded addressofTycho1-7/+11
2014-05-30Fixed cChunkData nibble copying.madmaxoft1-9/+9
2014-05-30Test failures break into MSVC debugger.madmaxoft1-0/+6
2014-05-30Test failures are reported verbosely and into the debug console on Win.madmaxoft1-2/+18
2014-05-30Fixed sign comparison.madmaxoft1-1/+1
2014-05-30Fixed wrong copy sizes in cChunkData.madmaxoft1-10/+10
2014-05-29Attempt at fixing an unresolved symbol in gcc / clang.madmaxoft1-1/+1
2014-05-29Fix bug when a_Idx is not a multiple of SectionBLockCountworktycho1-1/+1
2014-05-29Derpworktycho1-1/+1
2014-05-29fix underflowworktycho1-1/+1
Wish c++ could specify saturating unsigned underflow.
2014-05-29Fixed wrong block sizes for copying / setting.madmaxoft2-42/+36
2014-05-29- Prefixed all args with "a_"JoannisO2-6/+10
- Added braces around the cases.
2014-05-29Fixed Wrong types in nibble sizeofsworktycho1-3/+3
2014-05-29Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug.Howaner2-13/+90
2014-05-29Fixed overflow bugworktycho1-6/+9
2014-05-29Added comments, reformatted code.madmaxoft6-280/+226
2014-05-29Very minor code changesTiger Wang3-3/+3
2014-05-29Cauldrons fillTiger Wang4-3/+19
2014-05-29SuggestionsTiger Wang1-1/+6
2014-05-29More comments!Tiger Wang1-5/+4
2014-05-29Revert "Fixed a food saturation issue"Tiger Wang1-1/+1
This reverts commit 67308e4337b422ebefb249049e662266072b0ba2.
2014-05-29Add commentworktycho1-0/+4
2014-05-29Changed block send queue to use vectorsTiger Wang3-21/+29
As suggested by @worktycho.
2014-05-29Fixed piston power checkingTiger Wang1-11/+6
2014-05-29Fixed a memory leak in cPOCPieceGeneratormadmaxoft1-0/+5
2014-05-29Fixed forgotten changes.madmaxoft1-3/+3
2014-05-28Fixed a crash in message formatter.madmaxoft1-1/+2
The code would fail if a message is sent to a player not yet added to a world.
2014-05-28cChunkData: Normalized code style.madmaxoft2-89/+106
2014-05-28Code improvementsHowaner3-12/+4
2014-05-28Fix hay place sound.Howaner2-1/+31
2014-05-28Fix fire break.Howaner2-18/+19
2014-05-28Add throw sound and fix arrow server crash.Howaner4-5/+16
2014-05-28Fixed cChunkData formatting.madmaxoft2-39/+101
2014-05-28Fixed a memory leak in cPrefabPiecePool.madmaxoft2-1/+34
The pool pieces weren't freed upon pool destruction.
2014-05-28Fix Y-Position from arrow entity.Howaner1-0/+1
2014-05-28Fix right click bugs.Howaner1-40/+41
2014-05-28Fix skull bugs.Howaner2-2/+46
2014-05-28- Removed breaks. I thought it wouldn't compile without them but theJoannisO1-2/+0
issue was appearantly solved with an earlier commit.
2014-05-28- Fixed an issue where dispensers would only shoot arrows (appearantlyJoannisO1-33/+24
some commits didn't come through) - Cleaned up the code according to suggestions.
2014-05-28- Implemented vertical dispensing for projectiles.Joannis2-16/+40
- Fixed some terrible commit issues on my side.
2014-05-27Added AlchemistVillage prefabs (Thanks, KingsCraftAu).madmaxoft3-9/+3007
2014-05-27Fixed testing weights in PlainsVillages.madmaxoft1-3/+3
2014-05-27cPieceGenerator chooses starting pieces based on weights.madmaxoft4-1/+44
Fixes #1033.
2014-05-27Biome generators: biome lists can contain spaces.madmaxoft1-1/+1
2014-05-27Fixed test globals to work with precompiled headersTycho2-16/+36
2014-05-27- Fixed the ampersands and asterisks to fit the format.Joannis2-8/+8
- Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing.
2014-05-27ClientHandle.cpp: Process look before posarchshift1-1/+1
2014-05-26ClientHandle.cpp: remove redundant codearchshift1-22/+2
HandlePlayerMoveLook() calls HandlePlayerPos() and HandlePlayerLook() to reduce code redundancy.
2014-05-26Revert "Add more move checks"madmaxoft2-59/+17
This reverts commit 989312c4e7f517ae324e857cb255211e3fd8bb06.
2014-05-26- Added support for more types of projectiles in the DispenserJoannisO2-38/+51
- Improved the method of spawning projectiles in the world - Added another method for spawning the projectiles
2014-05-26Fixed prefab test initialization.madmaxoft1-0/+3
2014-05-26Added Arrow- and FireCharge-Dispensing to DispenserEntity.JoannisO2-27/+95
2014-05-25Added support for Miners' Village.madmaxoft10-2234/+4438
The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027.
2014-05-25SEMICOLONS!Alexander Harkness1-2/+2
2014-05-25Update GroupManager.hworktycho1-2/+2
2014-05-25A fix that is better than #950.Alexander Harkness1-5/+15
2014-05-25Fixed bad mergeTycho2-9/+10
2014-05-25Fixed bug in freeing NULL pointersTycho1-13/+15
2014-05-25Fixed a food saturation issueTiger Wang1-1/+1
2014-05-25Hopefully fixed piston duplication issuesTiger Wang15-437/+372
* Fixes #879 * Fixes #714
2014-05-24inject TestGlobals.h correctlyTycho1-3/+7
2014-05-24Added Japanese village prefabs.madmaxoft5-4/+2442
2014-05-24Moved accessors to cpp fileTycho2-216/+241
2014-05-24Implemented style changesTycho6-92/+95
2014-05-23Implemented Allocation Pool use by cChunkDataTycho7-32/+79
2014-05-23Use placement new to initalise objectsTycho1-2/+5
2014-05-23Fixed Mineshaft system size.Mattes D1-1/+1
2014-05-23Auto-enlargement for cGridStructGen cache.Mattes D1-0/+9
2014-05-23Fixed datatype conversion warning.Mattes D1-2/+2
2014-05-22Updated plains village prefabs.madmaxoft1-186/+171
Expanded the hitboxes so that houses don't touch each other. Fixed minor visual defects.
2014-05-22Villages have min and max density setting.madmaxoft5-17/+110
Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020.
2014-05-22Added doxy-commentsSTRWarrior1-6/+8
2014-05-22cEntity::SetSpeed(a_Vector3d) isn't virtualized anymoreSTRWarrior2-2/+2
2014-05-22cPlayer overrides the SetSpeedXX functionsSTRWarrior3-4/+53
Fixed compile error
2014-05-22Both SetSpeed functions are now overridden by cPlayerSTRWarrior3-6/+32
2014-05-22Updated plains village prefabs.madmaxoft1-44/+43
The DoublePlantBed had sponges in wrong places, plus a few cosmetic fixes.
2014-05-21Changed desert village roads to gravel.madmaxoft1-1/+1
2014-05-21Added second kind of desert village (FlatRoof).madmaxoft3-4/+1535
2014-05-21Fixed if spacesTycho2-22/+23
2014-05-21Added callback for stopping starvation modeTycho1-0/+4
2014-05-21Fixed reversed comparisons to nullTycho2-17/+17
2014-05-21Implemented Allocation PoolTycho1-0/+50
2014-05-21Added space to ChunkData.cppTycho1-20/+100
2014-05-21Changed cChunkData::SetMeta to return a bool indicating whether the value changedTycho2-7/+9
2014-05-21Fixed stylistic issuesTycho4-25/+25
2014-05-21Renamed cChunkBuffer to cChunkDataTycho9-67/+67
2014-05-21Fixed minor style issuesTycho3-7/+7
2014-05-21Fixed cWither::KilledByandrew2-1/+3
2014-05-20Update CompositeChat.hTiger Wang1-2/+4
2014-05-20Fixed some E_META_*** Namesnarroo1-71/+67
2014-05-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew7-15/+128
2014-05-20Update Player.cppAlexander Harkness1-19/+19
2014-05-19Fixed a cactus Y position issueTiger Wang1-2/+3
2014-05-19Simplified cacti conditionsTiger Wang1-2/+2
2014-05-19cCompositeChat message type is now formattedTiger Wang4-5/+13
2014-05-19Added client translation to achievementsTiger Wang4-4/+70
2014-05-19Changed the m_slotarea positionJulian Laubstein1-2/+2
2014-05-19Fixed warnings in IncrementalRedstoneSimulatorJulian Laubstein1-1/+7
2014-05-19Fixed some warnings in Server.cpp, and in UI/Julian Laubstein3-3/+11
2014-05-19DerpAlexander Harkness1-1/+1
2014-05-19Rolled some changes backJulian Laubstein1-12/+2
2014-05-19Should have fixed assumptions about entity width.Alexander Harkness1-4/+5
@madmaxoft can you comment?
2014-05-19Fixed some warningsJulian Laubstein1-2/+12
2014-05-19Fixed clanging errors.Alexander Harkness1-5/+5
Please @tigerw make sure this is correct.
2014-05-18Implemented cacti damageTiger Wang3-2/+29
+ Implemented cacti damage * Fixed pickup tossing (PR #994 bug)
2014-05-18Updated SandVillage prefabs to latest Gallery content.madmaxoft1-12/+12
This fixes sand village generation.
2014-05-18There's no "round" function in MSVC2008.madmaxoft2-4/+4
2014-05-18Fixed datatype truncation in Diff() template.madmaxoft1-1/+1
2014-05-18removed the <list> includeJulian Laubstein1-1/+0
2014-05-18Added unload <pluginname> commandJulian Laubstein1-5/+9
2014-05-18Fixed issue with types not being defined for an unused parameterTycho8-107/+111
2014-05-17Village roads are drawn properly.madmaxoft2-8/+35
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft5-7/+67
2014-05-17Added load cmdJulian Laubstein1-5/+29
2014-05-17Added load command in the cServer classJulian Laubstein1-0/+6
2014-05-17derpTycho1-1/+1
2014-05-17fixed assignment bugs and Skylight bugTycho1-3/+5
2014-05-17Fix assignment ops 2worktycho1-3/+8
2014-05-17Fix assignment operatorsworktycho1-10/+14
2014-05-17Updated PlainsVillage prefabs to the latest Gallery contents.madmaxoft1-2265/+2892
2014-05-16Add more move checksHowaner2-17/+59
- Invalid X/Y/Z/Stance check (std::isnan) - Illegal stance - Illegal position (32.000.000 is the world size)
2014-05-16Fixed anvil exp removingtonibm191-1/+1
2014-05-15Fix compile error.Howaner1-1/+1
2014-05-15Move radius check.Howaner1-25/+40
2014-05-15Fixed a NULL ptr failure in GridStructGen.madmaxoft2-9/+42
When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead.
2014-05-15Changed village generator defaults to more reasonable values.madmaxoft1-2/+2
2014-05-15Changed village road generation to use multiple prefabs.madmaxoft3-39/+38
2014-05-15VillageGen rewritten using BFSPieceGenerator.madmaxoft5-412/+406
Piece composition is not good yet, the buildings aren't height-adjusted and the road pieces will need special processing. This is mainly for adjusting the per-piece params.
2014-05-15cPrefab can be constructed in code.madmaxoft2-0/+51
2014-05-13Fixesandrew5-20/+23
2014-05-12VillageGen: Added well placement and the general algorithm description.madmaxoft3-6/+152
2014-05-12Movement Statisticsandrew6-14/+101
2014-05-12cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew8-10/+143
2014-05-12More switch warnings.archshift2-7/+34
2014-05-12Fixed a few more switch warnings.archshift3-32/+35
2014-05-11Fixed a warning and a complaint about a never-read variable.archshift2-15/+11
2014-05-11Initial VillageGen implementation.madmaxoft6-0/+5807
WIP, doesn't generate anything yet. Ref.: 740.
2014-05-11Fixed compilationandrew1-0/+2
2014-05-11Added several more testsfor arrays and coordinatesTycho1-4/+16
2014-05-11Fixed bug that caused Array Setters to always create segmentsTycho1-4/+4
2014-05-11Fixed stat serializationandrew4-24/+44
2014-05-11SkyLight defaults to 0xFFTycho1-1/+1
2014-05-11Fixed a bug in writting zeros to a non-allocated sectionTycho2-0/+23
2014-05-11Statistic Managerandrew16-43/+448
2014-05-11Rename HandleBlockDigCancel to FinishDigAnimtion.Howaner2-5/+5
2014-05-10Fixed stupid errorTycho1-1/+1
2014-05-10Fixed stupid buffer overflow in array setblocksTycho2-5/+5
2014-05-10Fixed the console saying no plugins are loaded.STRWarrior1-1/+1
2014-05-10Fixed compile problem.STRWarrior1-1/+1
2014-05-10A portal block now chooses a number between 2000 and 0STRWarrior1-1/+1
2014-05-10Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman.STRWarrior1-0/+14
2014-05-10Fixed bug in setting metasTycho2-19/+7
2014-05-10Client cert is not requested.Mattes D1-1/+1
2014-05-09Add block place/break distance check.Howaner2-0/+31
2014-05-09Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break.Howaner4-36/+79
2014-05-09Fixed size_t in FireworksSerializer.Mattes D1-2/+2
2014-05-09Fixed message formatting.Mattes D1-2/+2
2014-05-09Removed unused constants from MineShafts and Ravines.Mattes D2-9/+0
2014-05-09Even more size_t fixes.Mattes D1-4/+4
2014-05-09More size_t fixes.Mattes D2-6/+6
2014-05-09Removed an unused NetherFortGen variable.Mattes D1-6/+0
2014-05-09Removed an unused macro.Mattes D1-7/+0
2014-05-09Build fixes after the last size_t batch.Mattes D6-15/+15
2014-05-09Range Check on schematic sizeworktycho1-1/+1
Fixes CID 55830
2014-05-09World pre-generation distance is settable in world.ini.Mattes D1-2/+6
2014-05-09Lighting thread disabled its chunkstays before deleting them.Mattes D1-0/+2
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D46-156/+173
2014-05-09Check the height and width values read.worktycho1-0/+8
Fixes CID 55831
2014-05-09Ravines rewritten using cGridStructGen.Mattes D2-182/+40
Ref.: #987.
2014-05-09Initialise m_HasTeleported in both constructorsworktycho1-0/+1
2014-05-09cWormNestCaves rewritten using cGridStructGen.Mattes D2-223/+29
Ref.: #987.
2014-05-09Mineshafts generator rewritten to use GridStructGen.Mattes D2-156/+33
2014-05-08Fixed cGridStructGen.Mattes D1-18/+6
Now cNetherFortGen works with the new architecture.
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D46-156/+173
2014-05-07cNetherFortGen uses cGridStructGen.madmaxoft5-264/+42
WIP, this doesn't work properly yet.
2014-05-07Superfluous method override.Howaner1-6/+0
2014-05-07Missing commaHowaner1-2/+2
2014-05-07Send item back to the client when the item get damage.Howaner1-0/+1
2014-05-07Change m_RepairCost to int.Howaner6-16/+10
2014-05-07Add lava and water check to block handlers.Howaner2-2/+14
2014-05-07Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner6-9/+9
2014-05-07Where is the problem with clang?Howaner1-1/+1
2014-05-07Fix MagmaCube save.Howaner2-3/+9
2014-05-07Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner8-57/+125
2014-05-07Initial cPrefabPiecePool refactoring.madmaxoft2-0/+196
Ref.: #986.
2014-05-07Fixed wires powering wires diagonally below themTiger Wang1-5/+1
2014-05-06Fixed an extra space.madmaxoft1-1/+1
2014-05-06Suggestions'd #2Tiger Wang2-1/+6
2014-05-06Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner9-34/+33
2014-05-06Simplified the HandleAnvilItemName() code.Howaner1-7/+2
2014-05-06Initial cGridStructGen refactoring.madmaxoft2-0/+262
Ref.: #987.
2014-05-06Suggestions'dTiger Wang3-7/+11
2014-05-05Changed cPieceGenerator to support pairings.madmaxoft3-57/+104
Fixes #982.
2014-05-05Prefabs can specify that they don't want flooring.madmaxoft1-30/+33
Previously the flag was ignored.
2014-05-05Change int to size_t return.Howaner2-3/+3
2014-05-05Fixed a flipped condition in cBlockArea::Merge().madmaxoft1-2/+2
2014-05-05Fix SetRepairedItemName() in SlotArea.cppHowaner1-1/+1
2014-05-05Add comments to CanTakeResultItem()Howaner1-5/+5
2014-05-05Add doxycomments to cSlotAreaAnvil functions.Howaner1-0/+2
2014-05-05Changed HandleAnvilItemName() length to size_t in ClientHandle.hHowaner1-1/+1
2014-05-05Add anvil shift click.Howaner2-5/+86
2014-05-05This isn't a enchantment table :DHowaner1-1/+1
2014-05-05Add clicks, exp subtraction, item check, ...Howaner7-18/+210
2014-05-05Add MC|ItemName plugin message.Howaner6-8/+51
2014-05-05Add anvil window and slot area.Howaner13-0/+356
2014-05-05Fixed crash on creating a world during plugin initialisationworktycho1-1/+1
2014-05-05Fixed formattingTiger Wang1-4/+5
2014-05-04Fixed 027efe09ea3d3222c3cbf169643e57773c1614aeTiger Wang1-3/+49
2014-05-04Fixed lever and button powering directionTiger Wang1-16/+8
2014-05-04Removed convert-assign operator.madmaxoft1-8/+0
We want all conversions to be explicit, not hidden.
2014-05-04Fixed pressure plate oversightsTiger Wang1-2/+8
* Fixed stone pressure plates not checking for the correct distance for players * Fixed pressure plates in general not link powering the blocks beneath them
2014-05-04Fixed portal Z direction loop coding failureTiger Wang1-10/+9
* Fixed portals created in the ZP/ZM direction eating its frame * Changed return type of a function
2014-05-03Hotfixed Chunked transfer encoding in Yggdrasil.madmaxoft1-1/+1
By using HTTP/1.0, we're disabling the support for the Chunked encoding on the server. This is a hotfix for #979, a proper parser implementation is still needed.
2014-05-03Fixed connection encryption.madmaxoft1-1/+1
Fixes #975.
2014-05-03Removed the controversial Vector3::operator <.madmaxoft1-6/+0
It hasn't been used in any C++ code and Lua doesn't need it.
2014-05-03Fixed float comparison warnings in Vector3.madmaxoft1-5/+23
There's a bitwise comparison (Equals), and there's Eps-based comparison (EqualsEps).
2014-05-03Implemented a true assignment operator for Vector3.madmaxoft1-1/+9
2014-05-03Fixed vanilla fluid simulator.madmaxoft1-4/+1
Fixes #919.
2014-05-03cCHunkBuffer that compiles with TestGlobals.hTycho4-1/+13
2014-05-02Attempted fix for CLang warnings in Vector3.h.madmaxoft1-1/+9
C++11 seems to have deprecated classes that have custom copy-constructor but not a custom assignment operator.
2014-05-02WebAdmin outputs a log message about HTTP / HTTPS status.madmaxoft1-18/+31
2014-05-02Fixed vanilla fluid simulator.madmaxoft4-14/+20
Fixes #919.
2014-05-02Fixed a buffer overflow in cChunk:SetLight().madmaxoft1-2/+2
There are only half as many bytes for light than there are blocktypes.
2014-05-02Open files in shared mode on windows, so that other tools may read them.madmaxoft1-2/+2
This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode.
2014-05-02A bit of reformatting.madmaxoft1-5/+10
2014-05-02Fixed MagmaCube spawning.madmaxoft1-0/+4
Fixes #928.
2014-05-02Added a sanitizer for Spawn egg damage value.madmaxoft1-1/+39
This disallows spawning unknown mobs from unknown spawn eggs. Ref.: #928.
2014-05-02HOOK_DISCONNECT has cClientHandle as its first parameter.madmaxoft6-10/+10
Ref.: #655.
2014-05-01Fixed warnings in ManualBindings.madmaxoft1-20/+20
2014-05-01Fixed warnings in Lua helpers.madmaxoft2-3/+3
2014-05-01Fixed a warning in Noise.madmaxoft1-1/+1
2014-05-01More ClientHandle fixes.madmaxoft2-3/+3
2014-05-01Fixed warnings in ClientHandle.madmaxoft8-9/+9
2014-05-01Fixed warnings in cByteBuffer.madmaxoft2-14/+14
2014-05-01Fixed warning in BlockID.madmaxoft1-1/+1
2014-05-01Fixed warnings in cBlockArea.madmaxoft1-2/+2
2014-05-01Fixed warnings in FastNBT.madmaxoft1-2/+2
2014-05-01Fixed warning in cCallbackSslContext::cDataCallbacks.madmaxoft1-0/+3
2014-05-01Fixed warning in cBlockArea.madmaxoft1-1/+1
2014-05-01Added a missing return statement.madmaxoft1-0/+1
2014-05-01Removed the explicit copy constructor for cItem.madmaxoft1-0/+6
The compiler generates an implicit one with the same contents and warns about it. The function left in for ToLua to generate the binding for it.
2014-05-01cSslContext has virtual destructor now.madmaxoft1-1/+1
2014-05-01Fixed MSVC2013 compilation.Mattes D1-1/+1
2014-05-01Renamed PublicKey to CryptoKey in CMakeLists.txtMattes D1-3/+2
2014-05-01Anvil saver pads data to 4K boundaries.madmaxoft1-0/+5
Fixes #524.
2014-05-01Renamed cPublicKey to cCryptoKey.madmaxoft9-41/+40
The class can hold both the private key and the public key, bad naming on PolarSSL's part. Also somewhat fixed the cert and key loading in cHTTPServer.
2014-05-01Fixed crashes in the SSL HTTP connection.madmaxoft9-23/+36
2014-05-01Implemented SSL connection for WebAdmin.madmaxoft4-2/+191
Fixes FS-319.
2014-05-01Fixed HTTP message parsing, prepared for SSL.madmaxoft2-3/+4
2014-05-01Added a (disabled) test of low-security ciphersuites.madmaxoft1-0/+12
Enabling this allows the connection to be sniffed and decoded using Wireshark, when given the SSL private key.
2014-05-01Fixed BufferedSslContext's buffer reading and writing.madmaxoft1-2/+2
2014-05-01cSslContext supports setting own cert / privkey.madmaxoft5-7/+187
2014-05-01Added cBufferedSslContext implementation.madmaxoft2-20/+51
2014-04-30If webadmin.ini doesn't exist, example one is written immediately.madmaxoft1-0/+1
2014-04-30Fixed a warning when an empty item is being created.madmaxoft1-1/+1
2014-04-30Ladders set as transparent.madmaxoft1-0/+1
2014-04-30Removed the unused cBlockingTCPLink class.madmaxoft3-171/+0
2014-04-29Delayed sending the KeepAlive packet for 3 seconds after login.madmaxoft1-0/+5
This should alleviate #889.
2014-04-29Removed unneeded #includes.madmaxoft1-6/+0
2014-04-29Moved the rest of the Crypto objects into their own respective files.madmaxoft13-422/+465
2014-04-29Moved cPublicKey to its separate file in PolarSSL++.madmaxoft6-109/+124
2014-04-29Added BiomeToString() API function.madmaxoft2-81/+106
2014-04-29Added BiomeToString() API function.madmaxoft2-81/+106
2014-04-29Added missing initialization.madmaxoft1-2/+5
2014-04-29Moved cRsaPrivateKey to PolarSSL++, rewritten using existing objects.madmaxoft9-225/+244
2014-04-28Disabled MSVC warnings about constant bool expressions.madmaxoft1-2/+19
2014-04-28Hopefully fixed repeated clang warnings.madmaxoft1-9/+9
2014-04-28Fixed a MSVC warning.madmaxoft1-1/+1
2014-04-28Fixed Formmatingnarroo1-69/+69
2014-04-28Added some E_META_* values to BlockID.hnarroo1-20/+120
2014-04-28Added the G1 root cert.madmaxoft1-2/+29
Now the authenticator finally works.
2014-04-28Added a debug cert printing function.madmaxoft2-0/+65
2014-04-28Fixed braces.madmaxoft1-1/+5
2014-04-28Fixed missing return value warning in MSVC.madmaxoft1-0/+1
2014-04-28Removed static from combinators.Tycho1-7/+7
THis allows us to use the functions in template params at the cost of polluting the global namespace.
2014-04-28Fixed unbraced ifsTycho1-10/+40
2014-04-28Removed inlines from combinatorsTycho1-7/+7
gcc requires external linkage for functions provided to template parameters
2014-04-28Template MagicTycho4-173/+183
Removed need to allocate a fake meta block by using templates to provide a version of the code that does not use metas. Also changed the function to a template argument to make sure that the compilier is able to inline it.
2014-04-28Revert "Withers now use the new invulnerable."Howaner2-10/+26
This reverts commit 619592b5a0ab651e714d55932bc7909e4204cee9.
2014-04-28Revert "Changed the old invulnerable methods from the wither to the new."Howaner5-28/+4
This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.
2014-04-28Fixed projectile source filenames, indentationsarchshift26-80/+80
2014-04-27Reordered constructors.madmaxoft1-2/+2
2014-04-27Fixed a late-night typo.madmaxoft1-2/+2
2014-04-27Fixed warnings.madmaxoft2-2/+3
2014-04-27Fixed player spawning #953.madmaxoft1-1/+4
2014-04-27Worked around const pointerTycho1-2/+3
2014-04-27Rewritten cAuthenticator to use the new PolarSSL++ wrapper classes.madmaxoft1-91/+45
2014-04-27PolarSSL wrappers for the SSL context.madmaxoft10-5/+847
2014-04-27cSocket creates the socket in Connect if no socket is present yet.madmaxoft1-2/+8
2014-04-27Fixes to uninitallsed array access in Noise.cppTycho1-0/+2
CID 43634, 43634
2014-04-27Initalize counter in fastrandomTycho1-1/+2
Fixes CID 43622
2014-04-27Initialised MetaArrays in BlockAreaTycho1-2/+6
Fixes CID 43621
2014-04-27Removed unneeded assertTycho1-1/+1
Fixed CID 43610
2014-04-27Removed Old AssertsTycho1-2/+0
Removed asserts about non-negative numbers on what are now unsigned types Fixes CID 43608
2014-04-27Removed old unused codeTycho1-5/+0
2014-04-27Fixed OnPluginMessage hook not exiting early.Tycho1-1/+1
OnPluginMessage hook would call all plugins even after one returned true. Fixes CID 43512
2014-04-27Added some commentsandrew2-2/+2
2014-04-27Revert "Creative players cannot throw ender pearls."archshift1-16/+0
This reverts commit 75bb36574b4bb78e8b5975bf905a97402fd8a4bb.
2014-04-27Creative players cannot throw ender pearls.archshift1-0/+16
2014-04-27Fixed ToLua errors, added newlinesarchshift18-19/+19
2014-04-27Redstone simulator now directly accesses cChunkTiger Wang10-453/+586
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes
2014-04-27Another attempt at #889.madmaxoft1-3/+5
The packet was being sent after the state was adjusted, so another thread *may* have sent another packet in the meantime.
2014-04-27Fixed bad commentTycho1-1/+1
2014-04-27Fixed a couple of segfaults and made Free a seperate functionTycho2-6/+39
2014-04-27Added other half of implementationTycho1-14/+133
2014-04-27Fixed issues with gccTycho1-6/+7
2014-04-27Fixed MobProximity Counter to remove chunk copysTycho2-5/+4
2014-04-27Fixed bad mergeTycho1-13/+9
2014-04-27Fixed ToLua issuesarchshift9-19/+24
2014-04-27Moved cFireworkEntity out of ProjectileEntity.harchshift5-115/+116
2014-04-27Moved cGhastFireballEntity out of ProjectileEntity.harchshift6-74/+85
2014-04-27Moved cFireChargeEntity out of ProjectileEntity.harchshift6-82/+90
2014-04-27Moved cThrownSnowballEntity out of ProjectileEntity.harchshift5-74/+84
2014-04-27Moved cExpBottleEntity out of ProjectileEntity.harchshift4-52/+61
2014-04-27Moved cThrownEnderPearl out of ProjectileEntity.harchshift5-86/+95
2014-04-27Moved cThrownEggEntity out of ProjectileEntity.harchshift5-91/+100
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift10-284/+297
2014-04-27A tiny speed improvement in ApplyFoodExhaustion()Tiger Wang1-5/+5
2014-04-27More comments!Tiger Wang2-3/+10
* Also fixed a potential issue with position sending - if someone moved slowly enough, their position would never be updated.
2014-04-27Added static const, initialized fields.archshift4-2/+7
2014-04-26More small fixes.archshift3-11/+11
2014-04-26Moar alignment.archshift1-7/+7
2014-04-26Implemented Chunk Sparsing with segmentsTycho17-401/+610
2014-04-26Further refactored, Reverted Minecart changearchshift11-90/+62
Other small changes.
2014-04-26Changed the old invulnerable methods from the wither to the new.Howaner5-4/+28
2014-04-26Withers now use the new invulnerable.Howaner2-26/+10
2014-04-26FixesHowaner8-23/+26
2014-04-26Fixed unitialized member in gZipFile (CID 43673)jfhumann1-1/+1
2014-04-26Fixed mobs that don't naturally spawn.archshift3-7/+11
2014-04-26Moved switch{} out of GetArmorCoverAgainst().archshift2-5/+29
2014-04-26Removed unused assignments.archshift3-6/+2
2014-04-26Fixed a couple more warnings.archshift2-21/+17
2014-04-26Moved the weather picker out of TickWeather(), squashing a warning and improving readability.archshift2-25/+30
2014-04-26Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618)jfhumann1-1/+4
2014-04-26Removed impossible default case.archshift1-6/+0
Squashed a warning.
2014-04-26Removed extraneous switch{} in Start()archshift2-17/+3
Squashed a warning.
2014-04-26Fixes resource leaks in the yggdrasil authenticator. (CID 43617)jfhumann1-0/+33
2014-04-26Moved huge conditional out of InStateChasing(), improving readabilityarchshift2-1/+20
Squashed a warning.
2014-04-26Fix for minor resource leak (CID 43616)jfhumann1-1/+9
2014-04-26Change m_InvulnerableTicks description again again :DHowaner1-1/+1
2014-04-26Change m_InvulnerableTicks description again.Howaner1-1/+1
2014-04-26Change m_InvulnerableTicks descriptionHowaner1-1/+1
2014-04-26Add entity invulnerableHowaner22-50/+111
2014-04-25Should fix CIDs 43631, 43632 and 43633jfhumann1-0/+2
2014-04-25Implemented commentsTiger Wang3-33/+52
2014-04-25Missed these CMakeLists.archshift2-1/+7
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift12-0/+12
2014-04-25Fixed C++11 check for SharedPtr.madmaxoft1-1/+1
2014-04-25Creator not user.archshift2-5/+5
2014-04-25Comments for TrySpawnChicken() and TeleportUser().archshift1-0/+2
2014-04-25Rename spawn chicken method, Initialize m_HasTeleported.archshift2-4/+5
2014-04-25Fix formattingr.ramazanov1-9/+15
2014-04-25Added shared_ptr handling for C++03 mode.madmaxoft1-3/+7
2014-04-25Fix for clangr.ramazanov1-5/+1
2014-04-25Mobs shouldn't burn when it's Raining & Mob Knockback is far too muchr.ramazanov1-8/+5
2014-04-25Small changes; warning fixing.archshift6-14/+12
2014-04-25Chicken eggs and ender pearls can hit entities.archshift2-7/+66
Fixed warning by adding dedicated m_HasTeleported for fired arrows.
2014-04-25Oops, fixed that.archshift1-0/+2
2014-04-25Giants!archshift2-7/+12
Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning.
2014-04-25Refactored SendChat(), placing the message-type formatting into its own function.archshift2-84/+81
Removed default case warning in the process.
2014-04-25Add commit what the code is doing.Howaner1-0/+1
2014-04-25Add unkown armor warning and fix armor stacks.Howaner1-2/+14
2014-04-24Fixed indentTiger Wang1-1/+1
2014-04-24Implemented suggestionsTiger Wang1-7/+6
2014-04-24Add armor to switch() in ItemHandler.cppHowaner2-7/+26
2014-04-24Another small speed improvement?Tiger Wang1-12/+2
2014-04-24Implemented suggestionsTiger Wang2-89/+16
2014-04-24Replaced MSVC-specific decorators with our universal ones.madmaxoft2-2/+2
2014-04-24cByteBuffer uses void * instead of char * in data interface.madmaxoft2-5/+6
This makes it compatible with any pointer type.
2014-04-24Declared a SharedPtr that hopefully resolves on all platforms.madmaxoft1-1/+9
MSVC2008 has it in std::tr1, all the others in std.
2014-04-24Fixed filename case.madmaxoft1-1/+1
2014-04-24Attempted CMake inclusion for PolarSSL++.madmaxoft2-2/+19
2014-04-24Authenticator uses some C++ SSL objects.madmaxoft1-19/+40
2014-04-24Initial C++ SSL classes.madmaxoft7-2/+248
2014-04-24Changed cByteBuffer constructor to take a size_t instead of int.madmaxoft2-2/+2
2014-04-24Fixed class capitalization for the cave spider.archshift4-7/+7
2014-04-24Fix armor in survival mode.Howaner6-17/+157
2014-04-24Fixed references to renamed files.archshift5-8/+8
2014-04-24Rename mob source files to fit CamelCase.archshift6-6/+0
Rename Cavespider.cpp to CaveSpider.cpp Rename Cavespider.h to CaveSpider.h Rename Magmacube.cpp to MagmaCube.cpp Rename Magmacube.h to MagmaCube.h Rename Zombiepigman.cpp to ZombiePigman.cpp Rename Zombiepigman.h to ZombiePigman.h
2014-04-23Updated docs for StringToEnchantmentID.madmaxoft1-1/+1
Ref.: mc-server/Core#67
2014-04-23Updated NetherFort prefabs to latest Gallery content.madmaxoft1-7/+29
2014-04-23Some change to Entity.cppTiger Wang7-123/+105
* Added comments to BroadcastMovementUpdate() and the collision tracer
2014-04-23Small changesTiger Wang4-12/+15
2014-04-23The new leaves don't decay anymore.STRWarrior1-0/+1
Fixes #792
2014-04-23Mobs shouldn't burn when it's Raining #906r.ramazanov1-9/+30
Mob Knockback is far too much #776
2014-04-23Renamed getter and setter for IsFireproof.archshift3-4/+4
2014-04-23Added IsFireproof hook for monsters.iniarchshift1-0/+3
2014-04-23Fireproof status getter and setter.archshift2-0/+16
2014-04-22Updated NetherFort prefabs from the Gallery server.madmaxoft1-274/+785
2014-04-22Fixed indentation and changed m_Fireproof to m_IsFireproof.archshift2-14/+14
2014-04-22Lay foundation for fireproof entities.archshift2-3/+15
Prevent any entities with the m_Fireproof flag from taking fire or lava damage.
2014-04-21reverted the revert of the minecart collision detection fix.jfhumann1-2/+1
2014-04-21Mobs shouldn't burn when it's Raining #906r.ramazanov1-5/+12
2014-04-21Added prefab hitboxes.madmaxoft3-11/+138
The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish.
2014-04-21Added enchantment combining into cEnchantments.madmaxoft2-16/+33
2014-04-21Replaced X.size() with X.empty(), where applicable.madmaxoft1-3/+3
2014-04-21Fixed a warning in CraftingRecipes.Mattes D1-1/+1
2014-04-21Allow 1.6.4 Forge clients to log in.Mattes D2-0/+20
Fixes #913.
2014-04-21Fixed enchanting return values.Mattes D1-3/+3
Items are enchanted in those cases, so return true. Ref.: #914.
2014-04-20Fixed MSVC compilation.madmaxoft1-1/+1
2014-04-19Fixed Codedaniel09162-145/+148
2014-04-19Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann4-9/+10
2014-04-19Declared one mutex as mutable in order to allow for const correct get accessors.jfhumann3-7/+7
2014-04-19Fixed Code (2)daniel09161-97/+93
2014-04-19Fixed Codedaniel09165-411/+418
2014-04-19Fixed formatting, made function static.madmaxoft2-13/+18
2014-04-18Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does.jfhumann2-2/+2
2014-04-18Small style changesjfhumann4-9/+9
2014-04-18Compilation fixTiger Wang1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann48-212/+257
2014-04-18Added performance test of the nether fort generator.madmaxoft2-0/+35
2014-04-18Fixed Errorsdaniel09163-5/+23
2014-04-18Removed old includedaniel09162-2/+1
2014-04-18Fixed #906Tiger Wang2-1/+12
2014-04-18Fixed #904Tiger Wang2-1/+6
2014-04-18Removed unsupported C++11 features.madmaxoft1-13/+19
2014-04-17Added area flooring.madmaxoft1-1/+42
Fixes #743.
2014-04-17Added new AI rulesTiger Wang6-53/+64
+ Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT
2014-04-17Fixed some Errors (not all)daniel09164-20/+21
2014-04-17Added Prefab initializers to SELFTEST code.madmaxoft1-1/+13
2014-04-17Prefabs can have per-piece per-placement weights.madmaxoft5-32/+752
Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents.
2014-04-17Compile fix?Tiger Wang1-2/+2
2014-04-17Modified many thingsdaniel091610-918/+1000
2014-04-17Implemented weighted pressure platesTiger Wang3-29/+175
2014-04-17Mobs rotationr.ramazanov1-4/+6
2014-04-16Added asserts for proper game state.madmaxoft1-5/+131
This is to help hunt #889.
2014-04-16Fixed conflicting enchantments checkingdaniel09162-24/+24
2014-04-16Added deletions from merge conflictdaniel09161-0/+875
2014-04-16Fixed merge conflictdaniel09161-877/+0
2014-04-16Fixed double enchanting itemsdaniel09161-2/+2
2014-04-15Attempted fix for the client crash with the new protocols.madmaxoft2-6/+16
2014-04-15Code Optimizationdaniel09162-358/+183
2014-04-15Added Book Enchantingdaniel09162-2/+311
2014-04-15Add more checks to cSlotAreaEnchantingHowaner3-99/+212
2014-04-15Modified namesdaniel09162-49/+49
2014-04-15Add linux compatibilityHowaner1-61/+71
2014-04-15Rewrote redstone powering to use power levelsTiger Wang6-183/+157
2014-04-15Added support for per-piece per-placement weights in cPieceGenerator.madmaxoft2-28/+48
Ref.: #753.
2014-04-15NetherFortPrefabs: Fixed a connector in MidStaircase.madmaxoft1-1/+1
2014-04-14Implemented the 1.7.6 protocol and authenticator.madmaxoft10-128/+198
Server works both in online and offline modes with 1.7.9.
2014-04-14Added ItemPlaceCount in SlotAreadaniel09162-0/+35
Thanks to Howaner for helping
2014-04-14A client UUID is generated when the server is in offline mode.madmaxoft3-5/+40
1.7.9 client works with these changes in offline mode.
2014-04-14Initial 1.7.6 protocol support.madmaxoft4-2/+69
Doesn't work yet because of missing UUIDs.
2014-04-14Removed Debug Messagedaniel09161-2/+0
2014-04-14Added/Modified last things for Enchanting Systemdaniel09161-15/+53
2014-04-14Blocked enchanting a item twicedaniel09162-8/+10
2014-04-14Fixed Bookshelf Checkingdaniel09161-8/+10
Code by LO1ZB
2014-04-14Bug fixesdaniel09164-26/+21
2014-04-13Fixed invisibility enchantmentsdaniel09164-1/+8
2014-04-13Fixed mistakedaniel09162-2/+2
2014-04-13Fixed Error?daniel09161-2/+2
2014-04-13Code Updatedaniel09161-4/+5
2014-04-13Fixed mistakedaniel09161-1/+1
2014-04-13Fixed Server Crashdaniel09161-0/+6
2014-04-13Some Fixesdaniel09162-2/+9
2014-04-13Added Yggdrasil Authentication Systemdaniel09169-295/+360
Code by Howaner. Fixes/Changes by me.
2014-04-12ChunkStay must be disabled while being deleted.ProtoProxy_1.7.2_001madmaxoft3-4/+6
Fixes #758.
2014-04-12Fixed chunkstays not being removed on auto-delete.madmaxoft2-10/+19
Fixes #837.
2014-04-12Fixed link errorsTycho1-0/+9
2014-04-12Updated the NetherFort prefabs to current Gallery contents.madmaxoft3-1958/+3329
Code exported from the Gallery server by the GalExport plugin.
2014-04-12Fixed Bookshelves Checking (not completly)daniel09161-7/+10
2014-04-12Added complete Enchanting Systemdaniel09168-147/+803
http://minecraft.gamepedia.com/Enchantment_mechanics
2014-04-12Entities handle chunks properly againTiger Wang10-123/+123
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty
2014-04-12Simplified pickup speed randomisationTiger Wang1-4/+3
2014-04-12Some tweaksSTRWarrior1-5/+17
GetPyramidLevel returns 0 when no layers were found, 1 for one layer etc. Auto adjust the minY and/or maxY to 0 if the beacon is low.
2014-04-12Fixed member construction order.madmaxoft1-2/+2
2014-04-12Removed debug message.STRWarrior1-1/+0
2014-04-12Simplefied GetPyramidLevelSTRWarrior1-10/+3
2014-04-12Lighting reads blocktypes only for blocks under heightmap.madmaxoft2-16/+87
This should theoretically speed it up, since less data is copied back and forth. Also implemented a possibly more cache-friendly blocklight starter algorithm (PrepareBlockLight2()), is disabled by default, needs perf testing.
2014-04-12Implemented the skeleton code for the beacon.STRWarrior4-0/+155
There is no handling for the GUI. It can now check how big the pyramid is under the beacon.
2014-04-11Fixed issues with 64-bit MSVC compilation.madmaxoft3-21/+35
2014-04-10Replaced all the .data() calls so the code compiles in VS2008Tycho1-5/+5
2014-04-10Fixed enchantment parsing.madmaxoft1-12/+17
Fixes #880. Enchantment parsing now reports in detail which value failed to parse
2014-04-10Fixed GitHuB WebEdit fail.Alexander Harkness1-0/+1
2014-04-10Update Monster.cppAlexander Harkness1-2/+4
2014-04-08cRedstoneSimulator.cpp style improvementsTiger Wang1-40/+41
2014-04-08Fixed missing - that caused all neighbour lookups to go to the chunkmapTycho1-1/+1
2014-04-08Removed check for enqueuing a chunk that is already enqueued to be loadedTycho1-1/+1
This remaval is safe as cWorldStorage checks for duplicate chunks when dequeuing and removes an expensive iteration whilst holding the queue lock
2014-04-08Uppercased Zwiseoldman951-3/+3
Minor, no code changed.
2014-04-08Comments: Inverted Z axis.wiseoldman951-9/+10
-Comments fix, No code has been changed. -Inverted the Z axis in the comments and changed all dependent comments accordingly. -Added NORTH/SOUTH/EAST/WEST in addition to LEFT/RIGHT/UP/DOWN.
2014-04-08Added comments regarding latching and orientationwiseoldman951-9/+31
No real code was changed.
2014-04-08Fixed the thing properly.Alexander Harkness1-8/+8
2014-04-07Maybe speed improvements?Tiger Wang2-48/+29
* Use a single index to determine from when to begin copying data * Use heightmap to determine first nonair block
2014-04-07Modified commentdaniel09161-1/+1
2014-04-07Fixed Errorsdaniel09162-3/+3
2014-04-07Added deleted things for mergingdaniel09161-0/+3
2014-04-07Fixed merge conflictdaniel09161-3/+0
2014-04-07Fixed IsOnwiseoldman951-3/+2
2014-04-07Added Enchantment-Slot-Level generatingdaniel09163-9/+32
2014-04-07Removed stray IsLockedwiseoldman951-2/+2
2014-04-07Removed unneeded spacingswiseoldman951-6/+3
2014-04-07Slight cleanupwiseoldman951-13/+17
It is more efficient and readable if we do nothing unless we're not locked.
2014-04-07Fixed some more minor issues with the redstone simulator.Alexander Harkness1-34/+39
2014-04-07Improved the speed a little more.Alexander Harkness1-1/+1
2014-04-07Fixed the redstone simulator.Alexander Harkness1-49/+40
2014-04-07Statistic/Achievement defsandrew2-0/+255
2014-04-07Attempt to fix errorsTiger Wang2-12/+12
2014-04-07Fixed #859Tiger Wang1-23/+3
2014-04-07Fix some of the comments in the PR tycho just did.Alexander Harkness1-8/+6
2014-04-07Fixed HTTP chunked encoding.madmaxoft1-1/+1
Fixes #858.
2014-04-07Blocklight and skylight now compressedTiger Wang3-32/+90
2014-04-06Fixed 1.6.4 client crash on composite chat messages.madmaxoft2-0/+14
2014-04-06Fixed crash in protocols sending 64-bit ints.madmaxoft1-1/+1
Fixes #855.
2014-04-06Updated the tolua executable for Windows.madmaxoft1-0/+0
2014-04-06Remove old importHowaner2-3/+2
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner9-4/+45
2014-04-06Added support for redstone latchingTycho2-2/+65
fixes #856
2014-04-05Fixed Endiannes conversion routines for floats and doubles.madmaxoft2-3/+3
This bug has been introduced in 8825d30aabbee8cb2e452dc5a17deb6f9b6892a7. This change fixes #854.
2014-04-05Fixed double projectile spawning.madmaxoft1-1/+0
Two spawn packets were sent per projectile.
2014-04-05Removed debugging log from entity physics handling.madmaxoft1-1/+2
2014-04-05Added cPlayer:SendRotation() API function.madmaxoft2-0/+17
2014-04-05Nibbletypes are compressedTiger Wang3-18/+110
+ Added nibble compression * Fixed an off by one
2014-04-04Speed and memory improvementsTiger Wang2-62/+15
* Changed array to be continuous, so no more layer splitting
2014-04-04Explicit change record size.madmaxoft1-1/+1
2014-04-04Changed cNoise seed to signed.madmaxoft2-4/+4
2014-04-04Fixed format string mismatch.madmaxoft1-1/+1
2014-04-04More Clang warning fixes in the protocols.madmaxoft6-81/+82
2014-04-04Fixed CreateHexDump's format string.madmaxoft1-2/+2
2014-04-04Fixed CreateHexDump's signedness.madmaxoft3-11/+11
2014-04-04More Clang warning fixes in the protocols.madmaxoft3-30/+39
2014-04-04Fixed silly Clang's warnings in FastNBT.madmaxoft1-28/+28
2014-04-04Fixed some Clang warnings in protocols.madmaxoft13-43/+51
2014-04-04Fixed Clang warnings in itemhandlers.madmaxoft6-20/+21
2014-04-03Change CanBeAt() from big flowerHowaner1-5/+1
2014-04-03Remove old functionHowaner1-6/+0
2014-04-03Documented the units and range for entity rotations.madmaxoft1-7/+7
2014-04-03Grass now grows under up-side-down slabsHowaner1-3/+12
2014-04-03Fixed some bugsTiger Wang1-3/+5
* Fixed undefined behaviour * Fixed compression failure
2014-04-03Removed unneeded asserts.madmaxoft1-2/+0
2014-04-03Fixed a few MSVC type warnings.Mattes D3-2/+5
2014-04-03Removed the bindings to set old g_BlockXXX arrays.Mattes D1-297/+65
Those were supposed to be read-only; there's no point in writing to them anyway. Also fixed MSVC type warnings in the code.
2014-04-02Performance improvements and chunk flipping fixedTiger Wang1-30/+32
2014-04-02With eXtra line!Tiger Wang1-0/+1
2014-04-02Removed extra bracketsTiger Wang1-5/+2
2014-04-02Fixed boat placement code.madmaxoft1-9/+17
2014-04-02Fixed more virtual destructors for interfaces.madmaxoft4-0/+12
2014-04-02Fixed All signedness warnings in HTTPServer.cppTycho10-14/+17
2014-04-02Fixed format string in HTTPConnectionTycho1-1/+1
2014-04-02Fixed Comparison to -1 in HTTPMessage.hTycho1-1/+1
2014-04-02Added schematic string serializer self-test.madmaxoft1-0/+33
2014-04-02Fixed StringCompression's GZIP handling for larger strings.madmaxoft2-5/+7
2014-04-01Exported the Base64 encoding and decoding functions to Lua API.madmaxoft2-2/+48
2014-04-01cBlockArea: Added the msMask merge strategy.madmaxoft2-0/+39
2014-04-01Rewritten HTTPServer to use size_t for data lengths.madmaxoft16-90/+97
2014-04-01More cFile warning fixes.madmaxoft1-1/+1
2014-04-01Fixed clang warnings in cGZipFile.madmaxoft1-2/+2
2014-04-01Fixed clang warnings in BlockHandlers.madmaxoft4-5/+6
2014-04-01Fixed clang warnings in cFile.madmaxoft1-10/+10
We only support 32-bit filesizes (files < 2 GiB).
2014-04-01Simplified the anvil placement code.madmaxoft1-11/+9
2014-04-01Removed an unneeded code branch.madmaxoft1-5/+0
2014-04-01LOG() API reads the LogLevel from the cCompositeChat's MessageType.madmaxoft5-22/+79
2014-03-31Final realisation of suggestionsTiger Wang1-5/+7
2014-03-31Console logging supports cCompositeChat as its parameters.madmaxoft4-34/+69
2014-03-31Realised suggestionsTiger Wang2-6/+12
2014-03-31Simplified and fixed slabs, fixes #835Tiger Wang3-36/+13
2014-03-31Fixed a few Y too high/low assertsTiger Wang3-12/+15
2014-03-31Added new merge strategy "msDifference"STRWarrior2-0/+35
2014-03-31cCompositeChat has a MessageType param in the constructor.madmaxoft2-3/+3
This should make it easier to use.
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft11-48/+54
2014-03-30Fixed a few clang warnings.madmaxoft4-7/+13
2014-03-30Using recommendations (I think)STRWarrior6-6/+7
2014-03-30Another curlyTiger Wang1-1/+2
2014-03-30Added a BlockHitPos parameter to OnProjectileHitBlockSTRWarrior6-9/+9
2014-03-30Added a blockface parameter to the OnProjectileHitBlock hook.STRWarrior6-8/+8
2014-03-30Added all current NetherFort prefabs.madmaxoft1-3/+1547
2014-03-30Added asserts for critical data in cPrefab.madmaxoft1-0/+4
2014-03-30Re-fixed nether fort piece count check.madmaxoft1-2/+2
2014-03-30Fixed chest rotator.madmaxoft1-2/+2
2014-03-30NetherForts have a minimum number of pieces.madmaxoft1-2/+5
The fort will generate a different image if it has less than the minimum; the max depth affects the minimum number of pieces.
2014-03-29cPrefab now uses a struct for block type definition in CharMap.madmaxoft2-10/+102
As suggested by worktycho in 7b585290fccd3dc074b1f9feef0af754ab3dd632, instead of packing the two values into a single int, they're packed into a struct. Also added a test code for the prefab parsing in SELF_TEST.
2014-03-29Renamed lua dll for tolua++.exe.madmaxoft1-0/+0
Fixes #843.
2014-03-29Fixed the OnProjectileHitBlock hook not stopping projectiles.STRWarrior1-1/+1
2014-03-29Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior6-0/+50
2014-03-29Fixed error when the hook gets called.STRWarrior3-1/+14
2014-03-29Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior6-0/+54
2014-03-29Added in MetaMirrorXY and MetaMirrorYZ to cBlockSignHandler.narroo1-0/+19
2014-03-29Compare for inequality in FACE_NONE checksTiger Wang1-3/+3
2014-03-29Add "a_RelY < cChunkDef::Height" to BlockBigFlowerHowaner1-0/+1
2014-03-29Removed leftover clienthandle codeTiger Wang1-10/+6
2014-03-29Fixed players not updating after world changeTiger Wang1-4/+2
Addendum to 6dea7993f2a563a8b3a0746feeb2174922631526
2014-03-29Curly bracketsTiger Wang1-1/+4
2014-03-29Fixed #721 and FS439Tiger Wang1-0/+1
2014-03-29Fixed a minor ini key duplication bugTiger Wang1-0/+1
2014-03-28Fixed infinite minecart itemsTiger Wang1-0/+3
2014-03-28Fixed block interaction rate checkTiger Wang1-2/+4
2014-03-28Fixed a potential crashTiger Wang1-1/+1
2014-03-28Some fixes to lilypadsTiger Wang5-62/+116
* Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel
2014-03-28NetherFortGen: Added several more prefabs.madmaxoft2-2/+783
Also extended the defauls MaxDepth value to 12.
2014-03-28Add tallgrass drop to big flowers.Howaner2-8/+59
Add tallgrass drop, when a players break a tallgrass with the shear.
2014-03-28door -> flowerHowaner1-1/+1
2014-03-28Add tall flower handler.Howaner2-0/+99
2014-03-28Added Prefabs to *nix builds.madmaxoft1-1/+1
2014-03-28Fixed non-virtual destructors warnings.madmaxoft11-37/+61
2014-03-28Implemented the msSpongePrint merge strategy.madmaxoft3-9/+48
Similar to msImprint, but allows prefabs to carve out air pockets, too. The sponge block is used as the NOP block.
2014-03-28NetherFort: Added BalconyTee2 prefab.madmaxoft1-29/+158
2014-03-28Fixed a memory leak in NetherFortGen.madmaxoft1-0/+7
2014-03-28Sponged the netherfort balcony prefab.madmaxoft1-30/+31
This is a preparation for the msSpongePrint merge strategy, used for imprinting most prefabs. It will carve out even air, but will ignore sponge blocks.
2014-03-28Fixed compilation after last PR merge.madmaxoft1-1/+1
2014-03-28Initial NetherFortGen import.madmaxoft8-15/+713
Simple fortresses of 2 different rooms will generate.
2014-03-28Fixed Prefab's rotations.madmaxoft2-7/+39
2014-03-28Add missing ChunkDesc import.Howaner1-1/+1
2014-03-27Fix merge conflictsHowaner1-7/+0
2014-03-27Change SpreadSource prefix to ssHowaner4-8/+8
2014-03-27Wrong if in BlockLeavesHowaner1-1/+1
2014-03-27Add SpreadSourceHowaner11-10/+34
2014-03-27Add HOOK_BLOCK_SPREADHowaner6-3/+57
2014-03-27Add new leaves to all classes.Howaner2-1/+8
2014-03-27cPrefab can draw itself into a cChunkDesc.madmaxoft2-6/+9
2014-03-27Fixed chunk neighbor-getting for long distances.madmaxoft1-0/+11
This fixes a server hang when teleporting to coords too far away.
2014-03-26Prefabs support connectors, rotations and merge strategy.madmaxoft2-3/+72
2014-03-26Altered the rotates for cBlockSignHandler. The functions as a whole is still unfinished though; no wall sign or mirroring support yet.narroo1-2/+2
2014-03-26Fixed Minor typos.narroo3-9/+12
2014-03-25Removed unused constants.madmaxoft2-7/+1
DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now.
2014-03-25Added a comment about the behavior of doors under mirros. Simply put, the current implementation of MetaMirror causes glitchy behavior. The door class itself needs to be edited. (I've got an idea on that....)narroo1-2/+8
2014-03-25Fixed spelling; Rotater to Rotator.narroo15-46/+46
2014-03-25Changed Rotater to Rotator. Added partial sign post rotation support.narroo2-0/+12
2014-03-25Added a basic cPrefab class.madmaxoft2-0/+222
Can be defined in the source by GalExport's cpp output.
2014-03-25BlockArea: Create() can take the size as Vector3i, too.madmaxoft2-2/+17
2014-03-25BlockArea: Switched internal coords to Vector3i.madmaxoft4-200/+176
2014-03-25Added Vector3::Move(const Vector3 &).madmaxoft1-0/+7
2014-03-25Ender crystalsandrew7-11/+137
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney15-14/+19
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-03-25Added one more missing newline.Samuel Barney1-1/+1
2014-03-25Added newlines. Without them, the files would not compile.Samuel Barney4-4/+4
2014-03-25Fixed clang compilationandrew2-14/+17
2014-03-25Fixed wither summoningandrew3-3/+37
2014-03-25Protocol: Wither metadataandrew5-3/+116
2014-03-25Minor fixesandrew3-14/+13
2014-03-24Add log pickups.Howaner1-1/+7
2014-03-24Wither invulnerabilityandrew8-5/+100
2014-03-24Added MetaRotate/Mirror Support for a number of classes.narroo12-84/+295
2014-03-23Implemented lilypad placementTiger Wang4-8/+98
2014-03-23Updated the ToLua windows executable.madmaxoft1-0/+0
2014-03-23Sort of implementation of chunk sparsingTiger Wang2-18/+93
Issues: * Chunks are flipped * Slow/inefficient/badly coded * Only blocktypes are 'compressed'
2014-03-22Added override specifier to functions declared in cWorldTycho1-8/+8
2014-03-21Implemented faster upscaling using templates.madmaxoft6-36/+38
Fixes #819.
2014-03-20Updated the tolua++ executable for Win builds.madmaxoft1-0/+0
2014-03-20Plugins can set flying speed.madmaxoft3-77/+119
2014-03-20Rewritten player speeds to be relative unit-less.madmaxoft4-12/+17
Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof.
2014-03-20Fixed code style after recent merge.madmaxoft2-31/+33
2014-03-20Made pushing plain pointer to Lua a valid operation, with a warning.madmaxoft2-3/+4
This is used for exotic explosions, and the NORETURNDEBUG macro caused MSVC warnings across the entire cLuaState class (MSVC marked ALL Push() function overloads as non-returning)
2014-03-20Added bracesTiger Wang1-0/+2
2014-03-20Minor Entity.cpp cleanupTiger Wang1-12/+9
2014-03-20ENUMified shrapnel levelTiger Wang4-15/+17
2014-03-19Errors in Lua don't include the error handler in the stack trace.madmaxoft2-7/+7
Fixes #817.
2014-03-19Added unreachable lines backit prtected by preprocessor guardsTycho2-0/+10
2014-03-19LuaChunkStay: Removed a debugging output.madmaxoft1-3/+0
2014-03-18Added levels of shrapnelTiger Wang3-8/+18
2014-03-18Fixed chunkmap tree block replacing.madmaxoft1-8/+2
2014-03-18Fixed cGZipFile::ReadRestOfFile returning incorrect value.madmaxoft1-1/+4
2014-03-17Fixed a crash in firework rockets.madmaxoft1-2/+8
Fixes #816.
2014-03-16Fixed double to float conversions.madmaxoft4-52/+53
2014-03-16Added override specifier where appropriate in cWorld.madmaxoft1-37/+38
2014-03-16Wrong if in BlockLeavesHowaner1-1/+1
2014-03-16Add new leaves to all classes.Howaner9-5/+18
2014-03-16Added common eMessageType aliases.madmaxoft1-10/+16
2014-03-16Change if-clause in BlockCake.hHowaner1-1/+1
2014-03-16Add cakeHowaner4-0/+101
2014-03-16Fix anvil pickups.Howaner1-1/+1
2014-03-16Add anvil direction.Howaner3-1/+74
2014-03-15Fixed unessicary returnTycho1-1/+0
2014-03-15Patched tolua to emit range checks for enumsTycho1-0/+1
2014-03-15Remove old debug messages.Howaner1-3/+0
2014-03-15Added cCuboid:Assign(OtherCuboid) API function.madmaxoft2-0/+15
2014-03-15Add item frame saving.Howaner9-46/+251
2014-03-15Add health and age load to pickup's.Howaner5-22/+43
2014-03-15Add ExpOrb saving.Howaner7-38/+124
2014-03-14Add fireball interactHowaner4-2/+33
2014-03-14Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho3-4/+11
2014-03-14Added NORETURN macroTycho1-0/+4
2014-03-14Fixed a few unneeded breaksTycho3-3/+3
2014-03-14Removed missiterperatable malfunctioning error handling codeTycho1-2/+0
2014-03-14Removed invalid block face handling codeTycho1-1/+0
The code for handling invalid block faces is removed by gcc and clang as it is undefined behavior for a enum to contain a value that is not part of the enum. Since the only way that the line can be executed is through undefined behavior clang and gcc remove it so the function fits in the caches better.
2014-03-14Fixed a couple of missing defsTycho3-10/+2
2014-03-14cPlugin:BindConsoleCommand can be called statically.madmaxoft1-1/+4
This has been documented before it was written.
2014-03-14Fixed a warning.madmaxoft1-3/+3
2014-03-14Fixed xofts issuesTycho10-23/+24
2014-03-14cPluginManager:Bind[Console]Command returns true on success.madmaxoft1-2/+4
Fixes #801.
2014-03-12Fixed commaTycho1-2/+2
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho13-29/+33
2014-03-12Fixed printf format compatabiltyTycho2-5/+9
2014-03-12Fixed comments an assertTycho1-1/+1
2014-03-12Fixed missing comment terminator.madmaxoft1-1/+1
2014-03-12Vector3: More castsandrew1-9/+9
2014-03-12M_PI MSVC Fixandrew2-2/+2
2014-03-12Vector3: Length() should always return a floatandrew1-9/+9
2014-03-12Fixed Lua string return values.madmaxoft1-4/+0
Fixes #773.
2014-03-12The entire unknown command is echoed back to the user on error.madmaxoft1-1/+1
2014-03-12Moved Lua API registering into a separate function.madmaxoft4-2/+17
This will allow us to use Lua as lite-config files as well, should we want to.
2014-03-11Fixed more Format issuesTycho6-17/+17
2014-03-11Fixed a load of format string errorsTycho13-27/+29
2014-03-11Move Format issuesTycho3-4/+4
2014-03-11Fixed format errors in protocolTycho1-3/+3
2014-03-11Added macros to follow format string checking through wrappersTycho3-4/+8
2014-03-11Matrix4: Removed enumandrew2-22/+24
2014-03-11Fixed Chunkdef warningsTycho1-2/+2
2014-03-11Fixed Warnings in PieceGeneratorTycho2-9/+9
2014-03-11Unified Matrix4 codeandrew7-233/+230
2014-03-11LineCoeff Docandrew1-4/+20
2014-03-11TakeDamage now has the cThrownSnowballEntity instead of the creator's object.STRWarrior1-1/+1
2014-03-11Snowballs now actualy hurt other entities.STRWarrior2-2/+25
3 damage for blazes and 1 for the ender dragon. Otherwise 0
2014-03-11Unified Vector classesandrew32-401/+300
2014-03-11Using ```const Vector3i &```STRWarrior2-3/+3
2014-03-12Renamed cBlockArea Offset to WEOffset.madmaxoft3-8/+9
Even in getters / setters.
2014-03-11Renamed m_Offset to m_WEOffsetSTRWarrior3-8/+9
2014-03-10Fixed xofts issuesTycho4-20/+14
2014-03-10Removed debugging output.madmaxoft1-1/+3
Kept it commented-out for later revisions, if needed.
2014-03-10Fixed test assertsTycho4-37/+37
2014-03-10Revert "Fixed some warnings"madmaxoft1-10/+7
This reverts commit 4cb0b82d1df560ad32c92eede91f466c75a87c87.
2014-03-10Fixed assertTycho1-14/+17
2014-03-10Fixed Alignment issue in ByteBufferTycho3-7/+4
2014-03-10Shrapnel now configurableTiger Wang3-3/+8
2014-03-10Removed Some unnessicary macrosTycho3-21/+2
2014-03-10Use string.reserve to avoid the need to do inplace byteswapTycho1-10/+6
2014-03-10Fixed compileTiger Wang1-1/+2
2014-03-10Removed unused macro from WSSCompactTycho1-1/+0
2014-03-10Fixed alignment issues in Fireworks SerializerTycho1-7/+7
2014-03-10Removed unused macroTycho1-13/+0
2014-03-10Fixed cast to type with different alignment in BlockingTCPLinkTycho1-1/+1
2014-03-10Fixed cast between types of different alignment in cSocketTycho1-1/+2
2014-03-10Fixed MTRand warningsTycho1-4/+4
2014-03-10This allows a blockarea to have an Offset.STRWarrior3-0/+47
2014-03-10POCPieces: Added height.madmaxoft1-17/+20
Now the pieces connect in different heights, too, creating a true 3D maze.
2014-03-10Fixed MSVC2008 compilation.madmaxoft1-4/+4
2014-03-09Removed uneeded meta obtainTiger Wang1-3/+1
2014-03-09A working POCPiece generator.madmaxoft5-6/+359
2014-03-09Hardened cCuboid with asserts for its assumptions.madmaxoft2-3/+11
2014-03-09ChunkDef: Replaced enums with static const ints.madmaxoft1-10/+6
This makes them easier to use in std::min et al.
2014-03-09Added cCuboid::Engulf().madmaxoft2-0/+37
2014-03-09Be more parinoid about int sizesTycho3-5/+18
2014-03-09cPieceGenerator: New connectors are added to the free pool.madmaxoft2-9/+30
2014-03-09Fixed Mesannine twister to use UInt32Tycho4-4/+6
2014-03-09Fix IsThread destructorTycho1-1/+1
2014-03-09Fixed #778 - stack overflow.comTiger Wang1-1/+1
2014-03-09Globals.h is now warnings free again.Tycho2-10/+24
Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
2014-03-09Its a const not a macroTycho1-1/+1
2014-03-09Take 5Tycho1-1/+1
2014-03-09Silenced useless MSVC warnings in cMetaRotater.madmaxoft1-0/+21
2014-03-09Take 4Tycho1-1/+1
2014-03-09Hotfix for MSVC compilation.madmaxoft1-0/+1
2014-03-09Unsigned types take 3Tycho1-1/+1
2014-03-09Fix gcc error attempt 2Tycho1-1/+1
2014-03-09Fixed gcc errorTycho1-1/+1
2014-03-09Fixed VERIFYTiger Wang1-1/+1
2014-03-09Beds now work properly fixes #707Tiger Wang5-17/+94
Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
2014-03-09!= FACE_NONETiger Wang1-1/+1
2014-03-09PieceGenerator can connect two connectors of the same type.madmaxoft2-60/+338
Also added extensive debugging output and a test.
2014-03-09Added BlockFaceToString() translation function.madmaxoft1-0/+20
2014-03-09Added Vector3i::Move().madmaxoft2-17/+82
2014-03-09Added the first skeleton code for PieceGenerator.madmaxoft2-0/+545
This is a WIP and won't work / isn't used at all.
2014-03-09Hexified coloursTiger Wang1-16/+16
2014-03-09Fixed data length issuesTiger Wang2-3/+4
2014-03-09Demonstrated issues with GetDataLength()Tiger Wang2-5/+11
2014-03-09Improved formatting of username tabcompleteTiger Wang1-7/+7
2014-03-09Moved firework handler to separate functionTiger Wang2-48/+48
* Also simplified and improved readability of code
2014-03-09CheckBlockInteractionsRate() fixed & enabledTiger Wang4-65/+23
2014-03-09Fix Linux compileTiger Wang1-2/+3
2014-03-09Fixed some warningsTycho1-7/+10
2014-03-09FIxed int in testTycho1-1/+1
2014-03-09Adjusted style of switch/caseJan-Fabian Humann3-45/+15
2014-03-09TNT explodes when consumed by fireTiger Wang1-6/+19
Fixed FS#406
2014-03-09Slight plugin messaging changesTiger Wang1-0/+13
- Clients are not allowed to register duplicate channels - Clients are not allowed to use channels that were not registered
2014-03-08Added staticTycho1-1/+1
2014-03-08Added tons more asserts to bytebufferTycho1-7/+17
2014-03-08Enabled self test of bytebufferTycho1-1/+1
2014-03-08Changed if-else to switch-caseJan-Fabian Humann3-39/+33
2014-03-08Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting.Jan-Fabian Humann5-32/+98
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho10-28/+26
2014-03-08Actually Fixed ByteBufferTycho1-3/+3
2014-03-08Moved returnsworktycho1-3/+3
2014-03-08Change TNT Fuse to ticksHowaner9-21/+20
2014-03-08cBlockInfo-related changes from #723andrew3-11/+21
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner6-18/+78
2014-03-07Fixed cBlockArea schematic string saving signature.madmaxoft3-9/+12
2014-03-07Move env code part 1worktycho1-10/+0
2014-03-07Added support to overide CMake build type with env varsTycho1-0/+8
2014-03-07WarningsTycho2-1/+3
2014-03-07WarningsTycho11-29/+42
2014-03-07Added some commentsandrew2-1/+6
2014-03-07Fixed warningsTycho2-3/+21
2014-03-07Fixed warningsTycho3-1/+5
2014-03-07Fixed a typo.madmaxoft1-4/+4
2014-03-07Fixed water/lava interactionandrew3-4/+69
2014-03-07Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner10-14/+18
2014-03-07Added cBlockArea serialization to string.madmaxoft3-38/+202
Fixes #665.
2014-03-07Add Flower PotsHowaner17-87/+401
2014-03-06Fix commentHowaner1-1/+1
2014-03-06Broadcast the Equipped Item, if the Slot is changed.Howaner1-0/+6
2014-03-05Added extra awesomeness to TNTTiger Wang7-209/+232
+ TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
2014-03-05Add SendBlockTo to cWorldInterfaceHowaner9-10/+18
2014-03-05Set tnt step sound to step.grassHowaner1-1/+1
2014-03-05Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner10-6/+102
2014-03-05Implemented vanilla-like fluid simulatorandrew6-17/+238
2014-03-04Fixed some gcc warnings in Defines.h.madmaxoft1-3/+3
2014-03-04Manually exported cCompositeChat modifiers.madmaxoft2-7/+268
This adds chaining support to them. Fixes #755.
2014-03-04cLuaState: Made public the GetStackValue() functions.madmaxoft2-54/+61
2014-03-04Fixed an assert in map-loading.madmaxoft1-3/+1
The maps were loaded too soon, the world wasn't initialized yet.
2014-03-03Fixed previous weather changes.madmaxoft2-4/+5
cWorld::GetDefaultWeatherInterval() returns -1 for unknown weather.
2014-03-02Removed if conditionandrew1-4/+1
2014-03-02ReformattedTycho10-20/+20
2014-03-02Reformated MetaRotaterTycho1-19/+30
2014-03-02Add cancelling to WeatherChanging event.Howaner2-13/+43
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew11-73/+70
2014-03-02Fixed MSVC warnings in DeprecatedBindings.madmaxoft1-8/+76
2014-03-02More documentation (thanks to madmaxoft) and use GetBlockTypeMetaHowaner2-6/+10
2014-03-02Added blockface mirroring and rotating.madmaxoft1-0/+50
2014-03-02Add Trapdoor Functions to cWorld and fix Trapdoor Redstone BugsHowaner4-6/+49
2014-03-02GetById => Getandrew3-22/+22
2014-03-02Creeper fixestonibm192-10/+34
- Fixed explosion time (1.5s, according to minecraftwiki) - Creeper explodes if right clicked with flint and steel
2014-03-02Reverted BlockVineworktycho1-3/+27
2014-03-02Removed g_BlockXXX arraysandrew4-440/+4
2014-03-02Manually exported g_Block tablesandrew4-0/+445
2014-03-02Exported cBlockInfoandrew2-3/+9
2014-03-02Added more documentation for FastNBT parser.madmaxoft1-3/+45
2014-03-01ChunkDesc warns about StructureGen's deprecation.madmaxoft1-0/+2
2014-03-01Unified StructureGens and FinisherGens.madmaxoft10-163/+128
Now they are all Finishers. Fixes #398.
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew33-73/+91
2014-03-01Fixed errorsTycho2-2/+2
2014-03-01Revesed typedefTycho1-1/+1
2014-03-01Implemented RotationsTycho11-170/+28
2014-03-01Final implementation of MetaRotaterTycho1-45/+51
2014-03-01Refactored global block property arraysandrew2-0/+477
2014-03-01Exported cScoreboard::ForEachTeamandrew3-1/+34
2014-03-01Shortened enumsandrew4-58/+58
2014-03-01Exported cScoreboard::ForEachObjectiveandrew3-4/+43
2014-03-01Exported and documented cScoreboardandrew4-49/+70
2014-03-01Forgotten changes to cChunkInterface.madmaxoft1-2/+2
2014-03-01Removed cBlockHandler forward declaration from cChunkInterface.madmaxoft1-9/+22
Wasn't needed. Also reformatted the code.
2014-03-01Improved comments in float size check.madmaxoft1-2/+2
2014-02-28Use switch in GetStepSoundHowaner2-8/+6
2014-02-28Fixed multiple gcc warnings about unused params.madmaxoft7-5/+78
2014-02-28Documented the changes in cJukeboxEntity.madmaxoft1-2/+3
2014-02-28Moved common cGroupManager code to a separate function.madmaxoft3-12/+30
This fixes my concerns in PR #709.
2014-02-28Fix Double Slabs, fix Slab Meta and add more things to burnableHowaner3-13/+37
2014-02-28Better fix for the 32-bit float reading.madmaxoft1-4/+5
2014-02-27Removed unneeded includes in Player.cppTiger Wang1-7/+0
2014-02-27Fixed compileTiger Wang2-3/+2
2014-02-27added mooshroom to cow conversiontonibm191-0/+2
2014-02-27Added some Metadate rotaters using templated MixinTycho10-16/+168
2014-02-27Added a "nooutbuf" cmdline param.madmaxoft2-13/+18
This forces that the stdout stream uses no buffer, even when not a TTY. Used for running MCServer under ZeroBraneStudio.
2014-02-27Fixed crash and some warnings in map handling.madmaxoft2-3/+5
Fixes #728.
2014-02-27Fixed sheep ASSERTing sometimesTiger Wang1-8/+18
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang14-84/+591
+ Added fireworks
2014-02-26Fixed a gcc warning in FastNBT.h.madmaxoft1-2/+11
2014-02-26Attempted fix for several GCC warnings.madmaxoft3-3/+15
2014-02-26Added more utility functions to cCuboid.madmaxoft2-4/+105
GetVolume(), Expand(), ClampX(), ClampY(), ClampZ()
2014-02-24Added useful parameter overloads to cBlockArea Lua API.madmaxoft2-0/+133
2014-02-24Fixed tolua export for Byte.madmaxoft1-0/+7
No longer treated as an unknown class.
2014-02-24Fixed compilation in MSVC (forward class definitions).madmaxoft2-0/+2
2014-02-24BlockEntities is warnings freeTycho6-3/+11
2014-02-24Fixed Formatting, added compiler warning suppressing methods, fixed commentsTheJumper5-3/+6
2014-02-24Fixed MCServer not compiling with C++03 compilersSTRWarrior3-12/+12
2014-02-24Small improvements to boats.STRWarrior1-3/+7
2014-02-24Removed an unused member variable from cChunk.madmaxoft2-8/+0
2014-02-24Fixed crash in cBlockArea rotation.madmaxoft1-6/+6
Fixes #720.
2014-02-24Fixed a possible crash in cWorld::WakeUpSimulatorsInArea().madmaxoft1-0/+4
The Y coords weren't checked.
2014-02-23fixed globals.h warningsTycho3-2/+11
2014-02-23Use the ItemCategorie::IsSword() Method.Howaner2-20/+1
2014-02-23No Sword Block Destroying in Creative ModeHowaner2-0/+29
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper29-40/+515
2014-02-23BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-7/+18
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed.
2014-02-23Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft2-29/+110
They no longer require the ghost output params.
2014-02-23Rename SkullEntity to MobHeadEntityHowaner23-256/+254
2014-02-23Add break to Protocol17x.cpp and use new comment delimiterHowaner2-7/+8
2014-02-23Add Heads completelyHowaner14-7/+154
2014-02-23Add Skulls/HeadsHowaner13-5/+354
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper25-81/+417
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper4-10/+17
2014-02-23Fixed Compiling IssuesTheJumper3-10/+31
2014-02-23Fixed Formatting, Added DropChance attributes to MonstersTheJumper10-35/+248
2014-02-23Added cBlockArea::GetVolume, exported to Lua API.madmaxoft1-27/+30
2014-02-23Maps: Improvementsandrew7-13/+26
2014-02-23Added cBlockArea:GetSize() and :GetOrigin() to Lua API.madmaxoft1-0/+64
These don't have a direct C++ equivalent, but are rather useful for the plugins.
2014-02-23Finally corrected the Enchantment constants.TheJumper18-50/+17
2014-02-23Manually exported DoWithMapandrew4-2/+11
2014-02-23Documented and exported cMapManagerandrew2-3/+6
2014-02-22Changed formatting againTheJumper1-1/+1
2014-02-22Changed formatting, encapsuled armor drop, introduced better static Enchantment IDsTheJumper10-56/+80
2014-02-22Documented and exported cMapandrew3-9/+53
2014-02-22Fixed Looting segment fault - a_Killer can be NULLTheJumper17-19/+83
2014-02-22Semi-working implementation of cMap::UpdatePixelandrew2-11/+95
2014-02-22Mooshroom.cpp: Added right click interactionTheJumper2-1/+38
2014-02-22Monster.h: Added doxy-comments for drop methodsTheJumper1-0/+3
2014-02-22Monster.cpp: Fixed Formatting in AddRandomUncommonDropItemTheJumper1-1/+1
2014-02-22Changed killer detection by using cEntity methodsTheJumper3-3/+3
2014-02-22Added static Enchantment Constants, Replaced cryptic Looting IDTheJumper18-17/+49
2014-02-21Better Jukebox APIHowaner3-16/+52
2014-02-21Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts DropsTheJumper23-37/+144
2014-02-21Remove users.ini generation in Player.cpp and use the CheckUsers() FunctionHowaner1-6/+1
2014-02-21Remove old Output FinishHowaner1-2/+0
2014-02-21Unicode :-(Howaner1-1/+1
2014-02-21Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner5-2/+61
2014-02-21Split cMap::UpdateClientandrew2-73/+114
2014-02-20cClientHandle manages the client-registered plugin channels.madmaxoft2-36/+123
Fixes #706.
2014-02-20Removed problematic utf8.madmaxoft1-2/+2
2014-02-20Bad UTF-8 o.OHowaner1-2/+2
2014-02-20Remove typeinfo import in IncrementalRedstoneSimulatorHowaner1-2/+0
2014-02-20Fix CauldronHowaner1-8/+11
2014-02-20Add Wolf Heal with FoodHowaner1-10/+34
2014-02-20Disabled the leak finder.madmaxoft2-2/+6
2014-02-20Add Pressure Plate SoundHowaner1-0/+9
2014-02-20Add Light weighted pressure platesHowaner3-10/+24
2014-02-20Add Hay Bale to BurnableHowaner1-0/+1
2014-02-20Add 'Meta < 3' to CauldronHowaner1-5/+8
2014-02-20BlockBed.cpp: Fixed space at if statementTheJumper1-1/+1
Added a space after an if statement and before the first bracket to keep up code conventions.
2014-02-20BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-7/+18
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed.
2014-02-20Thread safe cMap managerandrew7-17/+275
2014-02-20Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft2-29/+110
They no longer require the ghost output params.
2014-02-19cMapDecorator: Implemented random rotationsandrew2-13/+18
2014-02-19Add BlockNewLeaves.h and rename Darkoac to DarkoakHowaner5-15/+57
2014-02-19Add new Trees (without Generator)Howaner6-0/+34
2014-02-19Rename SkullEntity to MobHeadEntityHowaner23-256/+254
2014-02-19Documented cMapandrew3-7/+31
2014-02-19Add break to Protocol17x.cpp and use new comment delimiterHowaner2-7/+8
2014-02-18De-breaked stuffTiger Wang1-2/+0
2014-02-18Fixed possible ASSERT failureTiger Wang1-1/+1
2014-02-18Changed BlockFace type to eBlockFaceTiger Wang3-26/+27
2014-02-18Add Heads completelyHowaner14-7/+154
2014-02-18Map decorators; Map clientsandrew12-45/+351
2014-02-18The cuboid for cWorld::SetAreaBiome() doesn't need sorting.madmaxoft2-2/+7
2014-02-18Added cWorld:SetAreaBiome() API function.madmaxoft6-3/+164
Fixes #675.
2014-02-18Added a bit more documentation to cForEachChunkProvider.madmaxoft2-5/+33
2014-02-18Added a braceTiger Wang1-0/+2
==== { } { __ } { | | } ==== REMOVE ALL THE BRACES!!
2014-02-18Properly exported and documented paintingsTiger Wang3-2/+4
2014-02-18Added an explanatory commentTiger Wang1-0/+2
2014-02-18Comments & new BLOCK_FACE constantsTiger Wang1-7/+10
2014-02-18Implemented paintings, fixes #689Tiger Wang15-3/+226
+ Implemented paintings
2014-02-18Used new BLOCK_FACE constantsTiger Wang1-7/+8
Also added more comments
2014-02-18Implemented item frames, a part of #689Tiger Wang7-2/+233
+ Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!)
2014-02-17Added cPluginManager:GetPluginsPath() to the Lua API.madmaxoft2-1/+5
2014-02-17Add Lua plugin path to package.path and .cpath.madmaxoft3-0/+37
Fixes #693.
2014-02-17Add Skulls/HeadsHowaner13-5/+354
2014-02-17Improved formattingtonibm191-2/+2
2014-02-17Map item handler; Fixed several bugsandrew13-29/+195
2014-02-17Fixed a memory leak in CompositeChat.madmaxoft1-0/+3
2014-02-16Links sent via chat messages are clickable.madmaxoft4-9/+34
Fixes #658.
2014-02-16Implemented cCompositeChat::ParseText(), incl. self-test.madmaxoft2-1/+211
2014-02-16Fixed cBoundingBox self-test code-style.madmaxoft1-10/+10
Also made the class name unique and the global variable static, to avoid linkage problems with other self-tests
2014-02-16Now mobs can't escape from fences.tonibm191-2/+2
2014-02-16Fixes to previous commitTiger Wang1-9/+10
2014-02-16Slight cleanup of wolf codeTiger Wang1-23/+7
2014-02-16Fixed minor formatting issues from #682Tiger Wang3-16/+3
- Removed unused PlaySoundEffect * Simplified and parenthesised code
2014-02-16Add Locale to ClientHandleHowaner5-3/+11
2014-02-16Fixed a glaring bug with chunk cross-simulatingTiger Wang1-9/+17
* A chunk's redstone blocks list is no longer touched if AddBlock was being called with another chunk's coordinates * Fixed chunk boundary checks
2014-02-16Replace random Float Generation and broadcast the Exp Pickup SoundHowaner2-9/+4
2014-02-16Add Exp Bottle EffectsHowaner4-1/+23
2014-02-16Set max. Players in the Tablist to 60Howaner1-1/+1
2014-02-16Disable Hunger DeathHowaner1-1/+7
2014-02-15Removed the unnecessary LoopPlayersAndBroadcastChat() functions.madmaxoft4-23/+19
2014-02-15Implemented cCompositeChat.madmaxoft18-21/+671
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-15Added a 'default:' for SimChunk()'s switchTiger Wang1-0/+1
2014-02-15A fix and an improvementTiger Wang2-23/+43
* Fixed a special case with the wrong ChunkX/Z values being used to calculate a relative position * Simplified data structure adding and removing operations (no more pointers!) - Removed one character of whitespace :D
2014-02-15If a player is called "Notch" he drops an apple. http://minecraft.gamepedia.com/NotchSTRWarrior1-0/+6
2014-02-15cMap::UpdateRadiusandrew4-16/+121
2014-02-15Fixed TNT fizzing everywhereTiger Wang2-2/+2
2014-02-15Sizeable speed improvements to redstoneTiger Wang3-83/+127
+ Moved all simulator data into individual chunks * Cleaned up parameters for functions and some code * Fixed repeaters powering off faster than they power on The main issue before was that, although the redstone simulator stored blocks to be simulated in individual cChunks, other data, such as powered lists, and etcetera, were global regardless of which chunk was being simulated. Therefore, with worlds with lots of redstone, each tick saw the ticking of chunks, which themselves iterated through the entire dataset needlessly, creating LOTS of lag. Should be better now :)
2014-02-15Add more Sounds to Redstone SimulatorHowaner1-1/+23
2014-02-15Add Fence Gate to Redstone SimulatorHowaner2-0/+31
2014-02-15Fixed typographical errorTiger Wang1-2/+1
2014-02-15Removed debug messages againTiger Wang1-6/+0
2014-02-15Exported cWorld::BroadcastParticleEffect.STRWarrior1-1/+1
2014-02-14EmptyMap item handlerandrew3-4/+52
2014-02-14Send map when selectedandrew7-27/+114
2014-02-13Added proper debug messagesTiger Wang1-3/+8
2014-02-13Fancy stuff with constant referencesTiger Wang1-2/+2
2014-02-13IDCount Serializationandrew7-3/+191
2014-02-13Implementation of in-game mapsandrew13-0/+596
2014-02-12Added more missing GetClassStatic()sTiger Wang2-0/+4
2014-02-12Removed some unneeded BroadcastWholeWindow()sTiger Wang4-23/+2
2014-02-12Changed inheritance a bitTiger Wang8-33/+54
* cBlockEntityWithItems now inherits from cBlockEntityWindowOwner
2014-02-12Made player jump reset less ambiguousTiger Wang1-1/+2
2014-02-12Simplified Attack() tracingTiger Wang1-1/+6
2014-02-12Fixed #573STRWarrior1-4/+4
2014-02-12Improved pressure platesTiger Wang2-1/+5
+ Two (or more) pressure plates can be triggered at the same time * Fixed issues caused by pressure plates not being in the sources list
2014-02-11Fixed #190Tiger Wang1-2/+67
+ Hoppers now collect pickups above them
2014-02-11Fixed #627Tiger Wang5-21/+12
- Attack() is now called from cAggressive instead of cMonster * Monsters can no longer attack through walls * Should fix last remnants of player damage after teleporting (that both STR and bearbin contributed fixes to :P)
2014-02-11Fixed #612Tiger Wang2-0/+16
* Chests send contents updates to client
2014-02-11Fixed formatting. Moved UnloadUnusedChunks from public to private.narroo2-4/+10
2014-02-11cWorld:ChunkStay() accepts nils as callbacks.madmaxoft1-5/+3
Also removed leftover debug logging.
2014-02-11Added cLuaState::CheckParamFunctionOrNil().madmaxoft2-2/+37
Also fixed error reporting for the two function-checking functions.
2014-02-11Fixed formatting of previous commit.narroo2-2/+7
2014-02-11More gcc warnings fixed.madmaxoft2-4/+5
2014-02-11Made cChunkStay's destructor virtual.madmaxoft1-1/+1
2014-02-11Fixed gcc warnings in Item.h.madmaxoft1-21/+21
2014-02-11Fixed nested plugin function calls.madmaxoft1-6/+9
2014-02-11Fixed bug #385. UnloadUnusedChunks now has the same interface asnarroo2-1/+25
SaveAllChunks. Meaning, QueueUnloadUnusedChunks and the supporting cTaskUnloadUnusedChunks has been added. Use QueueUnloadUnusedChunks from now on to prevent deadlocking.
2014-02-10Added LuaChunkStay to Bindings sources.madmaxoft1-36/+47
This should fix *nix compilation. Also alpha-sorted the lists.
2014-02-10Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft9-87/+213
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
2014-02-10cLuaState: Stack traces don't include ghost 0-th element.madmaxoft1-1/+1
2014-02-10Added cPluginLua::cOperation.madmaxoft1-1/+27
This class should be used to lock-and-access the plugin's LuaState. cPluginLua::GetLuaState() is unsafe and by this commit obsolete.
2014-02-10Added additional parenthasiesworktycho1-2/+1
2014-02-10Fixed stupid mistax in conditionalworktycho1-2/+1
boats can't be placed if the face is not block_face_none and not block_face_YM, not if it is only not one.
2014-02-10Maybe fixed boat placingtonibm191-1/+1
2014-02-09First working version of cLuaChunkStay.madmaxoft4-17/+92
It works, but has random failures, probably due to threading issues.
2014-02-09Initial Lua cChunkStay export.madmaxoft4-1/+123
2014-02-09cLuaState::cRef can be unbound and re-bound.madmaxoft2-9/+60
This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor.
2014-02-09Added AllToLua.pkg to MSVC project files.madmaxoft1-0/+2
MSVC ignores the file when compiling and it makes it easier to open it up for editing.
2014-02-09Fixed compile and some warnings in MSVSTiger Wang7-17/+6
2014-02-09"reload" is back.STRWarrior1-0/+7
2014-02-09Split "reload" in "reloadplugins" and "reloadgroups".STRWarrior1-2/+5
2014-02-09Fixed a boat ASSERTTiger Wang1-2/+8
2014-02-09The console reload command also reloads the groups.STRWarrior1-0/+1
2014-02-08Moved a forgotten comment back to its place.madmaxoft1-2/+2
2014-02-08Fixed lighting thread queueing.madmaxoft1-2/+4
2014-02-08Fixed ChunkStay initialization.madmaxoft1-1/+1
2014-02-08Fixed gcc compilation.madmaxoft1-1/+1
2014-02-08Initial ChunkStay code.madmaxoft11-406/+560
2014-02-08Fixed cWorld:TryGetHeight() API.madmaxoft1-1/+5
2014-02-08Fixed comment.STRWarrior1-1/+1
2014-02-07Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later).STRWarrior10-1826/+1822
2014-02-07Fixed some end of linesSTRWarrior2-2/+2
2014-02-07Implemented an easy way of adding new redstone simulators.STRWarrior6-9/+122
Also added a "noop" redstone simulator that does the same as the fluid version.
2014-02-07Moved Gamemode setting into General root tagTiger Wang1-1/+1
2014-02-07Added sender name to PM if prefixes disabledTiger Wang2-2/+2
* Also moved the PVP setting into Mechanics
2014-02-07Improved chat messaging functionsTiger Wang9-111/+155
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API.
2014-02-07WebAdmin is stopped properly on server shutdown / restart.madmaxoft3-36/+55
Fixes #272.
2014-02-07Fixed wiki link in auto-generated settings.ini.madmaxoft1-1/+2
2014-02-06Server internally uses new functionsTiger Wang4-17/+13
2014-02-06Added more chat functionsTiger Wang4-27/+46
2014-02-05Change Output to stderrworktycho1-4/+3
2014-02-05Removed deprecated HasCommand functionSTRWarrior4-36/+1
2014-02-05Modified automatic test for boundingBoxTycho1-7/+26
2014-02-05Simplified shutdownTycho1-4/+0
2014-02-05Added support to start up MCServer and then immediatly sut it down in travisTycho1-0/+4
2014-02-05Fixed most of the reordering warningsTycho12-33/+33
2014-02-05Forgot extra lines.STRWarrior1-0/+4
2014-02-05Improvements:STRWarrior6-22/+69
Adds a function in cRoot that allows you to reload all the groups permissions. Note: Players don't automatically load their new permissions. You can use cPlayer::LoadPermissionsFromDisk for that.
2014-02-05Improved the signedness conversion.madmaxoft1-2/+2
2014-02-05Reduced max explosions per tickTiger Wang1-1/+1
2014-02-05Fixed explosions bugTiger Wang3-32/+13
* Fixed bug where explosions would sometimes never be sent
2014-02-05Fixed annoying creative on fire bugTiger Wang2-0/+20
2014-02-05Added cPluginManager:LogStackTrace() to the Lua API.madmaxoft1-0/+11
Fixes #637.
2014-02-05Fixed a bunch of MSVS warningsTiger Wang6-7/+8
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely
2014-02-04Added more SendMessageXXX() functionsTiger Wang3-47/+62
2014-02-04Crypto: Removed unused member, fixed gcc warning.madmaxoft2-6/+4
2014-02-04Added dtExplosion to damage<->string functions.madmaxoft1-1/+2
2014-02-04Protocol 1.7: Fixed a signed / unsigned comparison warning.madmaxoft1-2/+2
2014-02-04Fixed a gcc warning in ManualBindings.madmaxoft1-2/+2
Constructor member order...
2014-02-04Removed a useless check in cLuaState.madmaxoft1-3/+1
2014-02-04Fixed a warning in cItem in gcc.madmaxoft1-1/+1
Constructor member order...
2014-02-04Protocol 1.7 uses char for blockface.madmaxoft1-2/+2
That should fix #644 on RasPi.
2014-02-04Fix gcc not having operator ++ on enumsTycho1-6/+7
2014-02-04Improved Type safety of eBlockFaceTycho76-174/+194
May Fix #640
2014-02-04Fixed chest placement.madmaxoft1-2/+4
Fixes #624.
2014-02-04Blank lines and indentation.tonibm191-0/+4
Also removed GetClosestPlayer documentation
2014-02-04Fixed calling plugins with userdata params.madmaxoft1-0/+1
2014-02-04Removed a leftover debug message.madmaxoft1-1/+0
2014-02-04Fixed error handling in cPluginManager:CallPlugin() API.madmaxoft1-2/+5
Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
2014-02-04Improved error resistance in cPluginManager:CallPlugin().madmaxoft1-0/+8
Fixed: If the call failed, all the next plugin calls would fail as well.
2014-02-03Greatly improved TNT propulsion chancesTiger Wang1-1/+1
2014-02-03Pickup constructor no longer exportedTiger Wang3-4/+8
It didn't do anything without Initialize() exported, anyway, pickups are spawned with cWorld.
2014-02-03Added SendMessageXXX() to cPlayerTiger Wang2-1/+72
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-03Partial fix for #130Tiger Wang1-0/+1
2014-02-03Fixed #491Tiger Wang1-2/+14
2014-02-03Fixed a crash bugTiger Wang2-11/+5
2014-02-03Named the different quartz block.STRWarrior2-1/+6
2014-02-03Fixed #626Tiger Wang3-13/+38
* Fixed consumption of carrots and potatoes
2014-02-03Fixed issues with farmlandTiger Wang2-1/+3
* Fixed farmland reversion checks not taking into account carrots and potatoes * Fixed #623
2014-02-03Server now handles join messages alsoTiger Wang2-10/+18
* Revised as well hook documentation
2014-02-03Fogot to save BiogenTycho1-4/+4
2014-02-03Fixed Compile errorsTycho3-6/+6
c++11 introduces scoped enums, so the code didn't fail in clang
2014-02-03Removed unused lookupsTycho1-2/+0
2014-02-03Increased Type safety of BiomesTycho8-16/+31
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-03Not exporting FindClosestPlayertonibm191-1/+1
2014-02-03Fixed compilationtonibm191-1/+0
2014-02-03Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm196-3/+13
2014-02-03Fixed some issues.STRWarrior1-1/+2
Meta wasn't set if the block wasn't a pillar. Fixed typo.
2014-02-03Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks.STRWarrior2-4/+4
2014-02-03This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars.STRWarrior3-5/+74
2014-02-03Fixed socket leaking.madmaxoft1-0/+5
2014-02-03Inversed conditionTiger Wang1-25/+28
2014-02-03SocketThreads: Fixed sending to closed socket.madmaxoft1-1/+6
2014-02-03Groups.ini can contain spaces around commas in values.madmaxoft1-21/+25
This includes Permissions, Inherits and Commands. Also fixed an unlikely but possible crash with group colors.
2014-02-02Fixed multiple invalid permission nodesTiger Wang1-2/+2
New players can build as default now
2014-02-02Fixed #624Tiger Wang2-0/+7
2014-02-02Added IsBlockWaterOrIce()Tiger Wang2-10/+12
2014-02-02Uncommented pickup spawner codeTiger Wang1-3/+7
2014-02-02Revert "Added LOGREPLACELINE for line replacement"Tiger Wang5-94/+16
This reverts commit 7d03876a3e11aedff0201a8330bfdb2b5523fc5e.
2014-02-02Revert "Improved code"Tiger Wang4-19/+13
This reverts commit d8aa0b0ec7a2ebea2fc157c623ae8cd7d0b6ba1c.
2014-02-02Revert "Added a comment"Tiger Wang1-1/+1
This reverts commit 7ae5631d89426df6f05b6c8ba656ba02b9d15f93.
2014-02-02Revert "Properly initialised variables"Tiger Wang4-13/+10
This reverts commit 02e752789399ad1b65a0443534ea6a8721efd78c.
2014-02-02Revert "Fixed issues with insufficient console space"Tiger Wang3-114/+29
This reverts commit 6b18add09b5e9d6d6c2a61e90bdd7011f56f4c82.
2014-02-02Revert "A newline issue is resolved"Tiger Wang2-1/+3
This reverts commit 397208145ebe5c95ebf32f2985f6800634932230.
2014-02-02Revert "Fixed Linux compile"Tiger Wang1-2/+1
This reverts commit 5becfe850a2b4827a21e8ede989545334efbbead.
2014-02-02Revert "Another Linux fix"Tiger Wang1-6/+0
This reverts commit 6f660b379ecbc091b9bd92093e0dad01a4f6bf38.
2014-02-02Revert "Again improved LogReplaceLine"Tiger Wang2-80/+77
This reverts commit dd325d742db9db54a25460fcacd093e7cc6f44f0.
2014-02-02TNT improvementsTiger Wang2-37/+116
+ Added entity damage + Added entity propulsion * Fixed #67 and fixed #230
2014-02-02Possibly fixed #618Tiger Wang1-2/+2
2014-02-02Fixed dark oak and acacia placement.madmaxoft1-0/+1
Fixes #621.
2014-02-02Added missing filesTycho3-0/+39
2014-02-02Changed Signiture of OnUpdateTycho20-37/+65
2014-02-02Creative players take Plugin damageTiger Wang2-3/+4
2014-02-02Fixed #620Tiger Wang1-1/+2
2014-02-02Added saving of angry flag.Kirill Kirilenko2-0/+7
2014-02-02Fixed sitting tag.Kirill Kirilenko2-5/+5
2014-02-01Again improved LogReplaceLineTiger Wang2-77/+80
* Fixed issues on Linux with cursor positioning * Made preprocessor blocks more readable * Improved reliability of line clearing on Windows - Removed an *unneeded* variable
2014-02-01Added checks for ice into IsBlockWater()Tiger Wang2-3/+10
* This fixes players spawning in vast oceans of ice, as opposed to the previous water
2014-02-01Split cCoord template into one and two data typesTiger Wang2-12/+34
2014-02-01Monster's nominal speed was increased.Kirill Kirilenko1-1/+1
2014-02-01Changed Signiture of OnDiggingTycho4-7/+7
2014-02-01Fixed teleport to air, if owner is flying.Kirill Kirilenko1-0/+1
2014-02-01Added saving of collar's color.Kirill Kirilenko2-4/+11
2014-02-01Changed Signiture of OnDestroyedByPlayerTycho12-16/+27
2014-02-01Removed register keyword from Messinne TwisterTycho1-26/+26
Removed register as it is meaningless in c++ and causes a depreciated warning in clang 3.4 in c++ mode for va_copy
2014-02-01Changed pointers to referencesTycho60-249/+247
2014-02-01Removed "player destroying" hookdaniel09166-48/+1
2014-02-01added EnchantItemPacket to older Protocolsdaniel09161-1/+4
2014-02-01Another Linux fixTiger Wang1-0/+6
2014-02-01Fixed Linux compileTiger Wang1-1/+2
2014-02-01A newline issue is resolvedTiger Wang2-3/+1
2014-02-01Changed signitures of Several BLockHandler MethodsTycho55-196/+209
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-02-01Fixed issues with insufficient console spaceTiger Wang3-29/+114
2014-01-31Properly initialised variablesTiger Wang4-10/+13
2014-01-31Some updates for enchanting (2)daniel09169-15/+173
2014-01-31Added reading saved state of the wolf (sitting or standing).Kirill Kirilenko1-0/+6
2014-01-31Inversed condition.STRWarrior1-1/+1
2014-01-31Wolf: If Owner tag is missing a normal ownerless wolf will spawn.STRWarrior1-9/+6
2014-01-31Fixed cLineBlockTracer:Trace() signature.madmaxoft1-13/+27
2014-01-31Added cPluginManager:BindCommand() form to the API.madmaxoft1-1/+4
That's the canonical way to call static functions.
2014-01-31Added cChunkDest::UpdateHeightmap()madmaxoft2-17/+48
This function is necessary for plugins manipulating the generated chunks, they need to update the heightmap before it is passed back to the generator.
2014-01-31Added a commentTiger Wang1-1/+1
2014-01-31Improved codeTiger Wang4-13/+19
* Fixed some issues * Fixed standard violation
2014-01-30Fixed bad variable.STRWarrior1-1/+1
2014-01-30Check if the tag is found.STRWarrior1-0/+5
2014-01-30Fixes #606STRWarrior2-2/+9
2014-01-30Attempt at implementing #563tonibm191-2/+1
Not tested (I don't have RasPi)
2014-01-29Lua: Fixed an error in table-functions callbacks.madmaxoft1-1/+5
2014-01-29Added LOGREPLACELINE for line replacementTiger Wang5-16/+94
2014-01-29Fixed redstone simulator crash found in #570Tiger Wang3-18/+25
2014-01-29Did what xoft saidtonibm194-5/+3
2014-01-29Rewritten code.tonibm1912-152/+25
Implemented xoft suggestion. Using MoveToPosition as tigerw suggested.
2014-01-29Fixed sheeptonibm191-18/+17
2014-01-29Fixed a copypasta error...tonibm194-1/+5
2014-01-29Now mobs follow you when holding their breed itemtonibm1910-5/+153
2014-01-29Limited sign lines to 15 chars.madmaxoft1-4/+5
Fixes #598.
2014-01-29Plugin files are loaded in alphabetical order.madmaxoft1-17/+35
Except for the Info.lua file which gets loaded always last. Implements #597.
2014-01-29Removed debug message when a firework entity hit a solid block.STRWarrior1-2/+0
2014-01-29Bottle o' Enchanting spawns an experience orb.STRWarrior1-1/+2
2014-01-29Added 1.7.4 to the list of supported protocols.madmaxoft1-1/+1
2014-01-29Protocol 1.7: Encryption is enabled only with auth.madmaxoft1-1/+1
2014-01-28Protocol 1.7: Forced encryption on all connections.madmaxoft4-15/+120
This is for testing purposes only, to find bugs in the encryption. Once the encryption is deemed stable, it will be enabled only for servers with enabled Authentication.
2014-01-28Crypto: Added public key encryption / decryption.madmaxoft2-0/+106
2014-01-28Fixed an error in Crypto.madmaxoft1-2/+2
2014-01-28Fixed timing on *nix.madmaxoft2-2/+2
2014-01-28Renamed Farmer functions and added doxycommentsSTRWarrior2-17/+20
2014-01-28Villager: NoCountDown and Action function don't check VillagersShouldHarvestCrops anymore because it shoudn't even be activated anywhere.STRWarrior1-10/+0
2014-01-28Fixed a slight bug in RSA encryption code.madmaxoft1-2/+1
2014-01-27Villager doesn't check the environment for crops if it doesn't need to.STRWarrior1-0/+5
2014-01-27The world can now be configured wether farmers should be able to harvest crops.STRWarrior3-0/+14
2014-01-27Villager: Few more comments.STRWarrior2-4/+9
2014-01-27Squashed common code.madmaxoft1-14/+7
2014-01-27CleanupSTRWarrior2-31/+65
Most code in Tick is now split up in different functions.
2014-01-27Fixed Linux compilation.madmaxoft1-1/+2
2014-01-27Rewritten networking to use non-blocking sockets.madmaxoft4-62/+176
This fixes #592.
2014-01-27Villagers: Harvesting is more rare.STRWarrior1-1/+1
2014-01-27Villager: Farmers can't place crops on blocks other then farmland.STRWarrior1-1/+7
2014-01-27SIGABRT exits with failure.Tiger Wang1-0/+1
2014-01-27Fixed compiler error.STRWarrior1-1/+1
2014-01-27Villager: Farmer: Crops finding is more random.STRWarrior1-18/+19
2014-01-27Added GetCropsPos and DidFindCrops functions.STRWarrior1-0/+6
2014-01-27Villagers: Farmers now replant the crops.STRWarrior2-1/+17
2014-01-27Villagers: Fixed only gettings the crops block when farming.STRWarrior1-2/+2
2014-01-27Villagers don't look for new crops when they already found one.STRWarrior1-11/+9
Slight cleanup.
2014-01-27E_BLOCK_POTATOES isn't an solid block. Villagers were floating above them.STRWarrior1-0/+1
2014-01-27Villagers: Farmers can also harvest carrots and potatoes.STRWarrior2-9/+38
2014-01-27Makes farmers farm crops.STRWarrior2-1/+76
2014-01-26Fixed client packet parsing.madmaxoft2-15/+56
When the packet wouldn't fit the current buffer, the server would mis-parse the next packet. This was the cause for #541. Also modified comm logging, now each direction can be turned on separately.
2014-01-26cByteBuffer has more self-tests.madmaxoft1-6/+29
2014-01-26Item-loading now checks for weird bytes.madmaxoft1-3/+9
2014-01-26Fixed Byte-order reading.madmaxoft1-2/+4
The functions would fail on bytes that were above 127.
2014-01-26Added SIGABRT to catchers listTiger Wang1-1/+6
2014-01-26Removed cWorld IncludeTycho3-3/+0
2014-01-26Refactored GetPlacementBlockTypeMetaTycho7-11/+12
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho21-263/+310
2014-01-26Fixed bug where wolfs would teleport while they were sitting.STRWarrior1-1/+4
2014-01-26Small fix since the new AI and a new small feature.STRWarrior1-6/+27
You get particles when trying to tame wolfs. They don't walk anymore when they are sitting.
2014-01-26Fixed segmentation fault on villager damageTiger Wang1-1/+1
It occurred when attack was environmental.
2014-01-26Reduced unnecessary echoes (thanks xoft)Tiger Wang1-5/+3
2014-01-26Added support for overide in c++11 supporting varients of gcc/clangTycho1-2/+4
2014-01-25Did what xoft recommendedTiger Wang2-2/+6
2014-01-25Rail speed tweakTiger Wang1-2/+2
2014-01-25Implemented sheeps eating grass.STRWarrior2-1/+41
2014-01-25Improved AllToLua UI experienceTiger Wang1-2/+8
2014-01-25First attempt at Implementing InterfacesTycho19-38/+80
2014-01-25Two minor changesTiger Wang2-6/+4
2014-01-25Implemented fall damage for mobsTiger Wang5-11/+41
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
2014-01-25Attack() is no longer always calledTiger Wang1-1/+1
2014-01-25dded dependecy on Blocks to GeneratorTycho1-1/+1
2014-01-25Added RSA encryption to crypto wrappers.madmaxoft2-0/+39
2014-01-25Stupid Mistake fixedTycho1-2/+2
2014-01-25Implemented pickup combiningTiger Wang1-0/+55
* Fixes FS393 * Part of #131
2014-01-25Mob bugfixesTiger Wang6-26/+54
* Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563
2014-01-25Comm logging is available in both Debug and Release modes.madmaxoft3-16/+16
2014-01-25Added cFile::Flush().madmaxoft2-20/+34
This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing.
2014-01-25Fixed exportsTycho3-7/+1
2014-01-25Protocol17: Comm logging shows the data left over from previous parse.madmaxoft1-2/+15
2014-01-25Switched cEvent to GetOSErrorStringTycho3-18/+14
2014-01-25Extracted cSocket::GetErrorString into GetOSErrorStringTycho6-59/+62
2014-01-25Added dependecy output to Bindings/BindingsDependencies.txtTycho1-0/+7
2014-01-25Reformatted Bindings DependeciesTycho1-28/+58
2014-01-25Added "player destroying" and "player destroyed" hooksdaniel09166-0/+94
Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
2014-01-25All mobs now drown (fixes #54)Tiger Wang6-127/+137
* Implemented mob drowning * Iron Golems and squids are excluded
2014-01-25Fixed a generator bugTiger Wang2-1/+9
2014-01-25Zombies and skeletons use AITiger Wang2-9/+15
2014-01-24Fixed *nix compilation for previous commit.madmaxoft1-2/+2
2014-01-24Added per-connection comm logging in debug mode.madmaxoft3-1/+93
It is meant for debugging only, so it is compiled only into debug mode. It is activated by starting the server with "/logcomm" parameter.
2014-01-24Miscellaneous improvementsTiger Wang3-28/+17
2014-01-24Changed a condition to IsGameModeTiger Wang1-2/+1
2014-01-24Fixed a possible deadlock on client disconnect.madmaxoft1-9/+0
2014-01-24Fixed a failure in cSquid.madmaxoft1-1/+2
Probably due to rounding errors the squid was querying out-of-chunk coords.
2014-01-24removed hook from enchanting commitdaniel09162-5/+1
2014-01-24Made wolves compatible with new AI codeTiger Wang2-11/+26
2014-01-24Monsters no longer check for direct line of sightTiger Wang1-10/+2
2014-01-24Large reworking of mob code [SEE DESC]Tiger Wang7-242/+334
+ Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
2014-01-24Fixed mobs too close to player not tickingTiger Wang1-2/+2
A condition would never be fulfilled. A number squared was compared to -1, but there is nothing that, multiplied by itself, gives -1.
2014-01-24Implemented creeper abilitiesTiger Wang2-2/+50
* Creepers now explode with a sound effect * Creepers drop a music disc on the unlikely event of being killed by a skeleton's arrow Inspired by @maniak89's PR #132.
2014-01-24Removed unused ReferenceManagerTiger Wang4-122/+1
2014-01-24Added more minecart powered rail directionsTiger Wang3-80/+63
2014-01-24Some updates for enchantingdaniel09165-17/+29
2014-01-24Fixed Win nightbuilds not producing PDBs.madmaxoft1-0/+7
2014-01-24Fixed a few compile-time and runtime warnings in ScoreboardSerializer.madmaxoft1-8/+4
2014-01-24Fixed crash with failed entity-loading.madmaxoft2-3/+9
This should fix issues reported in: http://forum.mc-server.org/showthread.php?tid=1328 http://forum.mc-server.org/showthread.php?tid=1308
2014-01-24Fixed flint&steel failure on the Y world edges.madmaxoft1-0/+4
2014-01-24Fixed indentation once and for all.Mike Hunsinger2-46/+46
2014-01-24Fixed indentation and doxygen comments... For real this time.Mike Hunsinger2-15/+15
2014-01-24Fixed spacing and doxycomments.Mike Hunsinger3-18/+16
2014-01-23Fixed a warning in ScoreboardSerializer.madmaxoft1-2/+2
2014-01-23PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft13-157/+630
2014-01-23Make clean now effects BindingsTycho1-0/+2
2014-01-23Fixed 1.5.x scoreboard packet IDsandrew1-3/+3
2014-01-23Removed Bindings folder subcmake on *nixTycho1-1/+2
2014-01-23BugfixesTycho2-12/+9
2014-01-23added dependecies for bindings regenTycho2-14/+46
2014-01-23Switched cEvent to use strerror_r for error messagesTycho1-6/+18
2014-01-23Fixed a bug in LeakFinder.madmaxoft1-3/+8
2014-01-23Fixed crash while calling disabled plugins.madmaxoft1-1/+1
2014-01-23Fixed scoreboard.dat structureandrew1-5/+6
2014-01-23Fixed scoreboard serializationandrew1-35/+26
2014-01-23Improved code safety for the Compact world storage.Mattes D1-104/+72
That was a huge chunk of smelly code.
2014-01-23Minor style improvements for the merged PR.Mattes D1-4/+4
2014-01-23Command block fixes 2andrew6-40/+104
2014-01-23Removed extra lineMike Hunsinger1-2/+0
2014-01-23Split TossItem into three Toss functions (Held, Equipped and Pickup)Mike Hunsinger4-57/+101
2014-01-22Replacing CryptoPP with PolarSSL.madmaxoft1-1/+1
This is only the CMake modification to build with PolarSSL, the actual MCS code doesn't compile at all yet.
2014-01-22Authenticator: Reduced logging levels.madmaxoft1-4/+4
2014-01-22Fixed spelling errorTycho4-3/+3
2014-01-22Added manual bindings for moved functionsTycho3-2/+71
2014-01-22formatting changesTycho2-6/+26
2014-01-22Fixed compilation on VC2008tonibm191-0/+1
2014-01-22cWorld now saves/loads the scoreboardandrew4-15/+44
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft7-214/+471
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-21Scoreboard SendTo()andrew4-6/+74
2014-01-21Scoreboard protocol supportandrew17-23/+321
2014-01-20Fix a crash but somewhere...Alexander Harkness1-2/+1
2014-01-20Actually implemented interfacesTycho4-21/+33
2014-01-20Moved Schematic file methods to seperate classTycho4-175/+177
2014-01-20first changes for enchanting (not finished)daniel09168-0/+198
- added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more...
2014-01-20Seperated BlockArea From WorldTycho4-14/+20
If anyone can come up with a better name for the interface I'll change it, It contians to methods which do compleatly unrelated things
2014-01-20Scoreboard serializationandrew3-14/+92
2014-01-20Scoreboard deserializationandrew7-48/+599
2014-01-19Changed the cWorld::ScheduleTask() signature.madmaxoft3-151/+181
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-19cLuaState can now check function params.madmaxoft2-0/+37
2014-01-19Added Inifile and OSSupport LinkingTycho1-0/+2
2014-01-19Removed unneeded paramtersTiger Wang9-15/+23
2014-01-19Begin implementing ascending railsTiger Wang2-2/+45
2014-01-19Added one more direction into collision checksTiger Wang1-26/+51
* Added direction XM_XP * Improved performance, thanks STR and xoft
2014-01-19Rewritten SocketThreads for proper shutdown scenario.madmaxoft8-178/+189
This fixes #560 and #390.
2014-01-19Minecart improvements and fixesTiger Wang1-33/+43
* Fixed curved rails * Fixed detector rails in certain situations * Fixed powered rails and others passing bad meta to SnapToRail()
2014-01-19Fixed weird meta with curved railsTiger Wang1-5/+15
2014-01-19Switched EnchantmentSerilizer to namespaceTycho7-17/+23
2014-01-19Spilt Writing of Enchantments to seperate classTycho8-90/+116
Created a new class cEnchantmentSerializer to serilize Enchantments to NBT. This breaks a dependecy chain between cChunkGenerator and cWorld. cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments so having it seperate reduces the spread of the frein modifier
2014-01-19SocketThreads: Removed unused code.madmaxoft2-53/+3
2014-01-19Added more rail functionalityTiger Wang3-18/+22
2014-01-19Scoreboard improvementsandrew3-116/+79
2014-01-19Changed SendBlockEntity format slightlyTiger Wang9-42/+55
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug
2014-01-19Basic scoreboard implementationandrew5-1/+576
2014-01-19Implemented MC|Brand responseTiger Wang1-3/+9
2014-01-19Improved command blocksTiger Wang11-5/+124
* Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity
2014-01-19Exported cFloater to the Lua API.STRWarrior2-3/+8
2014-01-18Fixed compiler error.STRWarrior1-3/+3
2014-01-18Minecart collision and general improvementsTiger Wang2-70/+242
+ Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug
2014-01-18Command block fixesandrew3-43/+17
2014-01-18HTTP connections aren't kept alive unless explicitly enabled.madmaxoft4-37/+58
Only the client can decide that the connection can be kept alive, we must close the socket if the client doesn't indicate keepalive support. This will provide a fix for #390 when #560 is fixed; until then the issue remains, just it's no longer HTTPServer's fault.
2014-01-18Fixed iterators bugTycho1-2/+1
2014-01-18Removed the particles when a mob spawns.STRWarrior1-3/+0
2014-01-18Parse the MC|AdvCdm plugin messageandrew4-1/+70
2014-01-18Alpha-sorted the finishers.madmaxoft1-4/+4
2014-01-18Command blocks: Execute()andrew5-18/+42
2014-01-18switched to using m_WorldAge rather than m_TickIDTycho2-9/+3
2014-01-18Command block (de)serializationandrew6-21/+122
2014-01-18Fixed errors.STRWarrior2-2/+2
2014-01-18Basic command block implementationandrew11-33/+395
2014-01-18Renamed cFinishGenNetherSprinkleFoliage to cFinishGenNetherClumpFoliage. Fixed typo'sSTRWarrior3-10/+10
2014-01-18Some tweaks.STRWarrior1-5/+18
Everything generates more often. Fire can only spawn on ForeverBurning blocks.
2014-01-18Fixed bug where only brown mushrooms would spawn.STRWarrior1-3/+3
2014-01-18It now actualy works.STRWarrior1-20/+42
2014-01-17First attempt at creating a clumb version NetherFinisher.STRWarrior2-22/+63
2014-01-17Added user setting compression factorTycho10-22/+33
2014-01-17Increased tick count to longTycho2-3/+3
2014-01-17Changed std to c++11 in clang to fix va_copy issuesTycho1-4/+0
2014-01-17Implemented xsofts suggestion for a saturating counter in the schedulerTycho2-5/+8
2014-01-17Fixed SIGABRT_COMPAT on other architectures.madmaxoft1-0/+2
2014-01-17Removed internal cEntity::GetRot() usage.madmaxoft23-43/+43
2014-01-17Protocol 1.7: More output on unknown packets / protocol states.madmaxoft1-4/+21
2014-01-16Fixed block break packet numberTiger Wang1-1/+1
2014-01-16Changed newline character because of issuesTiger Wang2-4/+13
2014-01-16Removed CustomCopy()Tiger Wang2-24/+1
2014-01-16Really did what xoft wantedTiger Wang1-5/+8
2014-01-16Fixed #535Tiger Wang1-1/+1
2014-01-16Fixed SIGPIPE on cSocket::Send().madmaxoft3-12/+13
2014-01-16Fixed #535Tiger Wang1-1/+1
2014-01-16Protocol 1.7: Unknown packets are dumped to log in Debug mode.madmaxoft1-1/+14
2014-01-16Disabled excessive entity-related logging in Debug mode.madmaxoft2-3/+26
2014-01-16Fixed whitespace in previous commit.madmaxoft1-1/+1
2014-01-16Removed obsoleted functionsTiger Wang34-74/+67
2014-01-16Finished exporting cWorld:ScheduleTask() to Lua API.madmaxoft1-1/+15
2014-01-16Possibly did what xoft wantedTiger Wang3-10/+25
2014-01-16CMake: Fixed output paths for all MSVC versions.madmaxoft1-7/+9
2014-01-16Changed GetContent function.STRWarrior1-1/+1
2014-01-16Added packet diagnostics to 1.7 protocol.madmaxoft2-30/+40
When the packet is mis-interpreted, a log message is output about the packet type and lengths.
2014-01-16Yet another attempt at VarArgs.madmaxoft1-10/+15
2014-01-16Another VarArgs fix.madmaxoft6-39/+37
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
2014-01-15OBSOLETE'd obsolete functionsTiger Wang1-2/+2
2014-01-15Implemented custom names and loreTiger Wang4-35/+107
+ Added custom names and lore + Added saving and loading + Added writing and parsing of NBT
2014-01-15Implemented Ctrl-Q drop stackTiger Wang3-3/+20
Also fixed an issue with TossItems not respecting count.
2014-01-15Using a 2nd argument instead of va_copy().madmaxoft6-30/+42
This seems to be the only reasonable C++03-only solution.
2014-01-15Fixed varargs modification.madmaxoft1-1/+5
Ref.: #541.
2014-01-15Furnace minecarts now stop being active after a while.STRWarrior2-2/+19
2014-01-15First implementation for furnace minecarts.STRWarrior2-1/+23
2014-01-14added cWorld::ScheduleTask FunctionTycho3-4/+121
ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150
2014-01-14Yes newline at end of file :DTiger Wang1-1/+5
2014-01-14CMake: Added postfix for profiled exemadmaxoft1-0/+4
2014-01-13Final improvements to MinecartsTiger Wang3-93/+292
* Fixed curved rails being a little broken + Implemented detector rails + Implemented block collisions on rails * Fixed snapping to rail - Removed minecart physics conditions in Entity.cpp as minecarts use their own simulator when on rails Fixes #148 and #217; partially implemented #215. This is Cave Johnson, and we're done here.
2014-01-13Removed shutdown() from socket closing.madmaxoft1-4/+0
It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite. Fixes #537.
2014-01-13Added handshake processing to protocol 1.7.madmaxoft2-2/+29
This fixes #495
2014-01-13Generating the bindings outputs a message at the end.madmaxoft1-0/+8
2014-01-13cCreeper is no longer available in API.madmaxoft3-14/+1
Has been replaced by cMonster.
2014-01-13CMake: Removed leftover debugging output.madmaxoft1-1/+0
2014-01-13CMake: Added resources to windows projects.madmaxoft1-1/+14
2014-01-13Added a generic .user file for MSVC.madmaxoft1-0/+167
This brings in the default debugging settings for the MSVC project, when generated by CMake.
2014-01-13Detaching improvementsTiger Wang4-4/+34
* Players now search for an area around themselves to teleport to when detaching from something
2014-01-13Fixed wire, rail, and pressure plate unpoweringTiger Wang1-3/+4
2014-01-12Fixed server crash.STRWarrior1-1/+1
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior7-17/+18
2014-01-12Moved the win resources into a separate subfolder.madmaxoft5-0/+22
This will allow us to use them in CMake builds.
2014-01-12CMake generates Bindings when not existant (win)madmaxoft1-0/+10
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior7-10/+33
2014-01-12Fixed settings plugin generation after IniFileTiger Wang1-3/+3
2014-01-12Added cWorld::SpawnMinecart.STRWarrior2-0/+27
2014-01-12Multiple enhancements and fixes to minecartsTiger Wang4-132/+191
+ They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails
2014-01-12Disabled a useless MSVC warning in Bindings.cpp.madmaxoft1-0/+6
2014-01-11Lua errors display stack trace.madmaxoft2-3/+27
Fixes #418.
2014-01-11Removed internal methods from public cLuaState interface.madmaxoft3-119/+103
PushFunction(), CallFunction() and GetReturn() are not to be called independently, but rather only by using the Call() templated overrides. Push() needs to be left in the public part, it is used for pushing results in the ManualBindings. Preparation for #418.
2014-01-11Fixed rails poweringTiger Wang1-0/+2
2014-01-11Removed an unused file.madmaxoft2-130/+0
2014-01-11Removed unused variables.madmaxoft1-2/+0
The Lua API calls had no side-effects, either.
2014-01-11Did some stuff with the vectorsTiger Wang1-32/+17
2014-01-11Fixed glowstone drop countandrew1-2/+2
2014-01-11Fixed a door bug and reduced codeTiger Wang1-19/+1
Doors wouldn't get powered by repeaters, and some blocks, like glass, were viable middle blocks when they shouldn't have been.
2014-01-11Renamed g_TorchPlaceable...Tiger Wang6-71/+71
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2014-01-10Globals.h needs to be first includeBill Derouin1-1/+1
2014-01-10Fixed doors, fixes #453Tiger Wang1-38/+8
2014-01-10Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft10-50/+188
Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS.
2014-01-10Major refactoring of redstoneTiger Wang4-186/+181
This commit is a refactoring of the redstone code, mainly the functions handling the removal of invalid blocks from power supplier data structures. Its aim is to improve performance and potentially reduce the memory footprint of the data structures. It works to reduce the amount of GetBlock()s triggered every tick. Before, a GetBlock() was requested for every single item in the data lists, as well as for every single redstone block in a chunk. Following these changes, the AddBlock() event is utilised more effectively to only update the lists when needed (a block is changed), as well as to insert the block type (and update it when needed) alongside the coordinates into the main redstone simulator chunkdata list. In short, a single GetBlock() is now cached, with this cache being updated when the simulator is awoken due to a block change. At least, I *hope* that this is what it does :P
2014-01-10Include Biome enum in ChunkDefBill Derouin1-2/+1
Can't forward declare an enum
2014-01-10Added newlines at ends of filesBill Derouin2-2/+2
2014-01-10Fixed generator adding values to ini file.madmaxoft2-1/+3
2014-01-10Added cFinishGenNetherSprinkleFoliage.STRWarrior3-2/+73
2014-01-10Fixed missing externalsBill Derouin1-1/+2
Turns out you actually have to include the .cpp in the project file
2014-01-10Fixed recurring pattern.STRWarrior1-1/+1
2014-01-09Move biome definition to separate filesBill Derouin8-222/+241
2014-01-09Exported cClientHandle::SendPluginMessage() to Lua.madmaxoft1-0/+30
2014-01-09Fixed wrong packet number for PluginMessage packet.madmaxoft1-1/+1
2014-01-09Fixed chunk borders.STRWarrior1-3/+3
2014-01-09Added cClientHandle::SendPluginMessage().madmaxoft9-0/+50
It is not yet exported in the API, though.
2014-01-09Composition generator creating moved to a separate function.madmaxoft2-61/+83
Also it forces the defaults into the INI file.
2014-01-09Height generator creating moved info HeiGen.cpp.madmaxoft3-54/+82
The generator also explicitly sets the default back into the INI file.
2014-01-08Speed-up. I got about 40 extra ch/sSTRWarrior1-9/+14
2014-01-08A couple touchupsBill Derouin1-2/+3
2014-01-08WormNestCaves now remove soul sand.STRWarrior1-0/+1
2014-01-08NetherGen: Now generates SoulSand.STRWarrior1-1/+11
2014-01-08Fixed AppendVPrintf() handling for large strings.madmaxoft1-6/+4
This caused a failure in server favicons.
2014-01-07Graceful shutdown on SIGTERMTiger Wang1-0/+5
2014-01-07Add missing plugin errorBill Derouin1-0/+12
Previously, if a plugin was included but the folder had no lua files, the error given was ambiguous. Now, it explicitly describes lack of lua files. See issue #512 P.S. This probably isn't the best way, but this is where the fix can be made.
2014-01-07Fixed faviconsTiger Wang4-18/+8
2014-01-07Plugin messages are received and handed to plugins.madmaxoft8-2/+68
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-07Avoid making copies of favicon stringBill Derouin2-2/+2
2014-01-07Disabled an unneeded MSVC warning.madmaxoft1-4/+7
Also sorted the enabled warnings by their numerical code for easier searching..
2014-01-07Removed a debugging log output in cPluginManager:AddHook().madmaxoft1-1/+0
2014-01-07More MSVC warning fixes.madmaxoft9-11/+11
2014-01-07LuaState can push strings with embedded NULs.madmaxoft1-1/+1
This also marginally improves performance, since a strlen() isn't called (inside lua_pushstring()), the string length is stored in the AString object directly.
2014-01-07A few more touch upsBill Derouin2-12/+2
2014-01-07A few touch upsBill Derouin2-2/+5
2014-01-07Removed unused lineBill Derouin1-1/+0
2014-01-07Implement favicon for 1.7.2Bill Derouin4-0/+28
Favicon data is a png encoded in base64 which is stored in the server and sent in the server response packet
2014-01-07Fixed a few MSVC warnings.madmaxoft8-18/+21
2014-01-07Added Base64Encode().madmaxoft2-0/+51
2014-01-06Disabled the type conversion MSVC warning.madmaxoft1-1/+3
It was hitting way too many false positives.
2014-01-06Fixed a few MSVC warnings.madmaxoft11-16/+12
2014-01-06Exported cWorld::BroadcastBlockAction().madmaxoft1-1/+1
As requested in #508; no guarantees about it.
2014-01-06Output dir set to $/MCServer.madmaxoft1-1/+1
Ref.: #510.
2014-01-06Fixed wrong enqueueing.madmaxoft1-2/+9
Fixes #505.
2014-01-05Added fake functions into cCriticalSection because of the change to ASSERTDiusrex1-0/+5
2014-01-05Changed the release version of ASSERT.Diusrex1-1/+1
This was so a variable only used in ASSERT statements will not give a warning about not being used.
2014-01-05Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.hDiusrex5-3/+68
I also added a warning(push)/(pop) around crpytlib.cpp because it would go crazy with warnings. So now, the only warning from cryptopp that is not blocked is 'unreferenced local function has been removed', which also occurs at a single function.
2014-01-05Making all of the useful level 4 warnings be active.Diusrex1-1/+13
2014-01-05Fixed cPluginManager:AddHook() binding.madmaxoft1-6/+13
Fixes #401. Old formats are still accepted, for compatibility reasons.
2014-01-05Fixed a race condition in the cQueue class.madmaxoft1-59/+86
Fixes #505.
2014-01-03Fixed DocumentationTycho1-4/+2
2014-01-03derpTycho1-1/+1
2014-01-03actual fixTycho1-2/+9
2014-01-03fixed failure to return a value from RemoveTycho1-1/+1
2014-01-03implement xsofts recommendationsTycho Bickerstaff1-9/+15
2014-01-02added documentationTycho Bickerstaff1-7/+45
2014-01-02fixed a few remaining issues with worldstorageTycho Bickerstaff2-24/+6
2014-01-02More memory alignment fixes.madmaxoft2-6/+6
Ref.: #420.
2014-01-02Fixed unaligned memory access in FastNBT.madmaxoft3-5/+44
This should fix #420.
2014-01-02rewrote queue not to use promises for waitsTycho Bickerstaff6-121/+24
2014-01-01OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior5-5/+5
2014-01-01Fixed GetPhysicalRAMUsage on Linuxandrew1-2/+2
2013-12-31fogot to add promise classesTycho Bickerstaff2-0/+92
2013-12-31clean up code for patchingTycho Bickerstaff3-3/+5
2013-12-31refactored chunk Queue to seperate classTycho Bickerstaff7-124/+162
2013-12-31implemented the recommendations Xoft gave.STRWarrior7-12/+25
2013-12-31removed unneccisary castTycho Bickerstaff1-1/+2
2013-12-31fixed warnings in LineBlockTracer.cppTycho Bickerstaff1-1/+0
2013-12-31fixed warnings in LightingThread.cppTycho Bickerstaff1-0/+1
2013-12-31take Z axis into account when calculating neighboors in LightingThread::ChunkReadyTycho Bickerstaff1-1/+1
2013-12-31fixed warnings in World.cppTycho Bickerstaff4-6/+34
2013-12-31fixxed warnings in Server.cppTycho Bickerstaff1-0/+5
2013-12-31fixed warnings in Inventory.cppTycho Bickerstaff1-2/+2
2013-12-31fixed warnings in bytebuffer.cppTycho Bickerstaff2-4/+4
2013-12-31fixed ClientHandle warningsTycho Bickerstaff1-0/+1
2013-12-31fixed warnings in webadmin.cppTycho Bickerstaff1-0/+3
2013-12-31fixed warnings in BlockArea.cppTycho Bickerstaff1-0/+2
2013-12-31Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure.Morgan Redshaw1-2/+2
2013-12-30Implented OnPlayerFishing and OnPlayerFished.STRWarrior6-1/+97
2013-12-30Fixed compilation in VC2008.madmaxoft6-75/+13
Also removed an unused inline header file (yuck).
2013-12-28Added support for out-of-source builds.madmaxoft2-18/+30
2013-12-27Made cmake compilation possible on Windows.madmaxoft4-21/+27
2013-12-26Server now handles death messagesTiger Wang1-0/+16
2013-12-26Added proper precompiled headers for MSVC.madmaxoft1-48/+47
2013-12-26Simplefied Extreme Hills M pattern select.STRWarrior1-11/+3
2013-12-26cBlockArea: Fixed writing full-height areas.madmaxoft1-2/+2
2013-12-26Moved increment operator to back of variablesTiger Wang1-9/+9
2013-12-25Extreme Hills M biomes now generate gravel, stone and grass patterns.STRWarrior1-2/+10
2013-12-25Changed tbGravel. Vanilla has 3 layers of gravel and then stone.STRWarrior1-3/+3
2013-12-25Normal extreme hills (plus) now generate a stone/grass pattern.STRWarrior1-2/+20
2013-12-25Re-added empty line.STRWarrior1-0/+1
2013-12-25This generates gravel in Extreme Hills M biomes.STRWarrior2-3/+20
2013-12-25Fixed block area height check.madmaxoft1-2/+2
The block area couldn't be read up to chunk height.
2013-12-25(Hopefully) fixed if conditionstonibm191-4/+1
2013-12-25Fixed Parentheses.STRWarrior1-2/+2
2013-12-25You are now able to sweep mobs to your position using fishing rods.STRWarrior3-38/+206
2013-12-25Preliminary mobile entity savingTiger Wang4-13/+790
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
2013-12-25Implemented xoft suggestion (partly)tonibm191-25/+29
I only get it working in first condition. It seems it's not compatible with else if...
2013-12-25Fixed rails not updating with diagonalsTiger Wang1-0/+34
2013-12-25Braced up some codeTiger Wang1-0/+2
2013-12-25Used IsGamemodeCreative() functionTiger Wang1-1/+1
2013-12-24BLOCKTYPE...tonibm191-2/+2
2013-12-24Fixed compilationtonibm191-29/+9
2013-12-24Implemented xoft suggestiontonibm191-7/+11
2013-12-24Using BLOCKTYPE instead of inttonibm191-2/+2
2013-12-24Fixed commentstonibm191-8/+8
2013-12-24Changed a little how detection works and added comments.tonibm191-28/+31
2013-12-24Storing Y -1 and -2 blocks in a variabletonibm191-5/+7
2013-12-24Fixed comments in main.cpp and Player.cppTiger Wang2-2/+2
2013-12-24Implemented stone and wooden pressure platesTiger Wang2-3/+105
2013-12-24Improved knockback animationTiger Wang1-3/+3
* Critical hits now actually increase damage * Looking down at an entity and hitting them still produces upwards motion (as per Vanilla experience) * Reduced force to be more realistic
2013-12-24Fixed getting configure button going to port 0.STRWarrior2-3/+9
2013-12-24removed the function def alsoAlexander Harkness1-1/+0
2013-12-24Finally removed the function.Alexander Harkness1-6/+0
2013-12-24Using parenthesistonibm191-8/+8
2013-12-24Fixed a possible crashtonibm191-39/+42
2013-12-24fixed compile?Alexander Harkness1-1/+1
2013-12-24finally removed them all?Alexander Harkness1-1/+1
2013-12-24updated another file...Alexander Harkness1-4/+4
2013-12-24Updated MakeColour's defenition in the header.Alexander Harkness1-9/+9
2013-12-24Update as per xoft's instructions.Alexander Harkness1-1/+1
2013-12-24Update chat coloursAlexander Harkness1-3/+2
@madmaxoft, is this right? fixes #467
2013-12-23Replaced esCreeper with esMonster.madmaxoft3-4/+7
Any monster will be able to explode, and also this fixes #425.
2013-12-23Improved player fall particle positionsTiger Wang1-5/+2
2013-12-23Provides an enhancement to daylight sensorsTiger Wang1-2/+27
2013-12-23Improved iron golem detection algorithmtonibm191-3/+16
- You need to make it like in vanilla - Only used blocks are removed
2013-12-23Clarified some code in Player.cppTiger Wang1-2/+5
2013-12-23Fixed a comment in Entity.cppTiger Wang1-1/+1
2013-12-23Added some comments in main.cppTiger Wang1-1/+1
2013-12-23Some fixes (SEE DESC)tonibm191-0/+6
-Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn
2013-12-23You can now spawn iron golems.tonibm191-3/+20
You can spawn them like in vanilla.
2013-12-23Daylight sensor sensing enhancementTiger Wang1-9/+11
2013-12-22added link dependency between WorldStorage and OSSupportTycho Bickerstaff1-0/+2
2013-12-22Fixed bug where snowgolems could replace non-solid blocks to snow blocks.STRWarrior1-1/+3
2013-12-22A fix for daylight sensorsTiger Wang1-2/+3
2013-12-22Implemented knockback and critical hitTiger Wang1-4/+21
2013-12-22Added many event catchersTiger Wang2-20/+78
* Window close * CTRL-C * etc.
2013-12-22Implemented fall particlesTiger Wang1-3/+18
2013-12-22Snow golems die in hot biomes and leave a snow trail.STRWarrior2-0/+18
2013-12-22You can spawn snow golems with snow blocks and pumpkins.STRWarrior1-0/+15
2013-12-22EnderDragons and SnowGolems are able to spawn.STRWarrior1-0/+2
2013-12-22Fixed cacus breaking when next to any non-air block.STRWarrior1-1/+1
2013-12-22fixed bad mergeTycho Bickerstaff1-4/+0
2013-12-22merged in warnings changesTycho Bickerstaff26-93/+94
2013-12-22fixed accedental commitTycho Bickerstaff1-2/+1
2013-12-22fixed rdynamic as its not acctually needed a cmake handles it, looks like the problem was caused by the linux linker accepting the option twice and the os x linker notTycho Bickerstaff2-1/+33
2013-12-29Added HOOK_PLUGINS_LOADED.madmaxoft6-3/+64
This fixes #482.
2013-12-29Added function to create Tall Birch tree in BirchTreeForest biomesMike Hunsinger2-3/+49
2013-12-28Fixed a (valid) warning in RCONServer.madmaxoft1-0/+3
2013-12-22Made the lure enchantment work.STRWarrior1-1/+1
2013-12-22Fixed signedness warning in cItemGrid.madmaxoft2-4/+4
2013-12-22Fixed compiler warning.STRWarrior1-1/+1
2013-12-22Fishing underground is slower and fishing while raining is faster.STRWarrior1-0/+15
2013-12-22Fixed compiler warnings.STRWarrior1-2/+2
2013-12-22Countdown time is between 100 and 900 ticks.STRWarrior1-1/+1
2013-12-22Fishing now uses a countdown instead of a random number each tick.STRWarrior2-12/+29
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff16-39/+100
2013-12-22Implented BroadcastParticleEffectSTRWarrior17-2/+122
2013-12-22Daylight sensorsTiger Wang1-2/+1
2013-12-22Fixed them again, confound itTiger Wang1-9/+21
2013-12-21Using regular assignments.STRWarrior1-6/+6
2013-12-21Once again better Y direction for the items given when fishing.STRWarrior1-2/+2
2013-12-21You are now able to get different items from fishing.STRWarrior1-2/+108
2013-12-21Bindings regen script updated.madmaxoft1-11/+6
The Bindings.cpp / .h files are no longer stored in the git repo.
2013-12-21Floater now dissapears when the player doesn't have an fishing rod equipped.STRWarrior2-0/+32
2013-12-21Chunk is now warnings cleanTycho Bickerstaff4-6/+5
2013-12-21fixed hidden bug with furnaces ignoring time burntTycho Bickerstaff1-1/+1
this patch fixes an issue with furnaces where they would ignore the time burnt in setBurnTimes this did not cause a problem as this function was only called with the same value as the one it was using for time burnt
2013-12-21Root is now warnings cleanTycho Bickerstaff8-30/+32
2013-12-21Piston is now warnings cleanTycho Bickerstaff5-6/+6
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff6-9/+10
2013-12-21basic threadsafe queue interfaceTycho Bickerstaff2-0/+34
2013-12-21You could now only get fish from non-source blocks. Fixed it.STRWarrior1-1/+1
2013-12-21Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around.STRWarrior1-0/+5
2013-12-21Fixed bug where you could get fish from non-source blocks.STRWarrior1-1/+1
2013-12-20Fixed repeaters delay, maybeTiger Wang3-12/+41
Also added basic daylight sensors, though because GetBlockSkylight always is 15, it doesn't work.
2013-12-20Increased the range an Floater can shoot to.STRWarrior1-1/+1
2013-12-20Fixed the rest of constructor reorders.madmaxoft9-97/+92
2013-12-20Fish now actualy jumps to the player instead of a few block bellow them.STRWarrior1-1/+1
2013-12-20Fixed bug where the floater could pop in the water while you could already get a fish.STRWarrior1-2/+2
2013-12-20More reordering fixes.madmaxoft3-7/+16
2013-12-20added precompiled headerstycho1-13/+24
2013-12-20Fixed a typo in cBlockArea merging code.madmaxoft1-2/+1
2013-12-20Sorted a few constructors to remove warnings.madmaxoft10-49/+57
2013-12-20fixed include of math on windowstycho2-1/+10
2013-12-20Fixed minor warnings.madmaxoft2-5/+7
2013-12-20Fixed warnings in HTTP parser.madmaxoft4-5/+15
2013-12-20Attempt at fixing cChunkDef::Height signedness.madmaxoft4-21/+24
2013-12-20Properly fixed warnings in cFastRandom.madmaxoft1-4/+4
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft28-62/+66
2013-12-20Fixed melon and pumpkin growing.madmaxoft1-1/+1
2013-12-20Fixed missing parenthesis.madmaxoft1-4/+4
2013-12-20Fixed clang warnings in Noise.cpp.madmaxoft1-20/+20
Fix-a-random-warning-per-day :)
2013-12-20Fixed assertion during dirt block OnUpdate()Tiger Wang1-1/+1
2013-12-19Fixed #include in Floater.cpp.STRWarrior1-1/+1
2013-12-19The floater now actualy dives under water.STRWarrior1-1/+1
2013-12-19You can get fish from fishing :D. Only one type of fish though.STRWarrior1-12/+27
2013-12-19Fixed PlayerAbilities and creativeTiger Wang3-13/+24
2013-12-20fixed include paths on windows and added build dir to gitignoretycho1-0/+2
2013-12-20fixed compile errors with headers and math librarytycho1-6/+15
2013-12-20fixed multiprocessing on windows and removed redundend compile of headerstycho1-1/+0
2013-12-19Implented cItemFishingRodHandler.STRWarrior2-0/+65
2013-12-19Implented IsFishing, SetIsFishing and GetFloaterID().STRWarrior2-0/+12
2013-12-19Added cFloater class.STRWarrior3-0/+90
2013-12-19Fixed 1.7 arm swing animationTiger Wang1-1/+23
2013-12-19Fixed dust from being placed on nonsolidsTiger Wang2-1/+6
2013-12-19Fixed repeaters not updating powerTiger Wang1-11/+41
2013-12-19fixed a number of windows issuestycho1-13/+28
2013-12-19added md5 as a dependency for bindingsTycho Bickerstaff1-1/+2
2013-12-19added expat as lua bindings dependincyTycho Bickerstaff2-2/+2
2013-12-19added all cpp files to bindingsTycho Bickerstaff1-1/+4
2013-12-19moved HTTPServer to globsTycho Bickerstaff1-1/+5
2013-12-19added pthread linking code to OSSupportTycho Bickerstaff1-0/+4
2013-12-19moved protocol to globTycho Bickerstaff1-1/+5
2013-12-19added blocks and blockentitiesTycho Bickerstaff3-2/+18
2013-12-19linked in luaTycho Bickerstaff1-1/+1
2013-12-19fixed bindings generationTycho Bickerstaff1-8/+2
2013-12-19bindings regenration logicTycho Bickerstaff3-32240/+8
2013-12-18Disconnection message no longer shown if pingTiger Wang1-5/+8
2013-12-18Prettified command error messagesTiger Wang2-9/+23
Using the magic of overlords (overloads) and standards compliance.
2013-12-18added zlib and UITycho Bickerstaff1-0/+11
2013-12-18The "<>" of a player name is now colouredTiger Wang1-1/+1
2013-12-18Fixed 1.7 player disconnection not calling hookTiger Wang1-4/+14
This fixes #357
2013-12-18Implented Nether Wart.STRWarrior4-0/+110
2013-12-18Renamed back EntityAnimation to PlayerAnimationTiger Wang8-15/+51
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4
2013-12-18Removed offending tr1/memory header inclusion.madmaxoft1-3/+0
We already use <memory> at line 160, this was a double include, additionally causing problems (#424).
2013-12-18Fixed wire powering blocks beneathTiger Wang1-1/+1
2013-12-18Fixed bad repeater power queuing in corner caseTiger Wang2-83/+76
Repeaters remain queued to power even if their original source has since unpowered. Also functionised and cleaned up code.
2013-12-17Fixed player falling through the floor on spawn.madmaxoft1-1/+5
The 1.7 client seems to have math issues with exact coords. Adding 0.001 to the Y coord fixed the problem.
2013-12-17cBlockArea: origin is initialized in the constructor and the loader.madmaxoft1-0/+6
2013-12-17Fixed naming and initialization.madmaxoft1-4/+12
2013-12-17Forgot to change one Vector3d to Vector3i.STRWarrior1-1/+1
2013-12-17Renamed Pos to m_Pos.STRWarrior1-3/+3
2013-12-17Using Recommendations.STRWarrior1-10/+23
2013-12-17Made buckets work when the player does not 'look' at a block. This fixes #265STRWarrior1-32/+53
2013-12-16Fixed multiple inheritance in ToLua++.madmaxoft8-36/+127
This fixes #422.
2013-12-16Boats spawn on top of a block. not between 4 blocks.STRWarrior1-1/+1
2013-12-16Using suggestions for Boat placing.STRWarrior1-1/+1
2013-12-16Removed some old cRedstone remnantsTiger Wang3-30/+0
2013-12-16Boats drop a boat pickup when destroyed by hand. You can now actualy use boats.STRWarrior2-3/+33
2013-12-16Added HandleSpeedFromAttachee so an entity can override the function.STRWarrior2-4/+15
2013-12-16You can spawn boats on water.STRWarrior1-7/+32
2013-12-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft5-31/+48
When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187.
2013-12-16Fixed multiple player spawn broadcasts.madmaxoft1-3/+0
2013-12-15Server saves if a player is flying.STRWarrior1-1/+3
2013-12-15Fixed player spawning packet.madmaxoft1-1/+1
The player was spawned 1.62 blocks below their pos. This fixes #323.
2013-12-15Exported to LuaSTRWarrior2-10/+10
2013-12-15Renamed ShootTo function to ForceSetSpeed.STRWarrior2-3/+3
2013-12-15Fixed calling OnPlayerJoined() in the wrong place.madmaxoft1-6/+1
This is the first part of a fix for #187.
2013-12-15This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior5-4/+49
2013-12-15Implemented xoft's suggestionsTiger Wang1-3/+16
2013-12-15Fixed indentation.madmaxoft1-1/+1
2013-12-15Moved reading flags to the protocol.STRWarrior3-19/+23
2013-12-15Fixed wire repeater checkingTiger Wang1-1/+1
2013-12-15Exported Set and Get functions to Lua.STRWarrior2-2/+136
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior5-3/+90
2013-12-15Wires now power repeaters properlyTiger Wang1-0/+7
2013-12-15Fixed the hopefully final wire self-powering bugTiger Wang1-1/+13
2013-12-15Fixed pre 1.7 clients crashing.STRWarrior1-2/+2
2013-12-15cPlayer is using the broadcast functions.STRWarrior1-3/+3
2013-12-15This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions.STRWarrior6-0/+89
2013-12-14Added tolua++ redirection include.madmaxoft1-0/+13
This is needed because ToLua++ regenerates the Bindings file with bad #include, and it would be too difficult to fix ToLua++; this is an easier solution. Should fix PR #431.
2013-12-14Removed leftover debugging messages from cProtocol172.madmaxoft1-4/+0
2013-12-14Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior5-4/+31
2013-12-14Added E_EFFECT_<Effect>STRWarrior2-3/+32
2013-12-14Potentially fixed debug assertsTiger Wang1-5/+5
2013-12-14Wires no longer power if a block cuts them offTiger Wang1-23/+32
Also reduced more unneeded code.
2013-12-14Forgot to commit the ClientHandle.STRWarrior2-0/+20
2013-12-14Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior8-1/+91
2013-12-14Implemented note block playing and fixed wireTiger Wang9-5/+125
Game of Thrones music in Minecraft, here I come!
2013-12-14Exported the cTNTEntitySTRWarrior4-9/+85
2013-12-14Fixed compilating!Tiger Wang1-5/+5
2013-12-14Fixed not getting XP from mobs.STRWarrior2-1/+7
2013-12-14Improved player permissions loggingTiger Wang1-1/+1
2013-12-14Fixes to redstone wire and torchesTiger Wang3-21/+37
+ Wires now power blocks around the block beneath * Torches no longer power off if it is on a linked powered block * Enhanced code, split functions, etc.
2013-12-14Groups.ini and Users.ini are now generatedTiger Wang2-3/+25
2013-12-14Removed loads of unneeded code againTiger Wang1-86/+60
2013-12-14Reduced loads of unneeded codeTiger Wang1-188/+44
Merged wire powering detection code into a single function.
2013-12-13Improved redstone loading performanceTiger Wang1-2/+10
2013-12-13Fixed threading issues affecting cProtocol172.madmaxoft4-191/+219
2013-12-13Using "a_ClosestPlayer != NULL" in cExpOrb.STRWarrior1-1/+1
2013-12-13Fixed QueueSetBlock not sending to client changesTiger Wang1-2/+1
2013-12-13Redstone data is now loaded on chunk loadTiger Wang2-0/+7
2013-12-12Unknown packet type extended to 32 bits.madmaxoft2-4/+4
2013-12-12Fixed protocol 1.7 recovery after unknown packet.madmaxoft1-4/+0
2013-12-11Fixed pistons being viable middle blockTiger Wang1-0/+3
Also an excuse to update submodules
2013-12-11HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used.STRWarrior1-0/+1
2013-12-11ExpOrbs now move.STRWarrior1-4/+8
2013-12-11Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior9-2/+98
2013-12-11added zlibTycho Bickerstaff1-1/+1
2013-12-11moved generating to globsTycho Bickerstaff1-1/+5
2013-12-11added UI folderTycho Bickerstaff1-1/+3
2013-12-11moved Worldstorage to globsTycho Bickerstaff1-1/+5
2013-12-11moved entities to globsTycho Bickerstaff1-1/+5
2013-12-11moved mobs to globsTycho Bickerstaff1-1/+5
2013-12-11moved simulor to globsTycho Bickerstaff1-1/+5
2013-12-11removed leakfinder form buildTycho Bickerstaff1-1/+1
2013-12-10added tolua++ command and removed stackwalker from buildTycho Bickerstaff3-6/+8
2013-12-10more cmake changesTycho Bickerstaff3-6/+15
2013-12-10removed more accedentailly commited object filesTycho Bickerstaff9-3985/+0
2013-12-10removed accedentailly commited object filesTycho Bickerstaff27-0/+0
2013-12-10more cmakeTycho Bickerstaff46-6/+4051
2013-12-10Provides a possible fix for repeater timingsTiger Wang2-2/+2
Not completely reliable, but at least some types of clock work.
2013-12-10fixed unused expression warnings in blockFireTycho Bickerstaff1-7/+6
2013-12-10more cmake stuffTycho Bickerstaff3-2/+18
2013-12-10fixed comparison of thread handle to Null point rather than null handleTycho Bickerstaff1-1/+1
2013-12-10started work on cmakeTycho Bickerstaff4-0/+36
2013-12-10added abort to DeadlockDetector to generate core dumps on failureTycho Bickerstaff1-5/+2
2013-12-10Readded initial lineTiger Wang1-0/+1
2013-12-10Fixed compile (alas, no more goto)Tiger Wang1-11/+14
2013-12-10Fixed Floody lava to stone fizzleTiger Wang1-2/+16
2013-12-10Added repeater delaysTiger Wang2-1/+62
They DO sometimes get stuck though :P
2013-12-10Slight redstone wire performance improvementTiger Wang1-1/+6
2013-12-10Changed more FastSetBlocks to SetBlocksTiger Wang1-3/+3
Fixes duplication bugs.
2013-12-10Improved pickups spawning speed againTiger Wang2-7/+6
2013-12-08Fixed angle normalization typo.madmaxoft1-1/+1
2013-12-08Fixed tolua++ compilation.madmaxoft7-192/+5
Duplicate files, wrong includes, const-incorrect code...
2013-12-08Fixed VS2008 compilation after those huge changes.madmaxoft2-5/+7
2013-12-08Now spawn points will not be in deep oceans or rivers etc.STRWarrior1-1/+1
2013-12-08Readded redstone lamp handlerTiger Wang1-0/+2
2013-12-08Fixed tabcompletion packet, fixes #356Tiger Wang1-8/+4
2013-12-08Fixed normalizing large angles.madmaxoft4-8/+51
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft41-1238/+1237
Ref.: #407
2013-12-08Fixed stationary water starting fires and flowing lava not.madmaxoft1-2/+2
2013-12-08Fixed falling block metas, fixes #406Tiger Wang1-1/+1
2013-12-08moved deafult action into deafult clause at src/Generating/DistortedHeightmap.cpp line 741Tycho Bickerstaff1-2/+4
2013-12-08reordered initalisation order at src/Generating/Cave.h line 73Tycho Bickerstaff1-2/+2
2013-12-08fixed warnings in src/Generating/BioGen.cppTycho Bickerstaff1-1/+1
removed unused variable at src/Generating/BioGen.cpp line 379 and added default fallthrough clause to switch at src/Generating/BioGen.cpp line 725
2013-12-08added default fallthrough clause to switch at line 178 of src/UI/Window.cppTycho Bickerstaff1-0/+4
2013-12-08Reordered Listed Initalisation order in src/UI/Window.cppTycho Bickerstaff1-2/+2
Reordered the Listed Initalisation order for CWindow to the executed initalisation order. The compiler initalises values in the order the fields are declared not the initalisations listed
2013-12-08Bonemeal has particles, fixes #393Tiger Wang2-3/+8
2013-12-08Removed unused variable ResultSlotTycho Bickerstaff1-1/+0
2013-12-09Fix Undefined behavior at Bindings/LuaWindow line 32worktycho1-1/+4
2013-12-09Fix Unused Variable Warning at FluidSimulator.cpp line 169 and 176worktycho1-4/+3
2013-12-09Fixed warning unchecked enum value at Chunk.cpp line 841worktycho1-2/+4
2013-12-09Fixed Warning Unhandeled enum values in switch as src/UI/SlotArea.cpp line 54worktycho1-1/+4
2013-12-07Console trims its commands before executing 'emTiger Wang1-3/+3
2013-12-07Fixed water starting firesTiger Wang1-1/+0
2013-12-07Improved piston animationsTiger Wang1-4/+4
2013-12-07Fixed some new 1.7 client crash bugsTiger Wang4-1/+37
Some technical blocks were removed; trying to render them as items caused a crash.
2013-12-07Changed some FastSetBlocks to SetBlockTiger Wang1-3/+3
Should fix some duplication glitches.
2013-12-07Fixed trapdoors not togglingTiger Wang3-17/+103
The redstone simulator kept on resetting them.
2013-12-07Added a SpawnFallingBlock function so plugins can make other blocks fall.STRWarrior4-2/+93
2013-12-07Added basic ender chestsTiger Wang10-14/+355
Note that they just mirror chests now, so no per player inventory.
2013-12-07Renamed animation functionTiger Wang23-47/+82
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
2013-12-06Fixed bed leave animationTiger Wang1-1/+1
2013-12-06Fixed duplication glitch with QueueSetBlockTiger Wang7-16/+38
If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched.
2013-12-06Added trapdoor cursor Y detectionTiger Wang1-2/+0
2013-12-06Puking now uses GetEyeHeight()Tiger Wang1-1/+1
2013-12-06Added pickup invalid item checkTiger Wang1-0/+11
They aren't spawned at all if their itemtype isn't valid; possibly fixes the client crashing with bad pickups.
2013-12-06Re-implemented redstone duplicate checkingTiger Wang1-0/+29
2013-12-06Fixed eating using wrong animationTiger Wang1-1/+1
2013-12-06Fixed trapdoors not overriding OnUseTiger Wang1-1/+1
2013-12-06Spawn eggs use IsGameMode()Tiger Wang1-2/+2
Possible fix for #316.
2013-12-06Tools make a sound when breaking, fixes #266Tiger Wang2-2/+5
2013-12-06Cleaned up torch code and added commentsTiger Wang1-31/+7
2013-12-06Removed another export and inline'd stuffTiger Wang1-5/+5
2013-12-06Removed exporting of a torch functionTiger Wang1-3/+3
2013-12-06Updated comments for slabsTiger Wang1-5/+6
2013-12-06Fixed pickups spawning for BlockEntitiesTiger Wang1-1/+1
2013-12-05Added cPluginManager:GetCurrentPlugin() to Lua API.madmaxoft1-7/+22
2013-12-05Merged if statements.Samuel Barney1-7/+1
2013-12-05Finished MergeSamuel Barney1-2/+2
2013-12-05ByteBuffer: Fixed optimization failures with threading checks.madmaxoft1-1/+1
2013-12-04Hopefully fixed the sparc not being detectedAlexander Harkness1-1/+3
2013-12-04Lava can spawn fire.madmaxoft5-8/+93
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
2013-12-04Fixed an error in cChunk's block ticking.madmaxoft1-2/+2
Absolute coords were passed to a handler expecting relative coords.
2013-12-04Made suggested changesSamuel Barney2-6/+11
2013-12-02Fire no longer goes out when on top of nether rackSamuel Barney1-1/+6
2013-12-02Removed stray printf, again.Samuel Barney1-1/+0
2013-12-02Switched to using provided ReadItem function.Samuel Barney2-17/+12
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs.
2013-12-02Removed stray printf.Samuel Barney1-1/+0
2013-12-02Fixed 1.7 slab and stair placement.Samuel Barney1-0/+19
2013-12-01Fixed compiler warnings in LightingThread.cpp.madmaxoft1-2/+2
2013-12-01Fixed linux compile errors and formatting in RedstoneSimulator.cppmadmaxoft1-14/+26
2013-11-30DeadlockDetect is configurable now.madmaxoft3-7/+15
This is needed when debugging Lua plugins.
2013-11-30Fixed compiler warnings in IsBiomeNoDownfall().madmaxoft1-1/+4
2013-11-30Fixed pistons extendingTiger Wang1-0/+10
They didn't when a source was in front, but now they do! Yay!
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft15-63/+117
2013-11-30Added IsBiomeNoDownfall() function.madmaxoft3-103/+164
2013-11-30Explicitly set spawnpoint fixes.madmaxoft1-20/+11
The value names are case-insensitive. The debug message is printed only once.
2013-11-30Removed redstone duplicate power checkingTiger Wang1-2/+0
There was no need for it, and it introduced some bugs.
2013-11-30Improved piston direction checkingTiger Wang1-62/+8
Now uses AddFaceDirection, as suggested by xoft.
2013-11-30Added the real tick duration to the OnWorldTick hook.madmaxoft8-17/+34
2013-11-30Grass doesn't spread to podzol or grassless dirt blocks.madmaxoft1-2/+3
2013-11-30Added floor pattern for MegaTaiga biomes.madmaxoft1-1/+10
2013-11-30Pistons no longer accept power through front faceTiger Wang2-3/+96
This fixes #60.
2013-11-30Fixed thin snow CanBeAt checkingTiger Wang1-1/+13
Now takes into account the possibility that thin snow can be on top of full thin snow.
2013-11-30Properly fixed snow height, fixes #98 and #264Tiger Wang3-25/+53
2013-11-30Improved redstone speed and fixed a wire bugTiger Wang1-73/+83
The redstone simulator no longer goes through the Powered and LinkedPowered blocks lists for EVERY item in the chunk data, instead, only at every tick. Also, wires powering each other that had the same data value is now fixed.
2013-11-29Stairs reset meta when dropped, fixes #269Tiger Wang1-2/+22
Additionally, they now have walking sounds.
2013-11-29Implemented trapdoors, fixes #43 and #105Tiger Wang5-3/+131
Also updated redstone simulator to support it
2013-11-29Removed unneeded CPP filesTiger Wang11-221/+77
Also removed unneeded #include in BlockStems
2013-11-29Implemented mesa biomes in DistortedHeightmap CompoGen.madmaxoft3-21/+106
2013-11-29Fixed CheckerboardBiomeGen in negative coords.madmaxoft1-2/+3
2013-11-29DistortedHeightmap: Improved speed, prepared for mesa biomes.madmaxoft2-157/+424
This generates the rainbow-mesa as seen on the first mesa screenshot in the forum.
2013-11-29Fixed an off-by-one error in cByteBuffer.madmaxoft1-1/+1
Could have caused random protocol errors and maybe even crashes.
2013-11-29Alpha-sorted BlockMetas, added red sand.madmaxoft1-125/+128
2013-11-28Trees will generate in the new biomes.madmaxoft2-14/+101
Only the generic trees, the special variants haven't yet been implemented.
2013-11-28Added new biomes to old composition generator.madmaxoft4-0/+145
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-28Added new biomes to old height generators.madmaxoft4-39/+179
Now Biomal and DistortedHeight generators will work with new biomes.
2013-11-28Moved BiomeGen creation from INI file data to BioGen.cpp.madmaxoft3-48/+74
This way it can be shared between MCServer and BiomeVisualiser.
2013-11-28Moved json includes to where they are really needed.madmaxoft3-1/+2
2013-11-28BiomeVisualiser: Added the TwoLevel biome generator.madmaxoft2-0/+229
2013-11-28Fixed a bug with TNT waking simulatorsTiger Wang1-2/+2
2013-11-28Improved TNT pickup randomisationTiger Wang1-1/+1
2013-11-27Made TNT pickups spawning chance 25%Tiger Wang2-3/+3
2013-11-27Voronoi-related biomegens use the new cVoronoiMap class.madmaxoft3-54/+29
2013-11-27Fixed a load of issues, clang autodetection works now.Alexander Harkness1-1/+0
This fixes issue #210. This also removes the disableasm option, so it would be wise to remove it from any scripts that use it. I also removed a random line in the middle of globals.h, why was it there?
2013-11-27Added missing files for Voronoi map generation.madmaxoft2-0/+140
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft12-12/+12
2013-11-27Fixed the remaining derpsAlexander Harkness26-30/+30
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness9-11/+11
2013-11-26ANOTHER compile fixTiger Wang1-1/+1
This one was broken by bear. :P
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang5-5/+5
2013-11-26Compile fix againTiger Wang1-1/+1
2013-11-26Fixed Linux compile againTiger Wang1-1/+1
2013-11-26Fixed tolua++ filesTiger Wang3-4/+4
2013-11-26Fixed loads more of them.Alexander Harkness11-13/+13
2013-11-26AnotherAlexander Harkness1-1/+1
2013-11-26And another.Alexander Harkness1-1/+1
2013-11-26Fixed another.Alexander Harkness1-1/+1
2013-11-26Fixed another one.Alexander Harkness1-1/+1
2013-11-26Fixed a mis-includeAlexander Harkness1-1/+1
2013-11-25Further attempts to fix compileTiger Wang24-27/+27
2013-11-24Attempt to fix compilationTiger Wang48-59/+58
2013-11-24Moved SQLite, LuaExpat, and MD5 to /libTiger Wang8-148557/+0
2013-11-24Moved source to srcAlexander Harkness469-0/+285880
2012-08-19Android: Moved Android stuff to the ~/trunk/Android/ folder!faketruth1-267/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@758 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Android: Finally a log! :Dfaketruth1-32/+44
git-svn-id: http://mc-server.googlecode.com/svn/trunk@754 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Android: Showing last MCServer related logcat messagefaketruth1-13/+63
git-svn-id: http://mc-server.googlecode.com/svn/trunk@753 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18Android: I'm probably using a lot of bad practices, but the app looks somewhat better now and polls the server statusfaketruth1-9/+146
Android: Put quite some testing code in ToJava.h and app-android.cpp ... I still can't send log messages to Java. The issue is threads, I can't use JNI stuff from threads that were not created by Java (at least not easily) git-svn-id: http://mc-server.googlecode.com/svn/trunk@752 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18Android: Pressing back button sends stop command to serverfaketruth1-9/+30
Android: ToJava can call functions on Java by using JNI Android: Plugins work Android: Added android specific files to VS2008 project, but they are excluded from compiling git-svn-id: http://mc-server.googlecode.com/svn/trunk@747 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-16MCServer should run just fine on Android now :Dfaketruth1-3/+13
The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-0/+37
Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6