April 20th
Finished player periodic currency reward system
You can now define periodic rewards of any type using the database.
Code Snippet
Any rewards given are also logged in the periodic_currency_reward_logs table.
You can also toggle between two settings with this option in...
You seem stupid, hence why I'm not investing much time into replying to you.
There aren't any web based projects that support Sadie, this would be the initial one hence the creation so people have something to work with.
Writing a web socket server with HttpListener isn't re-inventing the...
I can't comment on the state of Nitro because I haven't studied the client enough, I just recall having to do some weird stuff on outgoing data for Nitro to understand it the same way flash was fine with it but this was over a year ago.
I have no desire to ever support Air, I think Nitro is...
Unsure how you've used it, but its goal is to be 1:1 with netty.
It's had HTTP codecs for a few years now and provides a far greater level of abstraction. Until you mention specific cases where .NET would be better I don't see a reason to re-invent the wheel.
Nitro does have some quirks I've...
1. We've transitioned to EF.
2. Its a nice way to achieve non-blocking, asynchronous I/O, provides a larger abstraction than this if that's what you meant? .NETTY is even easier to align your pipelines so WS connections get upgraded and treated like TCP.
Nitro is iffy? I'd like to hear more...
April 15 & 16th
Added option validators for configuration (@Damien)
Switched fleck for dotnetty
Lots of work on the CMS & API
Some work on the schema converter too.
Schema converter is a lot of work, some data is difficult to copy because of the differences in structure, I've managed to...
April 11 & 12th
Brought in new contributors
Lots of refactoring
Multi tile furniture now works well
Wrote some new unit tests
1713014614
April 13th
Moved all game constants to the database
Added a development mode to ignore SSO security
Can now set welcome messages for players
More unit...
Thanks! ADO.NET which I've tried to abstract down with a base class etc (see here & here), its very verbose, something like Dapper or maybe even entity framework could really help with not writing so much code for that.
Yep, adding parsers was one step to reducing the coupling so eventually I...
Discord (live updates): https://discord.gg/vHfFnXVZcM
Introduction
Sadie is a clean code emulation server targeting the latest PRODUCTION release of Habbo. It's written in C# / .NET core with Windows and Linux support in mind. The repository has received over 500 commits and development is...
Change 'whatever' to 'http://localhost/test.php', if it still doesn't work I'm guessing what you're downloading isn't valid JSON. Can you send the stack trace?
Use a JSON nuget package and deserialize it
using (var webClient = new WebClient())
{
string json = webClient.DownloadString("whatever"); // will be like: @"{""key1"":""value1"",""key2"":""value2""}";
var values = JsonConvert.DeserializeObject<Dictionary<string, string>>(json);
}
Then...