Commit Graph

73 Commits

Author SHA1 Message Date
duckietm 54259f89bd 🆕 Infostand Borders 2026-05-19 16:57:34 +02:00
duckietm 9c94402f78 🆙 Small update to the SQL 2026-05-19 11:48:33 +02:00
duckietm d958fbc0ab SMall fix for CORS 2026-05-19 11:41:17 +02:00
duckietm 033faaeab6 🆙 Update Database 2026-05-19 10:04:59 +02:00
medievalshell e334a3e0ac feat(auth): backward-compatible TTL check on SSO auth_ticket
Pairs with the CMS-side change introducing auth_ticket_expires_at (60s
expiry written on every ticket issuance). Without an emulator-side
verification the column was advisory only — this commit gates every
SELECT that resolves a user by auth_ticket on

    auth_ticket = ?
    AND (auth_ticket_expires_at IS NULL OR auth_ticket_expires_at >= NOW())

The NULL branch preserves backward-compatibility: CMS deployments that
do not yet populate the column keep working exactly like before
(every ticket passes the WHERE clause as soon as auth_ticket matches),
and the TTL takes effect automatically the moment a CMS starts writing
the expiry value.

Five SELECTs touched:
- SessionEndpoints.java (cms-issued SSO + remember-token flow)
- HabboManager.loadHabbo (game client login by ticket)
- SecureLoginEvent (legacy handshake path)

DB schema delivered both ways:
- Database Updates/Own_Database_RunFirst/020_auth_ticket_ttl.sql:
  idempotent ALTER, skips if column already present (information_schema
  guard so re-running the bundle is safe).
- Default Database/FullDatabase.sql: column added to the `users` table
  definition for fresh installs.

Bumps the emulator version to 4.2.7.
2026-05-19 00:46:58 +02:00
duckietm 4f9fa9fc93 🆙 Database updated to TuT instalation 2026-05-18 12:56:28 +02:00
duckietm 1909f6d3c1 🆙 Update DB Updates 2026-05-13 11:39:47 +02:00
duckietm f9a079da02 🆙 comibe SQLs 2026-05-12 09:18:22 +02:00
duckietm 47be392d8e 🆕 Added Reset password / Email and chenge username in user settings 2026-05-11 18:06:34 +02:00
Lorenzune 26326bcc0e Merge remote-tracking branch 'duckie/main' into merge-duckie-main-2026-05-06
# Conflicts:
#	Database Updates/016_custom_prefixes_setup.sql
#	Database Updates/custom_nick_icons_setup.sql
#	Database Updates/remember_login_tokens.sql
#	Database Updates/wired_message_length_512.sql
#	Emulator/src/main/java/com/eu/habbo/habbohotel/GameEnvironment.java
#	Emulator/src/main/java/com/eu/habbo/messages/outgoing/rooms/users/RoomUserDataComposer.java
#	Emulator/src/main/java/com/eu/habbo/messages/outgoing/users/UserProfileComposer.java
#	Emulator/src/main/java/com/eu/habbo/networking/gameserver/WebSocketChannelInitializer.java
#	Emulator/src/main/java/com/eu/habbo/networking/gameserver/auth/AuthHttpHandler.java
2026-05-06 04:23:14 +02:00
duckietm c2b85c0c8c 🆙 Redone Background profiles 2026-05-04 15:15:41 +02:00
duckietm 9b77ca1016 🆙 Cleanup 2026-05-04 10:52:48 +02:00
duckietm 8a8cd1121e 🆕 Create Custom Bage & Security update 2026-05-01 15:58:48 +02:00
duckietm 860f61f765 🆕 News API 2026-04-30 17:21:33 +02:00
duckietm 0224f3f416 🆕 Added Staffchat to the Emu
!!! Do not run the Staffchat plugin anymore !!!!

- execute the sql:

INSERT INTO `permission_definitions` (`permission_key`, `max_value`, `comment`)
VALUES ( 'acc_staff_chat', 1, 'Grants access to the in-game Staff Chat group buddy: receives broadcasts from other staff and can broadcast to anyone holding this permission.' )
ON DUPLICATE KEY UPDATE `max_value` = VALUES(`max_value`), `comment`   = VALUES(`comment`);
2026-04-28 13:51:04 +02:00
Lorenzune 59ce829fe0 Merge duckie main into live merge branch 2026-04-25 13:52:04 +02:00
duckietm b18d65bd79 🆙 CryptoV2 - please red the how_things_work on DC !!! 2026-04-24 15:54:37 +02:00
duckietm da2307f3b5 🆙 Updated Tokens to use JWT rotational tokens 2026-04-24 11:18:46 +02:00
duckietm dd06f2b15c 🆙 Token login added 2026-04-23 10:19:06 +02:00
duckietm d5497e49ad 🆙 Update API and added Copy to Template room command 2026-04-22 16:03:40 +02:00
Lorenzune dd96523496 Merge latest duckie main with UI login 2026-04-21 11:44:19 +02:00
Lorenzune 02f3ded44e Merge remote-tracking branch 'duckie-temp/main' into duckie-merge-2026-04-21
# Conflicts:
#	Emulator/src/main/java/com/eu/habbo/habbohotel/achievements/AchievementManager.java
#	Emulator/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java
#	Emulator/src/main/java/com/eu/habbo/habbohotel/users/inventory/ItemsComponent.java
#	Emulator/src/main/java/com/eu/habbo/messages/incoming/Incoming.java
2026-04-21 11:20:06 +02:00
duckietm 7347906786 🆕 Added UI login to the Emu 2026-04-20 14:27:19 +02:00
DuckieTM e2c823253f 🆙 update SQL 2026-04-19 09:41:21 +02:00
DuckieTM 671ab04b50 🆙 Update SQL files 2026-04-19 09:39:51 +02:00
duckietm ed9155c19a 🆙 Small SQL Fix 2026-04-14 15:59:32 +02:00
duckietm 41a6c912e1 🆙 Added items SQL for wired 2026-04-14 15:21:43 +02:00
duckietm ce103f1855 🆙 Stage 2 Fix SQL 2026-04-14 09:54:10 +02:00
duckietm ab570885e6 🆙 Stage 1 New wired 2026-04-13 17:40:31 +02:00
DuckieTM 176d766665 Merge branch 'dev' into feat/wired-signal-flow-apr13 2026-04-13 17:00:54 +02:00
duckietm 263408dbed 🆕 YoutubeTV broadcasting 2026-04-10 09:05:21 +02:00
duckietm c5609ed00b 🆙 Added packet rate limit ==> 50 p/s & youtube fixes 2026-04-09 15:20:31 +02:00
Lorenzune 17e316e521 Add wired signal and variable fixes 2026-04-08 16:18:16 +02:00
Lorenzune ece0a16612 Merge remote-tracking branch 'upstream/main' into merge/duckietm-main-20260407
# Conflicts:
#	Emulator/src/main/java/com/eu/habbo/habbohotel/wired/core/WiredEngine.java
#	Emulator/src/main/java/com/eu/habbo/habbohotel/wired/core/WiredManager.java
2026-04-07 15:34:07 +02:00
Lorenzune 50334d50e7 feat: add builders club catalog and room flow 2026-04-07 14:40:51 +02:00
duckietm 46230d0709 🆙 Stage 1 of DB rebuild 2026-04-07 13:53:21 +02:00
duckietm 0634c3d600 🆙 Small update to the script 2026-04-07 10:21:15 +02:00
duckietm 5e586d1093 🆙 Fix in habbomanager
The getCloneAccounts query had an operator-precedence bug:

WHERE ip_register = ? OR ip_current = ? AND id != ?
-- parsed as:
WHERE ip_register = ? OR (ip_current = ? AND id != ?)

So a user whose ip_register matched themselves would show up in their own clone list. Added parentheses:

WHERE (ip_register = ? OR ip_current = ?) AND id != ?

So please run the 006_HabboManager_fix before you run the update Emulator !
2026-04-07 09:20:15 +02:00
duckietm 65c777dbc8 Merge branch 'dev' of https://github.com/duckietm/Arcturus-Morningstar-Extended into dev 2026-04-07 08:45:44 +02:00
duckietm d161d8da82 🆙 Set all wired interaction type's 2026-04-07 08:45:42 +02:00
DuckieTM e6f824aedd 🆙 Wired Core updates
Thanks to Migueg
2026-04-04 16:19:46 +02:00
Lorenzune 3efcca1e34 feat: update wired movement and show message behavior 2026-04-04 15:57:43 +02:00
duckietm c030ea5fc6 🆙 Small update to SQL 2026-04-03 19:10:55 +02:00
duckietm d52609e78b 🆙 Update Optimize script, if run please run again ! 2026-04-03 14:09:25 +02:00
Lorenzune db6cb80ca7 Merge remote-tracking branch 'upstream/main' into feature/checkpoint-20260403 2026-04-03 05:25:28 +02:00
Lorenzune 9dc77aebf7 feat: add advanced wired variable system and tooling 2026-04-02 04:44:04 +02:00
duckietm 791ddf679e 💯 added missing SQL 2026-04-01 11:19:13 +02:00
duckietm 8459e1a45e 🆙 Remove SQL for emu settings Youtube Thumbnail 2026-03-31 14:55:59 +02:00
duckietm 62814f2e21 🆙 Added permissions for Furni Editor 2026-03-30 16:21:03 +02:00
duckietm 544ea8c50f 👶 Oepsie in SQL 2026-03-30 13:56:13 +02:00