summaryrefslogtreecommitdiffstats
path: root/source (follow)
Commit message (Expand)AuthorAgeFilesLines
* Added total chunk count to webadminmadmaxoft@gmail.com2012-02-084-7/+133
* cPluginManager: slight cleanupmadmaxoft@gmail.com2012-02-081-178/+272
* cMonsterConfig: removed excessive loggingmadmaxoft@gmail.com2012-02-081-43/+62
* 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.com2012-02-0810-71/+156
* 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.com2012-02-088-219/+253
* cSocket: final localhost fix - made it a function (forgotten file)madmaxoft@gmail.com2012-02-071-3/+3
* cSocket: final localhost fix - made it a functionmadmaxoft@gmail.com2012-02-072-7/+15
* Temporary fix for Linux compilation. (gcc won't accept a function call in global var initialization)madmaxoft@gmail.com2012-02-071-1/+1
* Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility.madmaxoft@gmail.com2012-02-07109-1316/+1907
* cSocketThreads initial commit. Not yet tested and not yet integratedmadmaxoft@gmail.com2012-02-072-0/+619
* Slight cleanupmadmaxoft@gmail.com2012-02-072-5/+3
* cSocket: Added more functions that will be needed for the new cSocketThreadsmadmaxoft@gmail.com2012-02-072-8/+56
* cSocket: error reporting function now works correctly on GNU Linux; also includes the error number for all errorsmadmaxoft@gmail.com2012-02-061-8/+29
* cSocket: re-implemented the GetLastErrorString() function; win: error texts are now queried from the system rather than enumerated by the programmadmaxoft@gmail.com2012-02-062-25/+15
* Now showing proper error messages when sockets fail :)faketruth2012-02-055-18/+30
* cSocket: added error logging to Bind() failuresmadmaxoft@gmail.com2012-02-051-39/+48
* putting default settings back to defaultadmin@omencraft.com2012-02-041-2/+2
* Fixed a bug in source/cClientHandle.hadmin@omencraft.com2012-02-044-6/+6
* MCServer should be running fast again on Linux!! YAAAY!!faketruth2012-02-032-0/+7
* cClientHandle: split packet handling into separate functions for claritymadmaxoft@gmail.com2012-02-032-989/+1238
* cClientHandle: gotten rid of the obnoxious m_pState, now using direct members insteadmadmaxoft@gmail.com2012-02-024-351/+405
* Socket-related assert fixesmadmaxoft@gmail.com2012-02-023-6/+30
* tolua: modified the binding generator to accept AString as a std::string synonym, re-generated Bindings with these settings. Lua callbacks can now safely use AString functions in C++.madmaxoft@gmail.com2012-02-023-28/+29
* Removed nonsense "virtual inline" declaration from functionsmadmaxoft@gmail.com2012-02-027-28/+28
* cSocket API fix (possible invalid pointer)madmaxoft@gmail.com2012-02-026-45/+103
* Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com2012-02-0124-289/+667
* Added all current hooks to the new plugin structure.faketruth2012-02-014-129/+817
* AString logging fix 2madmaxoft@gmail.com2012-02-017-21/+27
* AString logging fixmadmaxoft@gmail.com2012-02-011-7/+7
* sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com2012-02-0116-134/+189
* Removed a few duplicate includesmadmaxoft@gmail.com2012-02-0110-41/+28
* new cIsThread object for thread encapsulationmadmaxoft@gmail.com2012-02-012-0/+225
* cEvent: fixed wrong errorchecking in win32 Set()madmaxoft@gmail.com2012-02-011-1/+1
* StringUtils: SplitString() fixmadmaxoft@gmail.com2012-02-011-2/+21
* auto_ptr fix 2madmaxoft@gmail.com2012-02-011-1/+1
* Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com2012-02-0113-105/+384
* Fixed a sigsegv on *nix (cFile double-closing files)madmaxoft@gmail.com2012-02-011-0/+1
* Plugins can now be enabled and disabled through WebAdminfaketruth2012-02-015-19/+75
* Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth2012-01-317-79/+193
* Slight code cleanup, no big changesmadmaxoft@gmail.com2012-01-313-45/+129
* Another cEvent fix, I wish I could get it finally rightmadmaxoft@gmail.com2012-01-311-0/+1
* Hopefully fixed pthreads in cEvent (again)madmaxoft@gmail.com2012-01-312-1/+3
* cEvent class cleanup (single-event only, since multi-event wasn't used and wouldn't work on *nix anyway)madmaxoft@gmail.com2012-01-312-82/+124
* Linux fixes, but while it compiles, when a user joins it crashes the server with "*** glibc detected *** ./MCServer: double free or corruption (out): 0x00007fb5f5158db0 ***"mtilden@gmail.com2012-01-312-0/+2
* Can now receive POST data in WebPlugins!faketruth2012-01-316-8/+41
* Replaced most FILE operations with a cFile objectmadmaxoft@gmail.com2012-01-307-151/+210
* Fixed a problem in cCSLock (sorry); reverted cChunkmadmaxoft@gmail.com2012-01-302-3/+9
* Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth2012-01-308-11/+91
* More cFile cleanup; removed old format writing for block entitiesmadmaxoft@gmail.com2012-01-3011-286/+343
* Initial cFile implementation (using stdio FILE) and test in cChunkMapmadmaxoft@gmail.com2012-01-304-86/+388
* Added missing #ifdef _DEBUG in cCriticalSection.cpp faketruth2012-01-291-3/+5
* Old code begone! ChunkMap cleanupmadmaxoft@gmail.com2012-01-294-373/+252
* VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com2012-01-29172-326/+1051
* ChunkGenerator: rewritten thread-locking using the new RAII CSLock classmadmaxoft@gmail.com2012-01-295-82/+210
* Now also compiles in Linuxfaketruth2012-01-281-0/+1
* Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it.faketruth2012-01-289-98/+773
* MSVC 2008 Express compatibility: Added the projects, modified sources to compile. Tested on MSVC 2008 Express and MSVC 2010 Expressmadmaxoft@gmail.com2012-01-2764-87/+89
* Converted all of the Core plugin to the new plugin structure, except for the WebAdmin partfaketruth2012-01-272-21/+98
* No longer hard coded Lua files in new plugin systemfaketruth2012-01-262-20/+406
* Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth2012-01-267-47/+508
* Probably fixed a deadlock! http://www.mc-server.org/support/index.php?do=details&task_id=147faketruth2012-01-261-2/+2
* Cactus towers can be destroyed by removing the bottom blockfaketruth2012-01-234-4/+89
* Fixed the  sign bugfaketruth2012-01-221-2/+2
* Improved Core's WebAmin interface a bit.faketruth2012-01-224-31/+112
* Bug FS#131 http://www.mc-server.org/support/index.php?do=details&task_id=131 should be fixedfaketruth2012-01-211-0/+1
* MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think)faketruth2012-01-205-6/+27
* Terrain generation is synchronous again, async generation has bugs.faketruth2012-01-1912-85/+129
* Fixed crashing bug in cClientHandle::~cClientHandlefaketruth2012-01-021-1/+3
* CreativeInventory Updatelapayo94@gmail.com2012-01-019-85/+107
* Fixed the numchunks console command.faketruth2012-01-0110-14/+187
* - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com2012-01-0116-227/+363
* Chests, furnaces and dispensers face the correct way now.faketruth2012-01-011-0/+5
* Made a couple of functions in cChunk inline, this should speed up several block operations on chunksfaketruth2011-12-315-124/+148
* - Animals burn now when moving into lava or firelapayo94@gmail.com2011-12-293-7/+12
* - Initial food handling by cedeelmtilden@gmail.com2011-12-295-13/+73
* M$ BS...mtilden@gmail.com2011-12-291-1/+1
* - Chests open and close on clients when opened/closedmtilden@gmail.com2011-12-296-7/+84
* - Pickups should now burn in firelapayo94@gmail.com2011-12-295-20/+33
* - water slacks fire nowlapayo94@gmail.com2011-12-298-17/+20
* - little performance improvement on the sand simulatorlapayo94@gmail.com2011-12-282-1/+9
* - implemented the fire simulation in native c++ (cFireSimulator)lapayo94@gmail.com2011-12-2810-90/+280
* - Fixed too fast actions kick for realmtilden@gmail.com2011-12-281-5/+5
* Fixed some small memory leakslapayo94@gmail.com2011-12-283-0/+13
* - Fixed ping displaying same for everyone, knew it was something I messed up with itr :(mtilden@gmail.com2011-12-281-1/+1
* Fixed PLI end white, made random mistake late night when I couldn't remember how I did it beforemtilden@gmail.com2011-12-281-1/+1
* This bug should be fixed now http://mc-server.org/support/index.php?do=details&task_id=112faketruth2011-12-281-6/+44
* Linux fixmtilden@gmail.com2011-12-281-1/+1
* - Didn't notice steak missing as wellmtilden@gmail.com2011-12-281-0/+8
* - Added chicken to eatingmtilden@gmail.com2011-12-282-1/+10
* Little improvement to save some cpu time but it´s still very heavy cpu loadlapayo94@gmail.com2011-12-282-1/+8
* - Implemented Drops from Burning animalslapayo94@gmail.com2011-12-2819-297/+218
* Users file was pretty messed up with mixed unix and windows line endings. The ini failed to parse correctly under cygwin.faketruth2011-12-273-2/+10
* Fixed a little error in cPacket_PlayerListItem.cppfaketruth2011-12-271-1/+1
* Vanity, just to set back to white after a short enough name for the ping image to not change colormtilden@gmail.com2011-12-271-1/+7
* I'll lower my frequency of commits.. 1000 default ends up sent more often than calc'd packets.mtilden@gmail.com2011-12-271-1/+0
* Oops, accidentally left debug printmtilden@gmail.com2011-12-271-1/+0
* - Added basic ping handling.mtilden@gmail.com2011-12-275-10/+38
* Slightly cleaner block change interactions static in headermtilden@gmail.com2011-12-272-2/+4
* 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.com2011-12-271-2/+2
* Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithmsfaketruth2011-12-275-12/+55
* Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth2011-12-2610-90/+160
* - improved Simulator system lapayo94@gmail.com2011-12-2614-55/+277
* - improved ClosestPlayerDetection (Really the closest now ;))lapayo94@gmail.com2011-12-262-30/+46
* 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 nowfaketruth2011-12-261-9/+9
* - Linux compatible fixes including updated makefilemtilden@gmail.com2011-12-2614-47/+72
* - Added timer to cPlayer PlayerListItem because sending the packets like minecraft does (every tick per player) is 20 pps per client to each client and was causing Kicks for having too high of a packet queuemtilden@gmail.com2011-12-262-7/+17
* - Default Notchian Ping (static until ping implemented through keepalive send/receive)mtilden@gmail.com2011-12-262-4/+12
* - 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.com2011-12-261-6/+10
* Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cppfaketruth2011-12-264-251/+274
* - 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.com2011-12-265-11/+22
* Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speedfaketruth2011-12-267-73/+104
* - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard displaymtilden@gmail.com2011-12-268-5/+80
* - Fixed Bug #99 -> Mobs no longer bother you in creative modelapayo94@gmail.com2011-12-2540-1235/+347
* - fixed the code from the last commit :)lapayo94@gmail.com2011-12-252-5/+7
* - Fixed a critical bug, which caused players to not getting spawned on the others clientlapayo94@gmail.com2011-12-252-84/+89
* - Implemented function to check item categorylapayo94@gmail.com2011-12-253-2/+43
* Refactored both simulators (water and lava) to make them more flexible and easier to modifylapayo94@gmail.com2011-12-256-549/+382
* Hold item is now dropped when inventory is closedlapayo94@gmail.com2011-12-254-8/+32
* Code improvementslapayo94@gmail.com2011-12-258-5/+486
* The missing file! cChunkGenerator.h/cppfaketruth2011-12-252-0/+195
* - improved and simplified the door system (shorter, clearer)lapayo94@gmail.com2011-12-254-62/+85
* 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 :Ofaketruth2011-12-2510-82/+184
* Very alpha water physic for pickups (The swim now)lapayo94@gmail.com2011-12-244-6/+168
* Max. players and MOTD are now changeable in the settings.inilapayo94@gmail.com2011-12-243-7/+42
* Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking atfaketruth2011-12-235-9/+55
* Digging leaves with shears now drops leaveslapayo94@gmail.com2011-12-227-11/+52
* Fixes:lapayo94@gmail.com2011-12-2210-18/+30
* Missed a class in r94 ;) Sorry guys :Dlapayo94@gmail.com2011-12-212-0/+96
* - Crafting fixed in 1.0.0lapayo94@gmail.com2011-12-2142-275/+315
* Changed chunk generation so any surface sand with air underneath it will turn into sandstone to prevent most sand cave-ins due to odd cave placement.admin@omencraft.com2011-11-151-12/+37
* Put view distance back to 13. Didn't mean to change that.admin@omencraft.com2011-11-121-1/+1
* Found and fixed a bug not letting users place blocks in water or lava.admin@omencraft.com2011-11-112-3/+8
* Fixed logging in underground bug this time. A hack, but it works. :Dadmin@omencraft.com2011-11-101-4/+4
* Can now set gamemode via lua.admin@omencraft.com2011-11-105-4/+19
* Some more changes to redstone. admin@omencraft.com2011-11-101-12/+14
* Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.admin@omencraft.com2011-11-106-26/+258
* Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support.admin@omencraft.com2011-11-102-6/+11
* 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.com2011-11-103-5/+108
* Storms were WAY too frequent. I toned them down.admin@omencraft.com2011-11-101-4/+4
* Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com2011-11-105-20/+191
* Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com2011-11-096-3/+79
* bugfix to redstone, it can climb walls again.admin@omencraft.com2011-11-092-16/+43
* 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.com2011-11-096-108/+298
* Fixed world timefaketruth2011-11-082-1/+13
* It's a Squirrel!!faketruth2011-11-0811-31/+529
* Fixed bug in cChunk.cpp not calculating RedstoneCircuits at the correct positions. Also, forgot to mention you can now place colored wool.admin@omencraft.com2011-11-081-2/+2
* 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.com2011-11-076-121/+238
* More updates to cPiston.cpp. Piston action will now only be broadcasted to players who have the chunk with the moving piston loaded.admin@omencraft.com2011-11-071-2/+6
* Added Sebi's changes to pistons and item drops.admin@omencraft.com2011-11-076-423/+172
* Pistons now generate noise and animate when moving.admin@omencraft.com2011-11-073-4/+50
* Added three new packets and cleaned up cPacket_Thunderbolt.cpp... cPacket_BlockAction, cPacket_Explosion, and cPacket_SoundEffect.admin@omencraft.com2011-11-078-50/+232
* 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.com2011-11-063-194/+47
* 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.com2011-11-063-42/+232
* 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.com2011-11-0612-276/+523
* Finished most of piston class. Pistons should work when a redstone current with wire is lit up or extinguished near them but don't yet. There'sa bug to kill.admin@omencraft.com2011-11-063-48/+408
* Change SetBlock to FastSetBlock in cRedstone.cpp and grass will now grow if any one hit block is above it.admin@omencraft.com2011-11-052-22/+27
* Added all the items up to Beta 1.9.5. Added pistons and piston class.admin@omencraft.com2011-11-055-18/+364
* Added cRedstone to project filefaketruth2011-11-042-7/+6
* Changed use of deprecated function.admin@omencraft.com2011-11-041-14/+19
* celeaning up the mess I made of cRedstone.h. >.>admin@omencraft.com2011-11-041-77/+0
* 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.com2011-11-045-25/+215
* Fixed some redstone items and a bug that prevented floats from client to server packets reading correctly on 64 bit linux.admin@omencraft.com2011-11-035-14/+15
* Added some redstone items.admin@omencraft.com2011-11-033-7/+54
* Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:)admin@omencraft.com2011-11-033-11/+42
* 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.com2011-11-026-7/+128
* Fixed some "Entity was not found in any chunk!" warningsfaketruth2011-11-028-28/+74
* Fixed player spawn teleport postion.admin@omencraft.com2011-11-021-1/+2
* Fixed crash when client only sends a space in the chatfaketruth2011-11-021-0/+2
* Changed world gamemode location to world.ini for world based gamemodes.admin@omencraft.com2011-11-021-2/+4
* fixed player spawning in the ground.admin@omencraft.com2011-11-013-6/+5
* Accidentally removed a line of codefaketruth2011-11-011-1/+2
* You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth2011-11-0116-165/+476
* forogt to update all of cPlayer.cpp for player based gamemode.admin@omencraft.com2011-11-011-1/+1
* 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.com2011-11-013-14/+56
* 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.com2011-11-012-3/+4
* denotch map converter works! :Dadmin@omencraft.com2011-10-311-8/+9
* Player data is saved and loaded as human readable JSON now.faketruth2011-10-3110-74/+317
* Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth2011-10-3140-206/+402
* Changed cChunkMat.cpp back to normal. Made more changes to the denotch map converter. Testing cNBTData parser.admin@omencraft.com2011-10-301-5/+0
* Added denotch map converter. Program currently reads the only mcr file in the region dir and writes the uncompressed chunk data in world/X0-Z0.pak. I compile in linux with "g++ cConvert.cpp -lz -o denotch"admin@omencraft.com2011-10-292-6/+11
* Fixed a memory leakfaketruth2011-10-271-0/+1
* Made several recomended changes. Gamemode is now world based. Need to add it to player.admin@omencraft.com2011-10-2611-19/+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.com2011-10-263-8/+9
* 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.com2011-10-265-5/+8
* 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.com2011-10-268-6/+81
* Updated VS2010 project filesfaketruth2011-10-261-104/+43
* Fixed bug in cMakeDir where it would only create directories named "world"faketruth2011-10-263-34/+16
* added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier.admin@omencraft.com2011-10-261-3/+70
* git-svn-id: http://mc-server.googlecode.com/svn/trunk@10 0a769ca7-a7f5-676a-18bf-c427514a06d6admin@omencraft.com2011-10-2629-10/+1707
* Using SSE instructions for noise (terrain generation)faketruth2011-10-253-9/+84
* Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms.faketruth2011-10-236-88/+165
* Found something that calls a function when a segfault happens, might be useful.faketruth2011-10-221-4/+16
* Compiles for linuxfaketruth2011-10-2117-24/+63
* MCServer c++ source filesfaketruth2011-10-03233-0/+35759