Oh, and my partners Maarten.
Hollyshit, nice ;o!
Oh, and my partners Maarten.
Yeah we've been good mates for about a year now. And he's working on the hard bit. The Habbo RC4 crack [client]
public static string GetDatabase()
{
if (Config.GetString("rSql.Database.Type").Contains("Phoenix"))
{
return RevEmu.DatabaseTypeSystem.DatabaseTypes.GetStructureTypes.Phoenix.GetTablesAndColumns();
}
}
Hurry and get some ingame screens! I'm a bit thick at the moment, There's an RP system? If so I will definitely making the switch from Phoenix (Licensed Not cracked) To RevEmu.
using System;
using RevEmu.Sockets;
using RevEmu.Environment;
using System.Reflection;
namespace RevEmu
{
class RevEnvironment
{
static void Main()
{
// Console
{
Console.Title = "RevEmu ~ Advanced Emulator For The Habbo Environment | Version: " + Assembly.GetExecutingAssembly().GetName().Version;
}
//Config
{
Config.LoadConfig();
}
//Crypto
{
Habbo_Encoding.Encoding.PrepareCryptoSystem();
}
//Mysql
{
var connection = new MySql.DatabaseConnection();
}
//Socket
{
rSocketsEngine.AcceptAsyncTCPConnection();
}
// DatabaseType Test
{
var type = Config.GetBoolean("rSql.Database.Type");
if (Config.GetString("rSql.Database.Type").Contains("Phoenix"))
{
Console.WriteLine("Phoenix Is the Database Type");
}
}
//Console Stuff
{
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("RevEmu Loaded");
Console.ReadLine();
}
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace RevEmu.rMessage
{
public struct SM
{
#region Fields
private Int16 _header;
private StringBuilder _contentBuilder;
#endregion
#region Constructors
public SM(Int16 header)
{
_header = header;
_contentBuilder = new StringBuilder();
AppendShort(header);
}
#endregion
#region Methods
public void AppendShort(Int16 int16)
{
_contentBuilder.Append(BitConverter.GetBytes(int16));
}
public void AppendUShort(UInt16 uint16)
{
_contentBuilder.Append(BitConverter.GetBytes(uint16));
}
public void AppendUInt32(UInt32 uint32)
{
_contentBuilder.Append(BitConverter.GetBytes(uint32));
}
public void AppendInt(Int32 int32)
{
_contentBuilder.Append(BitConverter.GetBytes(int32));
}
public void AppendString(string String, Boolean enableChar)
{
_contentBuilder.Append((short)String.Length);
_contentBuilder.Append(Encoding.Default.GetBytes(String));
}
public void AppendBool(Boolean Bool)
{
_contentBuilder.Append(BitConverter.GetBytes((Bool) ? 1 : 0)[0]);
}
public void AppendBytes(byte[] bytes)
{
for (var i = (bytes.Length - 1); i > -1; i--)
{
_contentBuilder.Append(bytes[i]);
}
}
#endregion
#region Quick Returns
public int GetHeader()
{
return _header;
}
public string GetString()
{
return Encoding.Default.GetString(GetBytes());
}
public byte[] GetBytes()
{
var bytes = new List<Byte>();
var content = new List<Byte>();
var lengthBits = BitConverter.GetBytes(content.Count);
bytes.AddRange(lengthBits);
bytes.Reverse();
bytes.AddRange((IEnumerable<byte>) content);
return bytes.ToArray();
}
#endregion
}
}
/*
* `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
* `page_id` int(11) NOT NULL,
* `item_ids` varchar(120) NOT NULL,
* catalog_name` varchar(100) NOT NULL,
* `cost_credits` int(11) NOT NULL,
* `cost_pixels` int(11) NOT NULL,
* `cost_snow` int(11) NOT NULL DEFAULT '0',
* `amount` int(11) NOT NULL,
* PRIMARY KEY (`id`)
*/
namespace RevEmu.DatabaseTypeSystem.Phoenix
{
class CatalogueItems
{
//Columns Registerd Here.
public static int Id;
public static int PageId;
public static string ItemIds;
public static string CatalogName;
public static int CostCredits;
public static int CostPixels;
public static int CostSnow;
public static int Amount;
}
//Example use: DataRow
class StringConvertedCatalogueColumns
{
public static string Id = "id";
public static string PageId = "page_id";
public static string ItemIds = "item_ids";
public static string CatalogName = "catalog_name";
public static string CostCredits = "cost_credits";
public static string CostPixels = "cost_pixels";
public static string CostSnow = "cost_snow";
public static string Amount = "amount";
public static void CheckColumns()
{
//Run Check if Exist Querys, To Make Sure Each Column Is Correct.
}
}
}
Code:/* * `id` int(10) unsigned NOT NULL AUTO_INCREMENT, * `page_id` int(11) NOT NULL, * `item_ids` varchar(120) NOT NULL, * catalog_name` varchar(100) NOT NULL, * `cost_credits` int(11) NOT NULL, * `cost_pixels` int(11) NOT NULL, * `cost_snow` int(11) NOT NULL DEFAULT '0', * `amount` int(11) NOT NULL, * PRIMARY KEY (`id`) */ namespace RevEmu.DatabaseTypeSystem.Phoenix { class CatalogueItems { //Columns Registerd Here. public static int Id; public static int PageId; public static string ItemIds; public static string CatalogName; public static int CostCredits; public static int CostPixels; public static int CostSnow; public static int Amount; } //Example use: DataRow class StringConvertedCatalogueColumns { public static string Id = "id"; public static string PageId = "page_id"; public static string ItemIds = "item_ids"; public static string CatalogName = "catalog_name"; public static string CostCredits = "cost_credits"; public static string CostPixels = "cost_pixels"; public static string CostSnow = "cost_snow"; public static string Amount = "amount"; public static void CheckColumns() { //Run Check if Exist Querys, To Make Sure Each Column Is Correct. } } }
Simple. Will be improved if needed.