Register for your free account! | Forgot your password?

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

  • 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 03/20/2011, 02:30   #151
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by cruey View Post
thats mad keep us updated.
as always ill keep everyone up to date here.

been revising the login server a little as well - its speed up login times now as there is no conversion from hexadecimal to bytestring anymore, just a solid static packet layout ready to fire out.
hio77 is offline  
Thanks
1 User
Old 05/06/2011, 17:12   #152
 
|NeoX's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 237
Received Thanks: 99
this looks soo **** promising i might be able to help later
|NeoX is offline  
Old 05/06/2011, 23:19   #153
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
Looking good.

I'm not pro with C# but I see your doing this
Code:
            Console.WriteLine("");
            Console.WriteLine("Account Server Created by Hio77");
            Console.WriteLine("This Account Server has been based off the COEMUv2 source");
            Console.WriteLine("COEMUv2 was created by andyd123");
            Console.WriteLine("The CoEMUv2 source can be found at: http://tinyurl.com/coemuv2");
            Console.WriteLine("");
            Console.WriteLine("This is made to work with the game server created by hio77 not any eo binary!");
            Console.WriteLine("");
Instead of
Code:
Console.WriteLine("");
to create a new line you can simply use the command "\n"
ex:
Code:
           Console.WriteLine("\nAccount Server Created by Hio77");
            Console.WriteLine("This Account Server has been based off the COEMUv2 source");
            Console.WriteLine("COEMUv2 was created by andyd123");
            Console.WriteLine("The CoEMUv2 source can be found at: http://tinyurl.com/coemuv2");
            Console.WriteLine("\nThis is made to work with the game server created by hio77 not any eo binary!");
            Console.WriteLine("\n[LoginServer] Starting MasterSocket Thread.");
Just thought i'd point it out

#edit
I also see your doing this
Code:
            PacketData[0] = 0x34;//packet length
            PacketData[1] = 0x00;//packet length
            PacketData[2] = 0x1f;//packet ID (1055)
            PacketData[3] = 0x04;//packet ID (1055)
            PacketData[4] = Key2[3];//acc id in binary
            PacketData[5] = Key2[2];//acc id in binary
            PacketData[6] = Key2[1];//acc id in binary
            PacketData[7] = Key2[0];//acc id in binary
            PacketData[8] = Key1[3];//unknown (could be random token number)
            PacketData[9] = Key1[2];//unknown (could be random token number)
            PacketData[10] = Key1[1];//unknown (could be random token number)
            PacketData[11] = Key1[0];//unknown (could be random token number)
            PacketData[12] = 0xb8;//port
            PacketData[13] = 0x16;//port
mhm, not good practice at all. When i get time ill repost that as a much more efficient & faster method.
_DreadNought_ is offline  
Old 06/30/2011, 12:20   #154
 
Faith.'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 558
Received Thanks: 145
*bump*
this project is dead or what ?
Faith. is offline  
Old 06/30/2011, 13:58   #155
 
cruey's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 698
Received Thanks: 857
Probly lol
cruey is offline  
Old 09/27/2011, 11:00   #156
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
*BUMP* I'm back

Quote:
Originally Posted by _DreadNought_ View Post
Looking good.

I'm not pro with C# but I see your doing this
Code:
            Console.WriteLine("");
            Console.WriteLine("Account Server Created by Hio77");
            Console.WriteLine("This Account Server has been based off the COEMUv2 source");
            Console.WriteLine("COEMUv2 was created by andyd123");
            Console.WriteLine("The CoEMUv2 source can be found at: http://tinyurl.com/coemuv2");
            Console.WriteLine("");
            Console.WriteLine("This is made to work with the game server created by hio77 not any eo binary!");
            Console.WriteLine("");
Instead of
Code:
Console.WriteLine("");
to create a new line you can simply use the command "\n"
ex:
Code:
           Console.WriteLine("\nAccount Server Created by Hio77");
            Console.WriteLine("This Account Server has been based off the COEMUv2 source");
            Console.WriteLine("COEMUv2 was created by andyd123");
            Console.WriteLine("The CoEMUv2 source can be found at: http://tinyurl.com/coemuv2");
            Console.WriteLine("\nThis is made to work with the game server created by hio77 not any eo binary!");
            Console.WriteLine("\n[LoginServer] Starting MasterSocket Thread.");
Just thought i'd point it out

#edit
I also see your doing this
Code:
            PacketData[0] = 0x34;//packet length
            PacketData[1] = 0x00;//packet length
            PacketData[2] = 0x1f;//packet ID (1055)
            PacketData[3] = 0x04;//packet ID (1055)
            PacketData[4] = Key2[3];//acc id in binary
            PacketData[5] = Key2[2];//acc id in binary
            PacketData[6] = Key2[1];//acc id in binary
            PacketData[7] = Key2[0];//acc id in binary
            PacketData[8] = Key1[3];//unknown (could be random token number)
            PacketData[9] = Key1[2];//unknown (could be random token number)
            PacketData[10] = Key1[1];//unknown (could be random token number)
            PacketData[11] = Key1[0];//unknown (could be random token number)
            PacketData[12] = 0xb8;//port
            PacketData[13] = 0x16;//port
mhm, not good practice at all. When i get time ill repost that as a much more efficient & faster method.
thanks for that, im sure i have said this before but im not some godly C# coder i will always do things which arnt the best ... as for the packet which you posted it was planned to move to dynamically created packets once i have everything right...

all that being said i would love to see your way of building the packets, im just keeping to the same conventions were used in coemu

Quote:
Originally Posted by Faith. View Post
*bump*
this project is dead or what ?
now its not

Quote:
Originally Posted by cruey View Post
Probly lol
how could you crue :P

Quote:
Originally Posted by hio77 View Post
*BUMP* I'm back



thanks for that, im sure i have said this before but im not some godly C# coder i will always do things which arnt the best ... as for the packet which you posted it was planned to move to dynamically created packets once i have everything right...

all that being said i would love to see your way of building the packets, im just keeping to the same conventions were used in coemu



now its not



how could you crue :P

i might end up stripping this back and restarting ... i screwed with so much in this that i think i might have lost myself ... ild say thats why i stopped working on it -.-
guess i might move onto using revision control
hio77 is offline  
Old 09/27/2011, 22:16   #157
 
Thorlon's Avatar
 
elite*gold: 100
Join Date: Mar 2011
Posts: 620
Received Thanks: 409
lol welcome back
Thorlon is offline  
Old 09/27/2011, 23:47   #158
 
DarkHuntress's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 98
Received Thanks: 66
Awesome job

I am not a coder. I would really like to help you but I know my limitations. I can and do give you my support. I think what you are doing is great. Please keep up the excellent work. I am learning as you post.
DarkHuntress is offline  
Old 09/27/2011, 23:50   #159
 
.Ash's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,175
Received Thanks: 540
Quote:
Originally Posted by hio77 View Post
*BUMP* I'm back

i might end up stripping this back and restarting ... i screwed with so much in this that i think i might have lost myself ... ild say thats why i stopped working on it -.-
guess i might move onto using revision control
IKR!! lol you make a project as a newbie and stops with frustration. Later on, you learn more and more and see the file in your desktop.. "hmmm... maybe i'll give another try..." it happens to me too lol

i tried borrowing a VPS and tried making a clientless client lol but didn't work out well. only could borrow the vps for one day, so i gave up.
.Ash is offline  
Old 10/19/2011, 13:59   #160
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
well, thought ild make a bit of a post just to make sure everyone still knows im here and working away ... just in my quiet little cave tinkering away at it

this will be a bit of an informational page, i know its plenty of use to the likes of funhacker

each rar file contains a excel spreadsheet on the packet, example packets (range from 1 to about 30 -.-) and a bookmark file which can be read by some hex editors to show the position of the bytes in the hex editor (very useful i find)

Packet information:


Incomming packet from the client -> server, Authentication request (login)



OffsetSizeValue 
0ushort276Packet Length
2ushort1060Packet Type (0x424)
4stringUser Name  
132stringPassword  
260stringServer Name 


Outgoing Sever -> Client, Authentication Response, now there are plenty of ways to use this... commonly 1st way is to send the ip address of the game server and second way is to send the message in which you want the client to receive



OffsetSizeValue 
0ushort52Packet Length
2ushort1055Packet Type (0x41F)
4ulongUnknown  
8ulongString Count  
12ulongAcountID  
16ulongUnknown  
20stringMessage  


Outgoing Server -> Client, Char info



OffsetSizeValue 
0ushort170Packet Length
2ushort1006Packet Type (0x41F)
4UlongUser ID 
8UlongLookface and Model 
12ushortHair 
16UlongGold 
20UlongEO 
24UlongExp 
32UlongTotor Exp 
36ushortMercenary exp 
40ushortBP 
44ushortPower 
46ushortContitution 
48ushortDexterity 
50ushortSpeed 
52ushortHealth (NOT HP) 
54ushortSoul 
56uintAdditional Point 
58ushortCurrent HP 
60ushortMax HP 
62ushortCurrent MP 
64ushortMax MP 
72ushortPK Points 
74uintLevel 
75uintClass 
76uintNobility 
77uintMetempsychosis 
78uintauto allocate 
79uintMentor Level 
80uintMercenary Rank 
81uintNobility Rank 
82ushortSummon Limit 
84ushortExploit 
88UlongToken Points 
92ushortHatchable eggs 
96uintMute Flag 
140ushortVIP Level 
144ulongWood 
148uintBusiness 
152UlongPP 
156uintString Count 
157uintIngame name length 
158stringIngame Name 
159+ign lenuintSpouse name length 
160+ign lenstringSpouse name 
161 + lensuintTrailing byte 
162 +lensushortTrailing byte  

enjoy

edit: heh.. after all this re research ... suddenly i just found out my character info packet in the game server is incorrect ... maybe that has help cause the issues
Attached Files
File Type: rar Login Request.rar (16.1 KB, 22 views)
File Type: rar Login Response.rar (11.5 KB, 9 views)
File Type: rar Character Info.rar (19.1 KB, 12 views)
hio77 is offline  
Thanks
3 Users
Old 10/19/2011, 20:13   #161
 
elite*gold: 0
Join Date: May 2009
Posts: 408
Received Thanks: 231
lookin good
XxFearReaperXx is offline  
Old 10/20/2011, 04:14   #162
 
cruey's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 698
Received Thanks: 857
Welcome back *** kitten, come on msn. We have stuff to talk talk about Meow
cruey is offline  
Old 10/20/2011, 04:23   #163
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by cruey View Post
Welcome back *** kitten, come on msn. We have stuff to talk talk about Meow
iv been online all day *****.. now i remember why i ignored you :P
hio77 is offline  
Old 10/20/2011, 11:34   #164
 
cruey's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 698
Received Thanks: 857
Your a **** lol add mine cause its not working when i add you
cruey is offline  
Old 10/20/2011, 11:47   #165
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by cruey View Post
Your a **** lol add mine cause its not working when i add you
happy? .... got a lot of work done today, item usage is working a lot more, character settings are also alot more correct
hio77 is offline  
Thanks
1 User
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 15:18.


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.