Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting
You last visited: Today at 00:33

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

Advertisement



[Development] C# sources

Discussion on [Development] C# sources within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
[Development] C# sources

hey all,

i know there has been mention of trying to develop a EO C# (or other language) source but its always failed to get started

i really do think all this is possible ... i have actually now coded a fully working acc server (it does not work with the current binary or anything like that since i have not set it up for that but rather use a new game server)

if there is enough interest in this then i might finish of cleaning up my acc server and release it here

btw before anyone looks at it and goes it looks bad the point of a console is not to look good but to use less memory ... i could make an panel etc but i seriously don't see the point i like a console server lol



i have based this off a base for co but every single packet is different etc so there's a lot that is actually needed to be done to change it

also eo has many different things such as a wait for a packet from the server before it will send the password

and well no encryption which is even better ... once i have a source that works fairly good on the current ability of the binary i will be able to take it much further ... that means the posibilty of adding devine, celebrity hall, etc

another benefit is there would be none of this horrible rank sharing stuff, totems for all pets(I'm sure its a binary based issue and not client)

so yea let me know all of your interests and maybe we can produce something ...

i really do think this is the way to make an group effort at something in eo instead of starting something like an Epvp server

UPDATES:
26/07/2010

ok today i am releasing 3 things they are the acc server source, my packet splitter and for anyone interested in the workings of the packet splitter the source as well

  1. ACC server source Code
ok here is the source as is at its current state anything you want to ask feel free to the point of this development is to learn off it etc
just a few things ill point out ...

DatabaseConnection.cs
Code:
public const string USER_NAME = "phpbb"; < MYSQL user name
public const string PASSWORD = "phpbb"; < MYSQL password 
public const string SERVER = "10.1.1.66"; < MYSQL host ip address
public const string DATA_BASE = "conqueremu"; < MYSQL DATABASE
yes the code still uses the conqueremu emu db ... in later revisions it will be fully rewritten by me

AuthSocket.cs
Code:
private const string SERVER_IP = "127.0.0.1"; < the ip address of the game server
public const string NANO_IP = "70.190.77.101"; < nano ips i wouldn't really think about them as its for a different part of coemu yet to be fully stripped
private const int AUTH_PORT = 5817; < port
MasterSocket.cs
Code:
protected const int LOGIN_PORT = 9959; <login port
protected const string SERVER_IP = "127.0.0.1"; <game server ip
protected const string SITE_IP = "25.86.1.1"; <website ip (so that the server doesnt try and use data from the site)
protected const int AUTH_PORT = 5817; <authentication port 
protected const int GAME_PORT = 5816;
2. Packet Splitter

this tool will split any eo based packet (unencrypted currently)
3. Packet Splitter Source Code
not really much to say about this other than here it is

REMEMBER ALL MY DEVELOPMENTS HERE USES C# 4.0 AND THUS NEED THE .NET 4.0 FRAMEWORKS TO RUN AND DEVELOP ON!

17/07/2010

Today i thought ild put out a copy of my account server at its current state ... sources will come within a few days but its just to prove this concept even more



this server sends a packet to the game server which only my game server will accept so really there is no point in trying to connect to any other server ... it will take the login process to the stage were it is asking for a game server but that is it

my source needs to be cleaned up a little before it put that up here but if you are interested let me know and i will push the upload of it forward

why rewrite the account server aswell? .... it allows you to know exactly whats going on ... make advancements such as accepting current eo clients and many more things

also a console application is alot smaller and thus requires less memory (the current acc server uses about 6MB where as mine uses 3.4MB) this drop in memory usage seems pointless atm but then when you look at the game server which i am building (includes both the msg server and npc server) which is currently sitting at 17MB as compared to the current msg server and npc server which can easily be well over 1GB together if the memory is available

what isn't taken into account when the 1GB min memoery for an eo server is all the virtual memory which is actually also being put into the server

also ild like to say again this source is based off COEMUv2 and there is still bits of that in it ....

the exe has been obfuscated and the dlls have been embedded ... there will be open access to them once i put the source out

there is no config files currently so here are the preset user/pass
Code:
mysql user:phpbb
mysql pass:phpbb
30/06/2010

I now have the server running off a dummy set of packets (this was to test i was doing it correctly) from using these dummy packets it shows me where my coding is wrong (in the packets ... btw they are a PAIN to sort)

EO seems to group packets so you have to sit here for hours counting them out (yea i could code something for it but idk i just do it by hand lol!)

ANYWAY ill show you all some proof of concept now

Game Server

Client

now yes it is only basic atm and it is only sending what i already have been sent from my eo binary BUT it is clearly progress ... as you can see this is possible ... i havn't put a screen of it up here but there is also error/packet logging in the client when the packet is unknown to the server

Code:
[System][Handler-Error] Please report: Unable to handle packet type 3005[18:18]
all of this can become possible once i get the packets right

btw if anyone says my colouring is pointless it does have a point to it ... it makes it a LOT easier to read on the eyes when you wanna know if its from the client or the server ... there are a few other reasons but i wont go there lol

i hope no one is just going to grab my sources when i release them and call them their own ... im working extremely hard on these ... if you would like to be part of it just straight out pm me and ask don't steal them and try to say its your own

Hio77
Attached Files
File Type: rar LoginServer.rar (313.9 KB, 245 views)
File Type: rar db-backup.rar (2.0 KB, 133 views)
File Type: rar LoginServerSourceCode.rar (158.1 KB, 208 views)
File Type: rar PacketSplitter.rar (4.1 KB, 108 views)
File Type: rar PacketSplitterSourceCode.rar (26.2 KB, 137 views)
hio77 is offline  
Thanks
45 Users
Old 06/19/2010, 23:41   #2
 
Manly393's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 180
Received Thanks: 47
That is an awesome idea!! Good luck with it, i really wish i could help you but sadly i don't know C#.
Manly393 is offline  
Thanks
1 User
Old 06/19/2010, 23:48   #3
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by Manly393 View Post
That is an awesome idea!! Good luck with it, i really wish i could help you but sadly i don't know C#.
thanks ... i wouldn't say im really good at C# or anything but i do have Google when i need it lol ... its just a case of keeping at it
hio77 is offline  
Thanks
5 Users
Old 06/21/2010, 09:14   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Very nice indeed!
I would love to see this project come off the ground!
Arcо is offline  
Thanks
6 Users
Old 06/21/2010, 09:32   #5
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by .Arco View Post
Very nice indeed!
I would love to see this project come off the ground!
well in truly off the ground ... alota issues in the way of packets but thats just me learning how to handle the packets well and stuff ... the acc server is to the point that it is fully working and im working on the game server now

just gonna be a pain if i try moving to current eo version (its now encrypted ) soooo that will be a little harder but ill manage some how ... might have a little talk to people over in the co section (i cant think of names atm lol! but there is diffidently one person in mind to ask for tips/help)

it is nice to see interest coming even from the co section too

oh and i moved onto C# 4.0 last night and saw a decent boost in start-up speed etc so ima stick in 4.0 now
hio77 is offline  
Thanks
2 Users
Old 06/21/2010, 13:09   #6
 
Faith.'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 558
Received Thanks: 145
Awesome work , but sorry to say Here in EO Section few can do such work .
Faith. is offline  
Thanks
1 User
Old 06/21/2010, 13:17   #7
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by [Devil] View Post
Awesome work , but sorry to say Here in EO Section few can do such work .
thank you

back when i was doing co servers ironically i couldn't do anything properly lol!

there are an increasing number of people who could do some of this (or they pay others to do what work i have seen) ... a lot of servers have custom loaders now etc ... its all part of the ability here ... honestly i work by trial and error atm ... its like work it out ... compare to co then convert what i can work out into eo test... edit

the hardest bit is the whole difference between co and eos encryption ... uld think removing the crypto would be easy but there's things such as every packet ends in the string "TQServer"

im also trying to keep my code really well coded so it don't turn into a LOFT (very badly coded co source)

i have however just completed the chat packet handling so that allows for login, char creation process start, all chats etc
hio77 is offline  
Thanks
4 Users
Old 06/21/2010, 16:46   #8
 
funhacker's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,746
c# is my favourite language so far. But.. I have little experience in OOP. With that said I would suggest perhaps making a working "offline" client first then sort out all the server side stuff after that. This means you have a client to test all your server code as your make it.

Wish I had the time to join in this perhaps forcer would?
funhacker is offline  
Thanks
3 Users
Old 06/21/2010, 17:43   #9
 
elite*gold: 0
Join Date: Jun 2010
Posts: 52
Received Thanks: 13
Trial and Error is the way I love it lol Btw, Apply for Mod again please.. I bet you will have More support now.
BrokenHilt is offline  
Thanks
1 User
Old 06/21/2010, 17:58   #10
 
Faith.'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 558
Received Thanks: 145
funhacker.
forcer.
Necron.
Soulerman.
You.
maybe some more outside eo sction, you can all work on the same thing , i hope i can do C# Coding.
why dont you post in other section ?
Faith. is offline  
Thanks
1 User
Old 06/21/2010, 18:03   #11
 
DEADP00L's Avatar
 
elite*gold: 20
Join Date: Sep 2008
Posts: 1,197
Received Thanks: 1,211
Quote:
Originally Posted by [Devil] View Post
funhacker.
forcer.
Necron.
Soulerman.
You.
maybe some more outside eo sction, you can all work on the same thing , i hope i can do C# Coding.
why dont you post in other section ?
of those you listed onyl 4 can actually do coding.
DEADP00L is offline  
Thanks
2 Users
Old 06/21/2010, 18:13   #12
 
elite*gold: 0
Join Date: Jun 2010
Posts: 52
Received Thanks: 13
Quote:
Originally Posted by DEADP00L View Post
of those you listed onyl 4 can actually do coding.
Take of Necron? Because i remember him causing problems and getting banned O_O And didnt had much Coding contributions lol
BrokenHilt is offline  
Old 06/21/2010, 21:36   #13
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by funhacker View Post
c# is my favourite language so far. But.. I have little experience in OOP. With that said I would suggest perhaps making a working "offline" client first then sort out all the server side stuff after that. This means you have a client to test all your server code as your make it.

Wish I had the time to join in this perhaps forcer would?
maybe he will ... we will see .... im just working with the client and comparing to the server packets ... it seems to work out fine im surprised at how well i can actually read it

EDIT: ugh maybe offline client would be good lmao ... im now working on the char info packets etc but surprise surprise eo puts like 50 packets into about 2 really long ones >.> you have to count out each packet then remove it and then take on the next one ... cut off any of the packet and well its gonna screw you lol

Quote:
Originally Posted by BrokenHilt View Post
Trial and Error is the way I love it lol Btw, Apply for Mod again please.. I bet you will have More support now.
hmmmm we will see...

Quote:
Originally Posted by [Devil] View Post
funhacker.
forcer.
Necron.
Soulerman.
You.
maybe some more outside eo sction, you can all work on the same thing , i hope i can do C# Coding.
why dont you post in other section ?
i have to say i agree with deadpool

Quote:
Originally Posted by DEADP00L View Post
of those you listed onyl 4 can actually do coding.
so true lol ... one just hopes lol

Quote:
Originally Posted by BrokenHilt View Post
Take of Necron? Because i remember him causing problems and getting banned O_O And didnt had much Coding contributions lol
yup exactly ... hes graphical not code based now anyway
hio77 is offline  
Thanks
2 Users
Old 06/22/2010, 10:52   #14
 
Faith.'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 558
Received Thanks: 145
Okay i think you have to Post also in CO Section too , or maybe in other section you. can ask DeadP00l Which Section exactly, its a good idea and you will find more support.
=)
Faith. is offline  
Old 06/22/2010, 11:05   #15
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by [Devil] View Post
Okay i think you have to Post also in CO Section too , or maybe in other section you. can ask DeadP00l Which Section exactly, its a good idea and you will find more support.
=)
you know how much a co mod would maul me for that lol ... they seem to jump on people for anything ... theres like 3 over there and they are all really active and really good at thier job ... honistly its a EO server so it should be in the EO section regardless of the help

look up theres a post from .Arco who i know to be a well known co mod so that just shows that word travels

if i was really that desperate for help i would throw the source up here every 10 mins when i change things lol

in some ways im taking making this sever as a way for me to learn alot more about C#

i will be turning to a few in the co section when i move onto the new encryption in eo as idk how to write the decryption (or rather find the encryption method in the first place)

the worse thing about it is finding the hidden keys such as trying to find the constitution on a mage for example (its a 0 so there no chance in working it out in one log ...)
hio77 is offline  
Thanks
4 Users
Reply


Similar Threads Similar Threads
help with sources
03/11/2010 - CO2 Private Server - 2 Replies
im tryin to use the NewestCO 5165 server source which probably wouldnt be bad if i could get the NewestCoServer.exe to load everytime i tried to start it up it opens up and then closes with no errors or anything i followed the guide for getting it running and it still didnt work. So, my question is, Does anyone know of a way to keep the NewestCoServer.exe from closing down all the time or maybe someone knows of a decent 5165 source that i can DL? Any help is greatly appreciated
Looking For TQ Bin Sources
09/12/2009 - CO2 Private Server - 4 Replies
hey all :handsdown: Who have the Latest Bin ? Who have Bin Source website ? link of Bin >> Fixed Bin OR who Have it just Mailing me at Signature ! Any Mod. Please Give aperiod to me may i get what i Need ! 4botters TEAM !
For using sources?
04/18/2009 - CO2 Private Server - 3 Replies
whats the best source to use as a beginner p-server maker and whats the best source to use as a pro
BWH-Sources
06/11/2006 - General Coding - 9 Replies
Hi, weiß jemand wo ich den BWH Source herbekommen kann? Würd mich mal intressieren wie der genau arbeitet,meine Trainer beschränken sich nämlich aufs Offset Patchen,von Offset auslesen etc. kann nicht die Rede sein,die sind immer fest eincompiliert :/ Naja in Google hab ich jedenfalls nichts finden können...bis auf erschreckend viele Pornoseiten :? Danke im voraus, Xalon



All times are GMT +1. The time now is 00:34.


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.