summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.h (unfollow)
Commit message (Expand)AuthorFilesLines
2012-03-11Not sending chunks to the client twicemadmaxoft@gmail.com1-2/+3
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com1-2/+1
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-4/+8
2012-03-05ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :)madmaxoft@gmail.com1-0/+2
2012-02-26Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :)madmaxoft@gmail.com1-8/+3
2012-02-23Made the viewdistance settable by users and default in settings.ini. The default is 9.madmaxoft@gmail.com1-3/+10
2012-02-17Chunk coords mostly "upgraded" to include the Y coord for future compatibilitymadmaxoft@gmail.com1-1/+1
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-27/+49
2012-02-08cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties.madmaxoft@gmail.com1-9/+15
2012-02-04Fixed a bug in source/cClientHandle.hadmin@omencraft.com1-1/+1
2012-02-03cClientHandle: split packet handling into separate functions for claritymadmaxoft@gmail.com1-20/+80
2012-02-02cClientHandle: gotten rid of the obnoxious m_pState, now using direct members insteadmadmaxoft@gmail.com1-11/+58
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-4/+4
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth1-0/+1
2011-12-28 - Added chicken to eatingmtilden@gmail.com1-1/+1
2011-12-27 - Added basic ping handling.mtilden@gmail.com1-2/+5
2011-12-27Slightly cleaner block change interactions static in headermtilden@gmail.com1-0/+2
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-0/+1
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.com1-0/+5
2011-12-25Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :Ofaketruth1-1/+2
2011-11-12Put view distance back to 13. Didn't mean to change that.admin@omencraft.com1-1/+1
2011-11-11Found and fixed a bug not letting users place blocks in water or lava.admin@omencraft.com1-1/+1
2011-11-04Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance.admin@omencraft.com1-0/+1
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-0/+1
2011-10-26Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet.admin@omencraft.com1-1/+0
2011-10-26Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice.admin@omencraft.com1-0/+1
2011-10-03MCServer c++ source filesfaketruth1-0/+70