Ragnarok Posted May 27, 2019 Share Posted May 27, 2019 (edited) Here is a modlet to add images to your Login screen as well as your Crafting Menu. Requires some editing on your part. To use, your image has to be online and replace "@https:YOUR_URL_HERE.png" with the direct url to that image. Ensure you keep the @ symbol and your address begins with https. To uncomment a portion, remove the <!-- before and --> after the block you wish to use. Ragnaroks Screen Mod 2.0 Enjoy. Edited September 19 by RagnarokPVP Updated for 7DTD Version 1 (see edit history) 1 Link to comment Share on other sites More sharing options...
Nyx Posted May 29, 2019 Share Posted May 29, 2019 Do you have any tips for if this doesn't work? Does the image need to be a specific size? I'm just getting the empty box with a . in it. No image shows and nothing changes. Link to comment Share on other sites More sharing options...
8thrbls Posted May 31, 2019 Share Posted May 31, 2019 2019-05-30T18:36:19 14.511 ERR XML loader: Patching 'XUi/windows.xml' from mod 'ScreenMod' failed 2019-05-30T18:36:19 14.511 EXC XML.Patch (/configs/property): Patch element does not have an 'xpath' attribute Exception: XML.Patch (/configs/property): Patch element does not have an 'xpath' attribute at XmlPatcher.singlePatch (.XmlFile _targetFile, System.Xml.XmlElement _patchElement, System.String _patchName) [0x00000] in <filename unknown>:0 at XmlPatcher.PatchXml (.XmlFile _xmlFile, .XmlFile _patchXml, System.String _patchName) [0x00000] in <filename unknown>:0 at XmlPatcher.LoadAndPatchConfig (System.String _configName) [0x00000] in <filename unknown>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Logger:masterLogException(Exception) Logger:Exception(Exception) Log:Exception(Exception) XmlPatcher:LoadAndPatchConfig(String) <loadSingleXml>c__Iterator1:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (Filename: Line: -1) Link to comment Share on other sites More sharing options...
Ragnarok Posted June 1, 2019 Author Share Posted June 1, 2019 2019-05-30T18:36:19 14.511 ERR XML loader: Patching 'XUi/windows.xml' from mod 'ScreenMod' failed 2019-05-30T18:36:19 14.511 EXC XML.Patch (/configs/property): Patch element does not have an 'xpath' attribute Exception: XML.Patch (/configs/property): Patch element does not have an 'xpath' attribute at XmlPatcher.singlePatch (.XmlFile _targetFile, System.Xml.XmlElement _patchElement, System.String _patchName) [0x00000] in <filename unknown>:0 at XmlPatcher.PatchXml (.XmlFile _xmlFile, .XmlFile _patchXml, System.String _patchName) [0x00000] in <filename unknown>:0 at XmlPatcher.LoadAndPatchConfig (System.String _configName) [0x00000] in <filename unknown>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Logger:masterLogException(Exception) Logger:Exception(Exception) Log:Exception(Exception) XmlPatcher:LoadAndPatchConfig(String) <loadSingleXml>c__Iterator1:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (Filename: Line: -1) Dont uncomment that last bit, thats just there to tell you to make that change in your server config. If you leave the "ServerLoginConfirmationText" value to "" in your serverconfig.xml, the welcome screen will not pop up. Link to comment Share on other sites More sharing options...
Eihwaz Posted July 12, 2019 Share Posted July 12, 2019 Asenheil RagnarokPVP, I really like your modlet and have made a in german about it. keep going =) Link to comment Share on other sites More sharing options...
Onlineritter Posted July 28, 2019 Share Posted July 28, 2019 (edited) Do you have any tips for if this doesn't work? Does the image need to be a specific size? I'm just getting the empty box with a . in it. No image shows and nothing changes. the same for me. found a mistake It's not allowed texture="https://abload.de/img/megacityq4jg1.png rather texture="@https://abload.de/img/megacityq4jg1.png Edited July 28, 2019 by Onlineritter (see edit history) Link to comment Share on other sites More sharing options...
Ragnarok Posted July 31, 2019 Author Share Posted July 31, 2019 Asenheil RagnarokPVP, I really like your modlet and have made a in german about it. keep going =) Very nice! Didn’t understand a word of it but looked pretty cool Link to comment Share on other sites More sharing options...
SylenThunder Posted October 9, 2019 Share Posted October 9, 2019 Tried this in a18. Got the dot.. Link to comment Share on other sites More sharing options...
SylenThunder Posted October 9, 2019 Share Posted October 9, 2019 We figured it out. I had removed the @ from in front of the url. Works great in a18. Link to comment Share on other sites More sharing options...
GNSC4 Posted October 10, 2019 Share Posted October 10, 2019 Do you have any tips for if this doesn't work? Does the image need to be a specific size? I'm just getting the empty box with a . in it. No image shows and nothing changes. 900, 500 pixels for login page and 603, 346 for Crafting screen assuming im reading the config file correctly Link to comment Share on other sites More sharing options...
AlphaJD Posted November 14, 2019 Share Posted November 14, 2019 Last week did anyone else have issue with this? Suddenly after using this for some time, the log in went crazy and stopped showing and the crafting menu was causing null reference errors. Link to comment Share on other sites More sharing options...
Matrix0110 Posted November 14, 2019 Share Posted November 14, 2019 Please Help Tried everything all I get is this ?? https://ibb.co/Cw6gx1R Link to comment Share on other sites More sharing options...
Ragnarok Posted November 16, 2019 Author Share Posted November 16, 2019 If you start getting null errors out of no where, check to make sure that your images are still online and/or the website you’re using is not down. - - - Updated - - - Tried everything all I get is this ?? https://ibb.co/Cw6gx1R Are you using the correct url? Also the “@“ needs to be kept in the beginning. Link to comment Share on other sites More sharing options...
Thiesen90 Posted December 10, 2019 Share Posted December 10, 2019 (edited) eather i get a . our the question mark that matrix getting too... I did try with a url from my imgur page but i cant seem to get it to work... i did try to delete the @ in yourimagehere, but did not work.... and i did make the picture 900x500.. i think it has something to do with imgur, i did try to upload it to facebook to se if that would work but it did not... so anyone have a site where i could upload the pics to get it to work??? so i made it works now with imgbb Edited December 10, 2019 by Thiesen90 (see edit history) Link to comment Share on other sites More sharing options...
BadPlayer Posted January 16, 2020 Share Posted January 16, 2020 Thank you for this Rag. It really steps up the server game. Link to comment Share on other sites More sharing options...
noname835 Posted March 18, 2020 Share Posted March 18, 2020 (edited) hello, i did several tests but it doesn't work I tested with the @ before the image and I tested without the @ before the image. I respected the dimensions of the image 603,346 and 900,500 The images are on a website and work perfectly. Here are the pictures (don't laugh I installed pictures to test) image 603,346 http://egliseprotestanteans.info/images/test01.png image 900,500 http://egliseprotestanteans.info/images/test02.png <configs> <!-- CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE) <insertAfter xpath="/windows/window[@name='emptyInfoPanel']/rect[@name='contentCraftingInfo']"> <texture name="ItemBackground" size="603,346" depth="10" pos="0,-46" material="Materials/Transparent Colored" texture="http://egliseprotestanteans.info/images/test01.png"/> </insertAfter> CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE--> <!--LOGIN SCREEN (DELTE THIS ENTIRE LINE TO USE) <append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']"> <texture name="ItemBackground" depth="10" size="900,500" texture="http://egliseprotestanteans.info/images/test02.jpg" material="Materials/Transparent Colored" pos="0,0" /> </append> LOGIN SCREEN(DELTE THIS ENTIRE LINE TO USE) --> <!-- IF USING LOGIN SCREEN CHANGE BELOW LINE IN SERVERCONFIG.XML SO THAT IT POPS UP <property name="ServerLoginConfirmationText" value="." /> --> </configs> Thx Edited May 22, 2020 by noname835 (see edit history) Link to comment Share on other sites More sharing options...
UbberN00ber Posted March 18, 2020 Share Posted March 18, 2020 (edited) hello, i did several tests but it doesn't work I tested with the @ before the image and I tested without the @ before the image. I respected the dimensions of the image 603,346 and 900,500 The images are on a website and work perfectly. Here are the pictures (don't laugh I installed pictures to test) image 603,346 http://egliseprotestanteans.info/images/test01.png image 900,500 http://egliseprotestanteans.info/images/test02.jpg <configs> [color=#ff0000]<!--[/color] CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE) <insertAfter xpath="/windows/window[@name='emptyInfoPanel']/rect[@name='contentCraftingInfo']"> <texture name="ItemBackground" size="603,346" depth="10" pos="0,-46" material="Materials/Transparent Colored" texture="http://egliseprotestanteans.info/images/test01.png"/> </insertAfter> CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE[color=#ff0000]-->[/color] [color=#c0392b]<!--[/color]LOGIN SCREEN (DELTE THIS ENTIRE LINE TO USE) <append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']"> <texture name="ItemBackground" depth="10" size="900,500" texture="http://egliseprotestanteans.info/images/test02.jpg" material="Materials/Transparent Colored" pos="0,0" /> </append> LOGIN SCREEN(DELTE THIS ENTIRE LINE TO USE) [color=#c0392b]-->[/color] [color=#c0392b]<!--[/color] IF USING LOGIN SCREEN CHANGE BELOW LINE IN SERVERCONFIG.XML SO THAT IT POPS UP <property name="ServerLoginConfirmationText" value="." /> [color=#c0392b]-->[/color] </configs> Thx you have everything commented out <!-- --> remove those at the beginning and end of codes Edited March 18, 2020 by UbberN00ber (see edit history) Link to comment Share on other sites More sharing options...
noname835 Posted March 20, 2020 Share Posted March 20, 2020 (edited) Hello, thanks for your help. Now it works better :-) The only concern is that I am disconnected from the server just before the image is displayed, then I reconnect and it works without problem. thx <configs> <insertAfter xpath="/windows/window[@name='emptyInfoPanel']/rect[@name='contentCraftingInfo']"> <texture name="ItemBackground" size="603,346" depth="10" pos="0,-46" material="Materials/Transparent Colored" texture="@http://egliseprotestanteans.info/images/test01.png"/> </insertAfter> <append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']"> <texture name="ItemBackground" depth="10" size="900,500" texture="@http://egliseprotestanteans.info/images/test02.png" material="Materials/Transparent Colored" pos="0,0" /> </append> </configs> updates I am no longer disconnected, excellent modlet Edited March 21, 2020 by noname835 (see edit history) Link to comment Share on other sites More sharing options...
PandaTea Posted May 15, 2020 Share Posted May 15, 2020 I don`t konw how it works,but I tried,and i success!!! You should change your pic format to jpg,use a tool or a online website,there are plenty of them. Although the developer has comment this function in the serverconfig.xml,but you are the first one i`ve seen who make this comes to true. Great Work! Link to comment Share on other sites More sharing options...
NoX-Deadville Posted August 27, 2020 Share Posted August 27, 2020 Hello, So i get either the Large ? or just a . Tried with and without @ and also tried usingImgBB and Imgur. This is my commandlines, is anything wrong there? Also wondering about <property name="ServerLoginConfirmationText" value="." /> Should it say exactly like above with just the value="." or should it be value="'true" <configs> <insertAfter xpath="/windows/window[@name='emptyInfoPanel']/rect[@name='contentCraftingInfo']"> <texture name="ItemBackground" size="603,346" depth="10" pos="0,-46" material="Materials/Transparent Colored" texture="@https://ibb.co/VLNmdS9"/> </insertAfter> <append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']"> <texture name="ItemBackground" depth="10" size="900,500" texture="@https://ibb.co/L5WwqZ6" material="Materials/Transparent Colored" pos="0,0" /> </append> <!-- IF USING LOGIN SCREEN CHANGE BELOW LINE IN SERVERCONFIG.XML SO THAT IT POPS UP <property name="ServerLoginConfirmationText" value="." /> --> </configs> Link to comment Share on other sites More sharing options...
yetisteve Posted August 28, 2020 Share Posted August 28, 2020 For some reason it won't let me do the dimensions as 603, 346. And when I use the closest set dimensions it allows me to make the image, when I join the game it shows an error message "IndexOutOfRangeException: Index was outside the bounds of the array." Link to comment Share on other sites More sharing options...
Rizzano Posted November 18, 2020 Share Posted November 18, 2020 (edited) Just made 2 images, the welcome screen and the crafting screen. Set them to be equal to the size listed in the xml. Uploaded the images to my website, configured the xml, installed the mod, changed the line in serverconfig, will report success or failure by editing this post. EDIT: Somehow in adding this one minor mod, my loading screen is stuck on Creating Player. I followed the steps exactly, left the @ symbol in, put the . in the serverconfig, and I am stuck. Cannot load. I don't know if this is localized to just me or if all my players will be having this issue. Before anyone asks, yes I restarted the server after the changes were made. Edited November 19, 2020 by Rizzano (see edit history) Link to comment Share on other sites More sharing options...
Rizzano Posted November 19, 2020 Share Posted November 19, 2020 (edited) Where does this modlet go? Does the XUI go in the lower case config folder? Does it go in the mods folder? EDIT: yeah, my bad, I totally put the windows.xml in the wrong folder and it screwed the server all up. I ended up wiping the server before I realized my mistake and corrected it. The mod works beautifully after I put in the proper URL's to the images. Edited November 19, 2020 by Rizzano (see edit history) Link to comment Share on other sites More sharing options...
domuk1 Posted December 13, 2020 Share Posted December 13, 2020 can confirm workin 100 percent https://7daystodie-servers.com/server/90462/ Link to comment Share on other sites More sharing options...
Sky Ghostraven Posted December 31, 2020 Share Posted December 31, 2020 Does anyone have the correct location for "contentCraftingInfo" in the Darkness Falls mod? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now