LordOfAwesomnia

[Beta] Merchant Listing mod - view up to date merchant inventory from anywhere

Recommended Posts

Merchant Listing Mod

Stay up to date with your favourite Wurm merchants

 

Download latest release | Install instructions | Github

 

The merchant listing mod offers a way to view up to date inventory listings of any merchant, in your web browser. You simply right-click a merchant, choose "get listing", and open the url in your browser.

 

You can then share the link to this page with others, for example to share your merchant on your server's forum.

 

This is the first release of the mod, so there will probably be some bugs. If you encounter any issues, please report them in this thread or on Github. Other feedback (positive or negative) is of course also appreciated :)

 

This is currently a basic version of what I want the mod to be, I plan to refine it a bit more. I may also add some new features based on community feedback.

 

screenshot.png

 

Edited by LordOfAwesomnia

Share this post


Link to post
Share on other sites

hmm, there is no "get isting" option in the menu.

 

Eject

Share this post


Link to post
Share on other sites
1 hour ago, Eject said:

hmm, there is no "get isting" option in the menu.

 

Check the properties file, you need to at least change the 'salt' option from its default value to a random character sequence, otherwise the mod will throw an error and refuse to work.

 

If that's not it, take a look in the server logs. If something went wrong the mod should have logged an error.

Share this post


Link to post
Share on other sites

i renamed it from salt to =necropolis

 

maybe its not possible to test it with an gm spawned merchant?

 

Eject

Share this post


Link to post
Share on other sites

 

1 hour ago, Eject said:

i renamed it from salt to =necropolis

 

maybe its not possible to test it with an gm spawned merchant?

 

Eject

Are you trying to use a salesman? Or are you using a merchant that was placed through a contract?

Share this post


Link to post
Share on other sites

Both is placed through a contract, but yes, i used a merchant

 

Eject

Share this post


Link to post
Share on other sites

I'm doing some tests and it seems that the option only appears when you have no item activated.

 

I'll push a fix soon that will give you the option regardless of the active item.

Share this post


Link to post
Share on other sites

I'm having problems getting listings to show up at all.

I've tried 3 different settings for:

# External address
# The address people should use to load the merchant data (will be used to show a link when requested ingame)
address=http://127.0.0.1

Current setting is:

# External address
# The address people should use to load the merchant data (will be used to show a link when requested ingame)
address=https://ironnexus.net

But when opening the URL it loads for some time and then times out again.

 

I've changed the salt, I've set the port and the IP of the server under host.

This is via a Trader however, since they do have the option I figured it would work?

If Trader's don't work, is there a way you could remove the option from the Salesman as it's quite confusing to have it there if it isn't intended.

Share this post


Link to post
Share on other sites
39 minutes ago, Zera said:

I'm having problems getting listings to show up at all.

I've tried 3 different settings for:


# External address
# The address people should use to load the merchant data (will be used to show a link when requested ingame)
address=http://127.0.0.1

Current setting is:


# External address
# The address people should use to load the merchant data (will be used to show a link when requested ingame)
address=https://ironnexus.net

But when opening the URL it loads for some time and then times out again.

 

I've changed the salt, I've set the port and the IP of the server under host.

This is via a Trader however, since they do have the option I figured it would work?

If Trader's don't work, is there a way you could remove the option from the Salesman as it's quite confusing to have it there if it isn't intended.

It does not work on Traders, it only works on Merchants.

Share this post


Link to post
Share on other sites
Just now, Governor said:

It does not work on Traders, it only works on Merchants.

I read this, but the option is still available on Traders.

This is why I asked if the option could be removed from Traders/Salesman to avoid confusion.

Share this post


Link to post
Share on other sites

I'll take a look at the traders, see if I can make it work for them as well. Otherwise yeah I agree the option should only show when it actually works.

Share this post


Link to post
Share on other sites

So far all I've gotten this to do is crash my launcher. lol. Hopefully this gets worked on an gets easier to set up cause the concept is great.

Share this post


Link to post
Share on other sites
6 hours ago, HereticZero said:

So far all I've gotten this to do is crash my launcher.

First report of a crash I've gotten, can you provide some more info? Any error messages?

Share this post


Link to post
Share on other sites

Hereticzero, this is running on New Wonders.  It is server side mod. 

Share this post


Link to post
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