Commit Graph

389 Commits

Author SHA1 Message Date
piebot
a38abd4e8d Merge changes from upstream. 2026-03-30 14:28:57 +03:00
blongm
d3412aaae7 Fixed issue with world seeds not saving correctly (#1119)
## Description
Fix issue where typing in a short seed on world creation doesn't save the seed correctly

## Changes

### Previous Behavior
Typing in a seed on the world creation menu that's less than 8 characters long will result in garbage data being saved as the seed. Happens with controller and KBM.
You can see this in-game - if you exit the world options menu and go back in, the seed will show up as boxes □□□.
Weirdly, if you type a seed again, it behaves as expected.

### Root Cause
For some reason, assigning `m_params->seed` to the seed text points it to garbage data, when it's 7 characters or less.

### New Behavior
Seed entry behaves as expected.

### Fix Implementation
- Added `static_cast<wstring>` before assignment to `m_params->seed`.
- Also replaced `(wchar_t *)` with `reinterpret_cast<wchar_t*>` in the functions.

### AI Use Disclosure
No AI was used
2026-03-30 06:05:32 -05:00
piebot
ba460f3956 Update Coarse Dirt and Podzol locations in Creative Menu 2026-03-30 13:34:41 +03:00
itsRevela
e706466f42 Send AddPlayerPacket for all players on join and RemoveEntitiesPacket on disconnect
Players now appear in each other's Tab list immediately on join,
regardless of render distance. Previously, players only appeared when
they entered entity tracking range because AddPlayerPacket was only
sent through the TrackedEntity system.

On disconnect, a RemoveEntitiesPacket is broadcast to all clients so
players added via the join broadcast are properly cleaned up, not just
those within tracking range.
2026-03-29 20:30:12 +03:00
itsRevela
0ebdbac933 Fix player list map icon colors to match map markers
The tab player list and teleport menu now show the correct map marker
color for each player. The icon is computed using the same hash as the
map renderer (getRandomPlayerMapIcon) and stored by player name,
bypassing the unreliable small-ID lookup that produced wrong colors
on dedicated servers.
2026-03-29 20:30:12 +03:00
itsRevela
618dc78008 Fix player list not showing all players on dedicated servers
Register remote players in the client's IQNet array when their
AddPlayerPacket arrives, so they appear in the Tab player list.
Previously only the host and local player were registered.

Also filter the dedicated server's phantom host entry (slot 0, empty
gamertag) from the UI, fix tick() to update entries by smallId instead
of sequential index, and fix player removal to use gamertag matching
since XUIDs are 0 on dedicated servers.
2026-03-29 20:30:11 +03:00
neoapps-dev
48a5e882e3 omg i forgot to track the stb image write file lol 2026-03-29 18:52:59 +03:00
neoapps-dev
1028ee2e6d fix: stb import 2026-03-29 18:29:04 +03:00
neoapps-dev
d717f18628 feat: F2 for screenshotting
some code used from MLRE
2026-03-29 18:22:45 +03:00
irice7
e8ac5b16ea Add cancel join
Adds the Cancel Join tooltip to the "Connecting to host"
progress bar
2026-03-29 17:03:12 +03:00
Botch
277d74716e Render custom skin boxes on viewmodel (#1415)
* Update PlayerRenderer.cpp

* Fix fatal bug where skins with no additional boxes would crash the game
2026-03-28 14:44:27 -05:00
Lord_Cambion
6fe251b2ec minecart tnt fix 2026-03-28 14:44:56 +01:00
piebot
3b5a7e1fe6 Revert adding TU25 DLCs 2026-03-28 14:03:38 +03:00
piebot
ac259ee94d Fix PlayerRenderer.h 2026-03-28 12:14:03 +03:00
ItzSonicFaner
a0082658a5 Skins 2026-03-27 23:33:33 +02:00
Sestain
7447fabe0d Fix game crashing if DLC has XMLVERSION paramater (#1285)
* Fix game crashing if DLC has XMLVERSION paramater

* Better implementation of XMLVersion check

* Forgot to add type name to the list

* Removed extra newline
2026-03-27 15:11:27 -05:00
Sestain
3c1166c45e Added support for Big-Endian DLCs (#1291)
* Added support for Big-Endian DLCs

* Remove unused variable

* Remove the things made for other PR
2026-03-27 15:59:35 -04:00
piebot
9f148e8d3b Properly add the TU25 DLCs 2026-03-27 22:30:10 +03:00
piebot
274b4575e3 Add TU25 DLCs 2026-03-27 21:33:24 +03:00
ItzSonicFaner
84c228e80f Skins (#1)
Check if skin texture height is 64 or 32, slim skins, better slim skins parameters, zombie villager fix.

Co-authored-by: ItzSonicFaner <165782267+ItzSonicFaner@users.noreply.github.com>
Reviewed-on: https://codeberg.org/piebot/LegacyEvolved/pulls/1
Co-authored-by: ItzSonicFaner <itzsonicfaner@noreply.codeberg.org>
Co-committed-by: ItzSonicFaner <itzsonicfaner@noreply.codeberg.org>
2026-03-27 15:35:15 +01:00
piebot
b3ac4411fe Merge branch 'pr-1403' 2026-03-27 13:11:58 +03:00
666uvu
73d713878c fix redstone tick persistence on chunk unload (#1423) 2026-03-26 16:55:56 -05:00
Lord Cambion
10b7fc36d3 Biome Update! 2026-03-26 20:37:51 +01:00
piebot
74c197cc15 apparently the commits i did for glass pane didnt apply so 2026-03-26 20:41:29 +03:00
piebot
87348a7e16 Fix Github Actions compile error 2026-03-26 19:09:04 +03:00
piebot
d73ae8fd5c Fix Commit "Implement LCERenewed Changes"
This fixes commit cf0472117c.
2026-03-26 17:57:03 +03:00
Sylvessa
c96a8ee524 fix splitscreen xuids (#1413) 2026-03-26 10:19:20 -04:00
Sylvessa
1a50770647 Add asynchronous server joining (#1408) 2026-03-26 10:15:11 -04:00
piebot
cf0472117c Implement LCERenewed Changes 2026-03-26 14:14:42 +03:00
piebot
0e56730255 Update logo 2026-03-26 11:36:31 +03:00
Loki Rautio
dee559bd16 Revert "Memory leak fix: Make chunks unload properly (#1406)"
This reverts commit a24318eedc.
This fix introduces broken behavior for dedicated servers. It will be
merged back in once the related issue is fixed
2026-03-26 01:37:23 -05:00
Lord Cambion
ae273c75fa Name Fixes 2026-03-26 00:40:52 +01:00
piebot
2d04127cae fix arc file 2026-03-26 00:04:11 +03:00
piebot
e14ba14e68 a bunch of shit lmaoo 2026-03-25 21:41:35 +03:00
ModMaker101
a24318eedc Memory leak fix: Make chunks unload properly (#1406)
* Fix chunk unload and cleanup logic, fixes #1347

* Applying formatting to code I edited 😝
2026-03-24 23:25:18 -05:00
ryleu
f3915a0603 add support for linux clang cross compiles 2026-03-24 10:05:40 -05:00
piebot
6a1e0df0f2 fix common.cmake 2026-03-24 17:58:31 +03:00
piebot
ed38461e15 Merge branch 'main' of https://github.com/piebotc/LegacyEvolved 2026-03-24 16:53:12 +03:00
piebot
6646eefb5e Merge remote-tracking branch 'upstream/main' 2026-03-24 16:48:08 +03:00
Lord Cambion
a5139ce172 Desert Temple Update
Clay instead of wool
2026-03-24 14:46:59 +01:00
Lord Cambion
c6578405fc Fixes
Now Oceans have Gravel in the bottom.
Now DarkOakLeaves have correct color
2026-03-24 14:14:11 +01:00
Lord Cambion
6fc2808592 5 New Technical Biomes 2026-03-24 13:41:49 +01:00
piebot
d10deb4cc2 Revert "Merge pull request #12 from ItzSonicFaner/LegacyEvolved"
This reverts commit f5b134aa90, reversing
changes made to f0b06116c2.
2026-03-24 15:12:06 +03:00
piebot
5b2fd49b40 Revert "Changed Steve's skin from 64x64 to 64x32"
This reverts commit 4a96ce18b2.
2026-03-24 15:12:02 +03:00
Sylvessa
993052409a Fix XUID logging (#1395)
* pass invalid_xuid to other players

* actually more simple fix
2026-03-24 05:04:07 -04:00
Ayush Thoren
ed9cbae3f7 Fix initial cursor position for in-game UI elements (#1120)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
2026-03-23 21:06:20 -05:00
Sylvessa
daed75b8a1 make handleParticleEvent actually parse the particle type instead of hardcoding hearts (#1399) 2026-03-23 20:11:37 -05:00
rtm516
9e715cb3bc Fix render order of F3 debug screen (#1239) 2026-03-23 18:01:40 -05:00
Sylvessa
127465b0eb add advanced tooltips, F3+H combo, and handle settings (#1389) 2026-03-23 17:54:46 -05:00
piebot
4a96ce18b2 Changed Steve's skin from 64x64 to 64x32 2026-03-23 15:38:45 +03:00