Jump to content

Ragnarok Screen Images


RagnarokPVP

Recommended Posts

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

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

  • 1 month later...
  • 3 weeks later...
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 by Onlineritter (see edit history)
Link to comment
Share on other sites

  • 2 months later...
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

  • 1 month later...
  • 4 weeks later...

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 by Thiesen90 (see edit history)
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

 

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 by noname835 (see edit history)
Link to comment
Share on other sites

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 by UbberN00ber (see edit history)
Link to comment
Share on other sites

 

 

 

 

 

 

 

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 by noname835 (see edit history)
Link to comment
Share on other sites

  • 1 month later...

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

  • 3 months later...

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

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

  • 2 months later...

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 by Rizzano (see edit history)
Link to comment
Share on other sites

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.

 

welcomescreenpic.jpg.0b1bd8f6d598a6a2252152731bfb70d0.jpg

Edited by Rizzano (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...