344 Commits

Author SHA1 Message Date
Cuber
af6da5b935 Add color coding for console log categories 2015-02-07 23:16:24 +02:00
Drew DeVault
d92e26b3f7 Merge pull request #23 from cubrr/tidy-command-parsing
Tidy command parsing
2015-02-07 11:23:15 -07:00
Drew DeVault
dfdf175451 Merge pull request #22 from cubrr/enhance-vector-structs
Expand vectors structs, separate Coordinates into diff files
2015-02-07 11:12:17 -07:00
Cuber
a82b014524 Tidy command parsing 2015-02-07 20:07:36 +02:00
Cuber
e940734b1b Expand vectors structs, separate Coordinates into diff files 2015-02-07 19:56:04 +02:00
Drew DeVault
1dd1da92c2 Merge pull request #20 from cubrr/strip-colors
Remove colors from log output
2015-02-06 12:25:41 -07:00
Cuber
1dcb357124 Remove colors from log output 2015-02-06 21:18:34 +02:00
Drew DeVault
0aa10d9487 Merge pull request #17 from creatorfromhell/master
Break ice blocks now spawns water.
2015-02-04 11:02:14 -07:00
Daniel Vidmar
b01322d3bc Fixed IceBlock and implemented more drops
Replaced the fully qualified names in IceBlock.cs with using directives.
Added the proper drops to more blocks.
2015-02-04 12:58:52 -05:00
Daniel Vidmar
6380aef536 Fixing git 2015-02-04 03:06:11 -05:00
Daniel V.
1b60cd3941 Git didn't remove this... 2015-02-04 03:04:06 -05:00
Daniel Vidmar
cd44e78977 Breaking ice now changes it to water. 2015-02-04 02:33:00 -05:00
Daniel Vidmar
2c110e5af9 Merge remote-tracking branch 'upstream/master' 2015-02-04 02:21:30 -05:00
Drew DeVault
974b0783e4 Merge branch 'master' of github.com:SirCmpwn/TrueCraft 2015-02-02 15:53:05 -07:00
Drew DeVault
cd20b987d4 Partially implement world persistence
This does not account for entities or tile entities, and the seed is not
saved because there is no level.

TODO: Save levels
2015-02-02 15:52:25 -07:00
Drew DeVault
17e1de7082 Merge pull request #15 from cubrr/master
Expand Size struct, modify Vector3
2015-02-02 13:23:36 -07:00
Cuber
aa91d23a5c Expand Size struct, modify Vector3
Size:
* Added operators
* Implemented IEquatable<Size>
* Overrode Object.Equals, .ToString and .GetHashcode
Vector3:
* Object.Equals override: The `is` operator is faster than doing (x.GetType() != typeof (y))
2015-02-02 22:13:17 +02:00
Drew DeVault
f1a98a562b Add contributor agreement 2015-02-02 12:18:02 -07:00
Drew DeVault
775adf685a Significant improvements to entity physics
No more jitter! Collisions actually work all the time!
2015-02-02 01:24:43 -07:00
Drew DeVault
70ee5df9d8 Prevent item entities from sending metadata 2015-02-01 23:33:22 -07:00
Drew DeVault
7cbf04a0d6 Send entity metadata to connected clients
This also implements crouching via the same feature
2015-02-01 22:04:02 -07:00
Drew DeVault
079f8b9188 Flesh out EntityManager to sync entities w/clients
This makes sure that you get new entities as you move to chunks that
have them, and that entities are despawned as you move further away from
them.
2015-02-01 21:43:25 -07:00
Drew DeVault
eda5dd2f82 Implement bed placement and supported blocks 2015-02-01 18:53:10 -07:00
Drew DeVault
91fdf59532 Reduce packet queue timeout per client 2015-02-01 16:00:38 -07:00
Drew DeVault
567ba2aab1 Fix several core networking bugs
This should make the server much more stable over a longer period of
time
2015-02-01 15:59:59 -07:00
Drew DeVault
4df341e7d6 Add item repository and leaves logic 2015-02-01 14:59:02 -07:00
Drew DeVault
e3051a673c Implement special cases for block drops
This does not include things that require certain tools, such as
cobblestone.
2015-02-01 14:30:02 -07:00
Drew DeVault
12dea4d037 Improve README 2015-02-01 14:12:28 -07:00
Drew DeVault
c137b010e9 Implement entity armor propegation
When you change what's in your hand or put on armor, now everyone will
know about it.
2015-02-01 11:36:45 -07:00
Drew DeVault
b13c402170 Handle exceptions in entity updates 2015-02-01 11:03:59 -07:00
Drew DeVault
8feefbbbbf Implement entity physics and item drops 2015-02-01 10:38:55 -07:00
Drew DeVault
bdea15dae8 Fix minor issues with chat logging 2015-01-31 21:04:25 -07:00
Drew DeVault
6453004c7b Fix incorrect usage of UseEntityPacket 2015-01-31 20:33:05 -07:00
Drew DeVault
ab3b6bd3b3 Improve performance of network worker 2015-01-31 20:07:26 -07:00
Drew DeVault
ad42586170 Despawn client entities on log out 2015-01-31 20:05:05 -07:00
Drew DeVault
d9986e247e Implement client entity tracking
We multiplayer now
2015-01-31 19:22:10 -07:00
Drew DeVault
3aaa6be371 Instantiate {Inverse,}KnownEntities for clients
This fixes an error with having several people logged in at once.
2015-01-31 17:43:49 -07:00
Drew DeVault
944bab4749 Refactor entity management to support more cases
This is the first step towards actual entity management.
2015-01-31 17:39:10 -07:00
Drew DeVault
23aca2e5b1 Handle player disconnect exceptions correctly 2015-01-31 17:21:49 -07:00
Drew DeVault
c0585fc714 Implement mining via block providers 2015-01-26 17:05:26 -07:00
Drew DeVault
61bd2d32d3 Add block repository support code 2015-01-26 16:40:32 -07:00
Daniel Vidmar
c363b1e36c Merge remote-tracking branch 'upstream/master' 2015-01-26 18:40:28 -05:00
Drew DeVault
e2f9929783 Fix case on FlintAndSteelItem.cs 2015-01-26 16:25:11 -07:00
Daniel Vidmar
98ba0ae0b2 Combined like item classes 2015-01-26 16:25:11 -07:00
Daniel Vidmar
217be72385 Merged sword item classes into SwordItem.cs 2015-01-26 16:25:11 -07:00
Daniel Vidmar
04f227f332 Item fixes
Added a new property to ToolItem
- Base Durability
Added a new property to SwordItem
- Damage
Created base classes for Axes, Hoes, Pickaxes, and Shovels
Fixes
- Fixed format issues
2015-01-26 16:25:11 -07:00
Daniel Vidmar
90923522bc Added items 2015-01-26 16:25:11 -07:00
Daniel Vidmar
823110f8ad Combined like item classes 2015-01-26 17:35:00 -05:00
Daniel Vidmar
7f4bb02a58 Merged sword item classes into SwordItem.cs 2015-01-26 16:32:52 -05:00
Daniel Vidmar
b157e2ec26 Item fixes
Added a new property to ToolItem
- Base Durability
Added a new property to SwordItem
- Damage
Created base classes for Axes, Hoes, Pickaxes, and Shovels
Fixes
- Fixed format issues
2015-01-26 16:09:13 -05:00