Latest Posts

Topic: Add-On System

Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1477
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-08-01, 14:52

The add-ons server feature has been merged now. The latest development version of Widelands now connects to the official add-ons server, which offers a range of new features:

  • You can upload add-ons from the in-game add-ons manager to the server. This is now the preferred way of submitting add-ons if you're using a development build.

  • You can also submit screenshots in the same way.

  • You can now write comments on add-ons. They can even be styled using WLRichtext.

  • You can also vote on add-ons with 1-10 stars.

  • The download speed has increased drastically.

  • Add-on designers can include an optional image file icon.png (64×64 pixels) in their add-on to give it an individual icon in the list of add-ons.

Edited: 2021-08-01, 15:41

Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 2037
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-09-29, 20:42

I tried to upload the "Along the river" scenario map, to make them available for widelands 1.0 users for test. but it didn't work.
error was:
Connection interrupted (no reason )


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1477
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-09-29, 20:53

From the log:

[Wed Sep 29 20:43:12 CEST 2021 @ Client#005332] ERROR: WL Protocol Exception: Name '\Along_The_River.wmf' may not contain the character '\'

Looks like a problem with Windows paths, my code assumes / as the directory separator. Will prepare a fix.


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 2037
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-09-29, 21:21

thanks. I was assuming something like that


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1477
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-09-29, 21:24

The alpha server is up with a branch, please start Widelands with --addon_server_port=7377 and try if you can upload the add-on there. If it works I'll make a pull request.


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 2037
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-09-29, 22:07

it was uploading until the bar finished and then threw the error message in the attachment


Attachment: errormessage.png (171.2 KB)

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1477
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-09-29, 22:13

My bad, fixed now


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 2037
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-09-30, 17:48

Now I get


Attachment: errormessage2.png (153.4 KB)

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1477
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-09-30, 18:09

The alpha database was messed up, please try again


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 2037
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-09-30, 21:20

I repacked the addon using a folder in the the addon and get the first error again stating no error.


Top Quote