summaryrefslogtreecommitdiffstats
path: root/source (unfollow)
Commit message (Expand)AuthorFilesLines
2013-08-14ClientHandle no longer queues chat messages.madmaxoft2-56/+17
2013-08-14Clients are deleted when the world is stopped.madmaxoft1-0/+11
2013-08-14Fixed wrong names for some metas.madmaxoft3-18/+18
2013-08-14Server counts the players correctly.madmaxoft3-3/+6
2013-08-14Fixed crashes in world's clientlist manipulatorsmadmaxoft2-2/+28
2013-08-14Player counts are now properly handled.madmaxoft7-16/+108
2013-08-13Exported cWorld:BroadcastChat() to the Lua API; used in the Core.madmaxoft3-4/+41
2013-08-13Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft10-168/+182
2013-08-12Fixed logging into debug console.madmaxoft2-1/+3
2013-08-12Keep players from taking damage when teleporting.STRWarrior1-1/+1
2013-08-12Added quartz stairs.STRWarrior4-30589/+30592
2013-08-12Fixed logging into debug console.madmaxoft2-1/+3
2013-08-12Removed cServer::BroadcastChat() and cServer::SendMessage().madmaxoft7-133/+42
2013-08-12Removed unused cServer::IsConnected() function.madmaxoft1-4/+2
2013-08-11Really removed comments this timeTiger Wang1-7/+0
2013-08-11Now Endermans spawn in The Endtonibm191-0/+7
2013-08-11Added cWorld:QueueSaveAllChunks() function for saving chunks asynchronously.madmaxoft4-5/+125
2013-08-11cIsThread threads get a window identification on Win.madmaxoft1-0/+2
2013-08-11Each world now ticks in a separate thread.madmaxoft8-112/+135
2013-08-11Removed cServer::m_pState, dissolved into direct member variables.madmaxoft2-101/+75
2013-08-11cIsThread: Added the Stop() method and debugging output in Wait()madmaxoft2-22/+26
2013-08-11Moved MaxPlayers and Description from cWorld to cServer.madmaxoft8-186/+274
2013-08-11Added doxyComments for cIsThread.madmaxoft2-7/+13
2013-08-11Removed unneeded case clauseTiger Wang2-16/+13
2013-08-11Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft11-61/+230
2013-08-11Added an AllowEmptyStacks param to cItemGrid::HowManyCanFit().madmaxoft2-3/+6
2013-08-11Tried adding bracketTiger Wang1-1/+1
2013-08-11Further attempt at fixing torch placementsTiger Wang2-10/+10
2013-08-11Added OnPlayerAnimation() hook.madmaxoft6-0/+44
2013-08-10Attempt at fixing torch placementTiger Wang1-3/+5
2013-08-10Added back the required extra line in player.cppAlexander Harkness1-0/+1
2013-08-10Removed extra disconnect messageTiger Wang1-5/+0
2013-08-10Deleting cPlayer now does LOGD instead of LOGTiger Wang1-2/+1
2013-08-10Linux color redirection fixed.madmaxoft1-1/+1
2013-08-10Coloring is reset before the LF.madmaxoft2-7/+9
2013-08-10Another Linux compilation fix.madmaxoft1-0/+2
2013-08-10Fixed Linux build.madmaxoft1-1/+2
2013-08-10Disabled coloring for redirected output.madmaxoft2-17/+66
2013-08-10Use printf() instead of puts().madmaxoft1-4/+4
2013-08-10Bad preprocesor used for discovering Linuxmadmaxoft1-1/+1
2013-08-10Piston head, when removed, removes the associated piston body, too.madmaxoft3-1/+50
2013-08-10Fixed squid crashing the server when above or below the worldmadmaxoft1-1/+6
2013-08-10Renamed Plugin_NewLua to PluginLua.madmaxoft7-7/+18
2013-08-09First attempt at Linux console colorsmadmaxoft2-36/+47
2013-08-09Fixed stupid syntax error (thanks build system).Alexander Harkness1-1/+1
2013-08-09Keep players from taking damage when teleporting. (Hopefully).Alexander Harkness1-0/+1
2013-08-09Piston head, when removed, removes the associated piston body, too.madmaxoft3-1/+50
2013-08-09Fixed squid crashing the server when above or below the worldmadmaxoft1-1/+6
2013-08-09Renamed Plugin_NewLua to PluginLua.madmaxoft7-7/+18
2013-08-09Added OnExploding() and OnExploded() hooks.madmaxoft16-62/+686
2013-08-09Fixed some formatting issues I accidentally introducedJames Ravenscroft2-11/+14
2013-08-09Removed the need to recalculate whether player is under water in ApplyFoodExhaustionJames Ravenscroft2-16/+10
2013-08-09Added IsSwimming and IsSubmerged flags and access methodsJames Ravenscroft3-14/+43
2013-08-08Fixed the jump food exhaustion being added when player is swimmingJames Ravenscroft1-3/+8
2013-08-08Fixed food handler for mushroom soup - proper food level and saturation are applied and the player receives a wooden bowl back after nommingJames Ravenscroft3-0/+9
2013-08-08Fixed a copypasta error in hook function names.madmaxoft1-1/+1
2013-08-08Removed LuaScript.madmaxoft6-173/+128
2013-08-08cPlugin_NewLua is now completely rewritten to use templated LuaState calls.madmaxoft3-316/+179
2013-08-08cPlugin: Name now defaults to the plugin folder name.madmaxoft1-4/+5
2013-08-08LuaState refactoring: using templates for hook function calls.madmaxoft4-793/+668
2013-08-08cPlugin: Removed empty default implementation of virtual calls.madmaxoft2-628/+46
2013-08-08Made comments more readable by adding space between // and text content. Added /// doxygen syntax comments to declarationsJames Ravenscroft2-9/+9
2013-08-08Fixed the formatting issues in player cpp filesJames Ravenscroft2-39/+38
2013-08-08Made player drowning implementationJames Ravenscroft2-2/+56
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft24-38/+369
2013-08-07Removed Squirrel.madmaxoft16-1193/+1
2013-08-07Added cLineBlockTracer to the APImadmaxoft4-55/+296
2013-08-07Plugin: Fixed plugin name in the cLuaState's subsystemmadmaxoft1-1/+1
2013-08-07LuaScript: removed unused codemadmaxoft2-19/+0
2013-08-07cLuaState has reference management, param checking and a fixed destructor.madmaxoft2-4/+234
2013-08-06Now zombies spawn in Overworld during nighttonibm191-4/+3
2013-08-06cLuaScript now uses cLuaStatemadmaxoft4-242/+36
2013-08-06Fixed compilation in ManualBindingsmadmaxoft1-1/+1
2013-08-06cLuaState is used for pushing splits in ManualBindingsmadmaxoft1-23/+8
2013-08-06cLuaState now tracks the function name and number of argsmadmaxoft3-277/+459
2013-08-06cLuaState can now contain a detached LuaState, too.madmaxoft2-1/+89
2013-08-05Exported the cWorld:TryGetHeight() functionmadmaxoft2-4/+51
2013-08-05Exported cWorld:DoWithEntityByID() to Lua APImadmaxoft2-203/+294
2013-08-05Alpha-sorted the manual bindings' functions.madmaxoft1-13/+13
2013-08-05cIniFile now reads .example.ini if not requested not to.madmaxoft2-17/+7
2013-08-05Added the Carpet block.madmaxoft5-44/+104
2013-08-04LuaState refactoring: initial part.madmaxoft5-249/+439
2013-08-04cWorld: Added a self-test for LineBlockTracer, disabled by an #ifdef.madmaxoft1-0/+57
2013-08-04LineBlockTracer: Fixed initial errorsmadmaxoft2-7/+10
2013-08-04cItem: Removed a warning emitted when creating an item from airmadmaxoft1-1/+4
2013-08-04First attempt at implementing a cLineBlockTracer classmadmaxoft3-0/+446
2013-08-04Improved logging coloring performance on Windows.madmaxoft1-2/+4
2013-08-03Added cWorld::DoWithChunk() function.madmaxoft4-0/+31
2013-08-03Removed the unused BlockY parameter from cChunkDef::BlockToChunk()madmaxoft4-18/+17
2013-08-03Removed some stuff again.Alexander Harkness1-14/+0
2013-08-03Revert "Rm'd startup credits & mv'd to README"Alexander Harkness1-0/+17
2013-08-03Commented out groups spamTiger Wang1-3/+2
2013-08-03Rm'd startup credits & mv'd to READMETiger Wang1-17/+0
2013-08-03Updated inbuilt commands descriptionTiger Wang1-5/+4
2013-08-02AllToLua now resets the git status for the files.madmaxoft1-0/+22
2013-08-02Shift+clicking won't combine different item metas.madmaxoft1-1/+1
2013-08-02Alpha-sort the foodstuffs.bearbin1-13/+14
2013-08-02Add the new food items.bearbin1-16/+21
2013-08-02Implemented OnPlayerRightClickingEntity() hookmadmaxoft9-152/+223
2013-08-01New players get full healthmadmaxoft1-4/+5
2013-08-01ClientHandle: alpha-sorted the HandleXXX functions declarationsmadmaxoft1-15/+15
2013-07-31Implemented the actual tab completion for commands and playernames.madmaxoft4-17/+31
2013-07-30Tab completion packet is handled and sent.madmaxoft13-221/+346
2013-07-30Fixed inverted sanity check in SetGameMode()madmaxoft1-1/+1
2013-07-29Added the "Edit Sign" packet sent to the client placing a sign.madmaxoft10-0/+65
2013-07-29Updated the nightbuild script for Gitmadmaxoft2-2/+2
2013-07-29Changed everyting to Unix line endings.Alexander Harkness202-33396/+33396
2013-07-29WebAdmin: Removed the duplicate memory usage queryingmadmaxoft4-43/+16
2013-07-29Fixed formatting in LuaScript.*madmaxoft2-3/+40
2013-07-29Updated the automatic Lua bindingsmadmaxoft2-88/+223
2013-07-29WebAdmin templates can use LuaFakeTruth12-176/+1032
2013-07-28Player eating is now properly broadcast to other players.madmaxoft6-99/+263
2013-07-28Implemented basic eating support.madmaxoft7-63/+134
2013-07-28Hunger-per-distance is calculated only for the XZ distancemadmaxoft1-0/+1
2013-07-28Player food level is reset on respawnmadmaxoft1-0/+4
2013-07-28Added cPlayer::IsGameModeXXX() and cWorld::IsGameModeXXX() functions.madmaxoft3-2/+58
2013-07-27Fixed Window Titles being MCS-*Tiger Wang1-8/+7
2013-07-27Hunger: If a player dies the food level resets.STRWarrior1-1325/+1326
2013-07-26Removed debug-logging the player movement in each tickmadmaxoft@gmail.com1-1/+0
2013-07-26cItemGrid: ChangeSlotCount() now returns -1 if invalid SlotNummadmaxoft@gmail.com1-2/+2
2013-07-26cInventory: Added the ChangeSlotCount() function to the Lua APImadmaxoft@gmail.com4-2/+61
2013-07-24cEntity doesn't process physics / burning when in an invalid chunkmadmaxoft@gmail.com1-2/+8
2013-07-24Server shuts down when the stdin is closed (linux Ctrl+D / win Ctrl+Z)madmaxoft@gmail.com1-2/+11
2013-07-22cListenThread initializes m_ShouldReuseAddr to false (valgrind error)madmaxoft@gmail.com1-0/+1
2013-07-22Simulators don't simulate in invalid chunks (valgrind error)madmaxoft@gmail.com3-3/+3
2013-07-12Added a StringToMobType() function to the Lua API (patch contributed by STR_Warrior)madmaxoft@gmail.com4-2/+86
2013-07-12First implementation of movement-related hunger and APImadmaxoft@gmail.com6-146/+605
2013-07-11Added the cFastRandom classmadmaxoft@gmail.com2-0/+231
2013-07-08Server sends PlayerMaxSpeed after a respawn.madmaxoft@gmail.com2-1/+13
2013-07-08Color codes are stripped from the DC messagemadmaxoft@gmail.com1-1/+1
2013-07-081.6.2 protocol implemented, both in MCServer and in ProtoProxymadmaxoft@gmail.com6-2/+88
2013-07-08Pickups have an initial health of 5madmaxoft@gmail.com1-2/+2
2013-07-07World: More unused variables removed.madmaxoft@gmail.com1-3/+1
2013-07-07World: Removed an unused variablemadmaxoft@gmail.com1-1/+0
2013-07-07Squid: fixed a possible crash caused by access to a wrong chunkmadmaxoft@gmail.com1-4/+7
2013-07-07Ice is a solid block.madmaxoft@gmail.com1-1/+0
2013-07-07Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore.madmaxoft@gmail.com6-38/+38
2013-07-07Added StringUtils functions to Lua API; added StripColorCodes(); ChatLog now strips color codes from logged messages.madmaxoft@gmail.com5-8/+195
2013-07-07Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com9-26/+412
2013-07-07Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com19-560/+587
2013-07-05Declaring full 1.6.1 compatibilitymadmaxoft@gmail.com1-2/+2
2013-07-05Unmounting vehicles implemented in the 1.6.1 waymadmaxoft@gmail.com4-0/+52
2013-07-05Fixed 1.6.1's movement speedmadmaxoft@gmail.com3-4/+28
2013-07-05Initial 1.6.1 protocol support.madmaxoft@gmail.com5-1/+195
2013-07-05Fixed a crash when moving a player to a non-existent world (reported by tonibm19)madmaxoft@gmail.com1-1/+1
2013-07-03Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan)madmaxoft6-29/+74
2013-07-03Fixed player moving between worlds.madmaxoft@gmail.com5-33/+97
2013-07-01dtOnFire damage wasn't dealt properlymadmaxoft@gmail.com1-1/+1
2013-07-01Added DamageType translation to APImadmaxoft@gmail.com5-76/+243
2013-07-01Fixed burn / fire damage in each game tick.madmaxoft@gmail.com1-9/+6
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com71-1892/+2086
2013-06-29Fixed crouch-placing unplaceable items (FS #399)madmaxoft@gmail.com1-1/+1
2013-06-29Advanced RCON: Command output is sent to the RCON client.madmaxoft@gmail.com17-146/+375
2013-06-27Added a basic RCON protocolmadmaxoft@gmail.com6-29/+428
2013-06-25Added a warning when spawning an entity in a non-existent chunkmadmaxoft@gmail.com1-0/+3
2013-06-25Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code.madmaxoft@gmail.com8-55/+55
2013-06-24The weather doesn't change if the dimension is not Overworld.nielsbreu@gmail.com1-0/+6
2013-06-22Plugins can modify message in the OnChat() hook handler.madmaxoft@gmail.com9-13/+18
2013-06-22Added the End height and composition generators.madmaxoft@gmail.com10-24/+437
2013-06-22Made redstone lamps turn on when powered and turn off when not powered.nielsbreu@gmail.com1-0/+10
2013-06-22Dispensers spawn fire if it has Flint and steel.nielsbreu@gmail.com1-0/+16
2013-06-22TNT changes to primed TNT when powered by redstone.nielsbreu@gmail.com1-0/+8
2013-06-21Dispensers dispense primed TNTmadmaxoft@gmail.com5-8/+23
2013-06-21Explosions don't produce warnings in cBlockArea; fixed logging in cBlockAreamadmaxoft@gmail.com2-8/+14
2013-06-21Simulators are woken up after an explosion.madmaxoft@gmail.com6-8/+167
2013-06-20Updated the stacking (Patch contributed by Stephen304)madmaxoft@gmail.com2-2/+20
2013-06-20Furnace window progressbars are initialized when the window is openedmadmaxoft@gmail.com2-0/+4
2013-06-20Furnaces light up visually when they're cookingmadmaxoft@gmail.com9-39/+102
2013-06-20Implemented hopper outputmadmaxoft@gmail.com2-5/+233
2013-06-20Fixed a crash when placing new furnacesmadmaxoft@gmail.com1-0/+2
2013-06-19Improved commentmadmaxoft@gmail.com1-1/+2
2013-06-18Explosions do not effect the terrain when they are in water.nielsbreu@gmail.com1-0/+11
2013-06-18Crouching will allow block placement on otherwise functional blocks.madmaxoft@gmail.com1-2/+2
2013-06-18Added a crude limiter for explosions sent to client.madmaxoft@gmail.com2-2/+42
2013-06-18Added the API for spawning primed TNTsmadmaxoft@gmail.com2-2/+42
2013-06-18More TNT fixes.madmaxoft@gmail.com14-65/+78
2013-06-18TNT fixes.madmaxoft@gmail.com7-65/+85
2013-06-16Rewritten furnacesmadmaxoft@gmail.com15-364/+1019
2013-06-16cItem: Added useful utility functionsmadmaxoft@gmail.com2-3/+55
2013-06-16Added respawn screen when switching worlds.nielsbreu@gmail.com1-1/+2
2013-06-16Added an elaborative comment on the deadlock prevention codemadmaxoft@gmail.com1-1/+12
2013-06-15Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACKmadmaxoft@gmail.com2-17/+2
2013-06-15Fixed compilation on linux.nielsbreu@gmail.com1-1/+1
2013-06-15Entity: Added IsTNTnielsbreu@gmail.com2-1/+2
2013-06-15Entity: Added IsTNTnielsbreu@gmail.com1-1/+34
2013-06-15You can only sleep when the time is day, and beds explode if the dimension is not Overworld.nielsbreu@gmail.com1-11/+21
2013-06-15First attempt at fixing the inter-threading deadlocks between the tick thread and the socket threadmadmaxoft@gmail.com4-1/+39
2013-06-15Fixed Linux compilationmadmaxoft@gmail.com1-1/+2
2013-06-13Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com13-66/+607
2013-06-13cItemGrid: Added IsSlotEmpty() functionsmadmaxoft@gmail.com6-10/+113
2013-06-12ChestEntity: fixed bindingsmadmaxoft@gmail.com3-24/+6
2013-06-12Implemented the Hopper block handlermadmaxoft@gmail.com7-35/+95
2013-06-12Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return valuesmadmaxoft@gmail.com9-68/+92
2013-06-10Added dragon egg to falling blocks.nielsbreu@gmail.com1-0/+1
2013-06-09Fixed previous commit.nielsbreu@gmail.com3-707/+3275
2013-06-09Added SetTicksUntilWeatherChange/GetTicksUntilWeatherChange. to set/get the amount of ticks before the weather changes. Added SendBlockChange to Lua to create "fake" blocksnielsbreu@gmail.com4-3276/+823
2013-06-09Fixed 2 more tabs...faketruth1-1/+1
2013-06-09Converted spaces to tabsfaketruth1-21/+21
2013-06-09Added dead bush block handler so a dead bush pickup is dropped when the sand underneath it is removed.faketruth2-0/+49
2013-06-05Added LOGWARNING() function to Lua API, as a synonym to LOGWARN()madmaxoft@gmail.com1-2/+2
2013-06-04Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlersmadmaxoft@gmail.com21-560/+218
2013-06-04Implemented proper player crouching.madmaxoft@gmail.com6-8/+48
2013-06-04cEntity: fixed doxy commentsmadmaxoft@gmail.com1-4/+4
2013-06-04DistortedHeightmap: Added clay / sand / dirt selection on ocean floormadmaxoft@gmail.com2-3/+46
2013-06-04Fixed a crash when generating a chestmadmaxoft@gmail.com1-2/+4
2013-06-04Shears mask the leaves' metamadmaxoft@gmail.com1-1/+1
2013-06-04Fixed cItem::IsStackableWith()madmaxoft@gmail.com3-1/+20
2013-06-04Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com5-7/+126
2013-06-04ItemGrid: fixed changing item count when ToRemove == CurrentCountmadmaxoft@gmail.com1-1/+1
2013-06-04ToLuaDoxy: initial importmadmaxoft@gmail.com3-3/+9
2013-06-02LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com8-18/+19
2013-06-02Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com4-5/+89
2013-06-02Enchantments are now stored in Anvil world and in player inventorymadmaxoft@gmail.com4-7/+33
2013-06-02Shift + click doesn't "destroy" item enchantmentmadmaxoft@gmail.com1-5/+6
2013-06-02Enchantments: API and sending to clientmadmaxoft@gmail.com11-55/+1073
2013-06-02StringUtils: Fixed the HexDump in DEBUG modemadmaxoft@gmail.com1-4/+6
2013-06-01cItem constructor changed to create single-piece items when not given countmadmaxoft@gmail.com3-23/+106
2013-05-31Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slotsmadmaxoft@gmail.com5-8/+84
2013-05-30Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com8-9/+151
2013-05-30Window contents are sent whenever the window is opened by a player.madmaxoft@gmail.com4-3/+1
2013-05-30LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com15-57/+997
2013-05-30Implemented right-click inventory paintingmadmaxoft@gmail.com2-26/+55
2013-05-30Implemented left-click inventory paintingmadmaxoft@gmail.com7-29/+338
2013-05-28Fixed previous commitmadmaxoft@gmail.com2-3/+2
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com34-109/+157
2013-05-28Block entities now receive the cChunk param in their Tick() functionmadmaxoft@gmail.com10-51/+72
2013-05-28More dropspenser redstone interaction fixes.madmaxoft@gmail.com1-0/+7
2013-05-28Added a forgotten change to make dropspensers activate only once on redstone activationmadmaxoft@gmail.com1-1/+1
2013-05-28cChunk: Added the GetRelNeighborChunkAdjustCoords() functionmadmaxoft@gmail.com2-0/+73
2013-05-28Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-onlymadmaxoft@gmail.com6-5/+199
2013-05-27DropSpensers: Fixed activation when receiving redstone signal. Now only one item is dropspensed.madmaxoft@gmail.com3-14/+33
2013-05-26Fixed cItemGrid API, no more changeable GetSlot().madmaxoft@gmail.com9-87/+142
2013-05-26Clarified documentation on the cItemGrid:RemoveItem() functionsmadmaxoft@gmail.com2-2/+10
2013-05-26Block entities with storage now correctly mark the chunk as dirty when their contents change.madmaxoft@gmail.com6-34/+162
2013-05-26Implemented droppersmadmaxoft@gmail.com27-405/+1092
2013-05-26ItemGrid: Added the RemoveOneItem() functionmadmaxoft@gmail.com2-0/+53
2013-05-26Alpha-sorted the block meta listmadmaxoft@gmail.com1-75/+96
2013-05-25Added base Code::Blocks project (WIP, still doesn't compile) and fixed some source errors with MinGW.madmaxoft@gmail.com3-18/+33
2013-05-25Added all new bindings, refactored Debuggers; new Debuggers function.madmaxoft@gmail.com4-237/+460
2013-05-25Fixed WindowOwner implementationmadmaxoft@gmail.com1-3/+3
2013-05-25cChestEntity and cDispenserEntity now inherit from a common ancestor, cBlockEntityWithItemsmadmaxoft@gmail.com8-85/+186
2013-05-25Fixed the cWorld:DoWithChestAt(), DoWithDispenserAt() and DoWithFurnaceAt() callbacks binding.madmaxoft@gmail.com4-11/+27
2013-05-25Added sound to the vaporize simulator. FS #315 nielsbreu@gmail.com1-1/+2
2013-05-24Slight cleanup in the cInventory / cItemGrid APImadmaxoft@gmail.com6-41/+239
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com23-499/+1543
2013-05-24Added ItemCategory::IsArmor()madmaxoft@gmail.com1-0/+12
2013-05-21Fixed linking error from rev 1498madmaxoft@gmail.com3-11/+162
2013-05-21Entity: Switched detection of ground to use g_BlockIsSolid global variable.keyboard.osh@gmail.com1-16/+16
2013-05-21Added basic functions for width and height for Entitieskeyboard.osh@gmail.com1-11/+19
2013-05-20Stairs placement fix (patch contributed by Simi)madmaxoft@gmail.com1-1/+1
2013-05-19Fixed linux compilationmadmaxoft@gmail.com1-1/+1
2013-05-19Inventory changes made by plugins are now propagated to the clientmadmaxoft@gmail.com2-23/+18
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com22-196/+383
2013-05-19Fixed cWorld:ForEachEntity()madmaxoft@gmail.com1-1/+1
2013-05-19Empty permission is always grantedmadmaxoft@gmail.com1-1/+7
2013-05-19Fixed entity chunking.madmaxoft@gmail.com5-6/+24
2013-05-17Removed pickup loggingmadmaxoft@gmail.com2-4/+8
2013-05-16DistortedHeightmap: Rewritten to use the optimized cPerlinNoise and linear upscalingmadmaxoft@gmail.com2-121/+64
2013-05-15Moved noise debugging into the Noise.* filesmadmaxoft@gmail.com3-77/+93
2013-05-15Fixed 2D linear upscale to compile on Linux, added a test for it.madmaxoft@gmail.com3-32/+80
2013-05-15Pickup: fixed logging parameters causing a crash.madmaxoft@gmail.com1-3/+3
2013-05-14Noise3D generator is now using linear upscalingmadmaxoft@gmail.com8-56/+241
2013-05-13Added more logging to pickup collection code.madmaxoft@gmail.com1-0/+6
2013-05-13Added logging to pickup collection when a player is near and when collecting.madmaxoft@gmail.com1-0/+9
2013-05-12LinearUpscale: postfixed with InPlace to differentiate from a future src/dst versionmadmaxoft@gmail.com7-16/+22
2013-05-12Temporarily set all pickups to spawn in the middle of the block from which they fall.madmaxoft@gmail.com1-9/+25
2013-05-12Noise3D: cleanupmadmaxoft@gmail.com1-14/+18
2013-05-12DistortedHeightmap: Deserts are now covered with sand and mushroom islands with mycelium (patch contributed by STR_Warrior)madmaxoft@gmail.com1-3/+39
2013-05-12Renamed linear interpolation from Noise.h to a more proper LinearUpscale and moved it to a separate file.madmaxoft@gmail.com9-124/+91
2013-05-12cWorld: Temporary fix for FS #338madmaxoft@gmail.com1-0/+9
2013-05-12DistortedHeightmap: Added info comment about the parameters tablemadmaxoft@gmail.com1-1/+8
2013-05-12cItems: Added runtime bounds-checking to avoid server crashes with badly written plugins.madmaxoft@gmail.com4-79/+93
2013-05-11Converted the Noise3D generator to optimized noise and lerpmadmaxoft@gmail.com2-109/+183
2013-05-11Added generic LinearInterpolation in 1D, 2D and 3D.madmaxoft@gmail.com2-0/+311
2013-05-11Noise: Fixed optimized Cubic noise calculationmadmaxoft@gmail.com1-1/+64
2013-05-09Tiny formatting fix of rev 1463madmaxoft@gmail.com2-5/+5
2013-05-09Noise: Added an efficient 3D cubic noise generationmadmaxoft@gmail.com1-0/+252
2013-05-09Fixed a few out-of-bounds readsmadmaxoft@gmail.com2-7/+18
2013-05-09Fixed error while compiling.nielsbreu@gmail.com1-13/+41
2013-05-09function SpawnItemPickups is now exported to Lua. Lua is able to create a Items object.nielsbreu@gmail.com4-1/+179
2013-05-08Added 1.5.2 compatibility.madmaxoft@gmail.com4-4/+9
2013-05-08Refactored window clicking code to use different click actionsmadmaxoft@gmail.com12-130/+511
2013-05-07Please keep the lists alpha-sortedmadmaxoft@gmail.com1-3/+6
2013-05-07Sand can fall through snow.faketruth1-0/+3
2013-05-07Replaced MIN / MAX with std::min and std::max (pt 2)madmaxoft@gmail.com1-9/+7
2013-05-07Replaced MIN / MAX with std::min and std::maxmadmaxoft@gmail.com2-5/+5
2013-05-07Protocol132: Replaced magic numbers with symbolic packet namesmadmaxoft@gmail.com1-5/+8
2013-05-06Fixed player teleporting too far away ("Entity lost")madmaxoft@gmail.com1-3/+7
2013-05-06DistortedHeightmap: Optimized by linear interpolationmadmaxoft@gmail.com2-55/+89
2013-05-06DistortedHeightmap: Small optimizations, memory leak fix.madmaxoft@gmail.com4-2/+34
2013-05-06DistortedHeightmap: Slight speed increasemadmaxoft@gmail.com2-0/+11
2013-05-05Re-worked generator subobject ownership, added a cache for the CompositionGenmadmaxoft@gmail.com10-66/+187
2013-05-05Fixed Biomal CompoGen to set heightmap correctly when underwatermadmaxoft@gmail.com1-0/+1
2013-05-05Added the DistortedHeightmap height and composition generator.madmaxoft@gmail.com7-8/+486
2013-05-05Lighting: Fixed underwater lighting (FS #369)madmaxoft@gmail.com3-42/+74
2013-05-05ChunkDesc: Added heightmap verification (DEBUG-only), not used yetmadmaxoft@gmail.com3-1/+33
2013-05-05Entity: Now entites inside a cobweb slow down their speedkeyboard.osh@gmail.com1-8/+22
2013-05-04Explosion: Switched from a cube to a sphere. Implemented using cBlockArea and moved block changing code to ChunkMapkeyboard.osh@gmail.com3-31/+37
2013-05-01StringUtils: Fixed StringSplit to work with multiple delimitersmadmaxoft@gmail.com2-4/+5
2013-05-01FastNBT: Added cFastNBTTag::GetName()madmaxoft@gmail.com2-0/+8
2013-05-01File: Added file rename and deletion functionsmadmaxoft@gmail.com2-0/+24
2013-04-28TNT: Added physics to TNT entitykeyboard.osh@gmail.com1-0/+2
2013-04-28Fixed compilation on Linuxmadmaxoft@gmail.com3-7/+7
2013-04-28Entity: fixed mass declarationmadmaxoft@gmail.com1-1/+1
2013-04-28Fixed most of client slowdowns caused by sending too many block changes (bad condition in FastSetBlock)madmaxoft@gmail.com1-1/+1
2013-04-28cEntity: Added mass to entities.keyboard.osh@gmail.com2-0/+29
2013-04-28Added dtAdmin damage type for use in pluginsmadmaxoft@gmail.com3-2/+6
2013-04-28Pickup: Fixed a possible crash when a pickup went up above the world.madmaxoft@gmail.com1-15/+20
2013-04-28Added support for sending velocity and rotation in PACKET_SPAWN_MOB and PACKET_SPAWN_OBJECTkeyboard.osh@gmail.com3-27/+30
2013-04-28Added initialization of rotation in cEntity.keyboard.osh@gmail.com1-0/+1
2013-04-28Fixed crash with Minecart. It was getting added twice to the world and it was causing and ASSERT to fail.keyboard.osh@gmail.com1-1/+0
2013-04-28Increased Maximum speed to 78 blocks per secondkeyboard.osh@gmail.com1-6/+6
2013-04-27Noise3D: Re-fixed composition, finally no fake-tree remnantsmadmaxoft@gmail.com1-2/+4
2013-04-27Fixed server stopping after #363 fixmadmaxoft@gmail.com1-10/+10
2013-04-27Fixed a deadlockmadmaxoft@gmail.com2-17/+47
2013-04-27Noise3D: Fixed composition when reusing the buffer (caused chopped trees)madmaxoft@gmail.com1-0/+4
2013-04-27Noise3D made into Composable - both a HeightGen and a CompositionGenmadmaxoft@gmail.com4-4/+313
2013-04-27Fixed a few possible crashes upon server stopmadmaxoft@gmail.com1-3/+5
2013-04-27Noise3D: Made settable through INI, added slight height control, added basic compositingmadmaxoft@gmail.com2-49/+154
2013-04-27Noise3D: Shifted to normal groundlevel, added water on sealevelmadmaxoft@gmail.com1-2/+17
2013-04-27Fixed a crash in the plugin reload code.madmaxoft@gmail.com1-2/+12
2013-04-27New terrain generator - Noise3D.madmaxoft@gmail.com3-2/+228
2013-04-27Fixed a few possible crashes with out-of-bounds Y coordsmadmaxoft@gmail.com2-1/+16
2013-04-25Initial version of "DistortedMembraneOverhangs"madmaxoft@gmail.com3-1/+72
2013-04-24Added the initial version of DirectOverhangsmadmaxoft@gmail.com3-0/+138
2013-04-24MultiStepMap BiomeGen: made 3x faster by using 2D noise instead of 3D noise.madmaxoft@gmail.com2-20/+32
2013-04-24Added a (commented-out) performance test for biome generatormadmaxoft@gmail.com1-0/+13
2013-04-24Noise: Removed the reference to Noise.incmadmaxoft@gmail.com1-8/+0
2013-04-22HeiGenBiomal: interpolate in 4x4 blocks on float valuesmadmaxoft@gmail.com2-15/+17
2013-04-22Fixed underwater sand / dirt generator noise frequencymadmaxoft@gmail.com1-1/+1
2013-04-22Generator: Added notes of failed optimization attemptsmadmaxoft@gmail.com3-25/+37
2013-04-22Noise: Implemented 2D Perlin noise, removed unused parameters.madmaxoft@gmail.com2-21/+188
2013-04-22Added a (commented-out) performance test for cHeiGenBiomal and cCompoGenBiomalmadmaxoft@gmail.com1-0/+28
2013-04-22Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs.keyboard.osh@gmail.com7-274/+207
2013-04-19Slight performance improvements in cWorld::DoExplosiontAt()madmaxoft@gmail.com1-3/+5
2013-04-19Fixed Linux compilation, slight code cleanupmadmaxoft@gmail.com9-46/+47
2013-04-19cPlayer now uses BroadcastMovementUpdate during its Tick functionkeyboard.osh@gmail.com1-40/+6
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com17-2/+266
2013-04-17Noise: removed the unused SSE branches and unused interpolation methods. Removed the Noise.inc file.madmaxoft@gmail.com3-477/+247
2013-04-17Making float the default datatype for noise calculation (it's faster on ARM and same-speed on x86)madmaxoft@gmail.com1-1/+1
2013-04-16Implemented the new cCubicNoise in 2Dmadmaxoft@gmail.com2-14/+402
2013-04-13Proper entity removal functionsmadmaxoft@gmail.com5-55/+31
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com49-581/+690
2013-04-11Fixed a bit of coding style and function names in cItemmadmaxoft@gmail.com4-67/+80
2013-04-10Dispensers rewritten to use ItemGridmadmaxoft@gmail.com8-154/+198
2013-04-10Fixed gcc buildmadmaxoft@gmail.com1-10/+12
2013-04-10ItemGrid: Renamed all Item to Slot - better and consistent namingmadmaxoft@gmail.com7-114/+114
2013-04-10Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.madmaxoft@gmail.com14-115/+1313
2013-04-09Fixed chunk possibly writing to uninitialized memorymadmaxoft@gmail.com1-0/+12
2013-04-09Added Expat and LuaExpat, XML parsing now available in the API.madmaxoft4-0/+1331
2013-04-07Anvil loader: fixed Vanilla biomes not being readmadmaxoft@gmail.com1-1/+1
2013-04-07Fixed an assert in entities when destroying an entity without ever initializing itmadmaxoft@gmail.com1-2/+5
2013-04-07Added SQLite and LuaSQLite, Lua plugins can now use SQLite.madmaxoft@gmail.com5-0/+147483
2013-04-07Fixed bug in entities movement: Corrected proper flooring of double values for the relative move packet, and teleport packet. Also, made the velocity packet to be sent first than the positions packets.keyboard.osh@gmail.com2-14/+16
2013-04-06Mineshafts: randomized start position, tweaked default generator parameters; removed debugging glass pillars.madmaxoft@gmail.com2-27/+21
2013-04-06Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com13-66/+420
2013-04-06Cobwebs are now washed away by water and can be broken by swords and shears, giving string.madmaxoft@gmail.com5-2/+35
2013-04-06Mineshafts: Added a (nonworking) mob spawner in cobweb spider nests.madmaxoft@gmail.com1-1/+44
2013-04-06MineShafts: made cobwebs less thickmadmaxoft@gmail.com1-5/+10
2013-04-06Tracer: removed the "start and end in the same block" warning, it is a normal condition.madmaxoft@gmail.com1-29/+59
2013-04-05Added carrots and potatoes handling, bonemealing and proper lighting.madmaxoft@gmail.com7-11/+106
2013-04-04Fixed personal crafting grid not being tossed on inventory close.madmaxoft@gmail.com10-36/+22
2013-04-04Fixed CreateHexDump() filling the string with garbagemadmaxoft@gmail.com1-0/+1
2013-04-03Fixed crops producing pickups for creative mode players.madmaxoft@gmail.com1-8/+4
2013-04-03Added a debugging log for melon-growing to catch FS #349madmaxoft@gmail.com1-0/+5
2013-04-03Server: removed the artificial cap on reported tick durationmadmaxoft@gmail.com1-7/+4
2013-04-03Fixed bug with Rotation not getting properly wrapped after being set.keyboard.osh@gmail.com1-0/+2
2013-04-02Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdatekeyboard.osh@gmail.com5-40/+84
2013-04-01Cobweb lets light through.madmaxoft@gmail.com1-0/+1
2013-04-01Proper fix for FS #347. Also unification of ticking block entities.madmaxoft@gmail.com8-141/+44
2013-04-01Hotfix for FS #347.madmaxoft@gmail.com1-7/+13
2013-04-01Pawn, Player: fixed asserts when teleporting players outside of the world (setting spawn Y to 256)madmaxoft@gmail.com2-10/+27
2013-04-01ListenThread: Fixed socket-querying, might have crashed some linux versions.madmaxoft@gmail.com1-1/+1
2013-04-01MineShafts: added random torches, fixed beams on chunk boundariesmadmaxoft@gmail.com2-9/+100
2013-03-31MineShafts: Added tracks to corridorsmadmaxoft@gmail.com4-9/+60
2013-03-31cChunkDesc: Added the RandomFillRelCuboid() functionmadmaxoft@gmail.com4-3/+153
2013-03-31MineShafts: Limited the mineshafts generation into a settable-size cuboidmadmaxoft@gmail.com1-10/+21
2013-03-31cCuboid: Added the IsCompletelyInside() functionmadmaxoft@gmail.com4-2/+56
2013-03-31MineShafts: Added (empty) chests and spiderwebs around (still missing) spawnersmadmaxoft@gmail.com1-4/+82
2013-03-31BlockArea: Added runtime check for coords in Debug modemadmaxoft@gmail.com1-0/+7
2013-03-31MineShafts: User-settable chance of individual pieces' occurence. Staircase-only mineshafts, yay :)madmaxoft@gmail.com3-29/+35
2013-03-31MineShafts: Staircases have further connections behind them.madmaxoft@gmail.com1-1/+8
2013-03-31MineShafts: Added staircases; added floors to mineshafts going through watermadmaxoft@gmail.com1-4/+173
2013-03-31Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()madmaxoft@gmail.com6-2/+204
2013-03-30MineShafts: Set the default GridSize to 256madmaxoft@gmail.com1-1/+1
2013-03-30MineShafts: Added branching crossingsmadmaxoft@gmail.com1-7/+132
2013-03-30ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords.madmaxoft@gmail.com4-33/+170
2013-03-30MineShafts: added supports in corridorsmadmaxoft@gmail.com1-11/+103
2013-03-30MineShafts: Added branching corridorsmadmaxoft@gmail.com1-3/+67
2013-03-30cTracer: Fixed asserts for invalid coordsmadmaxoft@gmail.com1-6/+26
2013-03-29MineShafts: implemented basic corridors, without any embellishments or branching yet.madmaxoft@gmail.com3-29/+142
2013-03-29Cuboid: Fixed intersection calculationmadmaxoft@gmail.com2-1/+16
2013-03-29ChunkDesc: Cuboid-based manipulationmadmaxoft@gmail.com4-2/+181
2013-03-29Cuboid: Added DoesIntersect(), more IsInside() and more constructorsmadmaxoft@gmail.com4-4/+310
2013-03-29ListenThread now reports the protocol used (IPv4 - IPv6) in its error messagesmadmaxoft@gmail.com1-8/+8
2013-03-29MineShafts: backup commit with initial work, still unusable.madmaxoft@gmail.com3-1/+639
2013-03-29Cuboid: Added the DifX/Y/Z functionsmadmaxoft@gmail.com4-113/+232
2013-03-26BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.madmaxoft@gmail.com5-13/+317
2013-03-26cBlockArea: Fixed type / meta copypasta errors in mirroring and rotation codemadmaxoft@gmail.com2-13/+43
2013-03-25BlockArea: Implemented rotation without meta manipulationmadmaxoft@gmail.com1-6/+76
2013-03-25BlockArea: Implemented mirroring without meta manipulationmadmaxoft@gmail.com4-4/+942
2013-03-25Fixed underflow issue in LeakFinder.cppkeyboard.osh@gmail.com1-6/+42
2013-03-24Tweaked LeakFinder for VC2012 debug build (too much housekeeping info allocated)madmaxoft@gmail.com1-1/+13
2013-03-24LeakFinder: Fixed previous commit, housekeeping is now factored in properly in both "alloc" and "free".madmaxoft@gmail.com1-2/+2
2013-03-24LeakFinder: Factored in the housekeeping overheadmadmaxoft@gmail.com1-4/+9
2013-03-24Changed memory leak detection value to 65970823. Also added support for compiling in Visual Studio 2012.keyboard.osh@gmail.com1-2/+2
2013-03-24Made MultiStepMap BioGen the defaultmadmaxoft@gmail.com1-8/+8
2013-03-24Fixed rounding error in MultiStepMap BioGen, introduced in rev 1289.madmaxoft@gmail.com3-13/+71
2013-03-23Fixed a problem in Linux handling of ListenThread.madmaxoft@gmail.com1-1/+4
2013-03-23Added auto-kill-with-dump to LeakFinder if the allocated memory grows over 1 GiB.madmaxoft@gmail.com3-85/+147
2013-03-23Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions.keyboard.osh@gmail.com6-24/+107
2013-03-22Re-tweaked WormNestCaves for more reasonable cave sizesmadmaxoft@gmail.com1-7/+14
2013-03-22Fixed block update queueing and water meta change not propagated to clients.madmaxoft@gmail.com3-24/+87
2013-03-22WormNestCaves: tweaked a bit not to produce the single-block holes in the floormadmaxoft@gmail.com1-5/+5
2013-03-22Simulator: fixed a problem when manipulating the bedrock layermadmaxoft@gmail.com1-2/+8
2013-03-22Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members.keyboard.osh@gmail.com10-135/+257
2013-03-20DelayedFluidSimulator: optimized block storage for large amounts of blocks.madmaxoft@gmail.com2-20/+62
2013-03-20HeiGenBiomal: added a fast but ugly-looking optimization, disabled by default.madmaxoft@gmail.com1-0/+25
2013-03-20Alpha-sorted the generators in ComposableGeneratormadmaxoft@gmail.com1-15/+15
2013-03-19Optimized BioGen-MultiStepMap's performance by using linear interpolation, about 25 % increase in total chunk generation speed.madmaxoft@gmail.com2-6/+11
2013-03-19Updated bindings for new cChunkDesc functionsmadmaxoft@gmail.com2-4/+7
2013-03-19Lakes: added a limiter, better height distributionmadmaxoft@gmail.com3-11/+22
2013-03-19The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator.madmaxoft@gmail.com11-171/+324
2013-03-19Trees: fixed a glitch in large jungle trees' leaves (1 column was missing)madmaxoft@gmail.com1-1/+1
2013-03-18Fixed a copypasta error in cChunkDesc's BlockArea writermadmaxoft@gmail.com1-2/+2
2013-03-18Added support for the packet #28 (0x1C): ENTITY_VELOCITYkeyboard.osh@gmail.com13-0/+84
2013-03-17Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging)madmaxoft@gmail.com16-662/+444
2013-03-17ProbabDistrib: fixed definition string parsing with nonzero startmadmaxoft@gmail.com1-1/+2
2013-03-17Fluid simulator: fixed an out-of-bounds read when determining fluid directionmadmaxoft@gmail.com1-2/+5
2013-03-17Fixed zero-probability height distribution in FluidSprings finishermadmaxoft@gmail.com1-4/+11
2013-03-15Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking.madmaxoft@gmail.com22-226/+418
2013-03-14Small performance improvements in fluid simulator.madmaxoft@gmail.com4-31/+41
2013-03-14Removed the Classic fluid simulator, it was too unstable (2nd attempt)madmaxoft@gmail.com1-2/+2
2013-03-14Removed the Classic fluid simulator, it was too unstablemadmaxoft@gmail.com3-639/+7
2013-03-14Release 1.5 supported, yay :)madmaxoft@gmail.com5-9/+108
2013-03-14Added a Noop fluid simulator that doesn't do anything with the fluid (fluid doesn't spread at all, behaves like a normal block)madmaxoft@gmail.com2-0/+46
2013-03-14Fix for the Vaporize fluid simulator when loading chunks.madmaxoft@gmail.com2-1/+3
2013-03-14Added a Vaporize fluid simulator that simply replaces fluid blocks with air.madmaxoft@gmail.com3-0/+94
2013-03-14Added water and lava springs.madmaxoft@gmail.com10-11/+512
2013-03-14Changed DelayedFluidSimulatorData to be a vector rather than a list, performance doubled :)madmaxoft@gmail.com3-8/+9
2013-03-11Initial nether composition generatormadmaxoft@gmail.com7-8/+164
2013-03-11Fixed a crash in LeakFinder when out of memorymadmaxoft@gmail.com1-0/+5
2013-03-11Anvil: Removed excessive debugging outputmadmaxoft@gmail.com1-3/+0
2013-03-09Minecarts get saved into Anvil.madmaxoft@gmail.com4-11/+47
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com32-439/+1209
2013-03-05Fixed random teleporting into the void when leaving minecartsmadmaxoft@gmail.com1-4/+9
2013-03-05Made ListenThread an OSSupport part, as it's generic enoughmadmaxoft@gmail.com3-3/+3
2013-03-05IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the addressmadmaxoft@gmail.com2-3/+20
2013-03-05IPv6 support: fixed IP string getting on accept()madmaxoft4-17/+23
2013-03-05Fixed logic in socketthreads connectingmadmaxoft@gmail.com1-2/+2
2013-03-05Listening ports are now loggedmadmaxoft@gmail.com1-1/+1
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com13-591/+194
2013-03-04Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com8-114/+343
2013-03-04Removed the unused cHeartbeat objectmadmaxoft@gmail.com2-171/+0
2013-03-04Starting an IPv6 support / cSocket rewritemadmaxoft@gmail.com4-16/+35
2013-03-03Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com21-84/+448
2013-03-03Simulators are woken up upon chunk loadmadmaxoft@gmail.com3-0/+45
2013-03-03Redstone simulator: adding a block now checks if the neighbors are redstone-related; if not, the block is ignored.madmaxoft@gmail.com1-107/+144
2013-03-03FinishGen: Fixed sand collapsing and fluid stationarizingmadmaxoft@gmail.com1-3/+14
2013-03-03Simulators now check if they are given a valid chunkmadmaxoft@gmail.com2-0/+10
2013-03-03Added missing item types, fixed placing stone walls.madmaxoft@gmail.com4-19/+58
2013-03-03SandSimulator: Fixed sand dropping on half-slabs; added more blocks that break falling sand into pickups, fixed instant-fallmadmaxoft@gmail.com3-37/+61
2013-03-02cSandSimulator: implemented InstantFallmadmaxoft@gmail.com1-1/+27
2013-03-02Rewritten SandSimulator to use direct chunk access; and sand falling on torches now creates a pickup.madmaxoft@gmail.com8-89/+283
2013-03-02Added the anvil blockmadmaxoft@gmail.com1-0/+1
2013-03-02Presimulator finisher now drops sand and gravel through fire blocks as wellmadmaxoft@gmail.com1-0/+1
2013-03-02DelayedFluidSimulator: removed an obnoxious debugging outputmadmaxoft@gmail.com1-4/+0
2013-03-02Floody fluid simulator has been converted to use direct chunk accessmadmaxoft@gmail.com7-136/+230
2013-03-02Fixed gcc compilationmadmaxoft@gmail.com1-2/+2
2013-03-01New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data.madmaxoft@gmail.com9-121/+386
2013-03-01Previous commit was missing the Entity.h filemadmaxoft@gmail.com1-4/+8
2013-03-01Updated cEntity API; removed functions that are unusable from Lua, added a few query functions.madmaxoft@gmail.com2-176/+454
2013-02-28Fixed previous commit.madmaxoft@gmail.com1-1/+1
2013-02-28Fixed a bug in cChunk::QueueTickBlockNeighbors() that caused the tick thread to overload easilymadmaxoft@gmail.com1-3/+1
2013-02-28Converted simulators to take cWorld reference instead of a pointermadmaxoft@gmail.com19-135/+166
2013-02-28Simulators now have direct access to the cChunk object in the WakeUp() callmadmaxoft@gmail.com21-125/+230
2013-02-27Fixed a copypasta error from rev 1224madmaxoft@gmail.com1-1/+1
2013-02-27Minecart entity now supports IsA() self-identificationmadmaxoft@gmail.com2-6/+10
2013-02-27Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it.madmaxoft@gmail.com5-12/+14
2013-02-25AnvilStats: Added ChunkExtract mode of operation, splitting Anvil files into individual chunks.madmaxoft@gmail.com3-5/+6
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com17-385/+180
2013-02-21Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands.madmaxoft@gmail.com8-14/+98
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com14-16/+278
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com21-330/+59
2013-02-15Fixed previous commitmadmaxoft@gmail.com1-1/+1
2013-02-15Block and recipe update by STR_Warrior.madmaxoft1-1/+17
2013-02-15Plugins can now bind console commandsmadmaxoft@gmail.com13-225/+621
2013-02-14Fixed one-hit-blocks not being broken server-sidemadmaxoft@gmail.com1-2/+4
2013-02-13Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand()madmaxoft@gmail.com3-4/+80
2013-02-13Implemented the cBlockArea:RelLine() API function.madmaxoft@gmail.com2-1/+141
2013-02-13Added HOOK_WEATHER_CHANGING.madmaxoft@gmail.com12-106/+228
2013-02-11Added a forgotten part of the cBlockArea::FillRelCuboid() function.madmaxoft@gmail.com1-0/+21
2013-02-11More API functions in cBlockArea: Create(), Fill(), FillRelArea()madmaxoft@gmail.com4-5/+360
2013-02-10Added cBlockArea:Merge() API function to merge two block areas using different strategies.madmaxoft@gmail.com4-9/+259
2013-02-10Fixed ASSERT / VERIFY mismatch in ManualBindings' error handlingmadmaxoft@gmail.com1-4/+4
2013-02-10Removed useless logging from cEntity::GetLookVector()madmaxoft@gmail.com2-11/+10
2013-02-10cBlockArea: Added empty NBT tags to schematic file saving for better compatibility.madmaxoft@gmail.com1-0/+5
2013-02-09Added cBlockArea:Expand() API function (untested)madmaxoft@gmail.com4-2/+143
2013-02-08cChunkDesc can now read and write cBlockAreas.madmaxoft@gmail.com7-15/+478
2013-02-08Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities.madmaxoft@gmail.com9-202/+394
2013-02-07Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.madmaxoft@gmail.com4-2/+121
2013-02-07cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com8-7/+121
2013-02-07Added a sanity check to cBlockArea:Crop()madmaxoft@gmail.com1-0/+13
2013-02-07Added a cGZipFile class for reading GZipped files.madmaxoft@gmail.com5-26/+139
2013-02-06cBlockArea can now be loaded from a .schematic file.madmaxoft@gmail.com4-3/+170
2013-02-06Added a new API call to cBlockArea: Crop().madmaxoft@gmail.com4-4/+138
2013-02-05Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.madmaxoft@gmail.com13-30/+309
2013-02-03BiomeVisualiser: initial importmadmaxoft@gmail.com3-8/+12
2013-02-03Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorldfaketruth6-403/+421
2013-02-02Moved BioGen parameter reading from cComposableGenrator into each BioGen itselfmadmaxoft@gmail.com4-48/+96
2013-02-02Fixed GCC error in ManualBindingsmadmaxoft@gmail.com1-1/+1
2013-02-01Another GCC fix, hopefully this one will workmadmaxoft@gmail.com1-3/+3
2013-02-01Fixed GCC compilationmadmaxoft@gmail.com1-1/+3
2013-02-01Simplified cWorld::FindAndDoWithPlayer()madmaxoft@gmail.com2-12/+9
2013-02-01Moved command API into cPluginManager.madmaxoft@gmail.com11-567/+606
2013-01-28Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.madmaxoft@gmail.com9-28/+25
2013-01-28Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com9-19/+19
2013-01-27cItems: Fixed parameter names according to conventionsmadmaxoft@gmail.com1-4/+4
2013-01-27Added cItems to Lua API.madmaxoft@gmail.com6-342/+311
2013-01-27Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com19-85/+80
2013-01-27Removed cMCLogger from Lua APImadmaxoft@gmail.com3-155/+8
2013-01-26Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.madmaxoft@gmail.com6-10/+10
2013-01-25Merged the usable portion of the "gens" branch.madmaxoft@gmail.com26-788/+1098
2013-01-25Adjusted Biomal height generator to have less hills in the rivers.madmaxoft@gmail.com1-21/+21
2013-01-24A brand new biome generator: cBioGenMultiStepMap.madmaxoft@gmail.com3-0/+359
2013-01-22Obsoleted E_BLOCK_COCA_PLANT in favor of E_BLOCK_COCOA_POD.madmaxoft@gmail.com1-1/+2
2013-01-21Fixed a possible crash on server restart.madmaxoft@gmail.com1-0/+1
2013-01-20Fixed piston placement.madmaxoft@gmail.com1-1/+1
2013-01-18Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.madmaxoft@gmail.com5-7/+8
2013-01-14Fixed missing bindings in cPluginmadmaxoft@gmail.com3-8/+105
2013-01-13Added missing dig status.luksor111@gmail.com2-0/+7
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com113-5329/+3556
2013-01-08Fixed rclk in doublechestsmadmaxoft@gmail.com4-12/+84
2013-01-06Fixed disappearing pickups - wrong physics simulation.madmaxoft@gmail.com1-30/+40
2013-01-05Added version 1.4.7 to the list of supported versions.madmaxoft@gmail.com1-1/+1
2013-01-05Not sending multiple DC packets to the client.madmaxoft@gmail.com2-7/+11
2013-01-04Floody fluid simulator can create sourceblocks (configurable in World.ini)madmaxoft@gmail.com3-9/+78
2013-01-04cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methodsmadmaxoft@gmail.com4-2/+130
2012-12-29Fixed compilation error in BlockCauldron.h on Linuxluksor111@gmail.com1-2/+4
2012-12-29Cauldrons and Brewing Stands are now placeableluksor111@gmail.com8-0/+151
2012-12-28cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com6-108/+45
2012-12-27Fixed OnBlockPlace hookluksor111@gmail.com1-10/+10
2012-12-27Fixed slab usage in creative modeluksor111@gmail.com4-9/+17
2012-12-27Fixed Linux compilationluksor111@gmail.com1-3/+6
2012-12-27Fixed 1.4.6 falling blocks.madmaxoft@gmail.com1-15/+7
2012-12-27ProtoProxy: Fixed 1.4.6 compatibility with vehicles, logging for entity metadata.madmaxoft@gmail.com1-0/+5
2012-12-27Added flower potsluksor111@gmail.com6-25/+141
2012-12-26Dispensers can spawn mobsluksor111@gmail.com1-10/+19
2012-12-26Dispensers can dispense items and liquids nowluksor111@gmail.com10-3/+320
2012-12-26Adjusted the protocol framework to support different types of falling block spawning.madmaxoft@gmail.com11-30/+104
2012-12-24Added 1.4.6 items (patch contributed by STR_Warrior)madmaxoft@gmail.com1-2/+7
2012-12-24Added the 1.4.6 protocolmadmaxoft@gmail.com13-79/+191
2012-12-22PreSimulator finisher should now drop blocks through water and lava (untested)madmaxoft@gmail.com1-0/+4
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com31-166/+404
2012-12-22Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com37-220/+122
2012-12-21Fixed linux compilationmadmaxoft@gmail.com1-2/+0
2012-12-21Added sounds to levers and mobsluksor111@gmail.com23-1/+57
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com15-160/+228
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com60-381/+308
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com62-1068/+2460
2012-12-21Extended player inventory by direct r/o access to armor slotsmadmaxoft@gmail.com1-0/+7
2012-12-21Replaced "const double &" with plain "double" for simplicitymadmaxoft@gmail.com4-43/+45
2012-12-20Fixed a crash in redstone simulator when destroying blocks in Y < 2madmaxoft@gmail.com1-0/+4
2012-12-20Fixed a bool evaluation warning in BlockDoor.hmadmaxoft@gmail.com1-1/+1
2012-12-20Removed chat messages from consoleluksor111@gmail.com1-1/+0
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com18-59/+525
2012-12-19Implemented double doorsluksor111@gmail.com5-11/+86
2012-12-17Fixed time calculation in cWorld::Tick()madmaxoft@gmail.com1-2/+2
2012-12-16cPiston refactoring to use cWorld::GetBlockTypeMeta() and proper typesmadmaxoft@gmail.com1-72/+108
2012-12-16Made WormNest caves generate smaller.madmaxoft@gmail.com1-3/+29
2012-12-16RedstoneSimulator refactoring to use cWorld::GetBlockTypeMeta() as much as possiblemadmaxoft@gmail.com2-299/+389
2012-12-16Levers (patch contributed by Keyboard)madmaxoft@gmail.com5-12/+209
2012-12-15Fixed fall damage againluksor111@gmail.com2-1/+3
2012-12-14cChunk now tracks its neighbors as direct pointers; used in UnboundedRelGetBlock et al.madmaxoft@gmail.com4-13/+224
2012-12-14Fixed cCriticalSection's debugging functionsmadmaxoft@gmail.com2-5/+10
2012-11-27Fixed warnings in Player.cppluksor111@gmail.com1-2/+2
2012-11-27Added initial adventure mode supportluksor111@gmail.com6-7/+41
2012-11-26Furnace now lights up when smelting itemsluksor111@gmail.com1-0/+2
2012-11-26Fixed certain blocks crashing clients when minedluksor111@gmail.com6-5/+34
2012-11-25Rails don't turn grass into dirt underneath them. (Patch contributed by STR_Warrior)madmaxoft@gmail.com1-0/+3
2012-11-25Implemented rail placement mechanics.luksor111@gmail.com2-0/+319
2012-11-24Fixed drops for: Stone, Mycelium, Redstone Torch.luksor111@gmail.com6-6/+41
2012-11-22ByteBuffer: Fixed buffer overrun possibility.madmaxoft@gmail.com1-1/+3
2012-11-22More ByteBuffer checks: Is it used from a single thread only?madmaxoft@gmail.com2-0/+74
2012-11-22SocketThreads fixes for crashes reported in FS #272madmaxoft@gmail.com3-11/+15
2012-11-20Added "primaryserverversion" to the "help" list.madmaxoft@gmail.com1-0/+1
2012-11-20Added primary server version interface to cRoot and "primaryserverversion" console command.madmaxoft@gmail.com4-2/+92
2012-11-20Aggressive debug mode cByteBuffer validity checking.madmaxoft@gmail.com5-22/+98
2012-11-20Adjusted the default for chunk generator structures.madmaxoft@gmail.com1-1/+1
2012-11-20Biome lists can have ":count" in them for adjusting biome occurence rate. Some more error logging.madmaxoft@gmail.com2-2/+25
2012-11-18Fixed wrong c++ standard assumptions about bools.madmaxoft@gmail.com2-4/+16
2012-11-18CraftingRecipes parse now dumps lines it cannot parse.madmaxoft@gmail.com1-0/+5
2012-11-16Android: Made the initial pre-calculated spawn area smallerfaketruth5-44/+65
2012-11-16Fixed boolean comparison.madmaxoft@gmail.com5-11/+11
2012-11-16Removed log message when spawning players on a client.madmaxoft@gmail.com1-1/+1
2012-11-16Fixed crashes caused LightingThread overwriting memory where it shouldn't (yay valgrind!)madmaxoft@gmail.com2-4/+9
2012-11-15- Added the "wait" music discluksor111@gmail.com6-12/+15
2012-11-15More valgrind fixesmadmaxoft@gmail.com3-6/+5
2012-11-15Added an assert for unknown protocol, so that the function isn't missed when upgrading to a new protocol.madmaxoft@gmail.com1-0/+1
2012-11-15Added support for 1.4.4 client, using the 1.4.2 protocol classmadmaxoft@gmail.com3-14/+44
2012-11-15Added a Printf() function that returns a new AString by value.madmaxoft@gmail.com2-1/+18
2012-11-13More valgrind uninitialized var fixingmadmaxoft1-2/+12
2012-11-13Fixed a valgrind error in lighting thread (uninitialized var value)madmaxoft1-0/+1
2012-11-12Fixed block breaking in survival.luksor111@gmail.com2-4/+20
2012-11-11Added DeadBushes finisher (initial patch by STR_Warrior; DeathBushes FTW!)madmaxoft@gmail.com3-19/+125
2012-11-11Removed an unused obsolete function chain - cWorld::GetChunkBlockData()madmaxoft@gmail.com6-47/+1
2012-11-11Settings.ini is read only once on server startmadmaxoft@gmail.com3-39/+38
2012-11-11PrimaryServerVersion is not force-saved into settings.ini. madmaxoft@gmail.com2-3/+14
2012-11-11Cleanup: Removed deprecated functions from Lua APImadmaxoft@gmail.com6-128/+2
2012-11-11Hopefully a fix for crash when chunks are added to a client being destroyed.madmaxoft@gmail.com4-18/+37
2012-11-11Fixed FS #268 - if a block entity breaking is disallowed by a plugin, the entire blockentity is sent back to the clientmadmaxoft@gmail.com1-6/+12
2012-11-10Made settings.ini default to settings.example.ini when it doesn't existfaketruth1-1/+6
2012-11-10Fixed a bug introduced in rev 1023 (ThuGie's crash)madmaxoft@gmail.com1-4/+7
2012-11-10Protocol 1.4.2: found out and fixed the reason behind the fake "login" packet: the locale_viewdistance packet had been extendedmadmaxoft@gmail.com2-3/+11
2012-11-08Removed the SquirrelVM.madmaxoft@gmail.com13-17/+272
2012-11-07Hotfix for ThuGie's crash, with a sanity check in debug mode.madmaxoft1-1/+2
2012-11-01Refactored the world time.madmaxoft@gmail.com23-136/+326
2012-11-01Added Bats and Witches.luksor111@gmail.com5-0/+132
2012-10-31Pickups no longer crash clients.luksor111@gmail.com2-2/+22
2012-10-31Initial 1.4.2 support.luksor111@gmail.com4-2/+159
2012-10-31Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com6-12/+100
2012-10-28Fixed gcc compilationmadmaxoft@gmail.com1-1/+1
2012-10-28Fixed NBT IntArray serialization; Biomes are now saved to / loaded from Anvilmadmaxoft@gmail.com3-14/+76
2012-10-28Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua APImadmaxoft@gmail.com6-201/+291
2012-10-27Fixed more valgrind issuesmadmaxoft@gmail.com3-20/+16
2012-10-26Critical sections aren't heap-allocated in linux anymore.madmaxoft@gmail.com2-31/+27
2012-10-26Fixed a valgrind warning in BlockDirt.madmaxoft@gmail.com5-13/+18
2012-10-25Fixed up a few valgrind warningsmadmaxoft@gmail.com3-8/+10
2012-10-24Fixed issues with pickups. sebi.noreply@gmail.com5-8/+52
2012-10-23#grammarnazi: fixed tabs to spaces and alpha-sortmadmaxoft@gmail.com1-67/+68
2012-10-23Adjusted the number and sizes of ore nests (Patch contributed by STR_Warrior)madmaxoft@gmail.com1-10/+10
2012-10-23New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker)luksor111@gmail.com7-64/+111
2012-10-22You can now see particles and hear sounds when other players are destroying blocks.luksor111@gmail.com1-0/+1
2012-10-22Slight formatting tuneup to the previous commit.madmaxoft@gmail.com1-4/+7
2012-10-22Vine decay (patch contributed by funmaker)madmaxoft@gmail.com2-10/+65
2012-10-22Made DeepSnow remove flowers and mushrooms while snowing.luksor111@gmail.com1-0/+12
2012-10-21Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi)madmaxoft@gmail.com5-2/+91
2012-10-21cFinishGenPreSimulator sets correct fluid type (stationary in the middle, flowing on chunk borders / holes next to water.madmaxoft@gmail.com2-2/+94
2012-10-21Added the first part of the PreSimulator finisher, drops floating sand and gravel to ground.madmaxoft@gmail.com3-0/+112
2012-10-21Added more item stacking sizes (patch contributed by Hanfer)madmaxoft@gmail.com1-26/+65
2012-10-21Fixed manual bindings' ForEachXXX mapping not checking the object instance for validity.madmaxoft@gmail.com1-0/+5
2012-10-21My OCD has alpha-sorted some stuff :)madmaxoft@gmail.com7-144/+130
2012-10-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com21-250/+590
2012-10-20Double chests are now working, and with sound. (FS #69)madmaxoft@gmail.com7-122/+125
2012-10-20Double chests are formed correctly in all situations (meta is adjusted for the neighboring chest)madmaxoft@gmail.com2-10/+88
2012-10-20Got rid of nonsense logging in cPiston's direction calc.madmaxoft@gmail.com1-19/+30
2012-10-20Chest does check if it can be placed at the coords specified (the client does the check itself, too, but this may be good for scripts)madmaxoft@gmail.com1-0/+68
2012-10-20Removed excessive debug loggin in Floody fluid simulator.madmaxoft@gmail.com1-1/+1
2012-10-20Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block.madmaxoft@gmail.com9-155/+327
2012-10-20PACKET_DESTROY_ENTITY isn't sent for self when the player is kicked (FS #254)madmaxoft@gmail.com1-0/+6
2012-10-20Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command.madmaxoft@gmail.com4-207/+132
2012-10-19Ravines: Drill only through specific blocks (FS #259)madmaxoft@gmail.com1-1/+23
2012-10-19Removed unused [Physics].Water section from settings.ini.madmaxoft@gmail.com2-18/+2
2012-10-19WormNestCaves: drills only through specific blocks (FS #259)madmaxoft@gmail.com1-1/+23
2012-10-19Fluids will wash away crops and sugarcane.madmaxoft@gmail.com1-0/+2
2012-10-19Added spawn eggs with mobs (patch committed by Luksor)madmaxoft@gmail.com11-2/+431
2012-10-18Converted some const char*s and std::strings to AStringsfaketruth8-43/+259
2012-10-18Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com25-235/+344
2012-10-18Fixed item damage value not being read from the 1.3.2 protocol (wtf, why was it disabled?)madmaxoft@gmail.com1-1/+1
2012-10-18Reverted previous commit, chose a different solution, much cleaner.madmaxoft@gmail.com2-16/+12
2012-10-18Made constants in cChunkDef enums, compilation fixes for gcc.madmaxoft@gmail.com2-12/+16
2012-10-18Added basic spawn eggs (patch contributed by Luksor)madmaxoft@gmail.com2-11/+78
2012-10-17Fixed a vulnerability in cClientHandle::HandleRespawn()faketruth1-1/+9
2012-10-16More blocks can be washed away by fluids.madmaxoft@gmail.com1-0/+4
2012-10-16Fixed floody fluid sim making downward fluid behave like source blocks.madmaxoft@gmail.com1-8/+16
2012-10-16Decreased logging in floody fluid simulator.madmaxoft@gmail.com1-1/+1
2012-10-15Fixed DelayedFluidSimulator.madmaxoft@gmail.com4-12/+22
2012-10-14Floody fluid sim: reads params from world.ini; water and lava react together into cobblestone / stone / obsidianmadmaxoft@gmail.com3-14/+79
2012-10-14Floody fluid simulator now dries up correctly, too.madmaxoft@gmail.com8-49/+184
2012-10-14Initial Floody fluid simulator.madmaxoft@gmail.com12-54/+430
2012-10-14Biomal CompoGen now generates sea with STATIONARY_WATER instead of regular WATER.madmaxoft@gmail.com2-3/+3
2012-10-14Fixed the bucket handling code trying to simulate at the wrong coords (client sends all coords as -1 to signify "item use")madmaxoft@gmail.com1-12/+12
2012-10-14BlockArea: Added const-ness to non-modifying functions, so that a const cBlockArea & can be used.madmaxoft@gmail.com2-22/+22
2012-10-14Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth16-492/+518
2012-10-13Better split of the fluid simulator functionality; removed the old LavaSimulator and WaterSimulator files.madmaxoft@gmail.com8-211/+145
2012-10-13Forgotten filemadmaxoft@gmail.com1-0/+721
2012-10-13Preparation for multiple fluid simulators.madmaxoft@gmail.com27-861/+341
2012-10-13Added delayed ticking to Lua APImadmaxoft@gmail.com4-28/+157
2012-10-11Got rid of "self" in plugins, which is deprecated anywayfaketruth3-12/+29
2012-10-11Can now send usertypes (cPlayer, cEntity, cCuboid) along with a plugin:Call()faketruth1-2/+25
2012-10-10Added functionality so one plugin can call functions on another plugin :Dfaketruth1-0/+85
2012-10-10Added an option to disable/enable PVP on a per world basisfaketruth3-1/+13
2012-10-10Removed some loggingfaketruth1-6/+6
2012-10-07All blockticking is now done in cBlockHandlersmadmaxoft@gmail.com4-216/+190
2012-10-07Split the name for signed and unsigned int writing in cProtocol.madmaxoft@gmail.com2-3/+3
2012-10-06Fixed an invalid direction to AddDirection()madmaxoft@gmail.com1-8/+11
2012-10-06Completely removed the old (buggy) redstone simulator.madmaxoft@gmail.com12-635/+342
2012-10-06Removed a few debugging messages from the release builds.madmaxoft@gmail.com4-8/+11
2012-10-06Fixed player respawning crashing the server.madmaxoft@gmail.com1-1/+8
2012-10-06BlockArea writing support (BlockTypes with BlockMeta only)madmaxoft@gmail.com11-16/+504
2012-10-06Lua plugins can get player's equipped itemmadmaxoft@gmail.com1-1/+1
2012-10-05AnvilStats: made FastNBT faster by tweaking the pre-allocation.madmaxoft@gmail.com1-1/+7
2012-10-03Fixed saplings not growing into treesmadmaxoft@gmail.com2-4/+4
2012-10-03Added the "collect pickup" sound to 1.3.2madmaxoft@gmail.com2-0/+23
2012-10-03Minor style cleanupmadmaxoft@gmail.com1-1/+1
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com75-541/+675
2012-10-03Added BLOCK_FACE_NONE into the plugin APImadmaxoft@gmail.com3-8/+54
2012-10-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com42-507/+856
2012-09-30Added some missing block enumsfaketruth2-1/+15
2012-09-30Added falling block entities. Sand and gravel now properly fall downfaketruth23-56/+221
2012-09-29Fixed initial player head rotation when a player is being spawned on another clientfaketruth1-1/+4
2012-09-29Forgot to commit BlockBed.cppfaketruth1-0/+77
2012-09-29Removed a rogue cSleep from ClientHandle. Since sockets are owned by sockethreads, the client can safely Destroy() itself right after sending a packet.madmaxoft@gmail.com1-4/+0
2012-09-29Beds can be slept in now (it doesn't change the time though)faketruth14-63/+111
2012-09-29Fixed memory leaks in cWindow and cProtocolRecognizermadmaxoft@gmail.com2-0/+6
2012-09-29SocketThread: clients aren't double-removed anymore.madmaxoft@gmail.com3-23/+4
2012-09-29Hopefully fixed creative inventory tossing items out of the window.madmaxoft@gmail.com1-1/+1
2012-09-29SlotArea: removed excessive loggingmadmaxoft@gmail.com1-4/+0
2012-09-29Unified folder name-casingmadmaxoft@gmail.com77-12/+12
2012-09-29Extended the cFile interface with Printf()madmaxoft@gmail.com2-0/+16
2012-09-29Made beds placeablefaketruth6-3/+163
2012-09-27Made Anvil the default storage schemafaketruth1-1/+1
2012-09-26Fixed a bug in the inventory system where it would de-sync when dragging items with non-default metadata/healthfaketruth1-1/+1
2012-09-25Added the block dig animation packet (patch contributed by l0udPL)madmaxoft@gmail.com15-6/+144
2012-09-25Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com13-114/+103
2012-09-24Fixed Lua bindings for file renaming in previous commitsmadmaxoft@gmail.com3-30/+30
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com217-711/+575
2012-09-23Source files cleanup: ChunkDataSerializer is Protocol-relatedmadmaxoft@gmail.com6-4/+3
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com49-59/+51
2012-09-23Source files cleanup: Removed unused cBlockToPickupmadmaxoft@gmail.com9-125/+36
2012-09-23Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com46-89/+92
2012-09-23Source files cleanup: WorldStorage-related files in a separate subfoldermadmaxoft@gmail.com9-27/+27
2012-09-23Source files cleanup: Generating-related files in a separate subfoldermadmaxoft@gmail.com22-34/+43
2012-09-23Source files cleanup: Protocol-related files in a separate subfoldermadmaxoft@gmail.com9-31/+31
2012-09-23Source files cleanup: UI files renamedmadmaxoft@gmail.com14-20/+17
2012-09-23Fixed position confirming for 1.3.2 (FS #245)madmaxoft@gmail.com2-1/+5
2012-09-23Fixed players not spawning to others when they join the server.madmaxoft@gmail.com1-0/+3
2012-09-23Tweaked logging.madmaxoft@gmail.com6-56/+48
2012-09-23Fixed entity equipment packet in the 1.3.2 protocol.madmaxoft@gmail.com2-10/+26
2012-09-21Fixed a potential crash in shift-click (gcc warning)madmaxoft@gmail.com1-1/+1
2012-09-21Working shift-click support in crafting areas; window update working in 1.3.2madmaxoft@gmail.com6-16/+120
2012-09-20UI: Added shift-click support to most slot areas, except crafting.madmaxoft@gmail.com6-43/+232
2012-09-20Refactored windows.madmaxoft@gmail.com34-1535/+1568
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com47-27/+326
2012-09-08ItemToString() now recognizes matches that are in the ini without metadata.madmaxoft@gmail.com1-0/+15
2012-09-08StringToItem() sets item's count to 1 after a successful parsemadmaxoft@gmail.com1-1/+3
2012-09-08Fixed item damage not being set properly in StringToItem()madmaxoft@gmail.com1-0/+4
2012-09-08Set leaves as a transparent block.madmaxoft@gmail.com1-0/+1
2012-09-08GetLocalDirectory should not include FILE_IO_PREFIX since that is already included in cIniFilefaketruth1-2/+2
2012-09-08Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.faketruth4-3/+46
2012-09-08Another fix for the case-sensitiveness. WTF, STL allows different signatures for Debug and Release builds?madmaxoft@gmail.com1-1/+1
2012-09-08Fixed the case-sensitiveness of the item map.madmaxoft@gmail.com1-1/+10
2012-09-08Added the ItemToString() and ItemTypeToString() functions.madmaxoft@gmail.com4-36/+323
2012-09-07Relaxed the check for held item, the client sometimes sends wrong ItemType.madmaxoft@gmail.com1-2/+9
2012-09-07Snow is not put atop vines by the snow finisher anymoremadmaxoft@gmail.com1-0/+1
2012-09-06Fixed slot parsing in 1.2.5 causing weird behavior ( http://forum.mc-server.org/showthread.php?tid=551&pid=4413#pid4413 )madmaxoft@gmail.com2-1/+6
2012-09-06Added protocol-specific authentication, now works for both 1.2.5 and 1.3.2madmaxoft@gmail.com10-19/+154
2012-09-06Removed excessive debug logging in cProtocol132madmaxoft@gmail.com2-35/+4
2012-09-06Officially added 1.3.2 protocol supportmadmaxoft@gmail.com4-8/+13
2012-09-06ClientHandle: added an overflow buffer for outgoing data, it fixes the "bad packet id" problem with 1.3.2.madmaxoft@gmail.com2-5/+33
2012-09-05Added the possibility of reserved player slots by implementing the HandleHandshake hook!faketruth10-8/+88
2012-09-04Debugging in cByteBuffer::Write(); added the ReadAgain() method to allow ProtoProxy re-send the data it has parsed.madmaxoft@gmail.com2-0/+31
2012-09-04Fixed a possible race condition in cClientHandle's packet sending code; prepared for moving cSocket out of cClientHandle's ownership.madmaxoft@gmail.com5-7/+10
2012-09-04Fixed preprocessor definitions in Linuxmadmaxoft@gmail.com1-3/+3
2012-09-04Fixed FS #243, server crash after restart. The blockhandler table and the itemhandler table weren't properly re-initialized.madmaxoft@gmail.com3-115/+239
2012-09-04Hopefully fixed pointer arithmetic problems in GCC compilation in cProtocol132madmaxoft@gmail.com1-1/+1
2012-09-04Removed OS dependencies from CryptoPP; Removed unused modules that didn't compile on some platformsmadmaxoft@gmail.com3-5/+10
2012-09-02Added writing support to cByteBuffer (will be used by ProtoProxy)madmaxoft@gmail.com2-6/+157
2012-09-02Fixed Bug #241:lapayo94@gmail.com1-0/+5
2012-09-02Fixed debug-only code leaking into release mode in cCriticalSection, making it incompilable in release mode.madmaxoft@gmail.com1-0/+2
2012-09-02ToLua does not like the override keyword :(faketruth3-46/+14
2012-09-02Exported cWorld::DoWithChestAt to Luafaketruth5-39/+416
2012-09-02Next iteration on the 1.3.2 protocol. Still no good, but sometimes it just gets through. For your testing pleasures ;)madmaxoft@gmail.com10-42/+120
2012-09-02Added a CreateHexDump() function for easier raw data debuggingmadmaxoft@gmail.com2-1/+59
2012-09-02Critical sectino now allows debug info - is it locked? / is it locked by current thread?madmaxoft@gmail.com2-11/+48
2012-09-01Fix for Rev 814, the correct cPlayer object is actually sent into the callbacks.madmaxoft@gmail.com1-1/+1
2012-09-01Quick fix for generator crash upon server stop.madmaxoft@gmail.com1-1/+4
2012-09-01Added a Player parameter to OnUpdatedSign and OnUpdatingSign Lua callbacks and to the cWorld:UpdateSign method (http://forum.mc-server.org/showthread.php?tid=464&pid=4393#pid4393)madmaxoft@gmail.com12-58/+83
2012-09-01Implemented: http://www.mc-server.org/support/index.php?do=details&task_id=239&project=2&dev=26lapayo94@gmail.com3-29/+31
2012-08-31Progress on the 1.3.2 protocol.madmaxoft@gmail.com21-109/+500
2012-08-31Another possible deadlock in cClientHandle averted. Hope this is the one.madmaxoft@gmail.com2-5/+16
2012-08-31Fixed one possibility of a deadlock in cClientHandle::SendChunkData()madmaxoft@gmail.com1-13/+16
2012-08-30Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14)madmaxoft@gmail.com5-6/+248
2012-08-30Added a basic protocol recognizer and the base for 1.3.2 protocol.madmaxoft@gmail.com11-42/+658
2012-08-30cProtocol handles the initial handshake up to player loginmadmaxoft@gmail.com6-69/+61
2012-08-29Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com70-2253/+297
2012-08-29Added a check if torch is placed on the bottom face, temporarily fix the assert.madmaxoft@gmail.com1-0/+4
2012-08-28Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.madmaxoft@gmail.com93-2511/+812
2012-08-28Fixed a few warningsmadmaxoft@gmail.com3-6/+4
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com25-1185/+1685
2012-08-26git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6madmaxoft@gmail.com14-153/+247
2012-08-26Turned a common assert into a warning logmadmaxoft@gmail.com1-2/+2
2012-08-26Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL)madmaxoft@gmail.com9-7/+316
2012-08-26Fixed compilation problem on Linux (FS case sensitivity sux)madmaxoft@gmail.com1-1/+1
2012-08-25cSocket doesn't use cPackets.madmaxoft@gmail.com6-49/+13
2012-08-25cWorld doesn't use cPackets.madmaxoft@gmail.com9-43/+174
2012-08-25Removed cPackets from cChunk.madmaxoft@gmail.com6-124/+155
2012-08-24Removed packet includes where they're not neededmadmaxoft@gmail.com3-6/+1
2012-08-24cPickup doesn't use cPackets.madmaxoft@gmail.com19-81/+175
2012-08-24Inventory doesn't use cPacketsmadmaxoft@gmail.com1-12/+3
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com39-421/+557
2012-08-23Added plugin name to deprecation messagesmadmaxoft@gmail.com6-241/+45
2012-08-23Fixed Bug #237lapayo94@gmail.com2-0/+29
2012-08-23Fixed WebAdmin showing tab names (thanks for pointing it out Lapayo)faketruth3-17/+14
2012-08-23Added a RateCompareString function to StringUtilsfaketruth7-83/+220
2012-08-22Added a documentation for block and item handlerslapayo94@gmail.com5-15/+44
2012-08-22WebAdmin should not cause crashes anymorefaketruth15-359/+360
2012-08-22Fixed cWebPlugin_Lua being not thread safe. And I don't know why, but it still crashes in Lua sometimes o_Ofaketruth2-0/+3
2012-08-22Chat history limit on the WebAdmin chatfaketruth3-37/+34
2012-08-22Now it's possible to only show the plugin's WebAdmin content without the template around it by going to /~webadmin/ instead of /webadmin/faketruth1-3/+9
2012-08-19Window, Chest, Furnace and Pawn are not using cPackets at allmadmaxoft@gmail.com17-88/+211
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com40-507/+1089
2012-08-19Android: Do not create an input thread for Androidfaketruth1-4/+4
2012-08-19Another handful of packets rewritten.madmaxoft@gmail.com25-183/+376
2012-08-19Fixed Bug #236lapayo94@gmail.com10-12/+30
2012-08-19Android: Showing last MCServer related logcat messagefaketruth1-1/+2
2012-08-18Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com18-208/+211
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com48-2307/+1900
2012-08-18Android: Pressing back button sends stop command to serverfaketruth2-1/+3
2012-08-17Fixed an assert in bucket placementmadmaxoft@gmail.com1-19/+34
2012-08-17Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )madmaxoft@gmail.com56-352/+676
2012-08-16MCServer should run just fine on Android now :Dfaketruth5-10/+20
2012-08-16Windows compilation fix after Android changesmadmaxoft@gmail.com5-20/+21
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth7-8/+42
2012-08-15Added temporary debug statistics of the RelEntMoveLook packet removal efficiencymadmaxoft@gmail.com1-0/+12
2012-08-15Console command "chunkstats" now lists each world and also totalsmadmaxoft@gmail.com3-26/+57
2012-08-15Added a true "all chunks saved" message for the save-all console command (FS #215)madmaxoft@gmail.com4-3/+32
2012-08-14Fix torches broken in rev 724madmaxoft@gmail.com2-12/+13
2012-08-14Crafting window crafting result shift-click handlingmadmaxoft@gmail.com1-9/+53
2012-08-14Crafting window crafting grid shift-click handlingmadmaxoft@gmail.com2-5/+107
2012-08-14Shift-clicking the crafting grid in curvival inventory tries placing things in inventory first, then the hotbar.madmaxoft@gmail.com1-0/+7
2012-08-14Added a few more stackable itemsmadmaxoft@gmail.com2-14/+29
2012-08-14Shift-click completed in survival inventory windowmadmaxoft@gmail.com2-2/+37
2012-08-14Made cobwebs transparentmadmaxoft@gmail.com1-8/+9
2012-08-11Added partial shift+click handling to the survival inventorymadmaxoft@gmail.com8-50/+366
2012-08-11Updated Bindings to match the new armor categories and torch metasmadmaxoft@gmail.com2-2/+127
2012-08-11Added some stackable items in cItemHandler::GetMaxStackSize()madmaxoft@gmail.com1-0/+15
2012-08-11Added functions for armor item categoriesmadmaxoft@gmail.com1-0/+52
2012-08-11Added cItemHandler::GetMaxStackSize() with a very basic implementationmadmaxoft@gmail.com2-0/+28
2012-08-11Removed a useless include file.madmaxoft@gmail.com4-25/+5
2012-08-10Use named constants instead of magic values - block digging direction and torch placementmadmaxoft@gmail.com3-109/+98
2012-08-10Fixed cacti and sugarcane not being placeable on themselves (FS #234, patch submitted by STR_Warrior)madmaxoft@gmail.com2-21/+50
2012-08-10Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)madmaxoft@gmail.com6-48/+76
2012-08-09Torch placement handling (contributed by l0udPL)madmaxoft@gmail.com2-9/+108
2012-08-07Prepared WindowOwner class hierarchy for minecart with chest.madmaxoft@gmail.com6-18/+94
2012-08-06A bit of cleanup and documentation around the UI window handlingmadmaxoft@gmail.com13-86/+143
2012-08-06Fixed runtime crashes in generator on Raspberry Pi (damn picky gcc!)madmaxoft@gmail.com2-42/+42
2012-08-06BLOCKTYPE signedness change - fixed more detailsmadmaxoft@gmail.com4-5/+5
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com21-120/+333
2012-07-29Ravines: implemented proper caching - another 10 % in generator speedup :)madmaxoft@gmail.com2-12/+61
2012-07-29DistortedVoronoi BiomeGen now uses 4x4 linear interpolation for distortion, 50 % speed increase in the chunk generator with a hardly noticeable change in biome shapes.madmaxoft@gmail.com3-4/+98
2012-07-29Chunk generator outputs its performance in chunks per secondmadmaxoft@gmail.com1-0/+28
2012-07-29BiomeGen: cca 3% speedupmadmaxoft@gmail.com1-2/+2
2012-07-29Fixed *nix compilation for md5.cppmadmaxoft@gmail.com1-0/+7
2012-07-29Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.madmaxoft@gmail.com14-142/+307
2012-07-29Fixed warnings in md5madmaxoft@gmail.com1-4/+0
2012-07-28Fixed a few gcc warningsmadmaxoft@gmail.com3-4/+4
2012-07-28Caves and Ravines: fixed compilation and linking issues on gccmadmaxoft@gmail.com2-4/+4
2012-07-27Removed bottom lava from caves generator, added a new finish generator BottomLava for that. Also fixed a slight error in SameBlock composition generator cfgmadmaxoft@gmail.com4-25/+69
2012-07-27Basic WormNestCaves are workingmadmaxoft@gmail.com1-17/+45
2012-07-27Initial WormNestCaves commit. Won't generate caves, only the schematic for caves' centers.madmaxoft@gmail.com3-57/+621
2012-07-27Fixed a possible crash in Ravines.madmaxoft@gmail.com1-3/+3
2012-07-22Added a new cave generator: DualRidgeCaves ( somewhat like http://www.gamedev.net/blog/33/entry-2227887-more-on-minecraft-type-world-gen/ )madmaxoft@gmail.com5-91/+498
2012-07-22Ravines: removed an unneeded membermadmaxoft@gmail.com2-2/+0
2012-07-22Noise: made interpolation methods public static, so that they can be used by the outside world as wellmadmaxoft@gmail.com2-6/+8
2012-07-21Added a (disabled) debugging code for anvil underground overviewing, useful for exploring MC cave generation stylemadmaxoft@gmail.com1-4/+15
2012-07-21Grass blockticking fixmadmaxoft@gmail.com1-30/+32
2012-07-21Slight cChunk optimizationmadmaxoft@gmail.com1-1/+1
2012-07-21Implemented the missing HOOK_PLAYER_SPAWN hook (although its name is not too good, should be PLAYER_AUTH)madmaxoft@gmail.com1-0/+17
2012-07-20Ravines: implemented linear finishing, now the ravine walls are smooth.madmaxoft@gmail.com1-1/+42
2012-07-19Ravines: removed a debugging feature from release buildsmadmaxoft@gmail.com1-0/+2
2012-07-19Ravines: initial implementation, randomized shapes are working, but still needs some workmadmaxoft@gmail.com4-0/+483
2012-07-18SocketThreads: hopefully fixed MacOSX failure with client ping crashing the servermadmaxoft@gmail.com1-1/+2
2012-07-17Fixed incompatibility to apples c++ compiler...lapayo94@gmail.com4-8/+16
2012-07-17Simple health regeneration systemlapayo94@gmail.com11-143/+208
2012-07-17Fixed compilation on OS X and maybe *nix as wellmadmaxoft@gmail.com1-1/+2
2012-07-16Some code improvementslapayo94@gmail.com74-341/+259
2012-07-16Fixed a copypasta error in previous commitmadmaxoft@gmail.com1-1/+1
2012-07-16Changed GetBlockMeta to return NIBBLETYPE instead of charmadmaxoft@gmail.com11-12/+12
2012-07-16Fixed a compilation warningmadmaxoft@gmail.com1-1/+1
2012-07-16fixed redstone repeater placementlapayo94@gmail.com2-0/+30
2012-07-16Fixed some small bugs :)lapayo94@gmail.com9-38/+103
2012-07-15A new Block handling system :olapayo94@gmail.com89-1242/+3033
2012-07-15cThread uses AString instead of char * for name (fixed a warning)madmaxoft@gmail.com2-8/+18
2012-07-15World threads are stopped before the plugin mgr for clean exit (FS #228)madmaxoft@gmail.com4-4/+32
2012-07-15Disabled MSVC deprecation / security warnings for external libraries - we expect them to be secure enoughmadmaxoft@gmail.com1-0/+2
2012-07-15Removed the deprecated confusing E_BLOCK_WOODmadmaxoft@gmail.com3-4/+4
2012-07-15Leaves blocks allowed one more block of distance from a log block before they decaymadmaxoft@gmail.com1-2/+2
2012-07-15Basic jungle trees with vines, efficient trees handling.madmaxoft@gmail.com5-186/+322
2012-07-13Fixed case comparison - used the builtin functionmadmaxoft@gmail.com2-13/+1
2012-07-13fixed /tp commandlapayo94@gmail.com2-1/+13
2012-07-13The gamemode is now only saved if it is different from the current gamemode.lapayo94@gmail.com3-4/+15
2012-07-12Save last gamemodelapayo94@gmail.com2-1/+11
2012-07-12fixed bug http://www.mc-server.org/support/index.php?do=details&task_id=212&project=2lapayo94@gmail.com1-1/+1
2012-07-12Missed a filelapayo94@gmail.com1-1/+1
2012-07-12http://www.mc-server.org/support/index.php?do=details&task_id=153lapayo94@gmail.com4-4/+11
2012-07-10Fixed some bugs within the squirrel plugin system.lapayo94@gmail.com3-11/+51
2012-07-10Authentication should work now..lapayo94@gmail.com1-7/+8
2012-07-09Removed some debug messages and removed an old filelapayo94@gmail.com2-155/+0
2012-07-09Improved Squirrel Bindingslapayo94@gmail.com10-12/+334
2012-07-09BlockArea name change revertedlapayo94@gmail.com6-5/+5
2012-07-08Squirrel Pluginslapayo94@gmail.com19-190/+759
2012-07-03Added a lilypad finishermadmaxoft@gmail.com3-1/+110
2012-07-02Temporary jungle trees (swamp-like), based on code by STR_Warrior). Also vines don't overwrite leaves anymore.madmaxoft@gmail.com3-2/+51
2012-07-02Leaves decay adjusted to 4 blocks in between the leaves and the log, instead of previous 3madmaxoft@gmail.com1-2/+2
2012-07-02Leaves decay properly - if they are not connected to a logmadmaxoft@gmail.com3-32/+123
2012-07-02Only apple leaves can drop applesmadmaxoft@gmail.com1-1/+4
2012-07-02BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypesmadmaxoft@gmail.com4-22/+36
2012-07-02cBlockArea object added (with only minimal testing so far)madmaxoft@gmail.com10-39/+1840
2012-07-02Patch from STR_Warrior, OreNest counts adjustmentmadmaxoft@gmail.com1-5/+5
2012-07-02Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.madmaxoft@gmail.com5-87/+107
2012-07-02ChunkDef: Fixed getters taking a const ptrmadmaxoft@gmail.com1-5/+11
2012-06-19Removed json-related methods from Lua APImadmaxoft@gmail.com3-75/+8
2012-06-19Made ForEach API safer to use, now supports Destroy()-ing objects, too ( http://forum.mc-server.org/showthread.php?tid=434&pid=3513#pid3513 )madmaxoft@gmail.com3-9/+18
2012-06-19Fixed a possible crash when restarting / stopping the server.madmaxoft@gmail.com1-0/+1
2012-06-18Crops aren't uprooted if farmland is dry.cedeel@gmail.com1-3/+12
2012-06-17Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com9-52/+396
2012-06-17Logs completion of chunk saving (FS #215)cedeel@gmail.com1-0/+1
2012-06-17Macro-ized the ForEachSomethingInChunk Lua glue code (will soon be used for block entities, too)madmaxoft@gmail.com1-92/+95
2012-06-17Fixed leaves blockticking - must touch neighboring chunks, too, instead of self at wrong places.madmaxoft@gmail.com2-23/+55
2012-06-16Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden doormadmaxoft@gmail.com4-4/+15
2012-06-16Leaves: Applied patch by Luksor.cedeel@gmail.com2-1/+25
2012-06-16Quick fix to support authentication.cedeel@gmail.com1-2/+11
2012-06-16Added new hooks: UPDATING_SIGN and UPDATED_SIGN. The first one is capable of changing the sign text by returning the new four lines along with the bool valuemadmaxoft@gmail.com8-8/+451
2012-06-16Proper kick reasons!cedeel@gmail.com1-3/+6
2012-06-16Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually workmadmaxoft@gmail.com8-40/+216
2012-06-16Lua binding for cVine fixedcedeel@gmail.com4-73/+110
2012-06-15Rewritten ForEach using #define-s, new ones can be added as a simple one-linermadmaxoft@gmail.com4-168/+90
2012-06-15Lit furnaces can be used by playersmadmaxoft@gmail.com1-0/+1
2012-06-15Anvil: added support for signs (why was it still missing??)madmaxoft@gmail.com3-3/+51
2012-06-15Basic handling of vines. No growth yet.cedeel@gmail.com2-13/+42
2012-06-15Fixed placing block on tall grass (FS #209)madmaxoft@gmail.com1-1/+1
2012-06-15Only spawn nether mobs in nether biome.cedeel@gmail.com1-20/+26
2012-06-14Fixed snow again, this time for real.cedeel@gmail.com1-2/+17
2012-06-14Fixes placing blocks on snow.cedeel@gmail.com1-10/+21
2012-06-14Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually workmadmaxoft@gmail.com8-7/+152
2012-06-14Added a world parameter to HOOK_CHUNK_GENERATING.madmaxoft@gmail.com8-52/+65
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com330-70605/+70605
2012-06-14Added HOOK_WEATHER_CHANGE.cedeel@gmail.com4-2/+7
2012-06-13Exported the ItemCategory functions and added a IsTool() function to it, for easy checking whether an item is a toolfaketruth3-4/+198
2012-06-13Added a BlockToPickup hook for modifying pickups when a player breaks a block.madmaxoft@gmail.com13-88/+636
2012-06-13Modified ToLua additional script to allow multi-usertype virtual functionsmadmaxoft@gmail.com1-2/+2
2012-06-13I think the chunk generation hooks for Lua are pretty good now, though it might still need some tweakingfaketruth4-35/+655
2012-06-13Revamped the weather system.cedeel@gmail.com4-32/+107
2012-06-12Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTINGmadmaxoft@gmail.com11-73/+637
2012-06-12Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com15-675/+1393
2012-06-12Fixed an errorcedeel@gmail.com1-1/+1
2012-06-12Allow current itemscedeel@gmail.com1-2/+2
2012-06-11Added implementation of E_PLUGIN_CHUNK_GENERATING lua hookfaketruth10-25/+316
2012-06-09Fixed a bug in crafting recipes - would consume multiple items of asterisked ingredients (FS #205)madmaxoft@gmail.com1-18/+25
2012-06-09Disallowed placing cacti in watermadmaxoft@gmail.com1-0/+2
2012-06-09Snow cover breaks when the block below it is removed (FS #184).madmaxoft@gmail.com1-1/+3
2012-06-09Fixed a forgotten ini file readmadmaxoft@gmail.com1-0/+1
2012-06-09More ini settings save their defaultsmadmaxoft@gmail.com4-20/+18
2012-06-09World generator uses the new Ini interface; also set new defaults for the generator to match the best generation we currently havemadmaxoft@gmail.com1-63/+57
2012-06-09New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorldmadmaxoft@gmail.com3-56/+246
2012-06-09Sugarcane and cactus max height can be set in world.ini.madmaxoft@gmail.com5-8/+77
2012-06-09Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC.madmaxoft@gmail.com5-15/+88
2012-06-09Cacti grow by themselves and by bonemealmadmaxoft@gmail.com7-6/+83
2012-06-09Bonemeal is consumed in survival mode when used on growable blocksmadmaxoft@gmail.com4-10/+15
2012-06-09Tall grass finally drops seedsmadmaxoft@gmail.com1-0/+1
2012-06-08Biomal CompoGen now correctly produces sand in desert mountains, toomadmaxoft@gmail.com1-1/+1
2012-06-08Fixed random drops not occurring at allmadmaxoft@gmail.com1-2/+2
2012-06-08Sugarcane grows and can be grown using bonemeal.madmaxoft@gmail.com6-60/+132
2012-06-08Simplify ifdef. Makes compiling possible on BSDcedeel@gmail.com1-8/+8
2012-06-08Sugarcane and Pumpkins get placed (quite rarely) in the SprinkleSmallFoliage FinishGenmadmaxoft@gmail.com5-39/+136
2012-06-08Configurable classic composition generatorcedeel@gmail.com9-61/+47
2012-06-07Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.madmaxoft@gmail.com10-6/+286
2012-06-07Nightbuild: bindings are automatically update before the buildmadmaxoft@gmail.com1-2/+2
2012-06-07BlockChecking split into a separate functionmadmaxoft@gmail.com2-94/+98
2012-06-07Repeaters' delays can be set by rclkmadmaxoft@gmail.com8-4/+49
2012-06-07Grass grows under vinesmadmaxoft@gmail.com1-0/+1
2012-06-07Multiple packets are serialized in one request.madmaxoft@gmail.com1-5/+6
2012-06-07Fixed a typo in grass spreading causing much of the "too many packets" error.madmaxoft@gmail.com1-5/+8
2012-06-07Added more statistics to the packet queue overfill problem.madmaxoft@gmail.com1-2/+20
2012-06-07(Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher.madmaxoft@gmail.com1-1/+7
2012-06-07Snow drops snowballs only when mined with a shovelmadmaxoft@gmail.com1-1/+11
2012-06-06Grass spreads to adjacent dirt blocks. Doesn't check dest light yet.madmaxoft@gmail.com2-17/+53
2012-06-06Hopefully fixed lighting around chests and cropsmadmaxoft@gmail.com1-0/+5
2012-06-06Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool.madmaxoft@gmail.com35-326/+1051
2012-06-06BlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtumadmaxoft@gmail.com1-5/+168
2012-06-05Fixed webadmin for the fixed stringsplittingmadmaxoft@gmail.com1-140/+150
2012-06-05New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)madmaxoft@gmail.com10-856/+287
2012-06-04Fixed tolua++ sources to consider AString a builtin string type. Fixed tolua++ VC projects for compilation with local Lua.madmaxoft@gmail.com1-0/+0
2012-06-04Fixed Linux compilation.cedeel@gmail.com1-1/+1
2012-06-04Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.madmaxoft@gmail.com14-18917/+19801
2012-06-04Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project filescedeel@gmail.com9-18816/+18942
2012-06-02Biomal composition gen: added the bedrock layer at the bottommadmaxoft@gmail.com1-4/+5
2012-06-02Added the Biomal composition generator.madmaxoft@gmail.com5-18/+283
2012-06-02ClientHandle dumps the contents of all packets in the queue if the packet queue gets overloaded to the point of client-kicking. Use this to debug FS #197.madmaxoft@gmail.com1-0/+63
2012-06-02Fixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max()madmaxoft@gmail.com3-10/+7
2012-06-02Added a cHeiGenCache object for caching generated heightmaps. World generation is now about twice as fast as before Rev 535 :)madmaxoft@gmail.com3-0/+143
2012-06-02Added a cBioGenCache object for caching generated biomesmadmaxoft@gmail.com3-0/+144
2012-06-02Added the Biomal height generator, made it the default height generator.madmaxoft@gmail.com6-6/+176
2012-06-02Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com6-64/+137
2012-06-01Fixed a nasty int overflow bug in blockticking code ( http://forum.mc-server.org/showthread.php?tid=457 )madmaxoft@gmail.com1-3/+4
2012-05-31DistortedVoronoi biome generatormadmaxoft@gmail.com3-36/+67
2012-05-31cWorld::UnloadUnusedChunks() exported to Luamadmaxoft@gmail.com3-3/+37
2012-05-31Fixed melons and pumpkins generating in a wrong place.madmaxoft@gmail.com1-1/+1
2012-05-30Added more statistics to the "chunkstats" server console commandmadmaxoft@gmail.com1-1/+19
2012-05-30Added support for SetNextBlockTick() function callable from Luamadmaxoft@gmail.com8-20/+92
2012-05-30Melon and pumpkin stems now grow melons and pumpkinsmadmaxoft@gmail.com1-1/+1
2012-05-30Fixed blocktick distributionmadmaxoft@gmail.com2-18/+15
2012-05-30Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 )madmaxoft@gmail.com3-4/+142
2012-05-30Seeds can now be planted and they grow (albeit too quickly and too non-uniformly, need to fix blocktick selection)madmaxoft@gmail.com1-1/+28
2012-05-30Farmland gets hydrated and dehydrated. Fixed an off-by-one error in neighbor-chunk manipulation.madmaxoft@gmail.com2-3/+76
2012-05-30Fixed a crash when chunks were loaded / generated with entities ( http://forum.mc-server.org/showthread.php?tid=450 )madmaxoft@gmail.com1-26/+4
2012-05-29Farmland is created using a hoe on dirt or grass.madmaxoft@gmail.com2-2/+16
2012-05-29Refactored item-eating from cClientHandle into cPlayermadmaxoft@gmail.com3-82/+72
2012-05-29Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later.madmaxoft@gmail.com9-324/+439
2012-05-28Cacti don't gather snowmadmaxoft@gmail.com1-0/+1
2012-05-28Chests and Furnaces are now saved properly into Anvil scheme.madmaxoft@gmail.com9-57/+210
2012-05-27Ice finisher generator; fixed snow on water.madmaxoft@gmail.com2-1/+33
2012-05-27Added a snow finisher generatormadmaxoft@gmail.com1-1/+25
2012-05-27Added some useful biome synonyms; added block property IsSnowable; alphabetically sorted block property settingmadmaxoft@gmail.com3-53/+85
2012-05-27Voronoi has a minimum cell size of 4 blocks now, to avoid some extreme corner-casesmadmaxoft@gmail.com1-1/+1
2012-05-27Added a voronoi biome generator (#180)madmaxoft@gmail.com3-0/+91
2012-05-27DebugBiomes composition generator now uses only blocks suitable for terrain (from an internal list)madmaxoft@gmail.com1-1/+28
2012-05-27Added wool and netherrack block IDsmadmaxoft@gmail.com3-4/+8
2012-05-27Restructured biome generators with a list of available biomes to use a common ancestor (preparation for Voronoi and DistortedVoronoi)madmaxoft@gmail.com2-11/+30
2012-05-27ConstantBiome parsing now uses the string-to-biome conversion (#183)madmaxoft@gmail.com1-2/+7
2012-05-27Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates (#179). Added string-to-biome conversion (#183). Added OreNests to default Structures configuration.madmaxoft@gmail.com5-8/+109
2012-05-27Improved logging on mis-configuration in cPlayer and cWorldStoragemadmaxoft@gmail.com2-2/+6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com76-2841/+5199
2012-05-08Removed a debugging construct that accidentally leaked into previous commitmadmaxoft@gmail.com1-8/+0
2012-05-08Fast NBT writer (Saving a chunk is now about twice as fast)madmaxoft@gmail.com4-73/+364
2012-05-08Fixed two "bottlenecks" found using profiling - MakeIndex() instead of MakeIndexNoCheck()madmaxoft@gmail.com1-2/+2
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com6-88/+651
2012-05-07Updated version text to include 1.2.5; ChunkSender doesn't serialize chunk packets for chunks without a clientmadmaxoft@gmail.com2-1/+6
2012-04-23Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers)madmaxoft@gmail.com11-35/+431
2012-04-15Lapis gets generated (thanks, Fordship)madmaxoft@gmail.com1-0/+5
2012-04-11Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core pluginfaketruth5-64/+11
2012-04-10Added error messages to socket closing error conditions for *nixmadmaxoft@gmail.com1-2/+2
2012-04-10Added the permission "builtin.regeneratechunk" needed for regenerating chunks using a command.madmaxoft@gmail.com1-0/+5
2012-04-10Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks!madmaxoft@gmail.com10-37/+104
2012-04-04Compression error -5 fixmadmaxoft@gmail.com1-2/+3
2012-04-04Fixed a parsing error in NBT classes (doubles weren't parsing correctly);madmaxoft@gmail.com2-1/+227
2012-04-04StringUtils' GetDirectoryContents() now accepts empty string and interprets it as "current directory" (*nix fix)madmaxoft@gmail.com1-1/+5
2012-04-03Logging OnBlockDig and OnBlockPlace only in Debug mode ( http://mc-server.org/support/index.php?do=details&task_id=133&project=2 )madmaxoft@gmail.com1-2/+8
2012-04-03Attempted a fix for cSocket's Bind() call on MacOS-based systems (initializing the whole sockaddr_in structure with zeroes first)madmaxoft@gmail.com1-0/+1
2012-03-31cSocket.cpp should also compile on Mac now (I hope)faketruth1-1/+1
2012-03-31Fixed a crash when fluid would try to go below the world (y = -1)faketruth1-4/+6
2012-03-28Got rid of sPluginManagerStatefaketruth5-70/+90
2012-03-27Fixed a possible crash in ChunkSender - a client would be reported as removed but still would be in the internal queue.madmaxoft@gmail.com2-2/+16
2012-03-26Removed the unneeded header wdirent.hmadmaxoft@gmail.com1-369/+0
2012-03-26Added the supported client version to banner; shamelessly added myself to the authors list ;)madmaxoft@gmail.com3-4/+13
2012-03-25A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringListmadmaxoft@gmail.com6-85/+81
2012-03-25Fixed the Log altogether (doesn't use NULL-to-va_list assignment, compiles for RaspberryPi)madmaxoft@gmail.com2-14/+6
2012-03-24Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense.madmaxoft@gmail.com14-382/+398
2012-03-24Protocol version bumped up to 29 (MC 1.2.4), seems to work.madmaxoft@gmail.com1-1/+1
2012-03-24Removed the split between 1.2.3 and 1.1, left only 1.2.3 codemadmaxoft@gmail.com12-226/+10
2012-03-24Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com18-258/+47
2012-03-23Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)madmaxoft@gmail.com18-47/+258
2012-03-22Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists.madmaxoft@gmail.com6-22/+51
2012-03-19Fixed player heads always pointing north (new EntityHeadLook packet)madmaxoft@gmail.com6-15/+81
2012-03-19Fixed a warning in a Release buildmadmaxoft@gmail.com1-1/+4
2012-03-19Made some logging output debug-onlymadmaxoft@gmail.com1-6/+6
2012-03-19Basic cWindow thread-safetymadmaxoft@gmail.com6-63/+132
2012-03-19SocketThreads: proper thread finishing sequence (doesn't trigger AppVerifier checks :)madmaxoft@gmail.com1-0/+9
2012-03-16Got rid of cPlayer::sPlayerStatefaketruth2-88/+47
2012-03-16That didn't work.. I forgot some cChunk functions were changed. Now it should compile againfaketruth2-1/+4
2012-03-16Exposed a function to Lua to get a block's sky light valuefaketruth6-33/+72
2012-03-14Actually commented out the Anvil terrain inversion codemadmaxoft@gmail.com1-1/+1
2012-03-14Anvil support: Added a debugging section for inverting terrain (So that MC cave generator can be seen in action). Commented out, so that it doesn't make it into the release versionsmadmaxoft@gmail.com1-0/+24
2012-03-14Unified the chunk data to use the BLOCKDATA datatype.madmaxoft@gmail.com16-33/+52
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com33-592/+799
2012-03-13Fixed the server not waiting for the world to save completely before stoppingmadmaxoft@gmail.com1-0/+3
2012-03-13Removed an unwarranted assert in cChunkSendermadmaxoft@gmail.com1-2/+5
2012-03-13Small optimizations in the SetNibble() and GetNibble() functions; removed unused lighting functions from cChunkmadmaxoft@gmail.com2-96/+23
2012-03-13Fixed a few warnings, lifted up the block interactinos limit to 20 (10 was not enough for Creative mode)madmaxoft3-21/+2
2012-03-12Gotten rid of stricmp MSVC warningsmadmaxoft@gmail.com1-2/+2
2012-03-12*nix compilation fix (for rev 402)madmaxoft@gmail.com1-4/+6
2012-03-12Added a flat terrain generator with settable terrain heightmadmaxoft@gmail.com5-10/+148
2012-03-12Fixed MapChunk packets to include (fake) biome data, makes clients happymadmaxoft@gmail.com5-15/+55
2012-03-12Fixing compilation on Drawin 9 / MacOS Xmadmaxoft@gmail.com3-14/+7
2012-03-11Stopping the ChunkSender upon server stopmadmaxoft@gmail.com3-2/+15
2012-03-11Fixed a small bug in chunk version check D:faketruth1-0/+1
2012-03-11Not sending chunks to the client twicemadmaxoft@gmail.com5-24/+40
2012-03-11Anvil format: fixed loading with XZY orderingmadmaxoft@gmail.com1-11/+9
2012-03-10Fixed a few obsoleted functionsmadmaxoft@gmail.com12-49/+83
2012-03-10Completely integrated the new axis ordering. Will update worlds accordinglyfaketruth3-2/+151
2012-03-10Anvil support: compatible with both chunk orderingsmadmaxoft@gmail.com1-0/+4
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com8-26/+24
2012-03-10Fixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned onmadmaxoft@gmail.com3-8/+11
2012-03-10Fixed *nix threading issue;madmaxoft@gmail.com11-88/+93
2012-03-10Was using "#else if" which is not valid apparently, now using "#elif"faketruth4-6/+6
2012-03-10You can change axis ordering by setting AXIS_ORDER to AXIS_ORDER_XZY in cChunk.h !THIS WILL SCREW UP YOUR WORLDS THOUGH!faketruth5-15/+46
2012-03-10Using more of the index functions in cChunk, so it should be easy enough to flip the axis ordering nowfaketruth3-82/+94
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth24-71/+224
2012-03-09Using the _DEBUG macro for *nix debug builds as well; trying to force 8-byte alignment on critical sections ( http://forum.mc-server.org/showthread.php?tid=384 )madmaxoft@gmail.com6-28/+57
2012-03-07Anvil format: loading chests' contents.madmaxoft@gmail.com4-11/+240
2012-03-07ChunkSender: Fixed a potential crash: removing a client means that no Send() is called on that client anymoremadmaxoft@gmail.com2-16/+27
2012-03-07WSSCompact: fixed switched version values (!); removed unused methodsmadmaxoft@gmail.com2-4/+2
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth13-107/+306
2012-03-07No need to reset zlib (copypasta error)madmaxoft@gmail.com1-1/+0
2012-03-07Added the Anvil level format (MCA) support, read-only for the time being. Now MCS can read your worlds from the official server :)madmaxoft@gmail.com6-2/+1258
2012-03-06Sticky pistons should work as well nowfaketruth1-0/+3
2012-03-06Added a little documentation on ChunkSender.madmaxoft@gmail.com1-1/+14
2012-03-06Fixed redstone repeater bug where it could not get the direction when it has delay bits setfaketruth1-3/+3
2012-03-06ChunkSender won't send NULL packets anymoremadmaxoft@gmail.com1-1/+5
2012-03-06Fixed rev 373 not compiling on linuxmadmaxoft@gmail.com1-0/+5
2012-03-06Yay redstone repeaters!faketruth4-49/+355
2012-03-06World storage names are now case-INsensitivemadmaxoft@gmail.com1-2/+2
2012-03-06That was not a good place to use ARRAYCOUNT()madmaxoft@gmail.com1-5/+5
2012-03-06Fixed rev368's ChunkSender, now sends properly even chunks that are loaded. Fixed a deadlock in cClientHandle vs TickThread over cClientHandle::m_CSChunkListsmadmaxoft@gmail.com5-26/+155
2012-03-06Fixed bug FS#157 http://mc-server.org/support/index.php?do=details&task_id=157faketruth1-5/+5
2012-03-05Fixed a potential deadlock ( http://forum.mc-server.org/showthread.php?tid=374 )madmaxoft@gmail.com1-4/+9
2012-03-05Using a fixed-size array instead of AString for conversion. Conversion now runs ~10x faster :) (in debug mode)madmaxoft@gmail.com1-25/+29
2012-03-05WSS conversion quickfix: reserving memory so that AString doesn't need to re-alloc (but still uses painfully slow push_back()s )madmaxoft@gmail.com1-0/+2
2012-03-05ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :)madmaxoft@gmail.com18-229/+453
2012-03-04Removed redstone debugging: powered dirt blocks change into stonefaketruth1-8/+8
2012-03-04Yay tiny commits XD fixed % signfaketruth1-1/+1
2012-03-04Lowered the amount of logging while converting chunksfaketruth1-1/+8
2012-03-04Converted pak files were not marked 'dirty' and wouldn't be saved. Fixed now :)faketruth1-0/+1
2012-03-04Forcing the use of the new redstone simulatorfaketruth1-1/+2
2012-03-04Should have complete support for 256 blocks high worlds. Old save files are converted to new ones at load.faketruth3-16/+165
2012-03-04The world can now truly be made higher by incrementing cChunk::c_ChunkHeight to 256. !!HOWEVER THIS WILL DESTROY YOUR SAVED WORLD!!faketruth2-2/+2
2012-03-04Changed signed char to unsigned char in block packets, so we can receive height up to 255faketruth9-28/+47
2012-03-03Got rid of some hardcoded numbers, now using hardcoded variables! woofaketruth11-145/+151
2012-03-02That should not have been committed...faketruth1-1/+1
2012-03-02Chunk light and metadata are also sent now, should take a load off of the clientfaketruth1-5/+38
2012-03-02Finally got the multiblock packet working! It seems the byte order was wrongfaketruth2-6/+5
2012-03-02MultiBlock packet is working partly.. I really don't understand what's wrong with this packet :/faketruth4-2/+54
2012-03-01Chunks are successfully streamed to clients (in a bad a slow way, but whatever)faketruth4-5/+49
2012-03-01Clients can join the server, but chunks are sent completely emptyfaketruth2-0/+80
2012-03-01Forgot to update packet size (though I'm not even sure it's used anymore)faketruth1-2/+6
2012-03-01Started carefully moving to 1.2.2faketruth6-67/+135
2012-03-01New redstone simulator. Should work without crashes!faketruth8-8/+650
2012-02-29Fixed the authenticator bugmadmaxoft@gmail.com2-0/+9
2012-02-29Making sure cClientHandle::m_Player was NULL after authentication completedfaketruth1-0/+1
2012-02-29Added validity checks to world broadcasting. Also added logging to cPlayer deletion to catch that stupid BugByBoo.madmaxoft@gmail.com2-4/+12
2012-02-28Improved threading performance by reducing thread-hopping in queue locks (cs unlocked before event set)madmaxoft@gmail.com3-29/+41
2012-02-28Setting the m_bDestroyed flag only after the cClienthandle is truly destroyed; cClientHandle's destructor now locks loaded chunk listsmadmaxoft@gmail.com1-3/+10
2012-02-28Server uses ~40% less CPU nowfaketruth2-87/+93
2012-02-28Linux compilation fix (y u no support const_iterator, gcc?)madmaxoft@gmail.com1-1/+1
2012-02-28Chunk now has an indicator of load failure; Chunk generator uses cChunkStaymadmaxoft@gmail.com9-6/+89
2012-02-28Implemented synchronous chunk loading; optimized cChunkStay interface for speed (though still unused ;)madmaxoft@gmail.com8-152/+342
2012-02-28ChunkGenerator: fixed an inverted condition on chunk-skipping when the generator is overloaded; set the overload threshold to 500 chunks (from original 50 which is not enough even for a single player)madmaxoft@gmail.com1-6/+9
2012-02-28Const-correctness for packet broadcasting (fixes GCC compilation)madmaxoft@gmail.com4-6/+6
2012-02-27Fix for the perpetual load issuemadmaxoft@gmail.com1-1/+7
2012-02-26Implemented chunk loading without generating on load-failuremadmaxoft@gmail.com3-16/+62
2012-02-26New cChunkStay class for temporarily keeping chunks loaded even when then have no clients. For now unused, will be used by generator and lighting in the future.madmaxoft@gmail.com6-1/+152
2012-02-26Attempt at fixing crashes with disconnecting playersmadmaxoft@gmail.com6-18/+38
2012-02-26Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :)madmaxoft@gmail.com4-150/+253
2012-02-26Extended SocketThreads for writing support (unusable in cClientHandle due to too many deadlock possibilities)madmaxoft@gmail.com4-33/+218
2012-02-23Made the viewdistance settable by users and default in settings.ini. The default is 9.madmaxoft@gmail.com5-28/+73
2012-02-23Plain pointer cChunkPtr finishing touches; removed cChunk's critical sectionsmadmaxoft@gmail.com4-176/+35
2012-02-23Made cChunkPtr a plain old pointer again, since it's safe nowmadmaxoft@gmail.com2-5/+7
2012-02-23cChunk: removed unused codemadmaxoft@gmail.com2-8/+0
2012-02-23Added cmdline parameters "/cdg" and "/cdf" for crashdump flags "globals" and "full memory"madmaxoft@gmail.com1-2/+17
2012-02-22Rewritten ore generation from scratch, using a different (much faster) algorithm. Chunk generation now about 2x faster :)madmaxoft@gmail.com2-25/+111
2012-02-22That 2nd assert didn't make much sense...faketruth1-1/+2
2012-02-22Added some asserts to trace a bugfaketruth2-2/+6
2012-02-22Fixed a bug that no chunks were unloaded on the client. Now chunks are properly unloaded on the clients.faketruth2-0/+7
2012-02-22Noise function optimization (chunk generation now about 1.5x faster :)madmaxoft@gmail.com3-10/+33
2012-02-22WorldGenerator: fixed small foliage - cacti now generate only at beaches, not underwater.madmaxoft@gmail.com1-32/+33
2012-02-22Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntityfaketruth4-32/+53
2012-02-22Fixed a potential deadlock in cChunkMap::m_CSLayers vs cWorld::m_CSAllEntitiesmadmaxoft@gmail.com1-6/+8
2012-02-22Added a crude way of disabling redstone. It's necessary though, redstone is completely broken, crashes the server all the timefaketruth5-158/+199
2012-02-22Added a CriticalSection to cPlugin_NewLua. Lua plugins are not threadsafe but they ARE accessed by multiple threads, this can create some hard to find errors, but I fixed it now :Pfaketruth2-0/+18
2012-02-22Restricted windows crash dump generating code to 32-bit platforms only due to inline assemblymadmaxoft@gmail.com1-5/+6
2012-02-21Added code to produce dump files on Windows builds to aid with debugging server crashesmadmaxoft@gmail.com1-0/+85
2012-02-21Changed ASSERT() to not cause warnings during compilefaketruth1-1/+9
2012-02-21Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com10-109/+231
2012-02-21Fixed heightmap optimization from rev 302; removed a few more cChunkPtrsmadmaxoft@gmail.com8-38/+146
2012-02-21Optimized hightmap recalc when setting a chunk's blockmadmaxoft@gmail.com1-7/+31
2012-02-21Fixed block-getting so that simulators work againmadmaxoft@gmail.com6-24/+128
2012-02-20Removed some more cChunkPtr usagemadmaxoft@gmail.com13-114/+372
2012-02-20Using own ASSERT() that logs to filefaketruth21-59/+49
2012-02-19Fixed assertion bug in NamedEntitySpawn packet, it used to assert when item ID is 0, but now 0 is allowedfaketruth1-1/+1
2012-02-18Substantial cWorld::FastSetBlock() speed up by queueing all such calls and processing them later chunk-wise (makes growing trees in the generator fast again)madmaxoft@gmail.com6-45/+106
2012-02-18Fixed previous commit: forgot to remove a debugging settingmadmaxoft@gmail.com1-3/+1
2012-02-18Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries.madmaxoft@gmail.com11-111/+205
2012-02-18Thread-safe chunk generation, storage and generator are queried for progress while initializing servermadmaxoft@gmail.com16-176/+408
2012-02-18Logging: added thread ID to the log output in debug buildsmadmaxoft@gmail.com3-7/+11
2012-02-18Logging: added LOGD macro that logs only in debug buildsmadmaxoft@gmail.com1-3/+22
2012-02-18Moved stdarg.h inclusion into Globals.hmadmaxoft@gmail.com3-5/+1
2012-02-18cIsThread: Added support for getting current thread IDmadmaxoft@gmail.com2-0/+15
2012-02-17Added the skeleton of the cLightingThread objectmadmaxoft@gmail.com2-0/+196
2012-02-17Chunk coords mostly "upgraded" to include the Y coord for future compatibilitymadmaxoft@gmail.com11-67/+101
2012-02-17Removed useless log messagesmadmaxoft@gmail.com1-1/+0
2012-02-17Lots of logging addedmadmaxoft@gmail.com6-12/+45
2012-02-16git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6faketruth5-6/+6
2012-02-16New server command "unload" to manually unload unused chunksmadmaxoft@gmail.com2-3/+11
2012-02-16cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively.madmaxoft@gmail.com11-42/+81
2012-02-16Got rid of dangerous GetEntity(), not using DoWithEntity()faketruth5-53/+29
2012-02-16Chunks are now marked as savedmadmaxoft@gmail.com1-2/+10
2012-02-16Marking chunk dirty after generatingmadmaxoft@gmail.com1-0/+2
2012-02-16cPlayer empty-handed spawn fixmadmaxoft@gmail.com1-1/+2
2012-02-16Heightmap is properly generated after loading chunks now, so /spawn and /top should work properly againfaketruth1-0/+2
2012-02-16Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properlymadmaxoft@gmail.com23-154/+935
2012-02-16Chunks are properly saved before being unloaded nowfaketruth2-1/+11
2012-02-16cSocket::GetErrorString() now also compiles on Cygwinfaketruth1-1/+1
2012-02-16Fixed logging in cServermadmaxoft@gmail.com1-1/+1
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth12-288/+246
2012-02-15New players no longer cause an assertfaketruth1-3/+3
2012-02-15Can use the 'restart' command again. cAuthenticator no longer asserts because it properly stops when the server is stopped.faketruth3-3/+16
2012-02-15Fixed a deadlock in WorldStoragefaketruth1-3/+5
2012-02-15Fixed logging formatting error in cWorldmadmaxoft@gmail.com1-1/+1
2012-02-15Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window)madmaxoft@gmail.com13-104/+194
2012-02-15Can now pass any argument to cWorld:ForEachPlayer in Lua! But I'm not even using it.. lolfaketruth1-18/+46
2012-02-14Slight cleanup - removed old code, some additional comments on dangerous functionsmadmaxoft@gmail.com5-402/+13
2012-02-14Got rid of cWorld::GetAllPlayers() and implemented ForEachPlayer() more or less in Luafaketruth3-31/+64
2012-02-14Updated fluid simulators with geser's patch file!faketruth7-58/+338
2012-02-14m_World was never set in cBlockEntity's, now it isfaketruth1-0/+1
2012-02-14Apparently the Fire plugin is depreciated since it's implemented in C++ :Pfaketruth1-2/+2
2012-02-14Fixed the same leak in FireSimulatorfaketruth2-18/+18
2012-02-14Fixed a (pretty big) memory leak in cSandSimulatorfaketruth2-15/+16
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com77-2687/+6689
2012-02-08Removed unused codemadmaxoft@gmail.com4-63/+126
2012-02-08Added total chunk count to webadminmadmaxoft@gmail.com4-7/+133
2012-02-08cPluginManager: slight cleanupmadmaxoft@gmail.com1-178/+272
2012-02-08cMonsterConfig: removed excessive loggingmadmaxoft@gmail.com1-43/+62
2012-02-08MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core)madmaxoft@gmail.com10-71/+156
2012-02-08cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties.madmaxoft@gmail.com8-219/+253
2012-02-07cSocket: final localhost fix - made it a function (forgotten file)madmaxoft@gmail.com1-3/+3
2012-02-07cSocket: final localhost fix - made it a functionmadmaxoft@gmail.com2-7/+15
2012-02-07Temporary fix for Linux compilation. (gcc won't accept a function call in global var initialization)madmaxoft@gmail.com1-1/+1
2012-02-07Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility.madmaxoft@gmail.com109-1316/+1907
2012-02-07cSocketThreads initial commit. Not yet tested and not yet integratedmadmaxoft@gmail.com2-0/+619
2012-02-07Slight cleanupmadmaxoft@gmail.com2-5/+3
2012-02-07cSocket: Added more functions that will be needed for the new cSocketThreadsmadmaxoft@gmail.com2-8/+56
2012-02-06cSocket: error reporting function now works correctly on GNU Linux; also includes the error number for all errorsmadmaxoft@gmail.com1-8/+29
2012-02-06cSocket: re-implemented the GetLastErrorString() function; win: error texts are now queried from the system rather than enumerated by the programmadmaxoft@gmail.com2-25/+15
2012-02-05Now showing proper error messages when sockets fail :)faketruth5-18/+30
2012-02-05cSocket: added error logging to Bind() failuresmadmaxoft@gmail.com1-39/+48
2012-02-04putting default settings back to defaultadmin@omencraft.com1-2/+2
2012-02-04Fixed a bug in source/cClientHandle.hadmin@omencraft.com4-6/+6
2012-02-03MCServer should be running fast again on Linux!! YAAAY!!faketruth2-0/+7
2012-02-03cClientHandle: split packet handling into separate functions for claritymadmaxoft@gmail.com2-989/+1238
2012-02-02cClientHandle: gotten rid of the obnoxious m_pState, now using direct members insteadmadmaxoft@gmail.com4-351/+405
2012-02-02Socket-related assert fixesmadmaxoft@gmail.com3-6/+30
2012-02-02tolua: modified the binding generator to accept AString as a std::string synonym, re-generated Bindings with these settings. Lua callbacks can now safely use AString functions in C++.madmaxoft@gmail.com3-28/+29
2012-02-02Removed nonsense "virtual inline" declaration from functionsmadmaxoft@gmail.com7-28/+28
2012-02-02cSocket API fix (possible invalid pointer)madmaxoft@gmail.com6-45/+103
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com24-289/+667
2012-02-01Added all current hooks to the new plugin structure.faketruth4-129/+817
2012-02-01AString logging fix 2madmaxoft@gmail.com7-21/+27
2012-02-01AString logging fixmadmaxoft@gmail.com1-7/+7
2012-02-01sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com16-134/+189
2012-02-01Removed a few duplicate includesmadmaxoft@gmail.com10-41/+28
2012-02-01new cIsThread object for thread encapsulationmadmaxoft@gmail.com2-0/+225
2012-02-01cEvent: fixed wrong errorchecking in win32 Set()madmaxoft@gmail.com1-1/+1
2012-02-01StringUtils: SplitString() fixmadmaxoft@gmail.com1-2/+21
2012-02-01auto_ptr fix 2madmaxoft@gmail.com1-1/+1
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com13-105/+384
2012-02-01Fixed a sigsegv on *nix (cFile double-closing files)madmaxoft@gmail.com1-0/+1
2012-02-01Plugins can now be enabled and disabled through WebAdminfaketruth5-19/+75
2012-01-31Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth7-79/+193
2012-01-31Slight code cleanup, no big changesmadmaxoft@gmail.com3-45/+129
2012-01-31Another cEvent fix, I wish I could get it finally rightmadmaxoft@gmail.com1-0/+1
2012-01-31Hopefully fixed pthreads in cEvent (again)madmaxoft@gmail.com2-1/+3
2012-01-31cEvent class cleanup (single-event only, since multi-event wasn't used and wouldn't work on *nix anyway)madmaxoft@gmail.com2-82/+124
2012-01-31Linux fixes, but while it compiles, when a user joins it crashes the server with "*** glibc detected *** ./MCServer: double free or corruption (out): 0x00007fb5f5158db0 ***"mtilden@gmail.com2-0/+2
2012-01-31Can now receive POST data in WebPlugins!faketruth6-8/+41
2012-01-30Replaced most FILE operations with a cFile objectmadmaxoft@gmail.com7-151/+210
2012-01-30Fixed a problem in cCSLock (sorry); reverted cChunkmadmaxoft@gmail.com2-3/+9
2012-01-30Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth8-11/+91
2012-01-30More cFile cleanup; removed old format writing for block entitiesmadmaxoft@gmail.com11-286/+343
2012-01-30Initial cFile implementation (using stdio FILE) and test in cChunkMapmadmaxoft@gmail.com4-86/+388
2012-01-29Added missing #ifdef _DEBUG in cCriticalSection.cpp faketruth1-3/+5
2012-01-29Old code begone! ChunkMap cleanupmadmaxoft@gmail.com4-373/+252
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com172-326/+1051
2012-01-29ChunkGenerator: rewritten thread-locking using the new RAII CSLock classmadmaxoft@gmail.com5-82/+210
2012-01-28Now also compiles in Linuxfaketruth1-0/+1
2012-01-28Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it.faketruth9-98/+773
2012-01-27MSVC 2008 Express compatibility: Added the projects, modified sources to compile. Tested on MSVC 2008 Express and MSVC 2010 Expressmadmaxoft@gmail.com64-87/+89
2012-01-27Converted all of the Core plugin to the new plugin structure, except for the WebAdmin partfaketruth2-21/+98
2012-01-26No longer hard coded Lua files in new plugin systemfaketruth2-20/+406
2012-01-26Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth7-47/+508
2012-01-26Probably fixed a deadlock! http://www.mc-server.org/support/index.php?do=details&task_id=147faketruth1-2/+2
2012-01-23Cactus towers can be destroyed by removing the bottom blockfaketruth4-4/+89
2012-01-22Fixed the  sign bugfaketruth1-2/+2
2012-01-22Improved Core's WebAmin interface a bit.faketruth4-31/+112
2012-01-21Bug FS#131 http://www.mc-server.org/support/index.php?do=details&task_id=131 should be fixedfaketruth1-0/+1
2012-01-20MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think)faketruth5-6/+27
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth12-85/+129
2012-01-02Fixed crashing bug in cClientHandle::~cClientHandlefaketruth1-1/+3
2012-01-01CreativeInventory Updatelapayo94@gmail.com9-85/+107
2012-01-01Fixed the numchunks console command.faketruth10-14/+187
2012-01-01- implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com16-227/+363
2012-01-01Chests, furnaces and dispensers face the correct way now.faketruth1-0/+5
2011-12-31Made a couple of functions in cChunk inline, this should speed up several block operations on chunksfaketruth5-124/+148
2011-12-29- Animals burn now when moving into lava or firelapayo94@gmail.com3-7/+12
2011-12-29 - Initial food handling by cedeelmtilden@gmail.com5-13/+73
2011-12-29M$ BS...mtilden@gmail.com1-1/+1
2011-12-29 - Chests open and close on clients when opened/closedmtilden@gmail.com6-7/+84
2011-12-29- Pickups should now burn in firelapayo94@gmail.com5-20/+33
2011-12-29- water slacks fire nowlapayo94@gmail.com8-17/+20
2011-12-28- little performance improvement on the sand simulatorlapayo94@gmail.com2-1/+9
2011-12-28- implemented the fire simulation in native c++ (cFireSimulator)lapayo94@gmail.com10-90/+280
2011-12-28 - Fixed too fast actions kick for realmtilden@gmail.com1-5/+5
2011-12-28Fixed some small memory leakslapayo94@gmail.com3-0/+13
2011-12-28 - Fixed ping displaying same for everyone, knew it was something I messed up with itr :(mtilden@gmail.com1-1/+1
2011-12-28Fixed PLI end white, made random mistake late night when I couldn't remember how I did it beforemtilden@gmail.com1-1/+1
2011-12-28This bug should be fixed now http://mc-server.org/support/index.php?do=details&task_id=112faketruth1-6/+44
2011-12-28Linux fixmtilden@gmail.com1-1/+1
2011-12-28 - Didn't notice steak missing as wellmtilden@gmail.com1-0/+8
2011-12-28 - Added chicken to eatingmtilden@gmail.com2-1/+10
2011-12-28Little improvement to save some cpu time but it´s still very heavy cpu loadlapayo94@gmail.com2-1/+8
2011-12-28- Implemented Drops from Burning animalslapayo94@gmail.com19-297/+218
2011-12-27Users file was pretty messed up with mixed unix and windows line endings. The ini failed to parse correctly under cygwin.faketruth3-2/+10
2011-12-27Fixed a little error in cPacket_PlayerListItem.cppfaketruth1-1/+1
2011-12-27Vanity, just to set back to white after a short enough name for the ping image to not change colormtilden@gmail.com1-1/+7
2011-12-27I'll lower my frequency of commits.. 1000 default ends up sent more often than calc'd packets.mtilden@gmail.com1-1/+0
2011-12-27Oops, accidentally left debug printmtilden@gmail.com1-1/+0
2011-12-27 - Added basic ping handling.mtilden@gmail.com5-10/+38
2011-12-27Slightly cleaner block change interactions static in headermtilden@gmail.com2-2/+4
2011-12-27Set player interaction kicking to 5 interactions per .1 seconds to help with lag disconnects. Still need to change code to lessen the false positives.admin@omencraft.com1-2/+2
2011-12-27Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithmsfaketruth5-12/+55
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth10-90/+160
2011-12-26- improved Simulator system lapayo94@gmail.com14-55/+277
2011-12-26- improved ClosestPlayerDetection (Really the closest now ;))lapayo94@gmail.com2-30/+46
2011-12-26Fixed the little check for max players. If somehow a player was able to connect and the number of players would exceed the max players, everybody is allowed in and the server will never be 'full'. It's fixed nowfaketruth1-9/+9
2011-12-26 - Linux compatible fixes including updated makefilemtilden@gmail.com14-47/+72
2011-12-26 - Added timer to cPlayer PlayerListItem because sending the packets like minecraft does (every tick per player) is 20 pps per client to each client and was causing Kicks for having too high of a packet queuemtilden@gmail.com2-7/+17
2011-12-26 - Default Notchian Ping (static until ping implemented through keepalive send/receive)mtilden@gmail.com2-4/+12
2011-12-26 - Scoreboard deleting moved to cClientHandle::~cClientHandle() with checks. Please test this every way you can with clients disconnecting from the internet, crashing, etc. It should work on all cases as every client gets called in this part to be 'Deleted'mtilden@gmail.com1-6/+10
2011-12-26Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cppfaketruth4-251/+274
2011-12-26 - Cleaned up PLI Packet and its creation/sending and fixed bug of player not being removed on scoreboard (forgot to send color in the removal packet)mtilden@gmail.com5-11/+22
2011-12-26Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speedfaketruth7-73/+104
2011-12-26 - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard displaymtilden@gmail.com8-5/+80
2011-12-25- Fixed Bug #99 -> Mobs no longer bother you in creative modelapayo94@gmail.com40-1235/+347
2011-12-25- fixed the code from the last commit :)lapayo94@gmail.com2-5/+7
2011-12-25- Fixed a critical bug, which caused players to not getting spawned on the others clientlapayo94@gmail.com2-84/+89
2011-12-25- Implemented function to check item categorylapayo94@gmail.com3-2/+43
2011-12-25Refactored both simulators (water and lava) to make them more flexible and easier to modifylapayo94@gmail.com6-549/+382
2011-12-25Hold item is now dropped when inventory is closedlapayo94@gmail.com4-8/+32
2011-12-25Code improvementslapayo94@gmail.com8-5/+486
2011-12-25The missing file! cChunkGenerator.h/cppfaketruth2-0/+195
2011-12-25- improved and simplified the door system (shorter, clearer)lapayo94@gmail.com4-62/+85
2011-12-25Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :Ofaketruth10-82/+184
2011-12-24Very alpha water physic for pickups (The swim now)lapayo94@gmail.com4-6/+168
2011-12-24Max. players and MOTD are now changeable in the settings.inilapayo94@gmail.com3-7/+42
2011-12-23Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking atfaketruth5-9/+55
2011-12-22Digging leaves with shears now drops leaveslapayo94@gmail.com7-11/+52
2011-12-22Fixes:lapayo94@gmail.com10-18/+30
2011-12-21Missed a class in r94 ;) Sorry guys :Dlapayo94@gmail.com2-0/+96
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com42-275/+315
2011-11-15Changed chunk generation so any surface sand with air underneath it will turn into sandstone to prevent most sand cave-ins due to odd cave placement.admin@omencraft.com1-12/+37
2011-11-12Put view distance back to 13. Didn't mean to change that.admin@omencraft.com1-1/+1
2011-11-11Found and fixed a bug not letting users place blocks in water or lava.admin@omencraft.com2-3/+8
2011-11-10Fixed logging in underground bug this time. A hack, but it works. :Dadmin@omencraft.com1-4/+4
2011-11-10Can now set gamemode via lua.admin@omencraft.com5-4/+19
2011-11-10Some more changes to redstone. admin@omencraft.com1-12/+14
2011-11-10Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.admin@omencraft.com6-26/+258
2011-11-10Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support.admin@omencraft.com2-6/+11
2011-11-10Added code for doors. Doors now place correctly but opening them is buggy and I need to change the current opening code to use bitwise operators.admin@omencraft.com3-5/+108
2011-11-10Storms were WAY too frequent. I toned them down.admin@omencraft.com1-4/+4
2011-11-10Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com5-20/+191
2011-11-09Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com6-3/+79
2011-11-09bugfix to redstone, it can climb walls again.admin@omencraft.com2-16/+43
2011-11-09Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations.admin@omencraft.com6-108/+298
2011-11-08Fixed world timefaketruth2-1/+13
2011-11-08It's a Squirrel!!faketruth11-31/+529
2011-11-08Fixed bug in cChunk.cpp not calculating RedstoneCircuits at the correct positions. Also, forgot to mention you can now place colored wool.admin@omencraft.com1-2/+2
2011-11-07Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update.admin@omencraft.com6-121/+238
2011-11-07More updates to cPiston.cpp. Piston action will now only be broadcasted to players who have the chunk with the moving piston loaded.admin@omencraft.com1-2/+6
2011-11-07Added Sebi's changes to pistons and item drops.admin@omencraft.com6-423/+172
2011-11-07Pistons now generate noise and animate when moving.admin@omencraft.com3-4/+50
2011-11-07Added three new packets and cleaned up cPacket_Thunderbolt.cpp... cPacket_BlockAction, cPacket_Explosion, and cPacket_SoundEffect.admin@omencraft.com8-50/+232
2011-11-06Redstone wire now updates correctly when added and removed. it also updates all currently programmed redstone items and wire circuits. Also cleaned up the mess I left of the code.admin@omencraft.com3-194/+47
2011-11-06Redstone is now self aware. It's not quite as dumb as it used to be at any rate. Redstone wires have no range and understand they are supposed to stay on whenever there's an active torch touching it. (Need to add other power devices)admin@omencraft.com3-42/+232
2011-11-06Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch.admin@omencraft.com12-276/+523
2011-11-06Finished most of piston class. Pistons should work when a redstone current with wire is lit up or extinguished near them but don't yet. There'sa bug to kill.admin@omencraft.com3-48/+408
2011-11-05Change SetBlock to FastSetBlock in cRedstone.cpp and grass will now grow if any one hit block is above it.admin@omencraft.com2-22/+27
2011-11-05Added all the items up to Beta 1.9.5. Added pistons and piston class.admin@omencraft.com5-18/+364
2011-11-04Added cRedstone to project filefaketruth2-7/+6
2011-11-04Changed use of deprecated function.admin@omencraft.com1-14/+19
2011-11-04celeaning up the mess I made of cRedstone.h. >.>admin@omencraft.com1-77/+0
2011-11-04Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance.admin@omencraft.com5-25/+215
2011-11-03Fixed some redstone items and a bug that prevented floats from client to server packets reading correctly on 64 bit linux.admin@omencraft.com5-14/+15
2011-11-03Added some redstone items.admin@omencraft.com3-7/+54
2011-11-03Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:)admin@omencraft.com3-11/+42
2011-11-02Added New/Invaid State and Thunderbolt packets. For testing purposes it now rains whenever a player opens a workbench and stops when they pen a chest. The rain start/stop in only sent to the sole clientopening the items.admin@omencraft.com6-7/+128
2011-11-02Fixed some "Entity was not found in any chunk!" warningsfaketruth8-28/+74
2011-11-02Fixed player spawn teleport postion.admin@omencraft.com1-1/+2
2011-11-02Fixed crash when client only sends a space in the chatfaketruth1-0/+2
2011-11-02Changed world gamemode location to world.ini for world based gamemodes.admin@omencraft.com1-2/+4
2011-11-01fixed player spawning in the ground.admin@omencraft.com3-6/+5
2011-11-01Accidentally removed a line of codefaketruth1-1/+2
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth16-165/+476
2011-11-01forogt to update all of cPlayer.cpp for player based gamemode.admin@omencraft.com1-1/+1
2011-11-01Put in some sanity checks to ensure players don't interact with blocks too quickly. Changed gamemode to be player based. (MCServer crashes when picking up an item. Need to find and fix bug.)admin@omencraft.com3-14/+56
2011-11-01Players can now place blocks in creative mode. The blocks players select from the creative mode inventory are not stored in the players' inventory. (I kind of like that)admin@omencraft.com2-3/+4
2011-10-31denotch map converter works! :Dadmin@omencraft.com1-8/+9
2011-10-31Player data is saved and loaded as human readable JSON now.faketruth10-74/+317
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth40-206/+402
2011-10-30Changed cChunkMat.cpp back to normal. Made more changes to the denotch map converter. Testing cNBTData parser.admin@omencraft.com1-5/+0
2011-10-29Added denotch map converter. Program currently reads the only mcr file in the region dir and writes the uncompressed chunk data in world/X0-Z0.pak. I compile in linux with "g++ cConvert.cpp -lz -o denotch"admin@omencraft.com2-6/+11
2011-10-27Fixed a memory leakfaketruth1-0/+1
2011-10-26Made several recomended changes. Gamemode is now world based. Need to add it to player.admin@omencraft.com11-19/+26
2011-10-26Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet.admin@omencraft.com3-8/+9
2011-10-26Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice.admin@omencraft.com5-5/+8
2011-10-26Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode.admin@omencraft.com8-6/+81
2011-10-26Updated VS2010 project filesfaketruth1-104/+43
2011-10-26Fixed bug in cMakeDir where it would only create directories named "world"faketruth3-34/+16
2011-10-26added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier.admin@omencraft.com1-3/+70
2011-10-26git-svn-id: http://mc-server.googlecode.com/svn/trunk@10 0a769ca7-a7f5-676a-18bf-c427514a06d6admin@omencraft.com29-10/+1707
2011-10-25Using SSE instructions for noise (terrain generation)faketruth3-9/+84
2011-10-23Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms.faketruth6-88/+165
2011-10-22Found something that calls a function when a segfault happens, might be useful.faketruth1-4/+16
2011-10-21Compiles for linuxfaketruth17-24/+63
2011-10-03MCServer c++ source filesfaketruth233-0/+35759