• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Ragnarok Screen Images

Ragnarok

New member
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.

iDaoSJH.jpg


B81yoxp.jpg


CraftingScreen.jpg

 
Last edited by a moderator:
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.

 
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)

 
2019-05-30T18:36:19 14.511 ERR XML loader: Patching 'XUi/windows.xml' from mod 'ScreenMod' failed2019-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.

 
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

 
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.

 
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.

 
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 :)

 
Last edited by a moderator:
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

Code:
<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

 
Last edited by a moderator:
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

Code:
<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

 
Last edited by a moderator:
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

Code:
<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

 
Last edited by a moderator:
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!

 
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>

 
Back
Top