Add-on

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
User avatar
Leuteinant
Posts: 45
Joined: July 28th, 2009, 1:59 pm
Location: Estonia

Add-on

Post by Leuteinant »

Have problems with uploading add-on.
What's the matter?

title="Medieval Age era"
type="Era"
icon="misc/ball.png"
version="1.8.1"
author="Leuteinant"
passphrase=""
description="Era of the middle ages"
email="arne.vunk@gmail.com"
User avatar
Dixie
Posts: 1757
Joined: February 10th, 2010, 1:06 am
Location: $x1,$y1

Re: Add-on

Post by Dixie »

Seeing your code, I suppose your file is named correctly, with the .pbl extension, and that you've looked at this?

If all is right, you then need to start wesnoth, log to the add-ons server (the add-ons button), and scroll at the bottom of the list, there should be a "publish *****" option.

Else, I don't know, but AFAIK the error doesn't seem to be in that particular bit of code (well, I'm supposing you DO have a password but just haven't published it on here to keep it secret)
Jazz is not dead, it just smells funny - Frank Zappa
Current projects: Internet meme Era, The Settlers of Wesnoth
User avatar
Pentarctagon
Project Manager
Posts: 5566
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Add-on

Post by Pentarctagon »

also, this the 1.8 add-on server you're talking about, right?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Reepurr
Posts: 1088
Joined: August 29th, 2010, 5:38 pm

Re: Add-on

Post by Reepurr »

I thought the 1.8.1 meant that his add-on was in version 1.8.1.

Confused :augh:
"What do you mean, "a dwarvish dragonguard with marksman is overpowered"?"

Story of a Drake Outcast | The Nonsense Era
Played HttT-Underground Channels? Thought it was rubbish? Help us develop it here!
User avatar
Pentarctagon
Project Manager
Posts: 5566
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Add-on

Post by Pentarctagon »

version= is what version of the add-on it is. for example, right now Ageless Era is version 4.3
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Leuteinant
Posts: 45
Joined: July 28th, 2009, 1:59 pm
Location: Estonia

Re: Add-on

Post by Leuteinant »

Oh.
Trying...

It says: ''#Error: Add-on rejected: You didn't specify a known type for the add-on in the pbl file!''
User avatar
Pentarctagon
Project Manager
Posts: 5566
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Add-on

Post by Pentarctagon »

perhaps it is case-sensitive (you have "Era" whereas the wiki example has "era")?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Leuteinant
Posts: 45
Joined: July 28th, 2009, 1:59 pm
Location: Estonia

Re: Add-on

Post by Leuteinant »

It used to be ''era'' and there was still that error.
User avatar
Leuteinant
Posts: 45
Joined: July 28th, 2009, 1:59 pm
Location: Estonia

Re: Add-on

Post by Leuteinant »

Ok Now it is like this. WHAT ARE THE PROBLEMS????

title="Medieval_Age_MP_era"
type="era"
icon="misc/ball.png"
version="1.0"
author="Leuteinant"
passphrase="Medieval_Age_MP_era"
description="Era of the middle ages"
email="arne.vunk@gmail.com"


''#Error: Add-on rejected: You didn't specify a known type for the add-on in the pbl file!''
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Add-on

Post by zookeeper »

Leuteinant wrote:Ok Now it is like this. WHAT ARE THE PROBLEMS????

title="Medieval_Age_MP_era"
type="era"
icon="misc/ball.png"
version="1.0"
author="Leuteinant"
passphrase="Medieval_Age_MP_era"
description="Era of the middle ages"
email="arne.vunk@gmail.com"


''#Error: Add-on rejected: You didn't specify a known type for the add-on in the pbl file!''
NONE. It works just fine.
User avatar
Leuteinant
Posts: 45
Joined: July 28th, 2009, 1:59 pm
Location: Estonia

Re: Add-on

Post by Leuteinant »

Then WHY doesn't it work.
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Add-on

Post by Max »

can you attach the file?
User avatar
Leuteinant
Posts: 45
Joined: July 28th, 2009, 1:59 pm
Location: Estonia

Re: Add-on

Post by Leuteinant »

You meen the pbl?
Attachments
_server.pbl
(191 Bytes) Downloaded 151 times
User avatar
Pentarctagon
Project Manager
Posts: 5566
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Add-on

Post by Pentarctagon »

I stuck the pbl in an add-on and it uploaded fine for me :hmm:
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: Add-on

Post by Gambit »

If it works for both zookeeper, and Pentarctagon, perhaps it is the file's placement then. Can you give us the path you had your .pbl file in?
Post Reply