[SRC]Simple Loginserver in C#

07/26/2015 18:39 Ciapa1#1
Just a relatively simple Loginserver. Definetely ot the best and logins takes ~2 secs, but I've written it in about 2-3 hours(with breaks). If you don't know how to use this and how to make this to compile, you shouldn't ever need this.
Feel free to post fixes and improvements.
Don't blame me if it looks shitty coded, it's recoded from my C++ Servers, which look much prettier and work like 10 times faster. The "big daddy" has much more features, like Maintenance mode, dynamic channel load indicator and dynamic channel list(from config, checks which servers and channels are online). It was a bet with a friend of mine that I can't do this in less than 3 hours.
Don't forget to leave a thanks if you find this useful ;)
You can find more information about the real server on this page soon™:
[Only registered and activated users can see links. Click Here To Register...] <-It's a work in progress, People can join it once the server is finished
07/26/2015 19:42 ernilos#2
Just a thing, Session isn't random... It's a u16 counter, it's increased by 2 in each connection, and it restarts when it reach u16 max (65536).

Btw, good work
07/26/2015 19:49 Ciapa1#3
Oh, okay, thanks for the hint, I didn't know that. For me, this always worked. However, I'll change it in my Project.
07/29/2015 10:10 0Lucifer0#4
this always worked :D ernilos just want to explain how it's done in reality on official server.^^ it's not very if session is random or incremental but if you want to stay near the official server session is incremental :D
07/29/2015 14:07 *-OMG-*#5
Code:
serverList.Add("10.100.10.10" + ":" + 1301 + ":12:1.1." + "S1-Ancelloan");
            serverList.Add("10.100.10.10" + ":" + 1302 + ":4:1.2." + "S1-Ancelloan");
            serverList.Add("10.100.10.10" + ":" + 1303 + ":1:1.3." + "S1-Ancelloan");
            serverList.Add("10.100.10.11" + ":" + 1301 + ":12:2.1." + "S2-Fortuna");
            serverList.Add("10.100.10.11" + ":" + 1302 + ":4:2.2." + "S2-Fortuna");
            serverList.Add("10.100.10.11" + ":" + 1303 + ":1:2.3." + "S2-Fortuna");
Please.. Why !? A static list is just stupid.. World has to connect to Authentication giving own data that will be added to the list.
07/29/2015 15:15 Ciapa1#6
Quote:
Originally Posted by *-OMG-* View Post
Please.. Why !? A static list is just stupid.. World has to connect to Authentication giving own data that will be added to the list.
Are you an idiot, or are you just behaving like one? This is a simple REWRITE and only consists of the login server. As I already said, the big daddy has dynamic loading. And, this is for every Server, like a simple replacement. Tell me how you would teach for example waat or xenocore or SoE(without source edits) to talk to Auth about Server Status and so on.
If you think you can, well, do it! Read the first post.
07/29/2015 19:06 *-OMG-*#7
Quote:
Originally Posted by Ciapa1 View Post
Tell me how you would teach for example waat or xenocore or SoE(without source edits) to talk to Auth about Server Status and so on.
Maybe hooking the world server ? not hard to do but yeah.. impossible for people like you.

2h, funny.. for a login server that only takes 15m ~
07/29/2015 20:17 Ciapa1#8
Then do it. Gimme a fully working project. You have two hours, from now on!
Give up, troll... no one likes you. And now back in your cage!
07/29/2015 20:25 FI0w#9
Full working LoginServer is so...Easy but only when you know how.
07/29/2015 21:47 *-OMG-*#10
Quote:
Originally Posted by Ciapa1 View Post
Then do it. Gimme a fully working project. You have two hours, from now on!
Give up, troll... no one likes you. And now back in your cage!
Did it in previous live, happy that you didn't look for it.. Nobody likes me (really?) but you are using my crypto version and tools.. Is funny to read what you are writing without know who i am. Funny to have another idiot on this community.