Maintaining this plugin has given us endless trouble. Its code is a mess to the point where we don't even know where to fix things, let alone how. In order to add Wardrobe to Spellcast, we would have to rewrite the entire plugin. The problem is that it's impossible for us to rewrite Spellcast while maintaining all of its idiosyncratic behavior and logical foibles.
So, as of this update, Spellcast is officially deprecated. It is currently not broken that badly, but %equip variables will not work if you use them on a slot that is currently using gear from the Wardrobe. Also, something about <stnpc> targeting has been broken for quite a while.
We have removed Spellcast from the launcher (unless you already have it installed). Problems that arise with it not be fixed from this point, but it isn't as if it will go fully non-functional immediately.
Sorry to everyone that relies on it, but we cannot continue to support this.
I have to say thank you then, to everyone who's kept it updated and working so far. Mess or not, it's been extremely helpful in fine tuning my performance in this game.
Guess it's time for an old dog to learn a new trick. :(
Is there a decent post or place I can try to figure out gearswap with? I tried when it first came out and got frustrated.
There is the beta_examples_and_information folder that gives an overview of the API and a few examples. There are also a lot more examples in this thread (and templates that you can just use): http://www.bluegartr.com/threads/119444-Gearswap-Shop-Thread
Now that we have half a year of experience answering GearSwap questions, we're going to try to get some documentation out there that covers the basic issues people seem to have when starting up GearSwap.
I'm not familiar with GS I'm wondering how I can transfer over complex rules like If spell = X change to Y (like when in Light Arts and you cast Thunder V but since you don't have access it casts Thunder III instead)
Well this bring tears to my eyes! Are there simple GearSwap lua files out there at all. More links are a plus. Also thanks to all who worked on Spellcast this long. Been a pleasure.
For clarification, SC will still be usable correct? As long as your not pulling from wardrobe? Or will you eventually stop having it work in the near future? Thanks for all your help and support by the way with SC up to this point.
Spellcast still "works" and will even use equipment from Wardrobe. The issue this update made is that %equip variables will not work if the slot is from Wardrobe. It will either crash you or display a random item from your current inventory.
It's a pretty minor problem, but it would take a phenomenal amount of effort to fix. Now that the plugin has been deprecated, minor problems like that are going to keep building up. This thread is our notification that we will not be fixing them.
If you still use Spellcast, it's not like the plugin will totally stop functioning today, but it will no longer be supported. It's time to move on before something serious breaks.
I just started writing a hopefully simple tutorial for using GearSwap. Will probably be a few more hours until it's somewhat complete.
In addition, when downloading GearSwap you should have a Windower/addons/GearSwap/data/ folder with some sample files in there, so you can get a feeling for how it looks like.
I'd also recommend checking out other sample files (such as posted in this thread).
Also, once again, Spellcast is still working, it just doesn't like the Wardrobe. You can still use it like you did before and slowly adjust to GS over time. It will probably be a while until it breaks completely (when their next big inventory structure update comes along, which could be a while). Just saying, you don't need to force yourself to learn everything in a single day, if you've been without a Wardrobe for years you'll probably manage another week or two.
Thanks so much for creating and maintaining spellcast all these years. You really added a new dimension to the gameplay with your plugin and re-invigorated interest in the game for so many people through it.
Oh, if Byrth says that Wardrobe still works then it probably does, I didn't really try it myself yet... like I said, no one among the dev team still uses Spellcast.
I just started to write a tutorial for that, but apparently Motenten already wrote a pretty comprehensive guide on it here: http://www.ffxiah.com/node/145
"This tutorial assumes that you have at least a basic comprehension of standard programming terms, such as 'functions', 'variables', 'assignment', etc. If you do not, then start by finding a lua language tutorial on the web."
This is one of the first statements in motentens tutorial. It definitely has me worried as I start looking at GS and probably has a lot of other people worried too. Honestly, I saw this change coming but you have to admit the lack of a "dummies" guide makes this a daunting task for some. I know that this tutorial is meant to be the dummy guide but it assumes a basic understanding of lua, which many do not have.
This post is not a critique of the guide as I am sure I will be making this guide a favorite in my browser soon, but I am a little worried about the stuff I am supposed to already know in order to learn GS.
Can anyone help assuage these fears for us lua noobs?
"This tutorial assumes that you have at least a basic comprehension of standard programming terms, such as 'functions', 'variables', 'assignment', etc. If you do not, then start by finding a lua language tutorial on the web."
This is one of the first statements in motentens tutorial. It definitely has me worried as I start looking at GS and probably has a lot of other people worried too. Honestly, I saw this change coming but you have to admit the lack of a "dummies" guide makes this a daunting task for some. I know that this tutorial is meant to be the dummy guide but it assumes a basic understanding of lua, which many do not have.
This post is not a critique of the guide as I am sure I will be making this guide a favorite in my browser soon, but I am a little worried about the stuff I am supposed to already know in order to learn GS.
Can anyone help assuage these fears for us lua noobs?
looks like you haven't even started with that... or just stopped @ that first statement... if you ever made a Spellcast .xml then you can do a Gearswap .lua, if you got your SC premade, go to BG and get a premade one too.
I'm not quite sure on this, but I think this is the relevant portion of the Mote-Include.lua that handles when you change into your melee set. It's not as immediately intuitive as SC is, but he's got a lot of possible hooks coded in, in case you have sets with different weapons and such.
Code
function get_current_melee_set()
local meleeSet = sets.engaged
if state.CombatForm and meleeSet[state.CombatForm] then
meleeSet = meleeSet[state.CombatForm]
end
if state.CombatWeapon and meleeSet[state.CombatWeapon] then
meleeSet = meleeSet[state.CombatWeapon]
end
if meleeSet[state.OffenseMode] then
meleeSet = meleeSet[state.OffenseMode]
end
if meleeSet[state.DefenseMode] then
meleeSet = meleeSet[state.DefenseMode]
end
for _,group in ipairs(classes.CustomMeleeGroups) do
if meleeSet[group] then
meleeSet = meleeSet[group]
end
end
meleeSet = apply_defense(meleeSet)
meleeSet = apply_kiting(meleeSet)
if customize_melee_set then
meleeSet = customize_melee_set(meleeSet)
end
return meleeSet
end
"This tutorial assumes that you have at least a basic comprehension of standard programming terms, such as 'functions', 'variables', 'assignment', etc. If you do not, then start by finding a lua language tutorial on the web."
This is one of the first statements in motentens tutorial. It definitely has me worried as I start looking at GS and probably has a lot of other people worried too. Honestly, I saw this change coming but you have to admit the lack of a "dummies" guide makes this a daunting task for some. I know that this tutorial is meant to be the dummy guide but it assumes a basic understanding of lua, which many do not have.
This post is not a critique of the guide as I am sure I will be making this guide a favorite in my browser soon, but I am a little worried about the stuff I am supposed to already know in order to learn GS.
Can anyone help assuage these fears for us lua noobs?
looks like you haven't even started with that... or just stopped @ that first statement... if you ever made a Spellcast .xml then you can do a Gearswap .lua, if you got your SC premade, go to BG and get a premade one too.
This is far from true.. I started spellcast by grabbing premade and eventually was able to write my own from scratch. I tried the same w/ Motes THF lua and can't get it to do pretty much anything I want it to. It doesn't help that theres 5 files that somehow all interact with the THF lua I am trying to learn so I have no idea what is going on... Glad spellcast works well enough for now until I can wrap my head around GS
"This tutorial assumes that you have at least a basic comprehension of standard programming terms, such as 'functions', 'variables', 'assignment', etc. If you do not, then start by finding a lua language tutorial on the web."
This is one of the first statements in motentens tutorial. It definitely has me worried as I start looking at GS and probably has a lot of other people worried too. Honestly, I saw this change coming but you have to admit the lack of a "dummies" guide makes this a daunting task for some. I know that this tutorial is meant to be the dummy guide but it assumes a basic understanding of lua, which many do not have.
This post is not a critique of the guide as I am sure I will be making this guide a favorite in my browser soon, but I am a little worried about the stuff I am supposed to already know in order to learn GS.
Can anyone help assuage these fears for us lua noobs?
looks like you haven't even started with that... or just stopped @ that first statement... if you ever made a Spellcast .xml then you can do a Gearswap .lua, if you got your SC premade, go to BG and get a premade one too.
I hadn't looked at more as I am at work and was just perusing. I will be delving deeper when I get home, so I figured I would throw it out there. I created all my .xmls myself by looking at others' and I think that is what I will end up doing. I will check the premade stuff, but have always been leary of it...given the personal nature of a spellcast.
"This tutorial assumes that you have at least a basic comprehension of standard programming terms, such as 'functions', 'variables', 'assignment', etc. If you do not, then start by finding a lua language tutorial on the web."
This is one of the first statements in motentens tutorial. It definitely has me worried as I start looking at GS and probably has a lot of other people worried too. Honestly, I saw this change coming but you have to admit the lack of a "dummies" guide makes this a daunting task for some. I know that this tutorial is meant to be the dummy guide but it assumes a basic understanding of lua, which many do not have.
This post is not a critique of the guide as I am sure I will be making this guide a favorite in my browser soon, but I am a little worried about the stuff I am supposed to already know in order to learn GS.
Can anyone help assuage these fears for us lua noobs?
looks like you haven't even started with that... or just stopped @ that first statement... if you ever made a Spellcast .xml then you can do a Gearswap .lua, if you got your SC premade, go to BG and get a premade one too.
This is far from true.. I started spellcast by grabbing premade and eventually was able to write my own from scratch. I tried the same w/ Motes THF lua and can't get it to do pretty much anything I want it to. It doesn't help that theres 5 files that somehow all interact with the THF lua I am trying to learn so I have no idea what is going on... Glad spellcast works well enough for now until I can wrap my head around GS
I can't even get my gearsets to swap correctly - if I equip PDT or MDT gear, it won't swap back to tp gear no matter what I do, and I can't for the life of me figure out what I'm doing wrong. And that's not the only issue I've run into which I don't understand and can't find a solution to. Spellcast was easier because when I first started using it, I had lots of friends to ask for help. Those of my friends that still play... - I don't think a single one of them is using GearSwap. Sad and frustrated now :(
I only came back recently, and I thought I'd stick by spellcast, since why fix what isn't broken? Well now that it is broken, or deprecated at least, there's some things I'd like to know how to do that may or may not get complicated quickly.
I can figure out how to use Motenten's GS for the most part, but there's some situational things I'd like to include. Example: equipping Fucho-no-Obi at <50% MP, or even a Medicine Earring at <25% HP. The complicated part: I'd want Fucho-no-Obi to override my regular idle set, but not my PDT/MDT set; Medicine Earring to override everything. With exceptions like those, I get pretty intimidated as far as what to code.
Although this may not be the best place to ask obviously..
"This tutorial assumes that you have at least a basic comprehension of standard programming terms, such as 'functions', 'variables', 'assignment', etc. If you do not, then start by finding a lua language tutorial on the web."
I've changed this to point to Arcon's lua tutorial. It covers the basic ideas I was referring to.
Divinian said:
This post is not a critique of the guide as I am sure I will be making this guide a favorite in my browser soon, but I am a little worried about the stuff I am supposed to already know in order to learn GS.
If you've used Spellcast, you pretty much should already know all the conceptual stuff that I expect you to be aware of for my tutorial. The only difference is syntax. For example, with respect to 'assignment':
Spellcast way of creating and changing a variable:
As long as you understand what it means to have a named word that refers to another piece of information, that's all that I expect. The exact syntax is different, but the underlying idea is the same.
Eyrhika said:
This is far from true.. I started spellcast by grabbing premade and eventually was able to write my own from scratch. I tried the same w/ Motes THF lua and can't get it to do pretty much anything I want it to. It doesn't help that theres 5 files that somehow all interact with the THF lua I am trying to learn so I have no idea what is going on...
While I understand that this may be a bit optimistic, with my includes, the only thing that you should 'need' to understand at the start is how to fill in the gear you want to use in the gear sets. The second thing you'd need after that is to understand that the vast majority of what you'd want to do can be done by simply creating the appropriate gear set. Messing with the rules in the code is much later in the order of things to worry about.
I suppose I should work on a better writeup of the documentation for my own lua files, that I can put on the github repository, rather than depend on the .txt file that's in the repository itself. Might be easier for people to find and work with. (Note: this is separate from the general GearSwap documentation.)
Maintaining this plugin has given us endless trouble. Its code is a mess to the point where we don't even know where to fix things, let alone how. In order to add Wardrobe to Spellcast, we would have to rewrite the entire plugin. The problem is that it's impossible for us to rewrite Spellcast while maintaining all of its idiosyncratic behavior and logical foibles.
So, as of this update, Spellcast is officially deprecated. It is currently not broken that badly, but %equip variables will not work if you use them on a slot that is currently using gear from the Wardrobe. Also, something about <stnpc> targeting has been broken for quite a while.
We have removed Spellcast from the launcher (unless you already have it installed). Problems that arise with it not be fixed from this point, but it isn't as if it will go fully non-functional immediately.
Sorry to everyone that relies on it, but we cannot continue to support this.