Suddenly my fresh attempts are working somewhat better; my mods show up in the addons list. Not sure what I was doing differently the first time around. However, the secondary problem returns: the changes work just fine, but I get the message: "online profile disabled due to invalid addon hash".
Reading through the forums and wiki, I see suggestions that I need to "upload the addon" to make it work with online characters. (Presumably offline characters won't be able to get achievements or use the item vault?) What's involved in uploading an addon? So far I was just making quick and dirty rebalancing changes for my own use, indeed, just injecting them into another addon's folder for convenience. I assume that if I upload my addon, it will become publicly available, thus I should:
- avoid bundling my addon with other people's work
- avoid making countless minor incremental revisions
- make some effort to document what changes I'm making
Furthermore, am I correct in my impression that once I have a character using one version of a addon, revising it will break that save file with an incompatible hash?
Are there any restrictions on what addons are acceptable for uploads? (I can't think of anything that might cause problems offhand, other than maybe derivative work based on another user's addons?) Speaking of which, what happens if I want to do exactly that - for example, if I want to mod a talent while using an addon that (among other changes) also mods that talent? Right now, I can simply override it directly with my own changes; if I bundle my changes into a separate addon, can I choose which one will take precedence?
Thanks for any advice, I know this is a lot of questions from a new modder!
In answer to your questions, if they still apply: my changes have been sprinkled in various addon folders - modding the mods, so to speak, since I didn't know how to set file priority - but my original test files were, per the wiki's instructions, placed at C:\Users\SSD\Desktop\t-engine4-windows-1.2.2\game\addons\tome-coolstuff . The contents were cut and pasted directly from the wiki itself, so I'm assuming they'd be ok?
-- My Cool Addon
-- tome-coolstuff/init.lua
long_name = "My Awesome Addon"
short_name = "coolstuff"
for_module = "tome"
version = { 1, 1, 6 }
weight = 100
author = { '
coolguy@invalid.com' }
homepage = 'iamsocool.geocities.com'
description = [[Oh my god this stuff is so totally cool.
Holy crap I mean it's really super cool, like, wow.
]] -- the [[ ]] things are like quote marks that can span multiple lines
tags = {'cool', "stuff", 'cool stuff'} -- tags MUST immediately follow description
hooks = true
overload = true
superload = false
data = true
My latest attempts had one manual revision:
version = { 1, 2, 2 }