Uploading Addon Issues

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
VirtualTim
Low Yeek
Posts: 5
Joined: Sun Oct 30, 2016 6:05 pm

Uploading Addon Issues

#1 Post by VirtualTim »

So I've created a new addon, and I can load it from the addons menu, and it appears to work fine.
However when I create a new game in developer mode with the addon enabled, I don't see anything under the "Register New Addon" menu. It appears under "Generate addons MD5" though.

Any ideas what could be going on?

Anyway, the whole reason I'm trying to upload it is because the MD5 check stops me playing online. Is there any way to disable that too?

Edit: I attached the file. Just remove the ".txt" from the end of it.
Attachments
tome-ClassBuffs-.teaa.txt
Remove the ".txt" at the end of the file name, apparently I can't upload .teaa files directly.
(22.45 KiB) Downloaded 213 times
Last edited by VirtualTim on Thu Nov 03, 2016 5:48 am, edited 1 time in total.

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: Uploading Addon Issues

#2 Post by Crim, The Red Thunder »

Most likely there's an error with the authorname or some required field in the base init.lua

Post the contents of that file please?
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

VirtualTim
Low Yeek
Posts: 5
Joined: Sun Oct 30, 2016 6:05 pm

Re: Uploading Addon Issues

#3 Post by VirtualTim »

Cheers for the reply Crim, here's my init.lua

Code: Select all

-- ToME - Tales of Maj'Eyal:
-- Copyright (C) 2009-2016 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program.  If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org

-- 0.0.1 Initial Release
--[[ 
Changes:
	Reduce stealth cooldown 10 -> 5, changed max power 64 -> 150
	Traps now last 10x as long (8 -> 80)
	Traps have their cooldowns halved
	Husks can be created from unique creatures (the description already makes this seem possible)
	Husks don't unlearn bone shield
	Aura Mastery max size +5 -> +7
	Aura Mastery min decay rate 3% -> 1%
--]]

long_name = "Better Mages and Rogues"
short_name = "ClassBuffs"
for_module = "tome"
version = {1,4,9}
addon_version = {0, 0, 1}
weight = 500
author = { 'VirtualTim' }
homepage = "http://tome.te4.org/"
description = [[Minor buffs to some classes.]]
tags = {'stealth', 'rogue', 'necromancer'}
hooks = false
overload = false
superload = true
data = false

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Uploading Addon Issues

#4 Post by HousePet »

Author field looks different to mine: author = { "HousePet", "" }
My feedback meter decays into coding. Give me feedback and I make mods.

Zizzo
Sher'Tul Godslayer
Posts: 2524
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: Uploading Addon Issues

#5 Post by Zizzo »

HousePet wrote:Author field looks different to mine: author = { "HousePet", "" }
[sound F/X: source diving] Judging from the official addons, that second field is apparently intended for an e-mail address. At least, that's what I've put in all of mine. If you don't want to include an e-mail address, apparently you can also do it the way HousePet is doing it. :wink:
"Blessed are the yeeks, for they shall inherit Arda..."

VirtualTim
Low Yeek
Posts: 5
Joined: Sun Oct 30, 2016 6:05 pm

Re: Uploading Addon Issues

#6 Post by VirtualTim »

HousePet wrote:Author field looks different to mine: author = { "HousePet", "" }
I gave that a shot, changing the line to

Code: Select all

author = {"VirtualTim", ""}
, but that didn't change anything.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Uploading Addon Issues

#7 Post by HousePet »

Okay next:
Is the folder name "tome-ClassBuffs" ?
Could be a caps issue.
My feedback meter decays into coding. Give me feedback and I make mods.

VirtualTim
Low Yeek
Posts: 5
Joined: Sun Oct 30, 2016 6:05 pm

Re: Uploading Addon Issues

#8 Post by VirtualTim »

I edit the original post of include the actual addon.
I think this like should work: http://forums.te4.org/download/file.php?id=3120

The file is called "tome-ClassBuffs-.teaa". It's got an extra dash on the end, but that's how other addons seem to do it.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Uploading Addon Issues

#9 Post by HousePet »

Are you packing the addon yourself?
You need to leave it as a folder and the game will pack and label it.
My feedback meter decays into coding. Give me feedback and I make mods.

VirtualTim
Low Yeek
Posts: 5
Joined: Sun Oct 30, 2016 6:05 pm

Re: Uploading Addon Issues

#10 Post by VirtualTim »

I was. I unzipped it and put it in the folder addons/tome-ClassBuffs, it looks like everything works!
It's a little counter-intuitive that it can load compressed addons, but they have to be uncompressed to upload, but I'm glad it's working now.
Thanks for the help.

Post Reply