| Commit message (Expand) | Author | Files | Lines |
2012-02-28 | Setting the m_bDestroyed flag only after the cClienthandle is truly destroyed; cClientHandle's destructor now locks loaded chunk lists | madmaxoft@gmail.com | 1 | -3/+10 |
2012-02-26 | Attempt at fixing crashes with disconnecting players | madmaxoft@gmail.com | 1 | -0/+8 |
2012-02-26 | Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :) | madmaxoft@gmail.com | 1 | -115/+73 |
2012-02-26 | Extended SocketThreads for writing support (unusable in cClientHandle due to too many deadlock possibilities) | madmaxoft@gmail.com | 1 | -9/+8 |
2012-02-23 | Made the viewdistance settable by users and default in settings.ini. The default is 9. | madmaxoft@gmail.com | 1 | -6/+27 |
2012-02-22 | Fixed a bug that no chunks were unloaded on the client. Now chunks are properly unloaded on the clients. | faketruth | 1 | -0/+2 |
2012-02-21 | Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) | madmaxoft@gmail.com | 1 | -12/+9 |
2012-02-21 | Fixed heightmap optimization from rev 302; removed a few more cChunkPtrs | madmaxoft@gmail.com | 1 | -11/+3 |
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -1/+4 |
2012-02-20 | Using own ASSERT() that logs to file | faketruth | 1 | -5/+5 |
2012-02-17 | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 1 | -14/+14 |
2012-02-16 | Got rid of dangerous GetEntity(), not using DoWithEntity() | faketruth | 1 | -6/+20 |
2012-02-15 | Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window) | madmaxoft@gmail.com | 1 | -87/+85 |
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 | -294/+406 |
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 | -9/+10 |
2012-02-08 | cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties. | madmaxoft@gmail.com | 1 | -110/+65 |
2012-02-07 | Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility. | madmaxoft@gmail.com | 1 | -23/+38 |
2012-02-05 | Now showing proper error messages when sockets fail :) | faketruth | 1 | -1/+1 |
2012-02-03 | cClientHandle: split packet handling into separate functions for clarity | madmaxoft@gmail.com | 1 | -969/+1158 |
2012-02-02 | cClientHandle: gotten rid of the obnoxious m_pState, now using direct members instead | madmaxoft@gmail.com | 1 | -332/+333 |
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 | -40/+28 |
2012-02-01 | sprintf() begone! Replaced with StringUtils' Printf() | madmaxoft@gmail.com | 1 | -8/+12 |
2012-01-31 | Slight code cleanup, no big changes | madmaxoft@gmail.com | 1 | -40/+126 |
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 | -8/+3 |
2012-01-23 | Cactus towers can be destroyed by removing the bottom block | faketruth | 1 | -1/+53 |
2012-01-20 | MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think) | faketruth | 1 | -2/+6 |
2012-01-19 | Terrain generation is synchronous again, async generation has bugs. | faketruth | 1 | -1/+33 |
2012-01-02 | Fixed crashing bug in cClientHandle::~cClientHandle | faketruth | 1 | -1/+3 |
2012-01-01 | Fixed the numchunks console command. | faketruth | 1 | -8/+8 |
2012-01-01 | - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) | lapayo94@gmail.com | 1 | -17/+37 |
2012-01-01 | Chests, furnaces and dispensers face the correct way now. | faketruth | 1 | -0/+5 |
2011-12-31 | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks | faketruth | 1 | -16/+6 |
2011-12-29 | - Initial food handling by cedeel | mtilden@gmail.com | 1 | -13/+30 |
2011-12-29 | - Chests open and close on clients when opened/closed | mtilden@gmail.com | 1 | -1/+1 |
2011-12-29 | - Pickups should now burn in fire | lapayo94@gmail.com | 1 | -2/+9 |
2011-12-28 | - implemented the fire simulation in native c++ (cFireSimulator) | lapayo94@gmail.com | 1 | -84/+43 |
2011-12-28 | - Fixed too fast actions kick for real | mtilden@gmail.com | 1 | -5/+5 |
2011-12-28 | Fixed some small memory leaks | lapayo94@gmail.com | 1 | -0/+5 |
2011-12-28 | - Didn't notice steak missing as well | mtilden@gmail.com | 1 | -0/+8 |
2011-12-28 | - Added chicken to eating | mtilden@gmail.com | 1 | -0/+9 |
2011-12-27 | I'll lower my frequency of commits.. 1000 default ends up sent more often than calc'd packets. | mtilden@gmail.com | 1 | -1/+0 |
2011-12-27 | Oops, accidentally left debug print | mtilden@gmail.com | 1 | -1/+0 |
2011-12-27 | - Added basic ping handling. | mtilden@gmail.com | 1 | -3/+27 |
2011-12-27 | Slightly cleaner block change interactions static in header | mtilden@gmail.com | 1 | -2/+2 |
2011-12-27 | Set player interaction kicking to 5 interactions per .1 seconds to help with lag disconnects. Still need to change code to lessen the false positives. | admin@omencraft.com | 1 | -2/+2 |
2011-12-26 | Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() | faketruth | 1 | -0/+14 |
2011-12-26 | Fixed the little check for max players. If somehow a player was able to connect and the number of players would exceed the max players, everybody is allowed in and the server will never be 'full'. It's fixed now | faketruth | 1 | -9/+9 |
2011-12-26 | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 1 | -3/+7 |
2011-12-26 | - Default Notchian Ping (static until ping implemented through keepalive send/receive) | mtilden@gmail.com | 1 | -2/+10 |
2011-12-26 | - Scoreboard deleting moved to cClientHandle::~cClientHandle() with checks. Please test this every way you can with clients disconnecting from the internet, crashing, etc. It should work on all cases as every client gets called in this part to be 'Deleted' | mtilden@gmail.com | 1 | -6/+10 |
2011-12-26 | - Cleaned up PLI Packet and its creation/sending and fixed bug of player not being removed on scoreboard (forgot to send color in the removal packet) | mtilden@gmail.com | 1 | -6/+6 |
2011-12-26 | - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard display | mtilden@gmail.com | 1 | -0/+11 |
2011-12-25 | Hold item is now dropped when inventory is closed | lapayo94@gmail.com | 1 | -2/+4 |
2011-12-25 | Code improvements | lapayo94@gmail.com | 1 | -0/+1 |
2011-12-25 | - improved and simplified the door system (shorter, clearer) | lapayo94@gmail.com | 1 | -26/+25 |
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 | -7/+21 |
2011-12-24 | Max. players and MOTD are now changeable in the settings.ini | lapayo94@gmail.com | 1 | -3/+9 |
2011-12-23 | Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at | faketruth | 1 | -3/+3 |
2011-12-22 | Digging leaves with shears now drops leaves | lapayo94@gmail.com | 1 | -1/+2 |
2011-12-21 | - Crafting fixed in 1.0.0 | lapayo94@gmail.com | 1 | -7/+26 |
2011-11-11 | Found and fixed a bug not letting users place blocks in water or lava. | admin@omencraft.com | 1 | -2/+7 |
2011-11-10 | Fixed logging in underground bug this time. A hack, but it works. :D | admin@omencraft.com | 1 | -4/+4 |
2011-11-10 | Can now set gamemode via lua. | admin@omencraft.com | 1 | -1/+1 |
2011-11-10 | Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work. | admin@omencraft.com | 1 | -15/+70 |
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 | -2/+48 |
2011-11-10 | Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings. | admin@omencraft.com | 1 | -17/+7 |
2011-11-09 | Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState) | admin@omencraft.com | 1 | -0/+2 |
2011-11-08 | It's a Squirrel!! | faketruth | 1 | -0/+1 |
2011-11-07 | Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update. | admin@omencraft.com | 1 | -15/+34 |
2011-11-07 | Added Sebi's changes to pistons and item drops. | admin@omencraft.com | 1 | -13/+20 |
2011-11-07 | Pistons now generate noise and animate when moving. | admin@omencraft.com | 1 | -1/+1 |
2011-11-06 | Redstone wire now updates correctly when added and removed. it also updates all currently programmed redstone items and wire circuits. Also cleaned up the mess I left of the code. | admin@omencraft.com | 1 | -2/+6 |
2011-11-06 | Redstone is now self aware. It's not quite as dumb as it used to be at any rate. Redstone wires have no range and understand they are supposed to stay on whenever there's an active torch touching it. (Need to add other power devices) | admin@omencraft.com | 1 | -9/+29 |
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 | -7/+5 |
2011-11-05 | Added all the items up to Beta 1.9.5. Added pistons and piston class. | admin@omencraft.com | 1 | -2/+10 |
2011-11-04 | Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance. | admin@omencraft.com | 1 | -5/+27 |
2011-11-03 | Fixed some redstone items and a bug that prevented floats from client to server packets reading correctly on 64 bit linux. | admin@omencraft.com | 1 | -2/+0 |
2011-11-03 | Added some redstone items. | admin@omencraft.com | 1 | -6/+30 |
2011-11-03 | Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:) | admin@omencraft.com | 1 | -7/+17 |
2011-11-02 | Added New/Invaid State and Thunderbolt packets. For testing purposes it now rains whenever a player opens a workbench and stops when they pen a chest. The rain start/stop in only sent to the sole clientopening the items. | admin@omencraft.com | 1 | -7/+26 |
2011-11-02 | Fixed some "Entity was not found in any chunk!" warnings | faketruth | 1 | -4/+8 |
2011-11-02 | Fixed player spawn teleport postion. | admin@omencraft.com | 1 | -1/+2 |
2011-11-01 | fixed player spawning in the ground. | admin@omencraft.com | 1 | -0/+4 |
2011-11-01 | Accidentally removed a line of code | faketruth | 1 | -1/+2 |
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 | -46/+49 |
2011-11-01 | Put in some sanity checks to ensure players don't interact with blocks too quickly. Changed gamemode to be player based. (MCServer crashes when picking up an item. Need to find and fix bug.) | admin@omencraft.com | 1 | -5/+23 |
2011-11-01 | Players can now place blocks in creative mode. The blocks players select from the creative mode inventory are not stored in the players' inventory. (I kind of like that) | admin@omencraft.com | 1 | -3/+3 |
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -15/+16 |
2011-10-27 | Fixed a memory leak | faketruth | 1 | -0/+1 |
2011-10-26 | Made several recomended changes. Gamemode is now world based. Need to add it to player. | admin@omencraft.com | 1 | -3/+4 |
2011-10-26 | Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet. | admin@omencraft.com | 1 | -2/+2 |
2011-10-26 | Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice. | admin@omencraft.com | 1 | -3/+3 |
2011-10-26 | Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode. | admin@omencraft.com | 1 | -0/+2 |
2011-10-26 | added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier. | admin@omencraft.com | 1 | -3/+70 |
2011-10-23 | Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. | faketruth | 1 | -19/+3 |
2011-10-21 | Compiles for linux | faketruth | 1 | -2/+8 |
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+1082 |