Jump to content

Ragnarok Screen Images


RagnarokPVP

Recommended Posts

  • 2 months later...
  • 4 weeks later...

Hello all,

 

I have 2 questions about this mod:

 

1. must the images necessarily refer to an HTTP(s)-URL or is a path on the server also possible?

i.e.

@/home/user/images/MyServerImage.png
@/home/user/images/MyCraftingImage.png


2. does this mod also work with the current Alpha 19?

Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...

I seemed to have done everything right but nothing is showing up on the login screen. Does this work for A19?

 

windows.xml file

<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="@YOURIMGHERE"/>
	</insertAfter>

CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE-->



	<append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']">
		<texture name="ItemBackground" depth="10" size="900,500" texture="@https://i.ibb.co/wcDwqtB/insomnia.jpg" 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>

 

serverconfig.xml

<property name="ServerLoginConfirmationText"	value="." />
Spoiler

 

Thank you.

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

On 11/22/2021 at 2:16 PM, Slipy007 said:

I seemed to have done everything right but nothing is showing up on the login screen. Does this work for A19?

 

windows.xml file

<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="@YOURIMGHERE"/>
	</insertAfter>

CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE-->



	<append xpath="/windows/window[@name='serverjoinrulesdialog']/panel[@name='content']">
		<texture name="ItemBackground" depth="10" size="900,500" texture="@https://i.ibb.co/wcDwqtB/insomnia.jpg" 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>

 

serverconfig.xml

<property name="ServerLoginConfirmationText"	value="." />
  Reveal hidden contents

 

Thank you.

It's weird. I went and added some text into server login confirmation text because I didn't think the mod was working and rebooted server and logged in the game and boom mod is working now.

Link to comment
Share on other sites

On 4/7/2021 at 10:21 AM, dwarfmaster1974 said:

Hello all,

 

I have 2 questions about this mod:

 

1. must the images necessarily refer to an HTTP(s)-URL or is a path on the server also possible?

i.e.

@/home/user/images/MyServerImage.png
@/home/user/images/MyCraftingImage.png


2. does this mod also work with the current Alpha 19?

The image needs to be accessible by the end users game client, so that probably won't work at all.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 1 year later...
The images are on a website that I have had for 10 years,
 I have tested the links and the images appear without problems.

Here is the code of my mods, if you have time to look, thanks in advance.

 

<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,600" texture="@http://egliseprotestanteans.info/images/test02.png" 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>

 

Capture d'écran 2023-08-26 170653.png

Link to comment
Share on other sites

I forget to specify who I edited the serverconfig.xml

<property name="ServerLoginConfirmationText" value="." />

I have the frame that is displayed, but no image, just a ". " above on the left, I continue my research ;-)

 

EDIT********************************************

 

It's good, it works now.

I have the 2 pictures.

THANKS.
 
Edited by noname835 (see edit history)
Link to comment
Share on other sites

You still have the code commented out in the example you posted.

Note that these lines need to be deleted in order for it to function...

 

<!-- CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE)
CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE-->

The code in between those lines won't be read.

 

Also note that I got 404 errors on all image links provided in your post.

Link to comment
Share on other sites

12 minutes ago, SylenThunder said:

You still have the code commented out in the example you posted.

Note that these lines need to be deleted in order for it to function...

 

<!-- CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE)
CRAFTING SCREEN IMAGE (DELTE THIS ENTIRE LINE TO USE-->

The code in between those lines won't be read.

 

Also note that I got 404 errors on all image links provided in your post.

Yes I removed the lines, I forgot to remove them in the code on the forum

For the images indeed you had errors because I modified the link to see if there was not a problem
 of buffer memory on the site where the images are

 

 

Link to comment
Share on other sites

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