ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Mon Dec 10, 2018 1:54 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Uploading Addon Issues
PostPosted: Sun Oct 30, 2016 6:15 pm 
Offline
Low Yeek

Joined: Sun Oct 30, 2016 6:05 pm
Posts: 5
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:
File comment: Remove the ".txt" at the end of the file name, apparently I can't upload .teaa files directly.
tome-ClassBuffs-.teaa.txt [22.45 KiB]
Downloaded 38 times


Last edited by VirtualTim on Thu Nov 03, 2016 5:48 am, edited 1 time in total.
Top
 Profile  
 
PostPosted: Mon Oct 31, 2016 6:52 pm 
Offline
Sher'Tul Godslayer

Joined: Fri May 07, 2004 8:26 pm
Posts: 2000
Location: Nahgharash
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.


Top
 Profile  
 
PostPosted: Mon Oct 31, 2016 10:53 pm 
Offline
Low Yeek

Joined: Sun Oct 30, 2016 6:05 pm
Posts: 5
Cheers for the reply Crim, here's my init.lua

Code:
-- 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


Top
 Profile  
 
PostPosted: Tue Nov 01, 2016 12:06 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5777
Author field looks different to mine: author = { "HousePet", "" }

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
PostPosted: Tue Nov 01, 2016 12:39 am 
Offline
Sher'Tul Godslayer

Joined: Thu Jan 23, 2003 8:13 pm
Posts: 1573
Location: A shallow water area south of Bree
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..."


Top
 Profile  
 
PostPosted: Wed Nov 02, 2016 6:53 am 
Offline
Low Yeek

Joined: Sun Oct 30, 2016 6:05 pm
Posts: 5
HousePet wrote:
Author field looks different to mine: author = { "HousePet", "" }


I gave that a shot, changing the line to
Code:
author = {"VirtualTim", ""}
, but that didn't change anything.


Top
 Profile  
 
PostPosted: Wed Nov 02, 2016 8:40 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5777
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.


Top
 Profile  
 
PostPosted: Thu Nov 03, 2016 5:50 am 
Offline
Low Yeek

Joined: Sun Oct 30, 2016 6:05 pm
Posts: 5
I edit the original post of include the actual addon.
I think this like should work: 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.


Top
 Profile  
 
PostPosted: Thu Nov 03, 2016 8:31 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5777
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.


Top
 Profile  
 
PostPosted: Thu Nov 03, 2016 11:40 am 
Offline
Low Yeek

Joined: Sun Oct 30, 2016 6:05 pm
Posts: 5
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group