|
You last visited: Today at 13:47
Advertisement
[Release]: XioOnline Source code.
Discussion on [Release]: XioOnline Source code. within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
05/22/2015, 18:59
|
#1
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
|
[Release]: XioOnline Source code.
Hey peeps. This is probably my last post on this forums. For me it's not enjoyable to code this game anymore. I've met very good people on this forum during my stay in this community but I've also met the worst.
It saddens me to do this. After a good 14 months of working on this source I've decided to release it to public for the reasons I will be mentioning below but first I'm going to give credits to the XioTeam for developing this source from scratch.
First it was Yuki and I that founded this source from scratch then we recruited the others to join the development.
I'd like to give credits to Yuki a.k.a Xio. nowadays for doing (CORE) work, Myself a.k.a Impression for doing (CORE + Feature) work, CrimsonFart a.k.a Daniel and Vali a.k.a Kalona* for doing (Scripts) and finally to the Quality and GM teams we've had over the past 14 months.
The release:
Enough with all the drama and let's get crackin'. The source has tons of good things but still lots of missing stuff. the methods and techniques used to code this source can be advanced to some. It uses Asynchronous and Parallel programming and Multithreading. We took COPS v6 and PM as references. So thanks to Cptsky and Hybrid for that. Forgive me if I've forgot any credits. I'm not in my best mood.
The source is extremely stable and steady as a turtle and it maintains high performance and speed at all times.
It uses a Flatfile DB that runs on a separate application using local pipes because we wanted to offload the game server? (Actually no, Because we wanted to be fancy) it even extracts itself in Y drive if you have a DB backup in C drive, Also as shown it's multithreaded and you can control them through the GUI. Also a Scripting engine that is highly dynamic and you can use it to modify (Packets, Items, NPCs and Commands) without the need to restart the server at all, A dynamic map instancing system which comes handy, An IRC chat linking chatbox with game chat, A webserver that outputs stats and rankings.
Maximum I've got to see the server handle was around 70 players and it ran at 00-04 percent.
It really has SO much more but I cba. Explore it yourself.
NOTE: IM NOT SAYING THE SOURCE IS BUGLESS NOR COMPLETE. DON'T PM ME FOR SUPPORT. AND JUST TAKE IT OR LEAVE IT -_-
The installation:
1- Get a brain that functions.
2- Download the Source&DB from  ,
3- Create Partition Y by shrinking one of your partions and extract the Database folder to it. If you don't know how to shrink your shit then gtfo the thread.
4- Put the source anywhere you like. (HAH thats funny)
5- Open the solution file using VS 2013 or VS 2015 Otherwise it wont work since we used the latest .netframeworks 4.5.1 minimum.
6- There are 4 Projects Game, Auth, DB and Lib. You need to run the first 3.
7- Get a 5018 client from the download thread fang made and use Conquer Loader by Nullable, Otherwise it won't work and attempt to login. There's a premade account in the database. Use it to login.
8- Don't mind the jumping tree.
Peace, Let's hope this helps someone.
|
|
|
05/22/2015, 19:14
|
#2
|
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
|
Are you considering working on any different games?
|
|
|
05/22/2015, 19:18
|
#3
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
|
Quote:
Originally Posted by .Ocularis
Are you considering working on any different games?
|
Right now? I haven't a clue who to trust. It's funny considering I got betrayed by people I knew for over 7 years? But an answer to your question, Yes, I might get into something else. No idea what.
|
|
|
05/22/2015, 19:31
|
#4
|
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
|
Seems like you forgot the most important part  .
|
|
|
05/22/2015, 19:34
|
#5
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
|
Quote:
Originally Posted by Best Coder 2014
Seems like you forgot the most important part  .
|
Leme update the link -_-
Link fixed, Sorry.
|
|
|
05/22/2015, 19:42
|
#6
|
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
|
Quote:
Originally Posted by Execution!
Leme update the link -_-
Link fixed, Sorry.
|
"Client & ~150 Maps.rar" - 2.16 GB. Are you sure you fixed the link  ?
|
|
|
05/22/2015, 19:45
|
#7
|
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
|
Omfg, I need some sleep -_-. Fixing it again. Woah. Now it works.
|
|
|
05/23/2015, 03:17
|
#8
|
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
|
Did you guys really take the packets from LOTF and copy-paste them into your project?
XioEvo:
Code:
public static byte[] OpenWarehouse(uint NpcId, ulong Money)
{
const ushort packetType = 1009;
var Packet = new byte[20];
fixed (byte* P = Packet)
{
*((ushort*) P) = (ushort) Packet.Length;
*((ushort*) (P + 2)) = packetType;
*((uint*) (P + 4)) = NpcId;
*((ulong*) (P + 8)) = Money;
*(P + 12) = 9 & 0xff;
}
return Packet;
}
LOTF (circa 2008):
Code:
public byte[] OpenWarehouse(uint NPCID, uint Money)
{
ushort PacketType = 1009;
byte[] Packet = new byte[20];
fixed (byte* p = Packet)
{
*((ushort*)p) = (ushort)Packet.Length;
*((ushort*)(p + 2)) = (ushort)PacketType;
*((uint*)(p + 4)) = (uint)NPCID;
*((uint*)(p + 8)) = (uint)Money;
*(p + 12) = (byte)(9 & 0xff);
}
return Packet;
}
|
|
|
05/24/2015, 15:25
|
#9
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
|
Looks like an high school fight  "You're the lier. No, you are !" Anyway, thread cleaned. I've also removed the "story" from the main post, as it will only make the thread go bad again.
Until the board is renamed to "Drama Board", please try to focus on the release, instead of the story behind it
Thanks.
|
|
|
05/24/2015, 18:36
|
#10
|
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 58
|
Wish if I had more time to check it, going back to army! 
I have no idea why people give up such a great hard work for such reasons, simply trust no one.
|
|
|
05/24/2015, 18:52
|
#11
|
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
|
Quote:
Originally Posted by CptSky
Looks like an high school fight  "You're the lier. No, you are !" Anyway, thread cleaned. I've also removed the "story" from the main post, as it will only make the thread go bad again.
Until the board is renamed to "Drama Board", please try to focus on the release, instead of the story behind it
Thanks.
|
So ... we're allowed to discuss how bad the code is, right? That is still focusing on the release.
|
|
|
05/24/2015, 18:59
|
#12
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Yeah... could you perhaps undelete the post I had relating to the source code?
|
|
|
05/25/2015, 21:17
|
#13
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
|
Quote:
Originally Posted by Best Coder 2014
So ... we're allowed to discuss how bad the code is, right? That is still focusing on the release.
|
Yes, you are.
|
|
|
05/26/2015, 06:46
|
#14
|
elite*gold: 0
Join Date: Apr 2014
Posts: 245
Received Thanks: 273
|
On a scale from 1 to Dean, I find this Dean.
|
|
|
05/26/2015, 06:48
|
#15
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
no this isnt as bad as 13 or w/e it was nested loops
|
|
|
All times are GMT +1. The time now is 13:47.
|
|