yeah, looks like soulbound broke this morning. tooltip is working well tho!!
sorry about that. the soulbound flag comes from the tooltip during a bag scan and when i changed the tooltip code i think i broke that. i think i've fixed it now (it broke the default categories as well), i just need to double check.
Quote from Mesacer »
Trying to add a rule for my mini pets,
pt ( Misc.Minipet.Normal )
spaces are not allowed between the function name and the bracket, use pt( ... )
Quote from Nightgazer »
However, your 'Formula' text is not LUA code. Parsing your own language is CPU-intensive and rather inflexible. Maybe, it would be better to allow user to enter LUA code that is evaluated as a boolean function?
it's half parsed, then dumped to LUA to evaluate the logic. ie, all the simple stuff, item number, location, quality is parsed and replaced with "true" or "false", the PT, tooltip and Outfit functions are partially parsed to reformat them and then the whole thing is sent to LUA for logic processing so it'll only process whats required to get a "true" result.
to give the raw stuff to the users would require them to use code like select( 6, GetItemInfo( hyperlink ) ) == "INVTYPE_HAND" and even if i put the item id into the environment an item check would look like this ( string.find( itemid, "11456:" ) or string.find( itemid, "2356:" ) ) .
i'm happy with whats there now but if things change i'll look at ways to change it.
Also, the rule system makes default categories obsolete. IMO, instead of using them it would be better to add an option to create default set of rules that replace them?
yeah i know, i've been tossing up whether to remove them all together or not and just insert a bunch of default rules instead - the upside is that users would then have examples to look at, not sure if theres a downside
Quote from fred »
Tried it yesterday using the link posted up top. It would let me add insert new sections. NOT new categories I was trying to make up....just new sections to use the already built in categories.
put the category you want onto any bar then click on it's bar menu>assigned category (your category)>move to bar>either enter the last bar+1 or move the slider to the top and it should create a new row, once it's done that then you can keep moving it up one row at a time
(i'm at work so the menu choices here may be slighty wrong but you should get the general drift)
Currently all soulbound items are put into the default, not soulbound, category. So in rule making (at least of which I've attempted) you cannot effectively use the soulbound() parameter right now.
I'm getting the same bug I was getting in the last version that made me have to switch to another mod, where my bag or bank windows will be greyed out and I can't highlight or interact with anything in them. With this version it doesn't seem to happen with my bags, but I haven't been able to use my bank once, either at the banker or away. There were one or two workarounds in the previous version but none ever worked for me.
anyone that uses ClosetGnome able to send me their ClosetGnome.lua savedvariables file? the codes done i just want to confirm the data structure of the DB they use. arkayenro at hot mail dot com
anyone that uses ClosetGnome able to send me their ClosetGnome.lua savedvariables file? the codes done i just want to confirm the data structure of the DB they use. arkayenro at hot mail dot com
hrmmm, i don't see one, i'll send you what i can find (World of Warcraft\Interface\AddOns\ClosetGnome\closetgnome.lua) i searched my whole harddrive too :(
(later)
so with the latest release on curse, soulbound() works!! yay! but name() does not. also things that were moved to consumables (halanni wiskey, nagrand cherry and medicinal drake essence specifically) rest is looking good :)
\World of Warcraft\WTF\Account\<accountname>\<servername>\<charactername>\SavedVariables
no, nowhere on my hard drive :( i know its hard to beleive, its got to save it somewhere...
Quote from Arkayenro »
is that a good or bad thing? maybe the pt categories were updated?
not good or bad just an observation :) it is the way it was 2 revs ago, just before you said you messed up a few things. so maybe its the right thing. that was the weird thing, they have no pt categories in the debug menu.
However, your 'Formula' text is not LUA code. Parsing your own language is CPU-intensive and rather inflexible. Maybe, it would be better to allow user to enter LUA code that is evaluated as a boolean function?
it's half parsed, then dumped to LUA to evaluate the logic. ie, all the simple stuff, item number, location, quality is parsed and replaced with "true" or "false", the PT, tooltip and Outfit functions are partially parsed to reformat them and then the whole thing is sent to LUA for logic processing so it'll only process whats required to get a "true" result.
to give the raw stuff to the users would require them to use code like select( 6, GetItemInfo( hyperlink ) ) == "INVTYPE_HAND" and even if i put the item id into the environment an item check would look like this ( string.find( itemid, "11456:" ) or string.find( itemid, "2356:" ) ) .
i'm happy with whats there now but if things change i'll look at ways to change it.
bleh, don't mind me, i'm a bit dense sometimes. i figured out what you meant and i'm looking at recoding it that way, well sort of.
holy crap batman, i use windows vista, today i was imoprting the quest dbase for cartographer and 'lost' the file, vista wouldn't show it but the java program showed it. there is a button on the tool bar that says 'compatibility files' i push that and all my files show, huh?
whatever, long story short i found closetgnome.lua, lol.
getting error
Interface\AddOns\ArkInventory\ArkInventory.lua:6072: attempt to index field '?' (a nil value)
with latest from svn, when i use outfit() and name() is still not working
getting error
Interface\AddOns\ArkInventory\ArkInventory.lua:6072: attempt to index field '?' (a nil value)
with latest from svn, when i use outfit() and name() is still not working
i've fixed the error in the conversion, just haven't uploaded as wow ended early last night so i didnt get a chance to test the changes. since then i've ripped apart the rules code (again) so i need to test them all (again) before i upload.
whatever, long story short i found closetgnome.lua, lol.
yes, except you sent me the mod code and not your saved variables :)
now that you can see lua files can you go back into those directories and see it if shows up?
was the 2nd email the wrong one too? i'll dig around again after work.
i kinda thought it was the same file, but the time was a little differetn (21-15). can't wait to get my hands on the latest one :) appreciate how fast you work and the time you put into it, so thanks again!!
was the 2nd email the wrong one too? i'll dig around again after work.
yeah it was, simple way to check is to open it up (in wordpad) first, it should have a bunch of slot names, like head, shoulder, feet, etc, etc and values on the other side. like a big nested table.
sorry about that. the soulbound flag comes from the tooltip during a bag scan and when i changed the tooltip code i think i broke that. i think i've fixed it now (it broke the default categories as well), i just need to double check.
spaces are not allowed between the function name and the bracket, use pt( ... )
it's half parsed, then dumped to LUA to evaluate the logic. ie, all the simple stuff, item number, location, quality is parsed and replaced with "true" or "false", the PT, tooltip and Outfit functions are partially parsed to reformat them and then the whole thing is sent to LUA for logic processing so it'll only process whats required to get a "true" result.
to give the raw stuff to the users would require them to use code like select( 6, GetItemInfo( hyperlink ) ) == "INVTYPE_HAND" and even if i put the item id into the environment an item check would look like this ( string.find( itemid, "11456:" ) or string.find( itemid, "2356:" ) ) .
i'm happy with whats there now but if things change i'll look at ways to change it.
yeah i know, i've been tossing up whether to remove them all together or not and just insert a bunch of default rules instead - the upside is that users would then have examples to look at, not sure if theres a downside
put the category you want onto any bar then click on it's bar menu>assigned category (your category)>move to bar>either enter the last bar+1 or move the slider to the top and it should create a new row, once it's done that then you can keep moving it up one row at a time
(i'm at work so the menu choices here may be slighty wrong but you should get the general drift)
here http://www.wowace.com/wiki/ArkInventory/Rules
added the link to the first post as well
Have you tried disabling everything except AI?
su-weet i'll send it over after work!! (4 PST)
(later)
so with the latest release on curse, soulbound() works!! yay! but name() does not. also things that were moved to consumables (halanni wiskey, nagrand cherry and medicinal drake essence specifically) rest is looking good :)
\World of Warcraft\WTF\Account\<accountname>\<servername>\<charactername>\SavedVariables
should be in there i would think if it's a per character file (which most outfit mods are).
name() is now fixed
is that a good or bad thing? maybe the pt categories were updated?
no, nowhere on my hard drive :( i know its hard to beleive, its got to save it somewhere...
not good or bad just an observation :) it is the way it was 2 revs ago, just before you said you messed up a few things. so maybe its the right thing. that was the weird thing, they have no pt categories in the debug menu.
bleh, don't mind me, i'm a bit dense sometimes. i figured out what you meant and i'm looking at recoding it that way, well sort of.
Good work :D
whatever, long story short i found closetgnome.lua, lol.
getting error
Interface\AddOns\ArkInventory\ArkInventory.lua:6072: attempt to index field '?' (a nil value)
with latest from svn, when i use outfit() and name() is still not working
yes, except you sent me the mod code and not your saved variables :)
now that you can see lua files can you go back into those directories and see it if shows up?
i kinda thought it was the same file, but the time was a little differetn (21-15). can't wait to get my hands on the latest one :) appreciate how fast you work and the time you put into it, so thanks again!!
yeah it was, simple way to check is to open it up (in wordpad) first, it should have a bunch of slot names, like head, shoulder, feet, etc, etc and values on the other side. like a big nested table.
getting an error using outfit()
arkinv_rules.lua 979 attempt to index a field '?' (a nil value)