Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
[C#] SubSpace Continuum Directory

 
Post new topic   Reply to topic Printable version
 View previous topic  Macrowhiz Post :: Post nullspace  View next topic  
Author Message
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Tue May 23, 2017 7:28 pm    Post subject: [C#] SubSpace Continuum Directory Reply to topic Reply with quote

for fun, because i was bored, and to learn C# i sat down for a bit and wrote a directory server.



depending on how bored i get, i will eventually write a biller, then a zone server replacement, then a client as i did with the C project.

it currently loads modules from DLLs, has an ini config file, etc, just as ASSS does.

when it is ready enough i will put it up on a bitbucket somewhere with code for a tutorial custom module.

the important part is that using C# instead of C saves a bunch of time since you dont have to mess around with pointers and get segfaults and crashes every time you want to print text.
also yes C# does run on the .NET core, but its not the garbage it was 10 years ago, it runs on mono, and microsoft just made a full featured bash shell on windows, meaning this stuff will run on windows, mac, and linux with not much extra effort.

equally important, it makes it way easier to tap into DLLs like the steam API in making a steam powered biller.

did this thing over a couple of hours in 4 days.
_________________
SSC Distension Owner
SSCU Trench Wars Developer




csscd.png - 191.27 KB
File downloaded or viewed 302 time(s)


Last edited by Cheese on Fri May 26, 2017 7:05 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Fri May 26, 2017 3:15 pm    Post subject: Reply to topic Reply with quote

So, link to github/etc?
Back to top
View users profile Send private message Add User to Ignore List Send email
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Fri May 26, 2017 6:41 pm    Post subject: Reply to topic Reply with quote

not up yet until it is in a state that can be deployed into a minimum of operation out of box and until i get it cleaned up into a state other people would actually want to use, because i am still shuffling code around and splitting overly monolithic files

as an example i still have not split the net.cs file into the net.cs proto_dir.cs proto_core.cs directory.cs files in the same way that i did with the C project yet

however it will be on the same bitbucket as these:
https://forums.minegoboom.com/viewtopic.php?t=10124
https://forums.minegoboom.com/viewtopic.php?t=10134

not really in a rush to publicly release code since i expect just as before people just wont give a shit, because it is years later and still noone has wanted to do anything with the C project despite its far reaching effects to revitalize ss


anyways, i expect this to be pretty much finished within a week or 2
i also plan to harvest the core and start on a C# biller, which I will also again be using with a mySQL DB
the ssc netops asked me about the C biller and actually got as far as preparing to migrate ssc for steam launch and set up a linux server and compiled it, so I am guessing they will still probably be interested/
also C# seems to be better for a biller since it has exception handling and wont crash every 4 seconds.
which is great because C# also doesnt crash every time you want to combine 2 strings like C does




on a semi related note, i added more log constants:
Code: Show/Hide

public enum LogLevel
{
   PACKETS      =(int)'P',   //raw network traffic
   DEBUG      =(int)'B',   //details only needed to troubleshoot
   VERBOSE      =(int)'V',   //boring standard activity noone would want to see by default
   DRIVEL      =(int)'D',   //boring standard activity
   NORMAL      =(int)'N',   //standard activity
   IMPORTANT   =(int)'I',   //standard activity requiring attention of operator
   WARNING      =(int)'W',   //notification of potential instability
   SECURITY   =(int)'S',   //notification of potentially malicious activity
   ERROR      =(int)'E',   //a recoverable error has occurred
   CRITICAL   =(int)'C'   //a unrecoverable error has occurred
};


thoughts/requests?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Misc User Apps All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 98 page(s) served in previous 5 minutes.

phpBB Created this page in 0.467193 seconds : 30 queries executed (94.4%): GZIP compression disabled