Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

C# ConnectServer Source

Junior Spellweaver
Joined
Jul 11, 2006
Messages
188
Reaction score
184
i coded this yesterday for my emulator, and i'm releasing this piece of code for those which want to know more about C#, sockets, blablabla...

this isnt 100% working like original, the server % will aways display 0, coz i haven't coded the UDP socket packets (future updates will be for emulator, not official server files, so i dont need to code udp for display emulator's playercount %)

if someone "update" the code, post it here

thanks... file is attached, and please, do not remove my team name from it, if you will repost in other place, or change the code


server list in CsInfo.xml
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Servers>
	<Server Code="0" Index="0" Address="127.0.0.1" Port="44405" />
</Servers>
Code = Server Index
Index = SubServer Index
Address and Port is target gameserver info


file is attached...
 

Attachments

You must be registered for see attachments list
Twilight Mu Owner
Loyal Member
Joined
Aug 8, 2005
Messages
505
Reaction score
74
Re: [Release] C# ConnectServer Source

If Anyone Needs:
 
Newbie Spellweaver
Joined
Mar 12, 2006
Messages
59
Reaction score
96
Re: [Release] C# ConnectServer Source

Man, I was looking upon it, I started learning the C# basics and my first project will be a MU Emulator (Obviously when I learn more complex things), the first time I saw your project in VirtualMU I start being your fan! ^^
 
Experienced Elementalist
Joined
Sep 11, 2007
Messages
257
Reaction score
0
Re: [Release] C# ConnectServer Source

SHAGOON always is first with mirrors! :)
 

A.5

Newbie Spellweaver
Joined
Sep 30, 2007
Messages
45
Reaction score
0
Re: [Release] C# ConnectServer Source

Woot, very nice piece of emu :D
 
[Czt] Coder Team Member
Joined
Aug 28, 2005
Messages
370
Reaction score
8
Re: [Release] C# ConnectServer Source

nice work man! =)
 
Junior Spellweaver
Joined
Jul 11, 2006
Messages
188
Reaction score
184
Re: [Release] C# ConnectServer Source

well, a connect server isn't an "emu", but anyways... i'll use it on the project
 
Newbie Spellweaver
Joined
Nov 18, 2004
Messages
56
Reaction score
0
Re: [Release] C# ConnectServer Source

Perfect, grateful Wolf.
Now I am going to my tests
 
iNewLegend , Leo123
Joined
Apr 26, 2006
Messages
296
Reaction score
81
Re: [Release] C# ConnectServer Source

Thanks Bro
 
Initiate Mage
Joined
Jan 7, 2008
Messages
2
Reaction score
0
Re: [Release] C# ConnectServer Source

very hackish :\ still can be interesting for those who want to learn the very basics of mu protocol.
 
Newbie Spellweaver
Joined
Nov 7, 2006
Messages
18
Reaction score
0
Re: [Release] C# ConnectServer Source

looking good. I`m sure i will test it
 
Newbie Spellweaver
Joined
Jan 7, 2005
Messages
18
Reaction score
0
Re: [Release] C# ConnectServer Source

I have a recomendation for your project

Everyone ever involved on server maintenance and deployment is used to have "Services" running.
Those Services have some advantages:
- windows resources priority
- security (login account) can be especified
- what to do in case of services shoot down
- system login of each event
- RPC (windows security protected)
and a very long list of extra positive things so developers use to release mission critical and long term server based tools compiled as "windows services".

So why not you?

The main problem will be "support" on how to install and remove a windows service, but install/uninstall classes can be coded inside the exe so people can attach/dettach the service from the OS as a optional feature.

U whant me to help with this?... just let me know
 
Junior Spellweaver
Joined
Dec 13, 2004
Messages
164
Reaction score
12
Re: [Release] C# ConnectServer Source

wolfulus can you DC a client from the CS if you want to ?
 
Junior Spellweaver
Joined
Jul 11, 2006
Messages
188
Reaction score
184
Re: [Release] C# ConnectServer Source

wolfulus can you DC a client from the CS if you want to ?

if you code it, yes you can, but the current code is a console application, without interface... just a tray icon, with a "hided" console window...



I have a recomendation for your project

Everyone ever involved on server maintenance and deployment is used to have "Services" running.
Those Services have some advantages:
- windows resources priority
- security (login account) can be especified
- what to do in case of services shoot down
- system login of each event
- RPC (windows security protected)
and a very long list of extra positive things so developers use to release mission critical and long term server based tools compiled as "windows services".

So why not you?

The main problem will be "support" on how to install and remove a windows service, but install/uninstall classes can be coded inside the exe so people can attach/dettach the service from the OS as a optional feature.

U whant me to help with this?... just let me know

maybe on future updates... i'm not thinking about these things now, just wanting to get it fully functional :]

yeah, bad english, i know, sorry ;D
 
Back
Top