Recent content by habtard

  1. habtard

    Sadie Emulator

    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...
  2. habtard

    Sadie Emulator

    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...
  3. habtard

    Sadie Emulator

    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...
  4. habtard

    Sadie Emulator

    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...
  5. habtard

    Sadie Emulator

    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...
  6. habtard

    Sadie Emulator

    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...
  7. habtard

    Sadie Emulator

    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...
  8. habtard

    Sadie Emulator

    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...
  9. habtard

    How Strong Is Your Computing Device? (NovaBench)

    Haha I'm on a fairly uncommon linux distro, I can run other benchmarking tools but it probably won't be accurate in comparison.
  10. habtard

    How Strong Is Your Computing Device? (NovaBench)

    AMD Ryzen 9 7950X (32) @ 6.142GHz, would probs smoke all of yall but can't run nova bench easily on my OS. About 2 years old now might upgrade soon
  11. habtard

    Nitro converter

    https://github.com/billsonnn/nitro-converter
  12. habtard

    Sadie Emulator

    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...
  13. habtard

    C#/PHP read JSON string from PHP into C#

    That exception pretty much tells you what to do.
  14. habtard

    C#/PHP read JSON string from PHP into C#

    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?
  15. habtard

    C#/PHP read JSON string from PHP into C#

    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...
Top