Commit Graph

75 Commits (67d3538ad0164776707db13381dd796440d3257e)

Author SHA1 Message Date
Icedream 67d3538ad0 Fix WriteUserFile failout due to multiple "SetResult"s 2014-06-13 07:31:55 +02:00
Icedream 1abdb83883 Fix reading loop failout 2014-06-13 07:31:25 +02:00
Icedream 94a7d20cfc Make NP file exception class public 2014-05-31 13:27:06 +02:00
Icedream b61b400227 Derpity derp nuget, Microsoft should stop fucking with paths. 2014-05-31 13:16:26 +02:00
Icedream ab2f918a5a Sanitizing merged code. 2014-05-31 01:04:49 +02:00
Icedream 27fbe3e7e3 Merge remote-tracking branch 'github/master'
Conflicts:
	src/client/NP/NPClient.cs
2014-05-31 00:41:22 +02:00
NTAuthority ac7e1b1a78 add validateticket call 2014-05-30 23:57:39 +02:00
Icedream b380f926ca Make RPC stream accessible from high-level API since it's incomplete as fuck. 2014-05-30 21:59:06 +02:00
NTAuthority 612fd05702 add license key auth and an accessor for the internal RPC client 2014-05-30 21:55:16 +02:00
Icedream 817007c135 Messages belong in client project, not in server. 2014-05-30 20:54:44 +02:00
Icedream 7dce0aa78a Removing unused references. 2014-05-30 20:30:54 +02:00
Icedream 1c990f841b Reformatting/refactoring code 2014-05-30 20:27:58 +02:00
Icedream 11486ab8e4 Splitting the library in client and server parts + MIT licensing. 2014-05-30 20:23:04 +02:00
Icedream e9e309bc2f Missing using declaration makes Release build fail. 2014-05-22 19:51:29 +02:00
Icedream cce59f8124 NPServer now in 2 flavours, mono-compatible (2 sockets for IPv4 and IPv6) and mono-incompatible (Win32-proprietary fallback socket) 2014-05-22 17:30:07 +02:00
Icedream 3c2ed60f5e Getting rid of a few small programmer poopoos 2014-05-22 17:26:17 +02:00
Icedream 0d9fa6b7e2 Mono doesn't support Windows-proprietary IP-fallback socket. 2014-05-22 17:17:21 +02:00
Icedream 7c0a8ae783 Upgrade uHttpSharp in npserv 2014-05-22 17:08:44 +02:00
Icedream 39270c2992 Added MasterServerMessage and attribute for it 2014-05-22 17:08:27 +02:00
Icedream a2f26ecb6b Updating master client message handling 2014-05-22 17:08:07 +02:00
Icedream 420cecd594 Updating master protocol README 2014-05-22 17:07:56 +02:00
Icedream 359ac3693c Dependencies upgraded 2014-05-22 17:06:43 +02:00
Icedream 139bb302b8 Fixing packages.config of library. 2014-05-22 16:53:46 +02:00
Icedream 4c25de4677 Implementing getservers and getserversExt messages. 2014-05-19 19:28:17 +02:00
Icedream 898aeb63c0 Adding extracts from dpmaster's messages.c. 2014-05-19 18:08:41 +02:00
Icedream 91eb92a08c Adding a README for the planned master server implementation. This surely will help me avoid forgetting stuff. 2014-05-19 17:09:24 +02:00
Icedream edd8482d63 Refactoring ticket and adding second constructor + serializer function for RPC stream usage. 2014-05-19 16:32:10 +02:00
Icedream 030f2b5f7c Refactoring. A lot. 2014-05-19 16:31:30 +02:00
Icedream 976949571a Sort messages by Server/Client and separate pure structures. 2014-05-17 07:21:21 +02:00
Icedream 05a0ee8ac0 Moving classes into their own files. 2014-05-15 06:52:51 +02:00
Icedream 20ae47ef0f Adding identifier attributes. 2014-05-15 06:52:34 +02:00
Icedream a36e90f3c4 Fallback to default file contents if the file doesn't exist yet. 2014-05-15 06:30:23 +02:00
Icedream f30839d297 Introducing user numbers (not generated from Brightstar entity identifiers anymore) and using partial database class methods instead to keep the code properly managed 2014-05-15 06:29:59 +02:00
Icedream f43f20522f Some code cleanup 2014-05-15 06:27:27 +02:00
Icedream 301281737c Only throw errors in reading loop in Debug builds. 2014-05-15 06:06:59 +02:00
Icedream 96d4e1f778 Return account ID "0" for bad authentication results. 2014-05-15 06:06:36 +02:00
Icedream aa8abe8649 Stabilize foreach loops on callback collections. 2014-05-15 06:05:51 +02:00
Icedream 79c2e91d79 Return null on Read() if the connection is closed. I'm too lazy to fix this better for "freshly-closed" connections now. 2014-05-15 06:05:17 +02:00
Icedream df9c59a19e Fixing session authentication stuff. 2014-05-15 05:32:21 +02:00
Icedream 331b357a64 Brightstar DB time. Now I "only" need proper numeric ID generation with freshly created users. 2014-05-14 18:18:34 +02:00
Icedream 1ec64df389 RavenDB. Minimalistic, not quite efficient. 2014-05-10 00:36:03 +02:00
Icedream 1297afc0ee Documentation and HTTP keep-alive tweak. 2014-05-09 14:33:10 +02:00
Icedream 6c685d6a96 npserv and npmotd now work together! :) 2014-05-09 14:07:00 +02:00
Icedream b13d462f0d Very slowly getting there. 2014-05-09 11:36:44 +02:00
Icedream 5ce198cbf6 Integrate npserv into file tree properly. 2014-05-09 09:05:05 +02:00
Icedream d3a44df55b Tons of server code work. This library has potential. 2014-05-09 09:03:15 +02:00
Icedream 483842b7d9 Callback timeouts. 2014-05-08 14:54:30 +02:00
Icedream be3cfd1f2b Handle uri == null cases. 2014-05-08 14:29:49 +02:00
Icedream d318594f6d Show requested filenames in log 2014-05-08 13:52:52 +02:00
Icedream b03ce56fb2 Allow URI access via ?uri=... 2014-05-08 13:43:44 +02:00