TheRealMoonman
I eat babies
- Sep 30, 2014
- 360
- 74
RetroEMU Development Project
What makes it different?Well nothing in regards to any other roleplay servers, I am creating this inspired by Plus Emulator, so i devote 80% credits to Plus developers pretty much.
But alot of what differentiates RetroEmu to Plus, and some other emulators, is the way it stores and uses data AND the data engine it uses.
I've chosen to base it upon PostgreSQL, many would probably conflict it against MySQL.
Why choose PostgreSQL?
Well its mainly a learning experience for me, I've never used PostgreSQL in any of my projects, and basing this off PostgreSQL will give me a much more in-depth view of how PostgreSQL works in a practical sense.
Are you copying code from Plus given you've devoted 80% credits to it?
No, I am not, one thing i may do is deobfuscate Plus's algorithm library to have a look and reference off that, which is basically what I'm doing. I think it would be counter-productive if I just modified Plus's classes to be able to run on PostgreSQL.
How far are you into development?
Fuck all, I want to perfect this emulator, I'd rather have a quality product than have a cheap one.
Snippets?
Code:
namespace RetroEMU.Connect
{
public sealed class GlobalDataSets
{
static readonly GlobalDataSets instance = new GlobalDataSets();
public DataSet Cache { get; private set; }
public DataTable ConfigData { get; private set; }
static GlobalDataSets()
{
}
GlobalDataSets()
{
this.Cache = new DataSet();
this.ConfigData = new DataTable();
Cache.Tables.Add("ConfigData");
ConfigData.Columns.Add("key");
ConfigData.Columns.Add("value");
}
public static GlobalDataSets Instance
{
get
{
return Instance;
}
}
}
}
Code:
class Init
{
//====Global Vars=============//
public Program _Program;
//============================//
public void Initilize()
{
Environment();
Console.Clear();
Console.SetCursorPosition(0, 0);
Console.ForegroundColor = ConsoleColor.Red;
}
public void Environment()
{
Console.Clear();
}
}