80O / PlusEMU

37 stars 27 forks source link

Can't request an offline user's profile #140

Closed harb00 closed 3 months ago

harb00 commented 1 year ago

Describe the bug You can't request a user profile when the user is offline.

To Reproduce Steps to reproduce the behavior:

  1. Search for any user who's offline
  2. Click on their profile

Expected behavior Their profile is expected to show without error

Screenshots

friendlist1 friendlist2

kenny577 commented 1 year ago

Have you tried this issue on Flash version?

harb00 commented 1 year ago

No and I won't, but others are welcome to test it on Flash and report back😀

Diddyy commented 1 year ago

This is also an issue on Flash. I will look into it now

80O commented 1 year ago

Might be related to Plus caching Habbo instances. Its been disabled in PlusEnvironment.Habbo GetHabboById(int userId)

Standard Habbo info might be better wrapped in another data structure (username, figure, gender, motto, online status, registration date & last login time) and queried when needed (lookup first for online users, if offline query from database)

Diddyy commented 3 months ago

@harb00 this has been resolved now! :) @80O Please close this issue! :)