Alex is focusing on the core features first, and then i presume he will work on 'fine tuning' everything.
Keep up the fantastic work Alex :)
Well, Nice, Very Usefull...
Nice work and good luck ;)
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
Updates!!!111
- Room count is now NOT mysql. (I hope you guys realize that how less stress that does for the server)
- Rooms are cached.
- Cataloge pages are cached.
- "" items are cached
- Cached stuff initializes on start up.
Example of the room count;
Sorry for the small updates I've been inactive due to some private events. Anyway thanks for the support of this 6 month projectCode:public int SelectRoomCount(int id) { int i = 0; foreach (GameClient mClient in ClientMessageHandler.mRoomList) { if (mClient.GetHabbo().Room == id) { ++i; } } return i; }
I haven't been on for the past 3 days.
---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------
Didn't know you still lurked.
---------- 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%)
![]()
Last edited by Quackster; 03-08-11 at 01:33 PM.
Shows normal rooms as events (woot, I have the same XD) but nice job Alex:)
And yet someone thought I was trying to being a dick by saying caching helps a lot.
Great progress anyways.
Is there any test hotel? Because I would like to test this :)
I've done some pretty awesome updates. I love these ones
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);
Same with rooms..Code:AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).X = FurniX; AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).Y = FurniY; AleedaEnvironment.GetCache().GetFloorItems().getItem(FurnitureId).Rotation = FurniRot;
I hope people can understand what I am saying, otherwise I'll go into further detail if I make no sense.Code:AleedaEnvironment.GetCache().GetPrivateRooms().getRoom(Session.GetHabbo().Room).Name = newRoomName;
(... and my bots)
seekritz!!
Last edited by Quackster; 05-08-11 at 04:25 PM.