[C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
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
Features
- Register
- Login
- Confirm details
- Load swim figure :)
- Console
- Search user 100%
- Show user motto.
Re: [C#, ION/Deltar] Ion16 - Habbo Hotel V16
OH I like this It seems cool ;)
Re: [C#, ION/Deltar] Ion16 - Habbo Hotel V16
Re: [C#, ION/Deltar] Ion16 - Habbo Hotel V16
PHP Code:
else if (name.Contains("MOD-") || name.Contains("Mod-") || name.Contains("mod-"))
{
Response.AppendInt32(3);
}
Couldn't this be shorten to this?
PHP Code:
else if (name.toUpper().Contains('MOD-'))
{
//doshit
}
Re: [C#, ION/Deltar] Ion16 - Habbo Hotel V16
But where is the Database ??? ...
Re: [C#, ION/Deltar] Ion16 - Habbo Hotel V16
Quote:
Originally Posted by
Phosfor
But where is the Database ??? ...
Thanks for telling me ;)
Use this [SQL] -- phpMyAdmin SQL Dump -- version 3.3.9 -- http://www.phpmyadmin.net -- -- H - Pastebin.com (The default ION database)
---------- Post added at 09:54 PM ---------- Previous post was at 09:54 PM ----------
Quote:
Originally Posted by
Pure
PHP Code:
else if (name.Contains("MOD-") || name.Contains("Mod-") || name.Contains("mod-"))
{
Response.AppendInt32(3);
}
Couldn't this be shorten to this?
PHP Code:
else if (name.toUpper().Contains('MOD-'))
{
//doshit
}
Thanks, I suppose that could be replaced.
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Thanks to give the Database ;)
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Stealing Ion26 name idea? :P
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Maby?! CACHE SOMETHING!? Its MySQL selecting overload.
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Quote:
Originally Posted by
wichard
Maby?! CACHE SOMETHING!? Its MySQL selecting overload.
Not really. :P: Just cache common info like item definitions, room categories, room models, navigator, etc, etc. Simple primary-key based lookups like this are fine.
However, about that snippet... please use prepared statements / parameters / whatever for your database queries to make your code immune to SQL exploits. People can now supply a name containing one or more SQL queries as the name, and the server will happily run them.
Anyway, good initiative && good luck!
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Quote:
Originally Posted by
Nillus
Not really. :P: Just cache common info like item definitions, room categories, room models, navigator, etc, etc. Simple primary-key based lookups like this are fine.
However, about that snippet... please use prepared statements / parameters / whatever for your database queries to make your code immune to SQL exploits. People can now supply a name containing one or more SQL queries as the name, and the server will happily run them.
Anyway, good initiative && good luck!
you really hate sql exploits:laugh:
nice alex
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Nillus, you dont know what i mean? I mean he dont cache anything!?
Re: [C#, ION/Deltar] Ion16 - [Habbo Hotel V16 Framework]
Quote:
Originally Posted by
wichard
Nillus, you dont know what i mean? I mean he dont cache anything!?
its a fucking framework calm down.:rolleyes: