Ion16
I noticed that there are no really good C# frameworks that support v16. ION is a great base which is very easy to change protocol. Also easy to understand.
Ion uses MySQL as a database file storing and a easy plugin system to basicly do any basic function needed.
I have also changed the protocol from R34 to v16
Download: Ion16.rar
Database: [SQL] -- phpMyAdmin SQL Dump -- version 3.3.9 -- http://www.phpmyadmin.net -- -- H - Pastebin.com (The default ION database)
Features
- Register
- Check name 100%
- Login
- Confirm details
- Load swim figure :)
- Console
- Search user 100%
- Show user motto.
C# Snippet (Checking name exists)
PHP Code:private void CheckName() // "@j"
{
string name = Request.PopFixedString();
using (Ion.Storage.DatabaseClient dbClient = IonEnvironment.GetDatabase().GetClient())
{
Response.Initialize(36); // "@d"
if (dbClient.ReadBoolean("SELECT * FROM users WHERE username = '" + name + "'") == true)
{
Response.AppendInt32(4);
}
else if (name.Contains("MOD-") || name.Contains("Mod-") || name.Contains("mod-"))
{
Response.AppendInt32(3);
}
else
{
Response.AppendInt32(0);
}
SendResponse();
}
}






![[C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]](http://ragezone.com/hyper728.png)

Just cache common info like item definitions, room categories, room models, navigator, etc, etc. Simple primary-key based lookups like this are fine. 

