I'm unsure how to word this tbh! I'm honestly lost on how to solve this, however when we updated our code to 515, everything seems...fine, it compiles, there's no errors, except the main issue we have is that our "mainwindow" in our skin.dmf is not loading correctly, it's very odd and I don't know how to describe it.
We're a SS13 server, branched from an older TG branch, running pretty out of date code however I don't think this should matter too much.
However, the best way to describe our issue is that the mainwindow, all child elements or anything used with the mainwindow will seperate from it, lose reference and just hover ontop.
I also noticed the icon for the mainwindow isn't loading anymore and is using the default dreamseeker logo... I don't know if this is related. But this issue prevents us from updating to 515, and I cannot even figure out what's wrong in this regard, I doubt this is a BYOND bug tbh.
For the record, 514 works, and existing players with the skin.dmf cache have no issues with the current update, it's only when they load new cache for the server. An odd thing to note, clearing cache is inconsistent and sometimes players don't have this issue at all.
I doubt this is related to TGUI due to TGUI actually functioning okay, but I don't understand why it would cause the verb panel and such to detach from the mainwindow, I can't find anything which causes this in our code.
Also, just another note, it also doesn't listen for any input, which my only guess is the window which reads for input isn't attached to the mainwindow anymore, causing it to just not take any inputs.
All other UI elements given to the client with browse work perfectly fine, it's literally just the mainwindow going schizo for us, it's so strange... I also just noticed the file menu has the menu elements in skin.dmf, meaning it is partially loading correctly other than just the mainwindow itself.
Any advice on what might be causing this would be great, honestly, I've been somewhat going insane over this for weeks aha.
Here's some screenshots of what it looks like:
https://files.catbox.moe/y7b034.png
https://files.catbox.moe/02qnqz.png
https://files.catbox.moe/btv95k.png
Our skin.dmf: https://files.catbox.moe/ysx02d.dmf
ID:2916260
![]() Mar 9 2024, 2:06 pm
|
|
Heyo! Thanks for the help btw, I did a bit more of a deeper look, and I hadn't realised but the compiler is outputting this:
DM compiler version 515.1633 loading fortune13.mdme loading (null) saving fortune13.mdme.dmb (DEBUG mode) fortune13.mdme.dmb - 0 errors, 0 warnings (3/10/24 3:13 am) Total time: 0:51 It makes sense now! TGUI is setting the theme slightly due to some functions which reset the skin's theme and such, but the problem I'm seeing is that because it's modifying windows which doesn't exist, so it just creates them. I just don't know how to tell the compiler to compile the skin.dmf, even though it's included in the .dme file... Huh. |
Using your skin in a vanilla project shows it's absolutely fine.