Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-10-21 | cWorld Threads: Seperate initialization and thread start. | peterbell10 | 1 | -2/+4 | |
Prevents nullptr dereferences before Start has been called. | |||||
2017-10-21 | cWorld: Move Initialization from Start to the constructor. | peterbell10 | 1 | -218/+224 | |
Start now does nothing more than launch the world's threads. | |||||
2017-09-25 | BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) | Bond-009 | 1 | -4/+4 | |
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 1 | -9/+39 | |
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos | |||||
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 1 | -1/+1 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -131/+61 | |
2017-09-07 | Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912) | Lane Kolbly | 1 | -11/+21 | |
2017-09-07 | Changed some int parameters to vector parameters (#3937) | Bond-009 | 1 | -4/+4 | |
2017-09-05 | Add cWorld::RemoveEntity and use in cEntity (#4003) | peterbell10 | 1 | -0/+30 | |
* Add cWorld::RemoveEntity and use in cEntity * cEntity: Remove uneeded asserts from Destroy and DoMoveToWorld | |||||
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -63/+133 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -133/+63 | |
2017-08-29 | cWorld: Add entities without holding of m_CSEntitiesToAdd | peterbell10 | 1 | -9/+12 | |
* Fixes deadlock when cWorld::AddEntity is called while holding chunk map CS. | |||||
2017-08-25 | Add cUUID class (#3871) | peterbell10 | 1 | -2/+3 | |
2017-08-21 | Fully implemented leashes (#3798) | Pablo Beltrán | 1 | -0/+18 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 1 | -4/+14 | |
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -106/+148 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 1 | -1/+0 | |
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 1 | -5/+0 | |
2017-08-01 | cWorld::SendBlockTo take player by ref | peterbell10 | 1 | -1/+1 | |
2017-07-21 | Remove smart pointer macros | peterbell10 | 1 | -3/+3 | |
2017-07-16 | Simulators: Added area-based wakeup. | Mattes D | 1 | -1/+1 | |
2017-07-12 | Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843) | Lane Kolbly | 1 | -0/+16 | |
2017-07-07 | Added bed entity (#3823) | Lukas Pioch | 1 | -0/+9 | |
* Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds | |||||
2017-06-20 | Let water vaporise in the Nether by default | Bond-009 | 1 | -5/+6 | |
2017-06-16 | Remove sign conversion | peterbell10 | 1 | -5/+5 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 1 | -28/+36 | |
2017-05-24 | Exported boat | Lukas Pioch | 1 | -2/+2 | |
- NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions | |||||
2017-05-21 | Don't destroy monster when last target type is a player (#3721) | Pablo Beltrán | 1 | -2/+2 | |
In current Cuberite version if you are pursued by monsters you just have to disconnect and connect again to get rid of them. If no other player is in your chunk monsters will get destroyed. | |||||
2017-05-11 | Tracer replacement (#3704) | Mattes D | 1 | -22/+16 | |
* Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | |||||
2017-05-08 | Added missing checks for Initialize function and updated APIDoc | Lukas Pioch | 1 | -7/+40 | |
2017-02-24 | Changed world_end to world_the_end #3531 (#3538) | Bond-009 | 1 | -2/+7 | |
2017-02-15 | Updated sounds and effect IDs (#3422) | mathiascode | 1 | -3/+3 | |
2017-02-14 | Added some blocks and items (#3503) | mathiascode | 1 | -0/+22 | |
2017-02-07 | Made survival the default gamemode (#3563) | Lawton Mizell | 1 | -1/+1 | |
2017-01-19 | World: Remember the age persistently. (#3556) | Mattes D | 1 | -0/+3 | |
2017-01-19 | World: Removed LineBlockTracer test code. (#3555) | Mattes D | 1 | -53/+0 | |
The test for LineBlockTracer is already in the Debuggers plugin (/spidey and testtracer commands). | |||||
2017-01-19 | Removed asserts about chunk queued. | Mattes D | 1 | -2/+0 | |
The assumption is not needed and was invalid under a stress-test. | |||||
2017-01-18 | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 1 | -2/+14 | |
2016-12-29 | World: Add check for unknown RedstoneSimulator (#3496) | Fabian Stein | 1 | -0/+5 | |
2016-12-16 | Initial support for the 1.11 protocol. | Mattes D | 1 | -2/+2 | |
2016-12-12 | Use CMake's Android generators to crosscompile | Tiger Wang | 1 | -3/+3 | |
2016-11-18 | Removed ClientHandle.h dependencies from common headers. | Mattes D | 1 | -0/+9 | |
2016-10-12 | Spectators added (#2852) | bibo38 | 1 | -2/+20 | |
2016-09-03 | Configurable dirty unused chunk cap to avoid RAM overuse (#3359) | LogicParrot | 1 | -10/+32 | |
Configurable dirty unused chunk cap to avoid RAM overuse | |||||
2016-08-22 | Delay EntityChangedWorld players' callback until Entity fully linked to world (#3330) | ElNounch | 1 | -10/+25 | |
Otherwise, some API calls just don't seem to happen .gitignore tweak for test executables | |||||
2016-08-15 | Added cWorld:SetSpawn() API and Lua binding (#3316) | ElNounch | 1 | -12/+29 | |
2016-07-31 | Fix tab list sometimes not updating after a player leaves. (#3280) | Alexander Harkness | 1 | -1/+1 | |
When a player leaves the game, their client handle has its state changed to csDestroyed. This should fix issue #3138 | |||||
2016-07-18 | Updated API documentation. | Mattes D | 1 | -2/+2 | |
2016-06-03 | Makes tall grass and large flowers bonemealable | QUSpilPrgm | 1 | -12/+75 | |
Adds the bonemeal particle effect to some more places | |||||
2016-06-03 | Update Dispensers and let them act more like in Vanilla | QUSpilPrgm | 1 | -61/+70 | |
- Added code to make bonemeal, potions, minecarts, XP bottles and boats work inside dispensers - Dispensers are now able to place TNT if the block is transparent but not air - Added return value that indicates the success of pumpkin, melon, sugarcane and cactus growing functions - Changed return value of "GrowRipePlant" so that it actually indicates if the block was able to grow - Fixed "GrowSugarcane" and "GrowCactus" in "GrowRipePlant" so that it only grows them a single block | |||||
2016-05-14 | 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) | Pokechu22 | 1 | -2/+11 | |
* Semistable update to 15w31a I'm going through snapshots in a sequential order since it should make things easier, and since protocol version history is written. * Update to 15w34b protocol Also, fix an issue with the Entity Equipment packet from the past version. Clients are able to connect and do stuff! * Partially update to 15w35e Chunk data doesn't work, but the client joins. I'm waiting to do chunk data because chunk data has an incomplete format until 15w36d. * Add '/blk' debug command This command lets one see what block they are looking at, and makes figuring out what's supposed to be where in a highly broken chunk possible. * Fix CRLF normalization in CheckBasicStyle.lua Normally, this doesn't cause an issue, but when running from cygwin, it detects the CR as whitespace and creates thousands of violations for every single line. Lua, when run on windows, will normalize automatically, but when run via cygwin, it won't. The bug was simply that gsub was returning a replaced version, but not changing the parameter, so the replaced version was ignored. * Update to 15w40b This includes chunk serialization. Fully functional chunk serialization for 1.9. I'm not completely happy with the chunk serialization as-is (correct use of palettes would be great), but cuberite also doesn't skip sending empty chunks so this performance optimization should probably come later. The creation of a full buffer is suboptimal, but it's the easiest way to implement this code. * Write long-by-long rather than creating a buffer This is a bit faster and should be equivalent. However, the code still doesn't look too good. * Update to 15w41a protocol This includes the new set passengers packet, which works off of the ridden entity, not the rider. That means, among other things, that information about the previously ridden vehicle is needed when detaching. So a new method with that info was added. * Update to 15w45a * 15w51b protocol * Update to 1.9.0 protocol Closes #3067. There are still a few things that need to be worked out (picking up items, effects, particles, and most importantly inventory), but in general this should work. I'll make a few more changes tomorrow to get the rest of the protocol set up, along with 1.9.1/1.9.2 (which did make a few changes). Chunks, however, _are_ working, along with most other parts of the game (placing/breaking blocks). * Fix item pickup packet not working That was a silly mistake, but at least it was an easy one. * 1.9.2 protocol support * Fix version info found in server list ping Thus, the client reports that it can connect rather than saying that the server is out of date. This required creating separate classes for 1.9.1 and 1.9.2, unfortunately. * Fix build errors generated by clang These didn't happen in MSVC. * Add protocol19x.cpp and protocol19x.h to CMakeLists * Ignore warnings in protocol19x that are ignored in protocol18x * Document BLOCK_FACE and DIG_STATUS constants * Fix BLOCK_FACE links and add separate section for DIG_STATUS * Fix bat animation and object spawning The causes of both of these are explained in #3135, but the gist is that both were typos. * Implement Use Item packet This means that buckets, bows, fishing rods, and several other similar items now work when not looking at a block. * Handle DIG_STATUS_SWAP_ITEM_IN_HAND * Add support for spawn eggs and potions The items are transformed from the 1.9 version to the 1.8 version when reading and transformed back when sending. * Remove spammy potion debug logging * Fix wolf collar color metadata The wrong type was being used, causing several clientside issues (including the screen going black). * Fix 1.9 chunk sending in the nether The nether and the end don't send skylight. * Fix clang build errors * Fix water bottles becoming mundane potions This happened because the can become splash potion bit got set incorrectly. Water bottles and mundane potions are only differentiated by the fact that water bottles have a metadata of 0, so setting that bit made it a mundane potion. Also add missing break statements to the read item NBT switch, which would otherwise break items with custom names and also cause incorrect "Unimplemented NBT data when parsing!" logging. * Copy Protocol18x as Protocol19x Aditionally, method and class names have been swapped to clean up other diffs. This commit is only added to make the following diffs more readable; it doesn't make any other changes (beyond class names). * Make thrown potions use the correct appearence This was caused by potions now using metadata. * Add missing api doc for cSplashPotionEntity::GetItem * Fix compile error in SplashPotionEntity.cpp * Fix fix of cSplashPotionEntity API doc * Temporarilly disable fall damage particles These were causing issues in 1.9 due to the changed effect ID. * Properly send a kick packet when connecting with an invalid version This means that the client no longer waits on the server screen with no indication whatsoever. However, right now the server list ping isn't implemented for unknown versions, so it'll only load "Old" on the ping. I also added a GetVarIntSize method to cByteBuffer. This helps clean up part of the code here (and I think it could clean up other parts), but it may make sense for it to be moved elsewhere (or declared in a different way). * Handle server list pings from unrecognized versions This isn't the cleanest way of writing it (it feels odd to use ProtocolRecognizer to send packets, and the addition of m_InPingForUnrecognizedVersion feels like the wrong technique), but it works and I can't think of a better way (apart from creating a full separate protocol class to handle only the ping... which would be worse). * Use cPacketizer for the disconnect packet This also should fix clang build errors. * Add 1.9.3 / 1.9.4 support * Fix incorrect indentation in APIDesc | |||||
2016-05-01 | Fix Crash on stopping the server (#3176) | LogicParrot | 1 | -2/+0 | |
2016-04-30 | Disable Enderman Spawn (Issue #3108) (#3170) | benf516 | 1 | -2/+2 | |
Temporarily disabled enderman spawning until the glitches can be fixed | |||||
2016-04-22 | Reduced unnecessary block updates | LogicParrot | 1 | -11/+2 | |
2016-04-19 | Auto clean bad world linkages | LogicParrot | 1 | -16/+14 | |
2016-04-16 | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage | LogicParrot | 1 | -2/+4 | |
2016-04-06 | Revert "Move mob tick code to cChunk" | LogicParrot | 1 | -0/+46 | |
2016-04-06 | Move mob tick code to cChunk | LogicParrot | 1 | -46/+0 | |
2016-03-31 | Fix adding players to world | LogicParrot | 1 | -1/+1 | |
2016-03-30 | Entities are never lost | LogicParrot | 1 | -19/+13 | |
2016-03-23 | Rewrite mob tick code | LogicParrot | 1 | -18/+41 | |
2016-02-21 | Add check if entity is in chunk before changing tick status | Marvin Kopf | 1 | -2/+8 | |
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -10/+21 | |
2016-02-09 | Add forum link to linkage error message | LogicParrot | 1 | -1/+1 | |
2016-02-08 | Improve world linkage error message | LogicParrot | 1 | -2/+2 | |
2016-02-06 | Proper world linkages and dimension types for newly created world.ini's | LogicParrot | 1 | -2/+12 | |
2016-02-05 | Tab completion for player names now case insensitive. | Marvin Kopf | 1 | -1/+1 | |
2016-02-05 | Prevent server from starting if there's bad world linkage | LogicParrot | 1 | -0/+34 | |
2016-02-03 | cMonster::m_Target safety across worlds | LogicParrot | 1 | -0/+20 | |
2016-01-16 | Fixed non-natural spawning near player (egg, breeding, etc.) | LogicParrot | 1 | -9/+0 | |
2016-01-12 | Do not spawn mobs too close to player | LogicParrot | 1 | -54/+63 | |
2015-12-30 | Fixed default Nether generator params. | Mattes D | 1 | -1/+1 | |
The prefab file is "NetherFort" | |||||
2015-12-20 | Fixed spawn point. Wrong number for divisions and wrong highest spawn point. | Lukas Pioch | 1 | -3/+4 | |
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 1 | -4/+2 | |
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | |||||
2015-12-01 | Changed Nether defaults to use PieceStructures. | Mattes D | 1 | -1/+1 | |
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 1 | -10/+10 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-13 | Improved spawn location calculations. | samoatesgames | 1 | -69/+168 | |
- Supports Overworld and Nether spawns. - Supports spawning under objects, but still above ground (e.g. under the leaves of a tree). - Protects against spawning in oceans. - Protects against spawning in water. - Uses a radial search about the origin, rather than a linear. - Correctly calculates Nether spawn on spawn world generation (fixes: cuberite#2548) - Fixes a bug in CheckPlayerSpawnPoint() where the X offset was used in both the X and Z coords (BLOCKTYPE BlockType = GetBlock(a_PosX + Coords[i].x, a_PosY, a_PosZ + Coords[i].x);) | |||||
2015-11-03 | Implemented brewing | Lukas Pioch | 1 | -0/+18 | |
2015-10-01 | The bottom layer cannot hold a valid spawn point | worktycho | 1 | -0/+6 | |
Fixes #2510 | |||||
2015-09-28 | Added weather intervals to world.ini settings. | Mattes D | 1 | -4/+46 | |
2015-09-25 | Prepared ScheduleTask for threading refactor | Tiger Wang | 1 | -131/+35 | |
* Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | |||||
2015-09-24 | Add new "ForEach" function: ForEachLoadedChunk. | tycho | 1 | -0/+9 | |
2015-09-15 | Increase robustness of the logging subsystem | tycho | 1 | -6/+0 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -1/+0 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -26/+28 | |
2015-07-16 | Spawn baby mobs | hallucino | 1 | -1/+6 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -1/+2 | |
2015-07-13 | Sapling Growth Update | Samuel Barney | 1 | -2/+16 | |
* Growth has been slowed down * Saplings do not grow if they do not have enough space to grow * Saplings do not grow unless the light level is 9 or above * Dark Oak doesn't grow unless it is in a 2x2 Jungle Trees now will grow into a large tree when 2x2 saplings are used. | |||||
2015-07-06 | Squashed Bonemeal Plant Growth Update | Samuel Barney | 1 | -13/+85 | |
* Fixed Crops growing to maturity with only 1 bonemeal * Trees now go through growth stages with bonemeal, as they do in Vanilla Minecraft | |||||
2015-06-28 | Added a size check for portals. | STRWarrior | 1 | -0/+4 | |
Made the portal size configurable Alpha-sorted SetXYZNetherPortalXYZ functions | |||||
2015-06-24 | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 1 | -3/+9 | |
2015-06-22 | Fixed minor errors in Tycho's code | Tiger Wang | 1 | -1/+1 | |
Everything should work now :) | |||||
2015-06-10 | Reinstate "Chunk queue collapsing" | Tiger Wang | 1 | -14/+43 | |
This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | |||||
2015-06-07 | Revert "Chunk queue collapsing" | worktycho | 1 | -43/+14 | |
2015-06-06 | Redstone wire and trapdoor fixes | Tiger Wang | 1 | -1/+1 | |
* Fixes #1887 * Fixes #1763 * Fixes #1083 | |||||
2015-06-05 | Made the list of chunks to stream an unordered_set | tycho | 1 | -2/+2 | |
This should increase performance of chunk streaming | |||||
2015-06-05 | Moved Chunk Broadcasts over to the regular queue | tycho | 1 | -14/+43 | |
2015-05-30 | Made cLightingThread own its callbacks | tycho | 1 | -4/+4 | |
2015-05-30 | Clean up Spawn Prepare | tycho | 1 | -136/+2 | |
Made cSpawnPrepare execute on the same thread since it is a syncronous operation, and most of the code happens on the lighting thread. Also moved cSpawnPrepare into its own file | |||||
2015-05-23 | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 1 | -1/+1 | |
2015-05-21 | Added thunder sound effect to CastThunderbolt() | b33duck | 1 | -0/+1 | |
2015-05-19 | Fixed compile and a few more warnings | tycho | 1 | -1/+1 | |
2015-05-17 | Updated the defaults for the overworld world generator | STRWarrior | 1 | -1/+1 | |
2015-05-16 | Move make_unique into a namespace to avoid ADL issues | tycho | 1 | -5/+5 | |
this prevents VS finding std::make_unique for constructors that take types from std | |||||
2015-05-14 | Update World.cpp | Martin Fahy | 1 | -2/+2 | |
Fixed minor typos in comments, simply trying to understand the code base to fix issue regarding no sound when lighting is produced, no change to actual code. | |||||
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 1 | -1/+1 | |
2015-05-09 | More style checking. | Mattes D | 1 | -2/+2 | |
Spaces around some operators are checked. | |||||
2015-05-07 | Added support for additional data in the ParticleEffect Packet | tycho | 1 | -9/+15 | |
Also started refactoring how broadcasts are handled | |||||
2015-04-29 | Added Guardian and Rabbit to DefaultMonsters in Overworld | Mathias | 1 | -1/+1 | |
2015-04-27 | cSetChunkData constructor explicitly requires std::move() instead of | Woazboat | 1 | -1/+1 | |
unsafely stealing data | |||||
2015-04-19 | Added GlowStone finisher | STRWarrior | 1 | -1/+1 | |
2015-03-21 | Changed linked world name variables and setters / getters. | Mattes D | 1 | -10/+10 | |
Ref.: #1792 Ref.: https://github.com/mc-server/MCServer/pull/1792#discussion_r25946707 | |||||
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -23/+22 | |
2015-03-20 | Added cPluginLua::cResettable interface, used for scheduled tasks. | Mattes D | 1 | -5/+5 | |
This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data. Fixes #1556. | |||||
2015-03-19 | Fixed a clang warning, improved comments. | Mattes D | 1 | -7/+4 | |
2015-03-18 | World:DoWithEntityByID() checks the entities-to-add as well. | Mattes D | 1 | -0/+14 | |
This allows plugins to create entities and immediately act on them using that call. This will most likely need to be added to most of the DoWith<> and ForEach<> calls. | |||||
2015-03-14 | Fixed a small bug | tumultenrx | 1 | -1/+1 | |
2015-03-13 | Monsters will now attack. Additional checks have been added when generating spawn. | tumultenrx | 1 | -4/+64 | |
Monsters will now attack. Additional checks have been added when generating spawn. | |||||
2015-03-05 | Reverted non-functional changes | Tiger Wang | 1 | -25/+0 | |
2015-02-08 | Handle client 'leave bed' request | Tiger Wang | 1 | -1/+26 | |
* Fixes #1728 | |||||
2015-01-27 | Converted cServer to use the cNetwork API. | Mattes D | 1 | -14/+17 | |
2015-01-23 | Fixed defect #71781 in Coverity list. | Kirill Kirilenko | 1 | -0/+5 | |
2015-01-18 | Fixed type conversion warnings. | Mattes D | 1 | -3/+3 | |
2015-01-17 | correct comment to say milliseconds | worktycho | 1 | -1/+1 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -42/+37 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2015-01-11 | Created new type cTickTime and rewrote cWorld::TickThread to use it | Tycho | 1 | -6/+5 | |
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -2/+11 | |
Fixes #1618. | |||||
2014-12-22 | Fix compile error on OS X introduced by commit ecf778bbec2794562bf5e5b8645e2171f7cd081c | Jonathan Fabian | 1 | -1/+1 | |
The following error occurs on OS X with the order reversed: `MCServer/src/World.cpp:282:2: error: field 'm_LastSave' will be initialized after field 'm_LastUnload' [-Werror,-Wreorder] m_LastSave(0),`. Reversing the order of initialization fixes this. | |||||
2014-12-21 | cWorld: Moved initialization into constructor. | Mattes D | 1 | -3/+2 | |
Fixes CID 71781. | |||||
2014-12-18 | Guardian can now spawn if wanted!? | Masy98 | 1 | -1/+1 | |
2014-12-18 | Added Entity Guardian | Masy98 | 1 | -1/+1 | |
2014-12-14 | Fixed mob invisibility | Howaner | 1 | -1/+0 | |
2014-12-14 | "& 0x0f" isn't needed | Howaner | 1 | -1/+1 | |
2014-12-13 | Fixes | Howaner | 1 | -1/+15 | |
2014-12-10 | Added a cWorld:PrepareChunk function. | Mattes D | 1 | -2/+11 | |
It prepares the chunk - loads or generates it and lights it. The spawn prepare process uses this function. | |||||
2014-12-10 | Moved NetherOreNests | tonibm19 | 1 | -1/+1 | |
2014-12-08 | Moved NaturalPatches in front of PreSimulator and Animals. | Mattes D | 1 | -1/+1 | |
2014-12-08 | Added NetherOreNests to nether default generator. | tonibm19 | 1 | -1/+1 | |
Now there's quartz in the nether | |||||
2014-12-08 | Added NaturalPatches to finishers | tonibm19 | 1 | -1/+1 | |
2014-12-07 | Fixed crash on server stop. | Mattes D | 1 | -0/+9 | |
The entity destructors called through chunkmap destructor and chunk destructor were accessing the world which was in an already invalid state (half-destroyed). Fixed by destroying chunkmap explicitly and providing a nullptr check in the HasEntity() function. | |||||
2014-12-07 | Fixed c++11 branch issues. | Mattes D | 1 | -1/+3 | |
2014-12-05 | Fixed reported parentheses around comparisons. | Mattes D | 1 | -2/+2 | |
2014-12-03 | Allow Spectator Gamemode as a world default. | Jonathan Fabian | 1 | -1/+1 | |
2014-12-03 | forgot generation defaul init | p-mcgowan | 1 | -1/+1 | |
2014-12-01 | Added better soulsand rims | STRWarrior | 1 | -1/+1 | |
As a finisher called SoulsandRims | |||||
2014-11-30 | Fixed a crash in cSpawnPrepare. | Mattes D | 1 | -0/+2 | |
2014-11-30 | Improved comments for cWorld::DoWithPlayer(). | Mattes D | 1 | -1/+1 | |
2014-11-30 | removed GetUsernames() from World | Vincent | 1 | -15/+0 | |
2014-11-29 | fixed naming of strings and changed from i to I | Vincent | 1 | -3/+7 | |
2014-11-29 | issue 1253 - prevent multiple logins with same username | Vincent | 1 | -0/+12 | |
2014-11-26 | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 1 | -132/+123 | |
2014-11-24 | Changed back capitalization. | Mattes D | 1 | -3/+3 | |
2014-11-22 | cWorld: Rewritten spawn preparation. | Mattes D | 1 | -120/+111 | |
It now supports pregeneration distance of any size and runs in two threads in parallel (generator / lighting). Fixes #1597. | |||||
2014-11-20 | cWorld: Changed generator defaults. | Mattes D | 1 | -13/+17 | |
2014-11-15 | Fixed a security problem with signs. | Howaner | 1 | -9/+3 | |
2014-11-06 | Fixed an extra space. | Mattes D | 1 | -1/+1 | |
2014-11-05 | renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump | Lukas Pioch | 1 | -2/+3 | |
2014-11-02 | Simplified FindAndDoWithUUID, formatted line | Lukas Pioch | 1 | -7/+1 | |
2014-11-02 | Added FindAndDoWithUUID | Lukas Pioch | 1 | -0/+22 | |
2014-10-30 | Added a MaxViewDistance option. | Howaner | 1 | -0/+3 | |
2014-10-25 | Cleaned up simulators | Tiger Wang | 1 | -3/+3 | |
2014-10-23 | Merged IniFile into main MCS sources. | Mattes D | 1 | -1/+1 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -35/+35 | |
2014-10-21 | Missing space fix. | Alexander Harkness | 1 | -1/+1 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -35/+35 | |
2014-10-20 | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 1 | -16/+11 | |
2014-10-19 | Migrated random generators to std::random | Tiger Wang | 1 | -1/+0 | |
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -5/+5 | |
2014-10-13 | cWorld: Fixed scheduler. | Mattes D | 1 | -9/+18 | |
Fixes #1534. Added a test case into the Debuggers plugin. | |||||
2014-10-13 | Fixed style. | Mattes D | 1 | -2/+4 | |
2014-10-12 | Fix style | worktycho | 1 | -2/+2 | |
2014-10-12 | Update World.cpp | worktycho | 1 | -1/+1 | |
2014-10-11 | Fix lambda capture | worktycho | 1 | -1/+2 | |
2014-10-10 | Moved a few objects to unique_ptr | tycho | 1 | -29/+24 | |
2014-10-06 | Stream 4 chunks per tick. Added priority. | Howaner | 1 | -4/+4 | |
2014-10-02 | Optimized chunk loader | Howaner | 1 | -1/+0 | |
2014-09-30 | Fixed iron trapdoors | Howaner | 1 | -2/+2 | |
2014-09-29 | World: Fixed chunk generation by plugins. | madmaxoft | 1 | -1/+1 | |
ChunkWorx was broken, it was trying to generate chunks that were not properly marked as InQueue. | |||||
2014-09-26 | Fixed players custom name in 1.8 | Howaner | 1 | -2/+2 | |
2014-09-26 | Improved searching for spawn. | madmaxoft | 1 | -3/+14 | |
Won't spawn on a small island inside ocean anymore. | |||||
2014-09-18 | Exported player list states to extra functions. | Howaner | 1 | -3/+75 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 1 | -3/+3 | |
2014-09-16 | IncrementalRedstoneSimulator now has no dependencies on cChunk | Tycho | 1 | -1/+1 | |
2014-09-12 | Fixed farmland issues. | Howaner | 1 | -1/+1 | |
2014-09-11 | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 1 | -3/+3 | |
THis wil hopefully allow for unit testing | |||||
2014-09-11 | 1.8: Added ParticleEffect packet. | Howaner | 1 | -2/+2 | |
2014-09-09 | Actually set default | worktycho | 1 | -0/+1 | |
2014-09-09 | Added the player list to the 1.8 protocol. | Howaner | 1 | -3/+3 | |
2014-09-08 | use the correct ASSERT | worktycho | 1 | -2/+2 | |
2014-09-08 | FIxed a couple more warnings | Tycho | 1 | -2/+8 | |
2014-09-08 | TimeOfDay does not need to be an Int64 | Tycho | 1 | -1/+1 | |
2014-09-08 | Fixed a few compile warnings | Tycho | 1 | -9/+14 | |
2014-09-05 | Rewritten chunk status to specify whether the chunk is in queue. | Mattes D | 1 | -18/+20 | |
This fixes #1370. | |||||
2014-09-03 | Added cWorld::ForEachEntityInBox() | madmaxoft | 1 | -0/+9 | |
2014-09-03 | hopefully the last commit for removing y-coord from chunks. :) | LO1ZB | 1 | -11/+2 | |
2014-09-02 | Added SetCustomName() to players. | Howaner | 1 | -5/+9 | |
2014-08-29 | me being stupid | LO1ZB | 1 | -1/+1 | |
2014-08-29 | add comments | LO1ZB | 1 | -1/+2 | |
2014-08-29 | fix chunk regenerating | LO1ZB | 1 | -0/+8 | |
2014-08-29 | Rewritten block entity loading. | Mattes D | 1 | -2/+4 | |
Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked. The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't. Fixes #1354. | |||||
2014-08-29 | Improved explosion damage | Tiger Wang | 1 | -3/+6 | |
2014-08-28 | remove y-coord from chunks | LO1ZB | 1 | -11/+10 | |
2014-08-22 | World: Report chunk count for the spawn area. | Mattes D | 1 | -1/+1 | |
2014-08-21 | Added cWorld initializers. | Mattes D | 1 | -0/+30 | |
2014-08-19 | Code formatting fixes. | Howaner | 1 | -0/+1 | |
2014-08-14 | CheckBasicStyle checks the src folder as well. | madmaxoft | 1 | -1/+1 | |
2014-08-11 | Exported daylight cycle flag to the protocol. | Howaner | 1 | -8/+1 | |
2014-08-10 | Added a comment and simplified code. | Howaner | 1 | -5/+2 | |
2014-08-10 | Added IsDaylightCycleEnabled saving. | Howaner | 1 | -0/+2 | |
2014-08-10 | Renamed functions. | Howaner | 1 | -3/+3 | |
2014-08-08 | Renamed m_DoDaylightCycle to m_CycleDaylight. | Howaner | 1 | -3/+3 | |
2014-08-07 | Added SetDoDaylightCycle() and IsDaylightCycleEnabled() to cWorld. | Howaner | 1 | -17/+32 | |
I need this for a GameRule plugin. | |||||
2014-08-01 | Fixed issues with autocomplete and time loading | Tiger Wang | 1 | -7/+33 | |
* Fixes #1274 | |||||
2014-07-31 | Capitalised "incremental" | Howaner | 1 | -4/+4 | |
2014-07-31 | Added a default value to WaterSimulator, LavaSimulator and RedstoneSimulator. | Howaner | 1 | -2/+2 | |
2014-07-30 | Exported the beacon. | Howaner | 1 | -0/+10 | |
2014-07-29 | Slight cleanup after portals | Tiger Wang | 1 | -2/+4 | |
2014-07-27 | Add "Broadcasting" settings to world.ini | Howaner | 1 | -0/+3 | |
2014-07-24 | Added a queue for setting chunk data. | madmaxoft | 1 | -32/+53 | |
Fixes #1196. | |||||
2014-07-24 | Made the cWorld::SpawnMobFinalize function more readable. | STRWarrior | 1 | -0/+10 | |
2014-07-23 | Suggestions | Tiger Wang | 1 | -6/+3 | |
2014-07-22 | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 1 | -11/+6 | |
2014-07-22 | Suggestion and failed merge fix | Tiger Wang | 1 | -0/+5 | |
2014-07-21 | Suggestions | Tiger Wang | 1 | -56/+79 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -1/+1 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 1 | -3/+3 | |
2014-07-20 | Bug and crash fixes | Tiger Wang | 1 | -8/+16 | |
* Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | |||||
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -1/+1 | |
2014-07-19 | World.cpp: fixed not all enum fields being used in m_Dimension switch | archshift | 1 | -1/+2 | |
2014-07-18 | Fix failed merge and other issues | Tiger Wang | 1 | -10/+6 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -10/+10 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-07-17 | Fixed spaces around single-line comments. | madmaxoft | 1 | -17/+15 | |
There should be at least two spaces in front and one space after //-style comments. | |||||
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -5/+5 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-07-15 | Fixed FindClosestPlayer | Tycho | 1 | -3/+6 | |
2014-07-14 | Player properties are now retrieved | Tiger Wang | 1 | -1/+1 | |
2014-07-13 | Made CreateProjectile a pointer | worktycho | 1 | -1/+1 | |
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 1 | -3/+3 | |
2014-07-10 | Implemented support for forced chunk ticking. | madmaxoft | 1 | -0/+9 | |
Fixes #1160. | |||||
2014-07-09 | Fixed arrow collection animation | Tiger Wang | 1 | -9/+0 | |
* Fixed piston extension non-solidness | |||||
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 1 | -4/+13 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
2014-07-04 | Removed world-saving log messages. | madmaxoft | 1 | -2/+0 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1518 | |||||
2014-06-27 | Added generic entity-collecting. | Mattes D | 1 | -1/+10 | |
Now any cEntity can be collected, not only cPickups. This should help PR #1098. | |||||
2014-06-21 | Fixed invalid iterators | Tiger Wang | 1 | -10/+4 | |
2014-06-19 | Nullify deleted pointers. | archshift | 1 | -6/+9 | |
2014-06-12 | Fixed order of initalisation | Tycho | 1 | -3/+4 | |
2014-06-12 | Portals animate and delay correctly | Tiger Wang | 1 | -3/+6 | |
2014-06-10 | Portal improvements and suggestions | Tiger Wang | 1 | -5/+13 | |
2014-06-10 | Fixed a race condition when adding a player to a world. | madmaxoft | 1 | -4/+1 | |
2014-06-08 | Fixed deadlock when moving players to other worlds. | Mattes D | 1 | -29/+82 | |
Fixes #1039, fixes #851 | |||||
2014-06-08 | Added queue for adding entities to cWorld. | Mattes D | 1 | -1/+27 | |
This alone doesn't work properly yet, further changes to cPlayer are needed. | |||||
2014-06-07 | Fixed Time of day | worktycho | 1 | -1/+1 | |
2014-06-05 | Suggestions | Tiger Wang | 1 | -9/+2 | |
2014-06-04 | Time and weather is saved, part of #1058 | Tiger Wang | 1 | -0/+12 | |
Also fixed unreliability in Health and LootPickup loading. | |||||
2014-06-04 | Configurable portals | Tiger Wang | 1 | -0/+26 | |
2014-05-31 | Implemented end and nether portals | Tiger Wang | 1 | -0/+31 | |
2014-05-29 | Changed block send queue to use vectors | Tiger Wang | 1 | -11/+10 | |
As suggested by @worktycho. | |||||
2014-05-25 | Hopefully fixed piston duplication issues | Tiger Wang | 1 | -2/+46 | |
* Fixes #879 * Fixes #714 | |||||
2014-05-09 | World pre-generation distance is settable in world.ini. | Mattes D | 1 | -2/+6 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -4/+3 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -4/+3 | |
2014-04-26 | Moved the weather picker out of TickWeather(), squashing a warning and improving readability. | archshift | 1 | -24/+26 | |
2014-04-26 | Removed impossible default case. | archshift | 1 | -6/+0 | |
Squashed a warning. | |||||
2014-04-26 | Removed extraneous switch{} in Start() | archshift | 1 | -15/+0 | |
Squashed a warning. | |||||
2014-04-25 | Small changes; warning fixing. | archshift | 1 | -6/+3 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -5/+5 | |
2014-04-18 | Fixed #904 | Tiger Wang | 1 | -0/+5 | |
2014-04-15 | Rewrote redstone powering to use power levels | Tiger Wang | 1 | -1/+1 | |
2014-04-12 | Simplified pickup speed randomisation | Tiger Wang | 1 | -4/+3 | |
2014-04-05 | Fixed double projectile spawning. | madmaxoft | 1 | -1/+0 | |
Two spawn packets were sent per projectile. | |||||
2014-03-25 | Removed unused constants. | madmaxoft | 1 | -3/+0 | |
DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now. | |||||
2014-03-25 | More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future. | Samuel Barney | 1 | -1/+2 | |
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | |||||
2014-03-20 | Fixed code style after recent merge. | madmaxoft | 1 | -30/+28 | |
2014-03-20 | Added braces | Tiger Wang | 1 | -0/+2 | |
2014-03-20 | ENUMified shrapnel level | Tiger Wang | 1 | -3/+3 | |
2014-03-18 | Added levels of shrapnel | Tiger Wang | 1 | -1/+3 | |
2014-03-14 | Fixed a warning. | madmaxoft | 1 | -3/+3 | |
2014-03-12 | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 1 | -2/+2 | |
2014-03-11 | Fixed more Format issues | Tycho | 1 | -2/+2 | |
2014-03-11 | Unified Vector classes | andrew | 1 | -1/+0 | |
2014-03-10 | Shrapnel now configurable | Tiger Wang | 1 | -2/+1 | |
2014-03-09 | Improved formatting of username tabcomplete | Tiger Wang | 1 | -7/+7 | |
2014-03-08 | Change TNT Fuse to ticks | Howaner | 1 | -2/+2 | |
2014-03-07 | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 1 | -2/+2 | |
2014-03-07 | Add Flower Pots | Howaner | 1 | -0/+9 | |
2014-03-05 | Added extra awesomeness to TNT | Tiger Wang | 1 | -1/+5 | |
+ TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug | |||||
2014-03-05 | Implemented vanilla-like fluid simulator | andrew | 1 | -8/+18 | |
2014-03-04 | Fixed an assert in map-loading. | madmaxoft | 1 | -3/+1 | |
The maps were loaded too soon, the world wasn't initialized yet. | |||||
2014-03-03 | Fixed previous weather changes. | madmaxoft | 1 | -3/+3 | |
cWorld::GetDefaultWeatherInterval() returns -1 for unknown weather. | |||||
2014-03-02 | Add cancelling to WeatherChanging event. | Howaner | 1 | -13/+40 | |
2014-03-02 | cBlockInfo now manages the respective cBlockHandler | andrew | 1 | -1/+1 | |
2014-03-02 | More documentation (thanks to madmaxoft) and use GetBlockTypeMeta | Howaner | 1 | -4/+8 | |
2014-03-02 | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs | Howaner | 1 | -0/+37 | |
2014-02-27 | Implemented ballistic missiles (fireworks) | Tiger Wang | 1 | -2/+2 | |
+ Added fireworks | |||||
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-23 | Add Heads completely | Howaner | 1 | -0/+9 | |
2014-02-23 | Maps: Improvements | andrew | 1 | -3/+3 | |
2014-02-20 | Thread safe cMap manager | andrew | 1 | -1/+2 | |
2014-02-19 | Add BlockNewLeaves.h and rename Darkoac to Darkoak | Howaner | 1 | -6/+6 | |
2014-02-19 | Add new Trees (without Generator) | Howaner | 1 | -0/+2 | |
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -2/+2 | |
2014-02-18 | Add Heads completely | Howaner | 1 | -0/+9 | |
2014-02-18 | The cuboid for cWorld::SetAreaBiome() doesn't need sorting. | madmaxoft | 1 | -1/+5 | |
2014-02-18 | Added cWorld:SetAreaBiome() API function. | madmaxoft | 1 | -0/+37 | |
Fixes #675. | |||||
2014-02-17 | Map item handler; Fixed several bugs | andrew | 1 | -8/+20 | |
2014-02-15 | Removed the unnecessary LoopPlayersAndBroadcastChat() functions. | madmaxoft | 1 | -1/+1 | |
2014-02-15 | Implemented cCompositeChat. | madmaxoft | 1 | -1/+19 | |
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | |||||
2014-02-14 | Send map when selected | andrew | 1 | -2/+43 | |
2014-02-13 | IDCount Serialization | andrew | 1 | -0/+54 | |
2014-02-11 | Fixed formatting. Moved UnloadUnusedChunks from public to private. | narroo | 1 | -0/+7 | |
2014-02-11 | Fixed formatting of previous commit. | narroo | 1 | -0/+5 | |
2014-02-11 | More gcc warnings fixed. | madmaxoft | 1 | -3/+3 | |
2014-02-11 | Fixed bug #385. UnloadUnusedChunks now has the same interface as | narroo | 1 | -0/+10 | |
SaveAllChunks. Meaning, QueueUnloadUnusedChunks and the supporting cTaskUnloadUnusedChunks has been added. Use QueueUnloadUnusedChunks from now on to prevent deadlocking. | |||||
2014-02-09 | Fixed compile and some warnings in MSVS | Tiger Wang | 1 | -2/+0 | |
2014-02-08 | Initial ChunkStay code. | madmaxoft | 1 | -12/+0 | |
2014-02-08 | Fixed comment. | STRWarrior | 1 | -1/+1 | |
2014-02-07 | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later). | STRWarrior | 1 | -12/+8 | |
2014-02-07 | Implemented an easy way of adding new redstone simulators. | STRWarrior | 1 | -3/+37 | |
Also added a "noop" redstone simulator that does the same as the fluid version. | |||||
2014-02-07 | Moved Gamemode setting into General root tag | Tiger Wang | 1 | -1/+1 | |
2014-02-07 | Added sender name to PM if prefixes disabled | Tiger Wang | 1 | -1/+1 | |
* Also moved the PVP setting into Mechanics | |||||
2014-02-07 | Improved chat messaging functions | Tiger Wang | 1 | -4/+7 | |
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API. | |||||
2014-02-05 | Fixed most of the reordering warnings | Tycho | 1 | -2/+2 | |
2014-02-03 | Increased Type safety of Biomes | Tycho | 1 | -2/+2 | |
Changed a number of funcictions from using integers to store biomes to using EMCSBiome Note that switching from an int to an Enum is a non-breaking chang to the lua bindings | |||||
2014-02-03 | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua API | tonibm19 | 1 | -1/+1 | |
2014-02-02 | Added IsBlockWaterOrIce() | Tiger Wang | 1 | -1/+1 | |
2014-02-02 | Revert "Added LOGREPLACELINE for line replacement" | Tiger Wang | 1 | -5/+5 | |
This reverts commit 7d03876a3e11aedff0201a8330bfdb2b5523fc5e. | |||||
2014-02-02 | Revert "Improved code" | Tiger Wang | 1 | -2/+0 | |
This reverts commit d8aa0b0ec7a2ebea2fc157c623ae8cd7d0b6ba1c. | |||||
2014-02-02 | Possibly fixed #618 | Tiger Wang | 1 | -2/+2 | |
2014-02-01 | Added checks for ice into IsBlockWater() | Tiger Wang | 1 | -1/+1 | |
* This fixes players spawning in vast oceans of ice, as opposed to the previous water | |||||
2014-02-01 | Changed pointers to references | Tycho | 1 | -4/+3 | |
2014-01-31 | Improved code | Tiger Wang | 1 | -0/+2 | |
* Fixed some issues * Fixed standard violation | |||||
2014-01-30 | Attempt at implementing #563 | tonibm19 | 1 | -2/+1 | |
Not tested (I don't have RasPi) | |||||
2014-01-29 | Added LOGREPLACELINE for line replacement | Tiger Wang | 1 | -5/+5 | |
2014-01-27 | The world can now be configured wether farmers should be able to harvest crops. | STRWarrior | 1 | -0/+1 | |
2014-01-26 | Refactored cBlockHandler::OnUse and dependents | Tycho | 1 | -88/+5 | |
2014-01-25 | Did what xoft recommended | Tiger Wang | 1 | -1/+1 | |
2014-01-25 | Mob bugfixes | Tiger Wang | 1 | -2/+11 | |
* Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563 | |||||
2014-01-23 | Command block fixes 2 | andrew | 1 | -1/+26 | |
2014-01-22 | cWorld now saves/loads the scoreboard | andrew | 1 | -0/+9 | |
2014-01-21 | Scoreboard protocol support | andrew | 1 | -1/+56 | |
2014-01-19 | Changed the cWorld::ScheduleTask() signature. | madmaxoft | 1 | -11/+21 | |
Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly. | |||||
2014-01-18 | Fixed iterators bug | Tycho | 1 | -2/+1 | |
2014-01-18 | Removed the particles when a mob spawns. | STRWarrior | 1 | -3/+0 | |
2014-01-18 | switched to using m_WorldAge rather than m_TickID | Tycho | 1 | -6/+3 | |
2014-01-18 | Basic command block implementation | andrew | 1 | -0/+9 | |
2014-01-17 | Added user setting compression factor | Tycho | 1 | -1/+3 | |
2014-01-17 | Increased tick count to long | Tycho | 1 | -2/+2 | |
2014-01-17 | Implemented xsofts suggestion for a saturating counter in the scheduler | Tycho | 1 | -5/+5 | |
2014-01-14 | added cWorld::ScheduleTask Function | Tycho | 1 | -0/+39 | |
ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150 | |||||
2014-01-12 | Renamed cEmptyMinecart to cRideableMinecart | STRWarrior | 1 | -2/+2 | |
2014-01-12 | EmptyMinecarts should be able to get a block inside of them. | STRWarrior | 1 | -3/+3 | |
2014-01-12 | Added cWorld::SpawnMinecart. | STRWarrior | 1 | -0/+24 | |
2014-01-10 | Decoupled cChunkGenerator from cWorld and cRoot. | madmaxoft | 1 | -1/+77 | |
Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS. | |||||
2014-01-02 | rewrote queue not to use promises for waits | Tycho Bickerstaff | 1 | -1/+4 | |
2013-12-31 | fixed warnings in World.cpp | Tycho Bickerstaff | 1 | -1/+3 | |
2013-12-22 | Implented BroadcastParticleEffect | STRWarrior | 1 | -0/+9 | |
2013-12-20 | Fixed the rest of constructor reorders. | madmaxoft | 1 | -6/+6 | |
2013-12-16 | Removed some old cRedstone remnants | Tiger Wang | 1 | -24/+0 | |
2013-12-15 | This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions. | STRWarrior | 1 | -0/+18 | |
2013-12-14 | Implemented note block playing and fixed wire | Tiger Wang | 1 | -0/+9 | |
Game of Thrones music in Minecraft, here I come! | |||||
2013-12-10 | Improved pickups spawning speed again | Tiger Wang | 1 | -4/+4 | |
2013-12-08 | Now spawn points will not be in deep oceans or rivers etc. | STRWarrior | 1 | -1/+1 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -2/+1 | |
Ref.: #407 | |||||
2013-12-08 | Bonemeal has particles, fixes #393 | Tiger Wang | 1 | -0/+6 | |
2013-12-07 | Added a SpawnFallingBlock function so plugins can make other blocks fall. | STRWarrior | 1 | -0/+12 | |
2013-12-07 | Renamed animation function | Tiger Wang | 1 | -2/+2 | |
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | |||||
2013-12-06 | Fixed duplication glitch with QueueSetBlock | Tiger Wang | 1 | -2/+2 | |
If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched. | |||||
2013-12-06 | Added pickup invalid item check | Tiger Wang | 1 | -0/+11 | |
They aren't spawned at all if their itemtype isn't valid; possibly fixes the client crashing with bad pickups. | |||||
2013-12-04 | Lava can spawn fire. | madmaxoft | 1 | -0/+1 | |
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65. | |||||
2013-11-30 | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 1 | -2/+2 | |
2013-11-30 | Explicitly set spawnpoint fixes. | madmaxoft | 1 | -20/+11 | |
The value names are case-insensitive. The debug message is printed only once. | |||||
2013-11-30 | Added the real tick duration to the OnWorldTick hook. | madmaxoft | 1 | -9/+10 | |
2013-11-27 | Made TNT pickups spawning chance 25% | Tiger Wang | 1 | -1/+1 | |
2013-11-26 | Fixed another one. | Alexander Harkness | 1 | -1/+1 | |
2013-11-24 | Attempt to fix compilation | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-20 | Added cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt() functions. | madmaxoft | 1 | -0/+18 | |
Also exported them to the Lua API. | |||||
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -2/+1 | |
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery | |||||
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -3/+5 | |
* Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata | |||||
2013-11-04 | Autogeneration of settings.ini and webadmin.ini | Tiger Wang | 1 | -3/+3 | |
Fixes issue #75 | |||||
2013-10-30 | Fixed a compiler warning. | madmaxoft | 1 | -26/+31 | |
Also updated code to match our style. | |||||
2013-10-29 | Changes based on madmaxoft's nitpicker notes. | Samuel Barney | 1 | -0/+1 | |
2013-10-29 | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. | Samuel Barney | 1 | -1/+31 | |
2013-10-25 | cIniFile doesn't store filename internally anymore. | madmaxoft | 1 | -3/+3 | |
2013-10-24 | Renamed cMonster::GetSpawnRate() to GetSpawnDelay(). | madmaxoft | 1 | -2/+2 | |
2013-10-24 | Pickups now have collection delay when vomited | Tiger Wang | 1 | -4/+4 | |
Implements FS#394. | |||||
2013-10-22 | Temporary fix for world not locking chunkmap in TickMobs. | madmaxoft | 1 | -0/+3 | |
Reported as #283; this is a hotfix only. | |||||
2013-10-20 | Fixed memory leak in cMobFamilyCollecter. | madmaxoft | 1 | -14/+18 | |
2013-10-20 | Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster. | madmaxoft | 1 | -20/+19 | |
2013-10-20 | Fixed memory leaks in cMobSpawner. | madmaxoft | 1 | -1/+1 | |
2013-10-20 | Moved all MobTypesManager functions to cMonster. | madmaxoft | 1 | -7/+7 | |
This removes some of the memory leaks and is more logical in structure. Also the functions are exported to Lua. | |||||
2013-10-20 | Fixed loading allowed mobs in world. | madmaxoft | 1 | -11/+28 | |
2013-10-18 | Adapted code style. | madmaxoft | 1 | -7/+5 | |
2013-10-14 | Removed reading default values from settings.ini for worlds. | Samuel Barney | 1 | -10/+1 | |
2013-10-14 | General fixes to get the new Monster spawning code working. | Samuel Barney | 1 | -6/+17 | |
Also wrote in some code to use the default settings for monsters located in settings.ini | |||||
2013-10-14 | Mobs no longer spawn up in the air. | Samuel Barney | 1 | -0/+2 | |
2013-10-13 | Eight round of fixes | Tiger Wang | 1 | -1/+1 | |
* Changed IsA() to *long if statement* - Removed deprecated values in Entity.h - to blazes with the plugins! * Renamed villager type enumerations to be LESS SHOUTY and more vt-y + Use vtMax for World.cpp testificate spawning | |||||
2013-10-12 | Fixed and exported cWorld:QueueTask(). | madmaxoft | 1 | -1/+1 | |
This implements #220. | |||||
2013-10-12 | Added more ghast spawning probability | tonibm19 | 1 | -4/+4 | |
2013-10-12 | Added extra line | tonibm19 | 1 | -0/+1 | |
2013-10-12 | Mob spawning changes | tonibm19 | 1 | -4/+24 | |
Added EnderDragon, Blaze and Horse spawning. | |||||
2013-10-11 | Fifth round of fixes | Tiger Wang | 1 | -3/+7 | |
* Enumerated Villager spawning | |||||
2013-10-09 | Second round of fixes | Tiger Wang | 1 | -1/+1 | |
* Implemented suggestions | |||||
2013-10-09 | Moved cMakeDir::MakeDir to cFile::CreateFolder. | madmaxoft | 1 | -2/+1 | |
And exported to Lua. | |||||
2013-10-08 | Initial Metadata Commit [SEE DESC] | Tiger Wang | 1 | -30/+47 | |
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned | |||||
2013-09-21 | Linux compilation fix #3. | madmaxoft | 1 | -2/+2 | |
2013-09-18 | Fixed pickups | Tiger Wang | 1 | -13/+2 | |
2013-09-18 | Added moar mobs! | Tiger Wang | 1 | -4/+16 | |
+ Added dragons + Added golems + Added giants + Added horses + Added some missing items + Added missing spawn egg metas | |||||
2013-09-16 | cWorld:QueueTickBlock takes the delay in ticks. | madmaxoft | 1 | -8/+9 | |
2013-09-15 | Fixed doxycomments of cWorld plant-growing code | madmaxoft | 1 | -2/+2 | |
2013-09-10 | Fixed codepage conversion | madmaxoft | 1 | -1/+1 | |
2013-09-09 | Added a few changes [SEE DESC] | Tiger Wang | 1 | -2/+2 | |
* Revised pickup comments * SlotArea pickup tossing now reflects Player.cpp * Removed unneeded ItemShears comment (was working already) * Sand and gravel pickups spawn with correct speed | |||||
2013-09-08 | Adding mobtype filter inside world.ini | mgueydan | 1 | -8/+13 | |
2013-09-08 | Adding glue to call everything done in last commits - now the mobs are spawning | mgueydan | 1 | -138/+71 | |
2013-09-08 | Disabeling current mob spawning and tick | mgueydan | 1 | -4/+5 | |
2013-09-07 | Adding mob census (sorry this is a big commit as work was done before git integration i couldn't split it more) | mgueydan | 1 | -0/+5 | |
2013-09-07 | relockating mobs includes (they probably will end somewhere else in order not to recompile world each time you update a mob) | mgueydan | 1 | -23/+1 | |
2013-09-07 | Renamed cWorld::DoExplosiontAt() to cWorld::DoExplosionAt() | madmaxoft | 1 | -2/+2 | |
2013-09-04 | Pickups spawn with correct speed and position | Tiger Wang | 1 | -29/+11 | |
Added a comment-space as well. | |||||
2013-08-24 | Slight performance improvement in cWorld::FindClosestPlayer() | madmaxoft | 1 | -6/+3 | |
2013-08-22 | Added skeleton code for projectile spawning. | madmaxoft | 1 | -3/+25 | |
2013-08-19 | Fixed WorldTickThread reporting wrong time durations for each tick. | madmaxoft | 1 | -8/+16 | |
This had caused food eating to fail and players unable to collect pickups on Linux. | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -4/+4 | |
2013-08-19 | Implemented the OnWorldTick hook. | madmaxoft | 1 | -0/+3 | |
Triggerred for each world every time it ticks, parameters are the cWorld and the previous tick length (a_Dt) | |||||
2013-08-18 | Implemented cWorld:QueueSetBlock(), as requested for delayed blocksetting. | madmaxoft | 1 | -0/+9 | |
Untested yet, so might not work. | |||||
2013-08-18 | Removed SetServerBlock griefing. | madmaxoft | 1 | -15/+0 | |
2013-08-18 | Properly fixed piston non-animation | Tiger Wang | 1 | -5/+23 | |
Fixes #57 | |||||
2013-08-18 | Enhancements to Tabcompletion and Compile Fix | Tiger Wang | 1 | -11/+7 | |
Tab complete now finds the last word and matches accordingly, with a 20% increase in speed! Fixed missing comma breaking compilation | |||||
2013-08-18 | Bugfix Update [SEE DESC} | Tiger Wang | 1 | -4/+11 | |
Added stained clay, coal block, and hardened clay Block IDs Added stained clay and carpet block Metas Fixed bug with sticky retract bailing out but not unsetting arm Fixed autocomplete not working when not at the first character, fixes #64 Added furnace recipes for hardened clay and coal and coal blocks | |||||
2013-08-16 | Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX. | madmaxoft | 1 | -61/+79 | |
Also slightly improved the spawning algorithm. | |||||
2013-08-14 | Generation and simulation defaults | Tiger Wang | 1 | -2/+2 | |
...are no longer set, instead, the server operator is told to set them. | |||||
2013-08-14 | Fixed world's a_Dt parameter getting time values in wrong units. | madmaxoft | 1 | -1/+1 | |
2013-08-14 | Clients are deleted when the world is stopped. | madmaxoft | 1 | -0/+11 | |
This fixes #92. | |||||
2013-08-14 | Fixed crashes in world's clientlist manipulators | madmaxoft | 1 | -2/+22 | |
2013-08-14 | Buncha bugfixes [SEE DESC] | Tiger Wang | 1 | -1/+1 | |
Fixed generation values not being written Fixed piston being able to push water Fixed ice creating a non-source block (still doesn't update though) Removed problematic piston code | |||||
2013-08-13 | Clients are now ticked in cServer first, then in cWorld once they get assigned a world. | madmaxoft | 1 | -8/+58 | |
2013-08-12 | Removed cServer::BroadcastChat() and cServer::SendMessage(). | madmaxoft | 1 | -1/+1 | |
These two functions make it difficult to move to the new ticking system, and they aren't used anyway. If so required, they can be emulated by ForEachWorld / ForEachPlayer calls. | |||||
2013-08-11 | Now Endermans spawn in The End | tonibm19 | 1 | -0/+7 | |
2013-08-11 | Added cWorld:QueueSaveAllChunks() function for saving chunks asynchronously. | madmaxoft | 1 | -1/+55 | |
The cWorld:SaveAllChunks() is therefore deprecated in the API and will be removed soon, use QueueSaveAllChunks() instead. | |||||
2013-08-11 | Each world now ticks in a separate thread. | madmaxoft | 1 | -97/+107 | |
2013-08-11 | Moved MaxPlayers and Description from cWorld to cServer. | madmaxoft | 1 | -23/+50 | |
Also started creating a new cWorld::cTickThread class, but not used yet. | |||||
2013-08-09 | Added OnExploding() and OnExploded() hooks. | madmaxoft | 1 | -4/+10 | |
As requested in FS 413, with extra parameters: World, BlockX, BlockY, BlockZ, Size, CanCauseFire, Source, SourceData OnExploding() can return 3 values: StopHook, CanCauseFire, ExplosionSize | |||||
2013-08-08 | Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks. | madmaxoft | 1 | -2/+12 | |
As requested in FS 418. | |||||
2013-08-06 | Now zombies spawn in Overworld during night | tonibm19 | 1 | -4/+3 | |
2013-08-04 | cWorld: Added a self-test for LineBlockTracer, disabled by an #ifdef. | madmaxoft | 1 | -0/+57 | |
2013-08-03 | Added cWorld::DoWithChunk() function. | madmaxoft | 1 | -0/+9 | |
This will be used by the blocktracers to gain direct access to chunk data. | |||||
2013-07-31 | Implemented the actual tab completion for commands and playernames. | madmaxoft | 1 | -6/+10 | |
Each command is reported only if the player has the permission to use it. | |||||
2013-07-30 | Tab completion packet is handled and sent. | madmaxoft | 1 | -0/+14 | |
This only handles the network comm and the overall design logic, the actual completion is not yet implemented, only dummy values are returned for now. | |||||
2013-07-07 | Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore. | madmaxoft@gmail.com | 1 | -0/+1 | |
Fixes FS #409. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1662 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-07 | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 1 | -80/+80 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-03 | Fixed player moving between worlds. | madmaxoft@gmail.com | 1 | -0/+2 | |
Fixes FS #407. Also fixes a few possible deadlocks between SocketThreads and TickThread git-svn-id: http://mc-server.googlecode.com/svn/trunk@1641 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-01 | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 1 | -25/+27 | |
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-25 | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 1 | -41/+31 | |
Should fix FS #400 and partially fix FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-24 | The weather doesn't change if the dimension is not Overworld. | nielsbreu@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1624 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-22 | Added the End height and composition generators. | madmaxoft@gmail.com | 1 | -2/+3 | |
Also made the dimension in world.ini specifiable by a string. Exported StringToDimension() and StringToBiome() to Lua API. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1621 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-21 | Dispensers dispense primed TNT | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1617 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-21 | Simulators are woken up after an explosion. | madmaxoft@gmail.com | 1 | -0/+10 | |
Fixes FS #391 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1615 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-18 | More TNT fixes. | madmaxoft@gmail.com | 1 | -3/+15 | |
Chain-reaction TNTs are spawned in proper coordinates (FS #390) Centralized Primed TNT entity spawning and made available to the plugins. Internal changes for better TNT performance. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1604 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-18 | TNT fixes. | madmaxoft@gmail.com | 1 | -2/+2 | |
Other blocks can be placed next to TNT. Explosions activate nearby TNT blocks. TNT doesn't destroy bedrock, obsidian and liquid blocks. Server doesn't crash when a TNT (or other entity) leaves the valid Y range. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1603 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-15 | First attempt at fixing the inter-threading deadlocks between the tick thread and the socket thread | madmaxoft@gmail.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1591 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-12 | Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return values | madmaxoft@gmail.com | 1 | -4/+17 | |
FS #364 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-26 | Implemented droppers | madmaxoft@gmail.com | 1 | -0/+36 | |
Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-12 | Temporarily set all pickups to spawn in the middle of the block from which they fall. | madmaxoft@gmail.com | 1 | -9/+25 | |
(Additional fix for FS #338) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1478 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-12 | cWorld: Temporary fix for FS #338 | madmaxoft@gmail.com | 1 | -0/+9 | |
The pickups get spawned with zero speed, not to mess up their physics simulation. Marked as temporary, remove when physics are completed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1474 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-04 | Explosion: Switched from a cube to a sphere. Implemented using cBlockArea and moved block changing code to ChunkMap | keyboard.osh@gmail.com | 1 | -31/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1441 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-19 | Slight performance improvements in cWorld::DoExplosiontAt() | madmaxoft@gmail.com | 1 | -3/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-19 | Fixed Linux compilation, slight code cleanup | madmaxoft@gmail.com | 1 | -25/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-18 | Initial implementation of explosions and TNT block | keyboard.osh@gmail.com | 1 | -0/+62 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Proper entity removal functions | madmaxoft@gmail.com | 1 | -10/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1386 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -102/+55 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-05 | Added carrots and potatoes handling, bonemealing and proper lighting. | madmaxoft@gmail.com | 1 | -3/+31 | |
FS #166 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1359 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-01 | Proper fix for FS #347. Also unification of ticking block entities. | madmaxoft@gmail.com | 1 | -11/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1348 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-01 | Hotfix for FS #347. | madmaxoft@gmail.com | 1 | -7/+13 | |
This is not meant to be a permanent solution, but should provide insight into why the issue happens. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1347 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-18 | Added support for the packet #28 (0x1C): ENTITY_VELOCITY | keyboard.osh@gmail.com | 1 | -0/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Removed the Classic fluid simulator, it was too unstable (2nd attempt) | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1275 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Removed the Classic fluid simulator, it was too unstable | madmaxoft@gmail.com | 1 | -17/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1274 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Added 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.com | 1 | -0/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1272 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Added a Vaporize fluid simulator that simply replaces fluid blocks with air. | madmaxoft@gmail.com | 1 | -0/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1270 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-11 | Initial nether composition generator | madmaxoft@gmail.com | 1 | -0/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1266 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 1 | -41/+50 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-02 | Rewritten SandSimulator to use direct chunk access; and sand falling on torches now creates a pickup. | madmaxoft@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1240 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-01 | New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data. | madmaxoft@gmail.com | 1 | -2/+2 | |
http://forum.mc-server.org/showthread.php?tid=617&pid=6626#pid6626 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1233 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-28 | Converted simulators to take cWorld reference instead of a pointer | madmaxoft@gmail.com | 1 | -6/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1228 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-28 | Simulators now have direct access to the cChunk object in the WakeUp() call | madmaxoft@gmail.com | 1 | -1/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-13 | Added HOOK_WEATHER_CHANGING. | madmaxoft@gmail.com | 1 | -88/+58 | |
http://www.mc-server.org/support/index.php?do=details&task_id=299 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1210 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-01 | Simplified cWorld::FindAndDoWithPlayer() | madmaxoft@gmail.com | 1 | -11/+8 | |
It should still work the same - call the callback for the player with the most similar name. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1184 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -46/+36 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-04 | Floody fluid simulator can create sourceblocks (configurable in World.ini) | madmaxoft@gmail.com | 1 | -5/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1119 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-26 | Dispensers can dispense items and liquids now | luksor111@gmail.com | 1 | -0/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-22 | MTRand 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.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-17 | Fixed time calculation in cWorld::Tick() | madmaxoft@gmail.com | 1 | -2/+2 | |
Should fix chunk saving bug in http://forum.mc-server.org/showthread.php?tid=434&pid=5663#pid5663 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1079 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-16 | Android: Made the initial pre-calculated spawn area smaller | faketruth | 1 | -1/+1 | |
Android: Fixed FastNBT Android: Fixed level.dat reading/writing GroupManager uses groups.example.ini as default WebAdmin uses webadmin.example.ini as default git-svn-id: http://mc-server.googlecode.com/svn/trunk@1049 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-11 | Removed an unused obsolete function chain - cWorld::GetChunkBlockData() | madmaxoft@gmail.com | 1 | -9/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1036 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-01 | Refactored the world time. | madmaxoft@gmail.com | 1 | -57/+40 | |
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-01 | Added Bats and Witches. | luksor111@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1021 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-28 | Fixed gcc compilation | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1017 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-28 | Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua API | madmaxoft@gmail.com | 1 | -10/+59 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1014 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-26 | Fixed a valgrind warning in BlockDirt. | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1011 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-25 | Fixed up a few valgrind warnings | madmaxoft@gmail.com | 1 | -7/+8 | |
( http://forum.mc-server.org/showthread.php?tid=598&pid=5071#pid5071 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1010 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1000 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Added jukeboxes (patch contributed by Luksor) | madmaxoft@gmail.com | 1 | -2/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-20 | Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block. | madmaxoft@gmail.com | 1 | -0/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@986 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-15 | Fixed DelayedFluidSimulator. | madmaxoft@gmail.com | 1 | -3/+6 | |
Floody fluid simulator is now woken up properly across chunk borders. git-svn-id: http://mc-server.googlecode.com/svn/trunk@966 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | Floody fluid sim: reads params from world.ini; water and lava react together into cobblestone / stone / obsidian | madmaxoft@gmail.com | 1 | -5/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@965 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | Initial Floody fluid simulator. | madmaxoft@gmail.com | 1 | -13/+13 | |
Can spread, cannot dry. git-svn-id: http://mc-server.googlecode.com/svn/trunk@963 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-13 | Preparation for multiple fluid simulators. | madmaxoft@gmail.com | 1 | -11/+54 | |
Moved all simulators into a subfolder. Replaced cWaterSimulator and cLavaSimulator with a generic cFluidSimulator. Moved original fluid simulation into cClassicFluidSimulator. Fluid simulator parameters (MaxHeight, Falloff) are read from the world.ini file (can have nether-like lava with lower falloff) git-svn-id: http://mc-server.googlecode.com/svn/trunk@956 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-13 | Added delayed ticking to Lua API | madmaxoft@gmail.com | 1 | -24/+41 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@953 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-10 | Added an option to disable/enable PVP on a per world basis | faketruth | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@944 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Completely removed the old (buggy) redstone simulator. | madmaxoft@gmail.com | 1 | -10/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | BlockArea writing support (BlockTypes with BlockMeta only) | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Fixed saplings not growing into trees | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@924 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -2/+20 | |
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Beds can be slept in now (it doesn't change the time though) | faketruth | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Unified folder name-casing | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-25 | Added the block dig animation packet (patch contributed by l0udPL) | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -18/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: OSSupport-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Removed unused cBlockToPickup | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@884 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Mobs-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -16/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Generating-related files in a separate subfolder | madmaxoft@gmail.com | 1 | -2/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -0/+9 | |
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-02 | Next iteration on the 1.3.2 protocol. Still no good, but sometimes it just gets through. For your testing pleasures ;) | madmaxoft@gmail.com | 1 | -9/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@819 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-01 | Added 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.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@814 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Progress on the 1.3.2 protocol. | madmaxoft@gmail.com | 1 | -2/+2 | |
Sometimes the client lets the player through, but most of the times the connection breaks for no apparent reason. git-svn-id: http://mc-server.googlecode.com/svn/trunk@812 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-29 | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-27 | Cut out all packet handling to a separate cProtocol descendant | madmaxoft@gmail.com | 1 | -36/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-26 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6 | madmaxoft@gmail.com | 1 | -0/+9 | |
2012-08-25 | cWorld doesn't use cPackets. | madmaxoft@gmail.com | 1 | -40/+70 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@789 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | cPickup doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+9 | |
Also, Lua API change, OnCollectItem -> OnCollectPickup; first param is cPlayer to match other callbacks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@786 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -4/+31 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-23 | Added a RateCompareString function to StringUtils | faketruth | 1 | -0/+36 | |
Created a preprocessor template (define) for DoWith* functions Exported cWorld::FindAndDoWithPlayer(), cRoot::FindAndDoWithPlayer() and cRoot::ForEachPlayer() to Lua Added a function FindAndDoWithPlayer to cRoot and cWorld. It takes a part of a player name and finds a single player based on that. Fixed Core's MOTD to contain the correct URL to the MCServer site Fixed Core /kick command Fixed Core's WebAdmin kick git-svn-id: http://mc-server.googlecode.com/svn/trunk@779 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Window, Chest, Furnace and Pawn are not using cPackets at all | madmaxoft@gmail.com | 1 | -0/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -3/+74 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Another handful of packets rewritten. | madmaxoft@gmail.com | 1 | -0/+18 | |
Also changed cItem::m_ItemID into m_ItemType of type short. Easier handling. m_ItemID kept for compatibility reasons (Lua-interface etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@756 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Chat packet handled in the new way; fixed missing packet sending for inventory slot. | madmaxoft@gmail.com | 1 | -1/+19 | |
Again, API change! cPlugin:OnChat() has had its parameters swapped, to match all the other callbacks - Player first, Message second git-svn-id: http://mc-server.googlecode.com/svn/trunk@751 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-15 | Added a true "all chunks saved" message for the save-all console command (FS #215) | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@738 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-03 | Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type. | madmaxoft@gmail.com | 1 | -8/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -83/+56 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | World threads are stopped before the plugin mgr for clean exit (FS #228) | madmaxoft@gmail.com | 1 | -3/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@669 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | Basic jungle trees with vines, efficient trees handling. | madmaxoft@gmail.com | 1 | -10/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@665 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-13 | Fixed case comparison - used the builtin function | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@663 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-13 | fixed /tp command | lapayo94@gmail.com | 1 | -1/+1 | |
made cWorld::DoWithPlayer case insensitive git-svn-id: http://mc-server.googlecode.com/svn/trunk@662 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | cBlockArea object added (with only minimal testing so far) | madmaxoft@gmail.com | 1 | -2/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function. | madmaxoft@gmail.com | 1 | -47/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@639 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-19 | Made 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.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@633 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Removed the deprecated GetBlockEntity(), added several enumerators to replace it. | madmaxoft@gmail.com | 1 | -10/+45 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@629 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Logs completion of chunk saving (FS #215) | cedeel@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@628 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Added 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 value | madmaxoft@gmail.com | 1 | -4/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@622 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 1 | -7/+33 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Only spawn nether mobs in nether biome. | cedeel@gmail.com | 1 | -20/+26 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@613 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually work | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@610 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -1845/+1845 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Added HOOK_WEATHER_CHANGE. | cedeel@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@605 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-13 | Revamped the weather system. | cedeel@gmail.com | 1 | -28/+69 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@599 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Fixed a forgotten ini file read | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@590 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | More ini settings save their defaults | madmaxoft@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@588 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorld | madmaxoft@gmail.com | 1 | -29/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@586 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Sugarcane and cactus max height can be set in world.ini. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@585 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC. | madmaxoft@gmail.com | 1 | -8/+67 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@584 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Cacti grow by themselves and by bonemeal | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@583 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Bonemeal is consumed in survival mode when used on growable blocks | madmaxoft@gmail.com | 1 | -6/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-08 | Sugarcane grows and can be grown using bonemeal. | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@578 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too. | madmaxoft@gmail.com | 1 | -0/+88 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Repeaters' delays can be set by rclk | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Item-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.com | 1 | -7/+44 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Added support for SetNextBlockTick() function callable from Lua | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Added 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.com | 1 | -21/+75 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -234/+258 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-10 | Added 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.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Reverted the previous commit - it is useless, since entities still depend heavily on cWorld | madmaxoft@gmail.com | 1 | -98/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@428 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-23 | Encapsulated 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.com | 1 | -0/+98 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-22 | Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@426 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-16 | Exposed a function to Lua to get a block's sky light value | faketruth | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@416 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Unified the chunk data to use the BLOCKDATA datatype. | madmaxoft@gmail.com | 1 | -0/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -9/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-12 | Added a flat terrain generator with settable terrain height | madmaxoft@gmail.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@404 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-11 | Stopping the ChunkSender upon server stop | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@401 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed a few obsoleted functions | madmaxoft@gmail.com | 1 | -23/+28 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed *nix threading issue; | madmaxoft@gmail.com | 1 | -1/+1 | |
Thread objects now use variable names consistent with MCS convention; Fixed a few *nix threading cornercases git-svn-id: http://mc-server.googlecode.com/svn/trunk@392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -2/+2 | |
cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-07 | Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380 | faketruth | 1 | -32/+44 | |
Also removed the SetClientHandle() function from cPlayer Added a Destroyed() function to cEntity that is called ONLY ONCE after an entity has been 'destroyed' Cleaned up some code, using enums for GameMode and Weather and replaced some 'const char *' with 'const AString &' Exposed some more functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@382 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | That was not a good place to use ARRAYCOUNT() | madmaxoft@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@372 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | Fixed rev368's ChunkSender, now sends properly even chunks that are loaded. Fixed a deadlock in cClientHandle vs TickThread over cClientHandle::m_CSChunkLists | madmaxoft@gmail.com | 1 | -0/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@371 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | Fixed bug FS#157 http://mc-server.org/support/index.php?do=details&task_id=157 | faketruth | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@370 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-05 | ChunkSender: 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.com | 1 | -9/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-03 | Got rid of some hardcoded numbers, now using hardcoded variables! woo | faketruth | 1 | -6/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-01 | New redstone simulator. Should work without crashes! | faketruth | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@345 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-29 | Fixed the authenticator bug | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@344 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-29 | Added validity checks to world broadcasting. Also added logging to cPlayer deletion to catch that stupid BugByBoo. | madmaxoft@gmail.com | 1 | -3/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@342 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Chunk now has an indicator of load failure; Chunk generator uses cChunkStay | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Implemented synchronous chunk loading; optimized cChunkStay interface for speed (though still unused ;) | madmaxoft@gmail.com | 1 | -2/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@336 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Const-correctness for packet broadcasting (fixes GCC compilation) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@333 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | New 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.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@330 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-22 | Added a crude way of disabling redstone. It's necessary though, redstone is completely broken, crashes the server all the time | faketruth | 1 | -22/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@312 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) | madmaxoft@gmail.com | 1 | -74/+35 | |
Also fixed a threading issue when a player connecting might have gotten stuck in "Downloading world" forever git-svn-id: http://mc-server.googlecode.com/svn/trunk@304 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Fixed heightmap optimization from rev 302; removed a few more cChunkPtrs | madmaxoft@gmail.com | 1 | -0/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@303 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Fixed block-getting so that simulators work again | madmaxoft@gmail.com | 1 | -16/+26 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@301 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -14/+53 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Substantial 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.com | 1 | -20/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@295 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Fixed previous commit: forgot to remove a debugging setting | madmaxoft@gmail.com | 1 | -3/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries. | madmaxoft@gmail.com | 1 | -11/+32 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@293 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Thread-safe chunk generation, storage and generator are queried for progress while initializing server | madmaxoft@gmail.com | 1 | -40/+108 | |
Note that this commit breaks foliage generation - there are no trees in the chunks generated! git-svn-id: http://mc-server.googlecode.com/svn/trunk@292 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Removed useless log messages | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@284 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6 | faketruth | 1 | -2/+2 | |
2012-02-16 | cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. | madmaxoft@gmail.com | 1 | -0/+9 | |
cChunk fix - setting a block to the same value doesn't mark chunk dirty (resulted in un-unloadable chunks) git-svn-id: http://mc-server.googlecode.com/svn/trunk@279 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Got rid of dangerous GetEntity(), not using DoWithEntity() | faketruth | 1 | -5/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Chunk 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 properly | madmaxoft@gmail.com | 1 | -1/+72 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | Fixed logging formatting error in cWorld | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@264 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-14 | Got rid of cWorld::GetAllPlayers() and implemented ForEachPlayer() more or less in Lua | faketruth | 1 | -20/+0 | |
Core now uses ForEachPlayer() to interact with connected players git-svn-id: http://mc-server.googlecode.com/svn/trunk@260 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten 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.com | 1 | -451/+404 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | Added total chunk count to webadmin | madmaxoft@gmail.com | 1 | -2/+108 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@248 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core) | madmaxoft@gmail.com | 1 | -42/+82 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 1 | -0/+4 | |
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | Old code begone! ChunkMap cleanup | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@189 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -5/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-19 | Terrain generation is synchronous again, async generation has bugs. | faketruth | 1 | -27/+29 | |
Made some funky smart pointer things for chunks. Fixed a bug where the client would override the player position on the server and back again, resulting in sending too many chunks to the client which it doesn't even need. Fixed some compiler warnings in cPickup.cpp git-svn-id: http://mc-server.googlecode.com/svn/trunk@164 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | Fixed the numchunks console command. | faketruth | 1 | -1/+15 | |
Added some form of reference counting to cChunk to make sure it's not referenced when deleting it. Right now it's only needed due to the generation of chunks in a separate thread and adding it to the spread light list in cWorld git-svn-id: http://mc-server.googlecode.com/svn/trunk@161 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-31 | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks | faketruth | 1 | -2/+2 | |
Players should not spawn in the ground anymore. When an entity was added to cWorld twice (which shouldn't happen actually), the server would crash when the entity is destroyed, this should be fixed now. git-svn-id: http://mc-server.googlecode.com/svn/trunk@158 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - implemented the fire simulation in native c++ (cFireSimulator) | lapayo94@gmail.com | 1 | -5/+12 | |
- Changed the Durationsystem for Items. cPlayer::UseEquippedItem calls cItem::DamageItem this function damages the item if it has a duration. (needed the duration also in another place so this saves code ;)) - added some other burning blocks - the mobtypes for the settings.ini which i must have forgotten in the last commit git-svn-id: http://mc-server.googlecode.com/svn/trunk@150 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | Fixed some small memory leaks | lapayo94@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@148 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Users file was pretty messed up with mixed unix and windows line endings. The ini failed to parse correctly under cygwin. | faketruth | 1 | -1/+8 | |
'Fixed' a 'bug' where MCServer would seemingly endlessly calculate lighting for an entire world (and then crash), when this entire world has 'wrong' lighting. This happens when running a converted map from Vanilla. Fixed this by only allowing a maximum of 50 chunks to recalculate their lighting per tick. Fixed a small coding error in cChunkMap where it would check PakVersion twice, instead of also ChunkVersion. DeNotch converter does not need the VS2010 runtime thingies anymore git-svn-id: http://mc-server.googlecode.com/svn/trunk@138 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithms | faketruth | 1 | -8/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@127 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - improved Simulator system | lapayo94@gmail.com | 1 | -8/+22 | |
-> Manager handles all ticks -> advantage: Much easier to add new simulators, because you only have to register them in the manager - moved sand and gravel simulation to a Simulator-class (cSandSimulator) - Made Squid a little bit more funny and realistic, because it dies now when it´s not in water -Escaping mobs run now faster than normal (They just walked away before :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@125 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 1 | -14/+18 | |
- Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Chunks 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 :O | faketruth | 1 | -50/+120 | |
Chunks are now generated before the player is able to see them. This is done because after a chunks is done generating, some blocks might still need to be set (parts of trees from neighboring chunk), causing more bandwidth to be used (each changed block needs to be sent to clients again) and (fps) lagging the clients when changing a lot of blocks. Calculating ahead fixes these issues. Separated the placing of foliage (trees and stuff) when generated chunks into a new function GenerateFoliage() Cleaned up the VS2010 project, now using some VS2010 specific functions like dependencies on projects (no need for setting library dependencies manually). VS2010 project now compiles way faster in Release by using multi threading. git-svn-id: http://mc-server.googlecode.com/svn/trunk@103 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-24 | Max. players and MOTD are now changeable in the settings.ini | lapayo94@gmail.com | 1 | -0/+21 | |
Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1381#pid1381 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@101 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-22 | Digging leaves with shears now drops leaves | lapayo94@gmail.com | 1 | -5/+5 | |
Falling Sand now notifies water around Implemented Function to get the relative chunk position in the total position (cChunk::PositionToWorldPosition) Pistons don´t drop water and lava items anymore when stopping water/lava implemented Getter for lava and water simulator IsBlockWater and IsBlockLava function in Defines.h git-svn-id: http://mc-server.googlecode.com/svn/trunk@97 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Added 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.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@85 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Storms were WAY too frequent. I toned them down. | admin@omencraft.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@84 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings. | admin@omencraft.com | 1 | -0/+71 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@83 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-09 | bugfix to redstone, it can climb walls again. | admin@omencraft.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@81 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-09 | Redstone 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.com | 1 | -0/+35 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@80 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-08 | Fixed world time | faketruth | 1 | -1/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@78 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-07 | Added Sebi's changes to pistons and item drops. | admin@omencraft.com | 1 | -0/+38 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@72 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Patch 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.com | 1 | -3/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Fixed some "Entity was not found in any chunk!" warnings | faketruth | 1 | -0/+1 | |
Player's current world is saved in the player file. When a player joins the server, the player joins the last world he was in. It seems MCServer can finally run multiple worlds! It just needs functionality to switch between them git-svn-id: http://mc-server.googlecode.com/svn/trunk@46 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Changed world gamemode location to world.ini for world based gamemodes. | admin@omencraft.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@43 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | fixed player spawning in the ground. | admin@omencraft.com | 1 | -5/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@42 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yet | faketruth | 1 | -36/+32 | |
Players are now stored in separate folder /players instead of in the world folder (!so move the folder!) Fixed a memory leak/error in cPickup.cpp Multiple worlds are stored in cRoot cClientHandle lists are taken out of cWorld and now stored in cServer Worlds now have names to distinguish them by Some functions in the Core plugin now distinguish between worlds git-svn-id: http://mc-server.googlecode.com/svn/trunk@40 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Made several recomended changes. Gamemode is now world based. Need to add it to player. | admin@omencraft.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@18 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Updated VS2010 project files | faketruth | 1 | -104/+43 | |
Made monster spawning code in cWorld.cpp a bit more compact and readable srand() is only supposed to be called once in the whole program, and it's already called in the constructor of cWorld so it doesn't have to be in cWorld::Tick() git-svn-id: http://mc-server.googlecode.com/svn/trunk@14 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@10 0a769ca7-a7f5-676a-18bf-c427514a06d6 | admin@omencraft.com | 1 | -10/+120 | |
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+764 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |