Unknown Universe / Classical Darkorbit Reboot 🎄❄️⛄️

09/02/2017 04:25 manulaiko3.0#31
Quote:
Originally Posted by Technostar View Post
It looks quite good, but sending and receiving packets plus a simple algorithm is fairly easy.
I am more concerned about performance. Most people know how to code easy-to-read algorithms, but performance is something most programmers do at the very end.
In case of servers this has to be - right after security - the most important thing.

How are you handling the clients ?

best regards,
"Premature optimization is the root of all evil"

Instead of worrying about nonexistent problems, worry about making it work.
09/02/2017 14:35 Technostar#32
Quote:
Originally Posted by manulaiko3.0 View Post
"Premature optimization is the root of all evil"

Instead of worrying about nonexistent problems, worry about making it work.
I dont think that you should worry at all. Making it work is not very hard, it only costs a lot of time.
From my point of view programming clean from the beginning is the best Solution. In case of servers most of them did not have a lack of "not working", but rather a lack of security and performance.


Quote:
Originally Posted by NUMANDERBUHMAN View Post
Actually I've put way more effort into performance than I've actually put into easy to read but if coded right it should both be easy to read and solid performance.
I'm handling the clients using a loop and tick each and every one of them per x ms. I didn't bother playing with threads and await but I've used it on a few places. I'll have to do a proper stress test soon to check if everything is as good as I hope it is.
C# provides good features to implement easy to read algorithms, for example with Linq and the new things with C# 6.0, but performance is something not as easy as algorithms. Therefore I am asking you.

So you are having a "MessageFifo" containing for example movement stuff, etc.
Every x ms you clear that loop and send everything to the clients ? Or did I missunderstood that part.
In case of the ms ? Are you using 8ms each or just a random value ?

I am really interested in those things. I used to program my own pserver for friends, but nowadays I rarely have time for software programming ;-)

best regards,
09/02/2017 15:19 cryz35#33
s
Quote:
Originally Posted by Technostar View Post
I dont think that you should worry at all. Making it work is not very hard, it only costs a lot of time.
From my point of view programming clean from the beginning is the best Solution. In case of servers most of them did not have a lack of "not working", but rather a lack of security and performance.




C# provides good features to implement easy to read algorithms, for example with Linq and the new things with C# 6.0, but performance is something not as easy as algorithms. Therefore I am asking you.

So you are having a "MessageFifo" containing for example movement stuff, etc.
Every x ms you clear that loop and send everything to the clients ? Or did I missunderstood that part.
In case of the ms ? Are you using 8ms each or just a random value ?

I am really interested in those things. I used to program my own pserver for friends, but nowadays I rarely have time for software programming ;-)

best regards,
Hey. It's fast enough when you just do it right. It is even fast when you do it very wrong. Come on, this is not Fortran, you don't need complex algorithms. Some millisecond slowing down for hundred lines of code is pretty acceptable. Even you won't be able to notice the difference.

Anyways, your example is one of the worst ways of handling incoming data on a server with many connections. Data should be concurrent and also it will eventually be pooled. It's more or less the same using it on client side app, you will end up using too many resources and creating a delay between server and client.

What he mean was probably that he accepts a client (a)sync and make a gameloop for attacking and other functions of the game.
09/03/2017 19:35 deppLOL#34
@[Only registered and activated users can see links. Click Here To Register...] will u let us know when the server is on?
09/03/2017 23:25 ItsTequila#35
Quote:
Originally Posted by deppLOL View Post
@[Only registered and activated users can see links. Click Here To Register...] will u let us know when the server is on?
Sure, however we've got an issue currently with the VPS and we're unable to continue working until we get a new one.
09/04/2017 00:22 deppLOL#36
Quote:
Originally Posted by NUMANDERBUHMAN View Post
Sure, however we've got an issue currently with the VPS and we're unable to continue working until we get a new one.
Allright i wish u good luck
09/08/2017 23:24 deppLOL#37
Any updates u can tell about?
09/09/2017 01:18 ItsTequila#38
Quote:
Originally Posted by deppLOL View Post
Any updates u can tell about?
Serverwise only.
I've re-ordered some of my stuff which should boost performance and also added a bug tracking system which should help me trace everything to it's core.

Not much left till server is smooth and ready for public beta although it's pretty stable currently.
Only thing stopping me is some unknown error that crashes emulator from times to times.
09/09/2017 14:41 sveratus#39
no link yet?
09/09/2017 16:06 Rushle#40
Quote:
Originally Posted by sveratus View Post
no link yet?
Why u post on every thread ? every post u do is like 3 words long ? are u post hunting or what ?
09/10/2017 18:28 Snake31#41
That's really good because you have been coding it by yourselves ! I really hope your server will succeed ! Any news about how it is going on ?
09/10/2017 22:11 ItsTequila#42
Quote:
Originally Posted by Snake31 View Post
That's really good because you have been coding it by yourselves ! I really hope your server will succeed ! Any news about how it is going on ?
Well on my side, I've slowed down past few days due to upcoming entry exams but I'll continue right after they finish =)
10/05/2017 23:57 ItsTequila#43
Update coming soon..
We've moved domain and we're developing now stronger than ever. Previews coming soon..
10/06/2017 21:04 Snake31#44
Quote:
Originally Posted by NUMANDERBUHMAN View Post
Update coming soon..
We've moved domain and we're developing now stronger than ever. Previews coming soon..
is there a way to try it or to help you by the way ? ^^
10/07/2017 14:46 ItsTequila#45
Quote:
Originally Posted by Snake31 View Post
is there a way to try it or to help you by the way ? ^^
Few ways, joining the testers team and helping me track down bugs and implement new features quicker although that means to you gotta have some free time. Second way is if you know C# and want to join the dev team and code new stuff with me since my time is sort of limited. If either of these don’t fit you, you can support us by following the development progress and sharing it with your friends.