-
Re: Aleeda Emulator [C#, Deltar] R63+
wtf? i just checked on this project like 2 weeks ago and im pretty sure it was only half done, amazing work bro.
anyone else think they need a registered legend rank on this game?? ;s
-
Re: Aleeda Emulator [C#, Deltar] R63+
Updates!!!111
- Room count is now NOT mysql. (I hope you guys realize that how less stress that does for the server) :D:
- Rooms are cached.
- Cataloge pages are cached.
- "" items are cached
- Cached stuff initializes on start up.
Example of the room count;
Code:
public int SelectRoomCount(int id)
{
int i = 0;
foreach (GameClient mClient in ClientMessageHandler.mRoomList)
{
if (mClient.GetHabbo().Room == id)
{
++i;
}
}
return i;
}
Sorry for the small updates I've been inactive due to some private events. Anyway thanks for the support of this 6 month project :D:
Quote:
Originally Posted by
Roper
Welcome back NGangsta - nice to see an old face around here!
o/t; Alex, you're doing great - keep up the FANTASTIC WORK :P
I haven't been on for the past 3 days. :sleep:
---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------
Quote:
Originally Posted by
NGangsta
Nice work and good luck ;)
Didn't know you still lurked. :D:
---------- Post added at 09:10 PM ---------- Previous post was at 07:22 PM ----------
Oh I also forgot.
- Thumbnails work
- Tags show
- Also managed to show categories (I don't know the category id for 'No category')?
Adding tags (same with categories) isn't available yet, but they show from the db.
I'll make a command later (temporary command, then finish the actual room editing which is still 0%)
http://screensnapr.com/e/oCXkLx.png
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
Quackster
Updates!!!111
- Room count is now NOT mysql. (I hope you guys realize that how less stress that does for the server) :D:
- Rooms are cached.
- Cataloge pages are cached.
- "" items are cached
- Cached stuff initializes on start up.
Example of the room count;
Code:
public int SelectRoomCount(int id)
{
int i = 0;
foreach (GameClient mClient in ClientMessageHandler.mRoomList)
{
if (mClient.GetHabbo().Room == id)
{
++i;
}
}
return i;
}
Sorry for the small updates I've been inactive due to some private events. Anyway thanks for the support of this 6 month project :D:
I haven't been on for the past 3 days. :sleep:
---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------
Didn't know you still lurked. :D:
---------- Post added at 09:10 PM ---------- Previous post was at 07:22 PM ----------
Oh I also forgot.
- Thumbnails work
- Tags show
- Also managed to show categories (I don't know the category id for 'No category')?
Adding tags (same with categories) isn't available yet, but they show from the db.
I'll make a command later (temporary command, then finish the actual room editing which is still 0%)
http://screensnapr.com/e/oCXkLx.png
Lovely to see you using C# to its full potential, and less queries means less lag!!!! Woo, keep it up Alex.
-
Re: Aleeda Emulator [C#, Deltar] R63+
Shows normal rooms as events (woot, I have the same XD) but nice job Alex:)
-
Re: Aleeda Emulator [C#, Deltar] R63+
And yet someone thought I was trying to being a dick by saying caching helps a lot.
Great progress anyways.
-
Re: Aleeda Emulator [C#, Deltar] R63+
Is there any test hotel? Because I would like to test this :)
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
George2000
Is there any test hotel? Because I would like to test this :)
There is a test hotel, but thats only when alex feels like letting people use it. I've been on it and its great!!!
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
George2000
Is there any test hotel? Because I would like to test this :)
there is a test hotel, but it is a secret link:ott1:
and have that link:rolleyes:
-
Re: Aleeda Emulator [C#, Deltar] R63+
I've done some pretty awesome updates. I love these ones :D:
So what I mean by caching is..
- It does the MySQL queries then caches it so it no longer needs to querie
- If the hotel was restarted (the emulator) you wouldn't loose any furni, private rooms.
I have had a couple of people ask me questions like that over MSN so I decided to settle it once and for all!
Updates;
- Added commands
- - Such as :add_tag <tag>
- - :remove_tags (remove all tags)
- - :remove_tag <tag> (remove only 1 tag)
- - :change_name <name> (changes room name)
- - :change_desc <desc> (changes description)
- <-->
- Floor items are now cached.
- Wall items are now cached.
- <-->
- I have added room bots (and they are also cached)
- The features of room bots have (shows name, motto, figure, chats on room-load, list x, y and rotation)
- Oh and also! On room enter, you can add what you want them to say by separating the messages (via db) (foo!, lolz0r) then it would talk to you!
I have also made the function (well lets say you move/rotate the furni). I used to delete the whole cached row (or whatever you call it, entry w/e) then re-add it.
Now all you do is (before/after the mysql queries);
Code:
AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).X = FurniX;
AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).Y = FurniY;
AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).Rotation = FurniRot;
Same with rooms..
Code:
AleedaEnvironment.GetCache().GetPrivateRooms().getRoom(Session.GetHabbo().Room).Name = newRoomName;
I hope people can understand what I am saying, otherwise I'll go into further detail if I make no sense.
http://screensnapr.com/e/TS1rsA.png
(... and my bots :love:)
Quote:
Originally Posted by
George2000
Is there any test hotel? Because I would like to test this :)
seekritz!!
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
Quackster
I've done some pretty awesome updates. I love these ones :D:
So what I mean by caching is..
- It does the MySQL queries then caches it so it no longer needs to querie
- If the hotel was restarted (the emulator) you wouldn't loose any furni, private rooms.
I have had a couple of people ask me questions like that over MSN so I decided to settle it once and for all!
Updates;
- Added commands
- - Such as :add_tag <tag>
- - :remove_tags (remove all tags)
- - :remove_tag <tag> (remove only 1 tag)
- - :change_name <name> (changes room name)
- - :change_desc <desc> (changes description)
- <-->
- Floor items are now cached.
- Wall items are now cached.
- <-->
- I have added room bots (and they are also cached)
- The features of room bots have (shows name, motto, figure, chats on room-load, list x, y and rotation)
I have also made the function (well lets say you move/rotate the furni). I used to delete the whole cached row (or whatever you call it, entry w/e) then re-add it.
Now all you do is (before/after the mysql queries);
Code:
AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).X = FurniX;
AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).Y = FurniY;
AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).Rotation = FurniRot;
Same with rooms..
Code:
AleedaEnvironment.GetCache().GetPrivateRooms().getRoom(Session.GetHabbo().Room).Name = newRoomName;
I hope people can understand what I am saying, otherwise I'll go into further detail if I make no sense.
http://screensnapr.com/e/TS1rsA.png
(... and my bots :love:)
seekritz!!
What a fantastic update, Aleeda is going to be BIG! Keep up the great work Alex :)
-
Re: Aleeda Emulator [C#, Deltar] R63+
Awesome Alex, keep up the good work :D. Can't wait to see a finished product
-
Re: Aleeda Emulator [C#, Deltar] R63+
also a useful command to update the cache on bots catalogue and all that kind of shit would be good but then again when this released that wont be hard to add
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
ntl200
also a useful command to update the cache on bots catalogue and all that kind of shit would be good but then again when this released that wont be hard to add
I added (:reload_bots) or (:reload_room bots <roomid>) or (:reload_bot <id>). You cannot buy them in the catalog. Only the admins should really have bots ;D
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
Quackster
I added (:reload_bots) or (:reload_room bots <roomid>) or (:reload_bot <id>). You cannot buy them in the catalog. Only the admins should really have bots ;D
what i meant was refreshing the catalogues cache, but nice work :thumbup:
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
ntl200
what i meant was refreshing the catalogues cache, but nice work :thumbup:
Yeah, this is great for if you've added new things to the catalogue.
Oh, and i've seen the database and its looking good :)
-
Re: Aleeda Emulator [C#, Deltar] R63+
Nice work, Alex.
I love it seriously, the development is really going swell. -> highlight the rest. (and you too lol! nothing gay :thumbup1::thumbup1:)
-
Re: Aleeda Emulator [C#, Deltar] R63+
Love the updates! Great, great work! Man, I can't wait for a release! Come on Quackster, come on!
-
Re: Aleeda Emulator [C#, Deltar] R63+
I love the new updates of bots Alex, keep going!
Go Alex, Go Alex, whoooo ^^ \o/
-
Re: Aleeda Emulator [C#, Deltar] R63+
Quote:
Originally Posted by
ntl200
what i meant was refreshing the catalogues cache, but nice work :thumbup:
Oh yeah thanks. :)
-
Re: Aleeda Emulator [C#, Deltar] R63+
Cant wait for another update, keep up the fantastic work Alex!!!
Posted via Mobile Device
-
Re: Aleeda Emulator [C#, Deltar] R63+
When you go release it ;p
-
Re: Aleeda Emulator [C#, Deltar] R63+
-
Re: Aleeda Emulator [C#, Deltar] R63+
It seems that Aleeda is in such a stage that the hotel which runs it is pretty much playable, not with all the functions that are available but a lot of it is done. Do you think you will be able to release a first version or beta of Aleeda soon?
-
Re: Aleeda Emulator [C#, Deltar] R63+
-
Re: Aleeda Emulator [C#, Deltar] R63+
1. Wouldn't caching all rooms loaded use a lot of memory as the server stays on? Wouldn't it be smarter to make some kind of system that unloades rooms after they're not used in like 10 minutes without use?
2. That furni cache is good and all, but (I think) it's faster to just get the furni from the collection one time instead of getting it each time you need to change a field:
PHP Code:
FloorItem i = AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId);
i.X = FurniX;
i.Y = FurniY;
i.Rotation = FurniRot;