GithubHelp home page GithubHelp logo

Couple of questions about openmu HOT 2 CLOSED

munique avatar munique commented on June 18, 2024
Couple of questions

from openmu.

Comments (2)

sven-n avatar sven-n commented on June 18, 2024

Hi! Thanks for your feedback :)

How do you deal with synchronizing the Client and the Server when the client is altered (Cheat Engine for example)?

At the moment I don't actively deal with it, but the server logs a few suspicious actions which are caused, e.g. by autokill cheat users. Imho, the only real protection is to not trusting client input at all.

What's the performance like? C# is a lot cleaner and easier to maintain but it's not used in games for various performance reasons.
This is of course not really a game and I am no specialist, just wondering how would it compare to a classic MU Server written in C++, with, let's say, 500 users online.

I think a lot of people underestimate the performance of C# and .NET. Of course, if you really need every last percent of performance in a AAA Game, you would choose C/C++. However, for a game server like this it should be possible to host hundreds of players even with C#/.NET. What matters here mostly is not the environment, but how efficient your code is, by selecting the the right algorithms and data structures. Compared to the game client, Garbage Collection also plays a rather minor role here - players should not really notice a lag when it runs. The classic mu server is implemented rather poorly, makes it life rather easy, e.g. saving items in Blobs and still has big problems with cheaters and item duplications. I think I can do better in this case - each item is saved in its own row with an unique identifier.

Why did you choose React for the frontend and why mix it with jQuery and Bootstrap?

I like the philosophy behind React - one way data flow which makes it predictable. As far as I can remember I use jQuery just for Ajax requests ;) And Bootstrap to apply some consistent UI Style...

I would like to contribute after I familiarize myself with the code for a bit.

Great! If you need some help or have more questions, just ask :)

from openmu.

sven-n avatar sven-n commented on June 18, 2024

If you have more questions don't hesitate to open a new issue ;)

from openmu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.