Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 18:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[SRC]Simple Loginserver in C#

Discussion on [SRC]Simple Loginserver in C# within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 14
Received Thanks: 8
Post [SRC]Simple Loginserver in C#

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™:
<-It's a work in progress, People can join it once the server is finished
Ciapa1 is offline  
Thanks
3 Users
Old 07/26/2015, 19:42   #2
 
ernilos's Avatar
 
elite*gold: 20
Join Date: Jan 2012
Posts: 766
Received Thanks: 645
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
ernilos is offline  
Thanks
3 Users
Old 07/26/2015, 19:49   #3
 
elite*gold: 0
Join Date: Jul 2011
Posts: 14
Received Thanks: 8
Oh, okay, thanks for the hint, I didn't know that. For me, this always worked. However, I'll change it in my Project.
Ciapa1 is offline  
Old 07/29/2015, 10:10   #4
 
0Lucifer0's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,005
Received Thanks: 1,018
this always worked 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
0Lucifer0 is offline  
Old 07/29/2015, 14:07   #5
 
elite*gold: 0
Join Date: Nov 2014
Posts: 180
Received Thanks: 157
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.
*-OMG-* is offline  
Old 07/29/2015, 15:15   #6
 
elite*gold: 0
Join Date: Jul 2011
Posts: 14
Received Thanks: 8
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.
Ciapa1 is offline  
Thanks
5 Users
Old 07/29/2015, 19:06   #7
 
elite*gold: 0
Join Date: Nov 2014
Posts: 180
Received Thanks: 157
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 ~
*-OMG-* is offline  
Old 07/29/2015, 20:17   #8
 
elite*gold: 0
Join Date: Jul 2011
Posts: 14
Received Thanks: 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!
Ciapa1 is offline  
Old 07/29/2015, 20:25   #9

 
FI0w's Avatar
 
elite*gold: 50
Join Date: Jul 2014
Posts: 1,701
Received Thanks: 1,167
Full working LoginServer is so...Easy but only when you know how.
FI0w is offline  
Old 07/29/2015, 21:47   #10
 
elite*gold: 0
Join Date: Nov 2014
Posts: 180
Received Thanks: 157
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.
*-OMG-* is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 18:19.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.