-
Re: aleedaEmulator [C#, ION/Deltar]
I've been lazy lately but I 'll show you an example of my recoding.
This is when you click, 'edit room' and loads up all current settings..
I'm trying to get people to understand ION (:
Before
PHP Code:
private void ProccessPacketFP()
{
using (DatabaseClient dbClient = IonEnvironment.GetDatabase().GetClient())
{
string roomID = Request.PopWiredInt32().ToString();
Console.WriteLine(roomID);
DataRow roomRow;
dbClient.AddParamWithValue("id", roomID);
roomRow = dbClient.ReadDataRow("SELECT * FROM private_rooms WHERE id = '" + roomID + "'");
SendString("GQ" + Aleeda.wireEncoding.encodeVL64((int)roomRow["id"]) + (string)roomRow["name"] + Convert.ToChar(2) + (string)roomRow["description"] + Convert.ToChar(2) + "H[XBQFQFHHHIHIH");
}
}
After
PHP Code:
private void ProccessPacketFP()
{
using (DatabaseClient dbClient = IonEnvironment.GetDatabase().GetClient())
{
string roomID = Request.PopWiredInt32().ToString();
List<RoomManager> roomDetails = Ion.IonEnvironment.GetHabboHotel().GetRooms().RoomDetails(roomID);
foreach (RoomManager Room in roomDetails)
{
Response.Initialize(465);
Response.AppendInt32(Room.ID);
Response.AppendString(Room.Name);
Response.AppendString(Room.Description);
Response.AppendInt32(Room.Status);
Response.AppendInt32(Room.Category);
Response.AppendInt32(Room.MaxVisitors);
Response.AppendInt32(Room.MaxVisitors);
Response.AppendInt32(0); //TODO: Tags, room tag count
Response.AppendInt32(0); //TODO: Rights, user rights count and list.
Response.AppendInt32(0);
Response.AppendInt32(Room.PetsAllowed);
Response.AppendInt32(Room.PetsEatOtherFood);
Response.AppendInt32(0); // Walking through people 0 : 1
Response.AppendInt32(0);
SendResponse();
}
}
}
-
Re: aleedaEmulator [C#, ION/Deltar]
Good to see it finally coming together :)
-
Re: aleedaEmulator [C#, ION/Deltar]
-
Re: aleedaEmulator [C#, ION/Deltar]
Quote:
Originally Posted by
Quackster
I've been lazy lately but I 'll show you an example of my recoding.
This is when you click, 'edit room' and loads up all current settings..
I'm trying to get people to understand ION (:
Before
PHP Code:
private void ProccessPacketFP()
{
using (DatabaseClient dbClient = IonEnvironment.GetDatabase().GetClient())
{
string roomID = Request.PopWiredInt32().ToString();
Console.WriteLine(roomID);
DataRow roomRow;
dbClient.AddParamWithValue("id", roomID);
roomRow = dbClient.ReadDataRow("SELECT * FROM private_rooms WHERE id = '" + roomID + "'");
SendString("GQ" + Aleeda.wireEncoding.encodeVL64((int)roomRow["id"]) + (string)roomRow["name"] + Convert.ToChar(2) + (string)roomRow["description"] + Convert.ToChar(2) + "H[XBQFQFHHHIHIH");
}
}
After
PHP Code:
private void ProccessPacketFP()
{
using (DatabaseClient dbClient = IonEnvironment.GetDatabase().GetClient())
{
string roomID = Request.PopWiredInt32().ToString();
List<RoomManager> roomDetails = Ion.IonEnvironment.GetHabboHotel().GetRooms().RoomDetails(roomID);
foreach (RoomManager Room in roomDetails)
{
Response.Initialize(465);
Response.AppendInt32(Room.ID);
Response.AppendString(Room.Name);
Response.AppendString(Room.Description);
Response.AppendInt32(Room.Status);
Response.AppendInt32(Room.Category);
Response.AppendInt32(Room.MaxVisitors);
Response.AppendInt32(Room.MaxVisitors);
Response.AppendInt32(0); //TODO: Tags, room tag count
Response.AppendInt32(0); //TODO: Rights, user rights count and list.
Response.AppendInt32(0);
Response.AppendInt32(Room.PetsAllowed);
Response.AppendInt32(Room.PetsEatOtherFood);
Response.AppendInt32(0); // Walking through people 0 : 1
Response.AppendInt32(0);
SendResponse();
}
}
}
Why is the roomID a string :S
-
Re: aleedaEmulator [C#, ION/Deltar]
Quote:
Originally Posted by
james
Why is the roomID a string :S
Woops, my mistake.
RoomID changed to integer :)
-
Re: aleedaEmulator [C#, ION/Deltar]
Good progress... if you need a test environment let me know.. my dedi has 16GB RAM and a Xeon X3460..
-
Re: aleedaEmulator [C#, ION/Deltar]
Nice progress, hope this'll beat uberEmulator.
-
Re: aleedaEmulator [C#, ION/Deltar]
Quote:
Originally Posted by
PowahAlert
Nice progress, hope this'll beat uberEmulator.
In good time.
-
Re: aleedaEmulator [C#, ION/Deltar]
Uhm, those snippets look alot like DJAlexxStyle's Emulator ( Forgot the name ) :P
-
Re: aleedaEmulator [C#, ION/Deltar]
Quote:
Originally Posted by
PEjump2
Uhm, those snippets look alot like DJAlexxStyle's Emulator ( Forgot the name ) :P
you mean torpeedo? i'm not sure but it's looks oke to me.
i'm not sure how this project will going but i hope's it going awesome goodluck with the pathfinder ;]
-
Re: aleedaEmulator [C#, ION/Deltar]
Quote:
Originally Posted by
PEjump2
Uhm, those snippets look alot like DJAlexxStyle's Emulator ( Forgot the name ) :P
I followed how Nillus created the messenger search, it may 'look' the same but if you wanna connect via team viewer then confirm to us all that it's different, feel free to PM me when you would like to connect.
---------- Post added at 10:40 PM ---------- Previous post was at 10:19 PM ----------
Quote:
Originally Posted by
Jontycat
Good progress... if you need a test environment let me know.. my dedi has 16GB RAM and a Xeon X3460..
Room entering is currently not mult-user yet.
-
Re: aleedaEmulator [C#, ION/Deltar]
Seems like your making good progress, keep up the good work!
-
Re: aleedaEmulator [C#, ION/Deltar]
Nice job! Sorry I have not been keeping up and I will be using this for my new hotel. I will talk to you on MSN soon W.
-
Re: aleedaEmulator [C#, ION/Deltar]
-
Re: aleedaEmulator [C#, ION/Deltar]
Looks good! Hope the development goes smoothly and you can get this released!
Posted via Mobile Device
-
Re: aleedaEmulator [C#, ION/Deltar]
Say "Hello" to the Content-System.
Thanks to freecsstemplates.org for the style..
Gonna finish rest of console (:
http://img141.imageshack.us/img141/7038/registeru.png
http://img850.imageshack.us/img850/9773/homeuz.png
-
Re: aleedaEmulator [C#, ION/Deltar]
-
Re: aleedaEmulator [C#, ION/Deltar]
Looks good, reminds me abit of the first uberCMS layout, But i don't like the "orginal" browser buttons, change that! :P
And put the register button somewhere else, not on the login :]
-
Re: aleedaEmulator [C#, ION/Deltar]
Quote:
Originally Posted by
PEjump2
Looks good, reminds me abit of the first uberCMS layout, But i don't like the "orginal" browser buttons, change that! :P
And put the register button somewhere else, not on the login :]
I agree, It looks great, and yeah new buttons.
-
Re: aleedaEmulator [C#, ION/Deltar]
-
Re: aleedaEmulator [C#, ION/Deltar]
-
Re: aleedaEmulator [C#, ION/Deltar]
-
Re: aleedaEmulator [C#, ION/Deltar]
Quote:
Originally Posted by
Mithex
Release date?d
Stupid question, You cannot predict when a server will be released.
Any news Alex?
-
Re: aleedaEmulator [C#, ION/Deltar]
-
Re: aleedaEmulator [C#, ION/Deltar]
Seeing as only uber has mod tool (because of me) it'll be hard to code this unless you look in uber for the stuff lol
(on and Privilege has too)
Posted via Mobile Device