- Joined
- Dec 11, 2010
- Messages
- 2,955
- Reaction score
- 2,689
Re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
The first two aren't really big but the last one is that rooms are unloaded when owner of the room disconnects with no users in it. Or when the owner is offline and it waits until the last person is when the owner is offline until it unloads it.
Understand?
Okay, some bugs i discovered for you Alex :
* Walks threads are using same ressources when users walk same time -> Walk getting mad (fixed it making a new thread manager with own variables).
* At login, you're making tons of new Habbo() or newHabbo() who call new Habbo() ... Not really a problem but i don't know if Java free unused / unsaved memory pointers, if not it could be a problem.
* Problems with Room caching. You're caching room like it was Session, meaning that if user is not connected, his rooms are unseen to rest of connected, and that a bit weird i guess ? (Solved it by caching rooms at launch with an INNER JOIN query to retrive Owner name from rooms.ownerid, don't know if my sentence make sense but don't know how to explain in English ^^ )
The first two aren't really big but the last one is that rooms are unloaded when owner of the room disconnects with no users in it. Or when the owner is offline and it waits until the last person is when the owner is offline until it unloads it.
Understand?