Uploading Addon Issues
Moderator: Moderator
-
- Low Yeek
- Posts: 5
- Joined: Sun Oct 30, 2016 6:05 pm
Uploading Addon Issues
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.
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.
-
- Sher'Tul Godslayer
- Posts: 2000
- Joined: Fri May 07, 2004 8:26 pm
- Location: Nahgharash
Re: Uploading Addon Issues
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?
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
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.
-
- Low Yeek
- Posts: 5
- Joined: Sun Oct 30, 2016 6:05 pm
Re: Uploading Addon Issues
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
Re: Uploading Addon Issues
Author field looks different to mine: author = { "HousePet", "" }
My feedback meter decays into coding. Give me feedback and I make mods.
-
- 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
[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.HousePet wrote:Author field looks different to mine: author = { "HousePet", "" }

"Blessed are the yeeks, for they shall inherit Arda..."
-
- Low Yeek
- Posts: 5
- Joined: Sun Oct 30, 2016 6:05 pm
Re: Uploading Addon Issues
I gave that a shot, changing the line toHousePet wrote:Author field looks different to mine: author = { "HousePet", "" }
Code: Select all
author = {"VirtualTim", ""}
Re: Uploading Addon Issues
Okay next:
Is the folder name "tome-ClassBuffs" ?
Could be a caps issue.
Is the folder name "tome-ClassBuffs" ?
Could be a caps issue.
My feedback meter decays into coding. Give me feedback and I make mods.
-
- Low Yeek
- Posts: 5
- Joined: Sun Oct 30, 2016 6:05 pm
Re: Uploading Addon Issues
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.
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.
Re: Uploading Addon Issues
Are you packing the addon yourself?
You need to leave it as a folder and the game will pack and label it.
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.
-
- Low Yeek
- Posts: 5
- Joined: Sun Oct 30, 2016 6:05 pm
Re: Uploading Addon Issues
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.
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.