rhodan412 / ActionBarProfiles

Create and update profile loadouts for your talents, action bars, macros and more
MIT License
0 stars 0 forks source link

/abp use NOT WORKING #4

Open LDARBY opened 3 months ago

LDARBY commented 3 months ago

Which version are you using when bug occurred self-explanatory 11.0.2.1B-RELEASE Describe the bug A clear and concise description of what the bug is. I have saved a profile on my main hunter. I go to an alt hunter and set the profile, then try the /abp use command and the bars do not reset. LUA Error If applicable, add to help detail what error codes may exist.

To Reproduce Steps to reproduce the behavior:

  1. Log on to main of a class.
  2. In options create a new profile.
  3. /abp save profilename (says updated).
  4. logoff
  5. Log on to alt of the same class.
  6. In options set the profile.
  7. /abp use profilename (nothing happens).

Expected behavior A clear and concise description of what you expected to happen. The action bars should change. Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

rhodan412 commented 3 months ago

Have you tried the button within the character pane to save the profile on your first hunter and then the restoration "Use" button on your second hunter (while both being under the "Hunter" profile?

LDARBY commented 3 months ago

I used the save profile button on the character sheet on my main hunter, then used the use button on a alt hunter and that worked.

I have activated the minimap button on all 32 toons, only 3 of my 32 toons have the profile button on my character sheet.

LDARBY commented 3 months ago

selecting the spec from the minimap button works for restore on a toon without the profile button on the character sheet

LDARBY commented 3 months ago

after doing that they got the char sheet button

LDARBY commented 3 months ago

I tried saving with my main mage using the command line since they did not have a csheet btn. It said it updated but when I thied to restore it to an alt using the mm btn it did not change

rhodan412 commented 3 months ago

Okay so the button appeared just fine on your main and alt hunters, but when you went to your main mage the button wasn't present in the character pane - am I understanding correctly?

If so, are there any LUA errors associated with this on your mage? Do you have BugSack/BugGrabber addons to pull those errors (if they are being displayed)?

If I am indeed understanding could you provide screenshot of the character pane of your main mage where the button doesn't appear there?

LDARBY commented 3 months ago

I cleared the bug log and reconnected, there were no bugs reported.

hunter mage
LDARBY commented 3 months ago

now getting bug

1x ...rfaceActionBarProfiles/ActionBarProfiles.lua:187: Usage: GetSpecializationInfo(specIndex[, isInspect[, isPet[, inspectTarget[, sex]]]]) string "=[C]": in function `GetSpecializationInfo' [string "@ActionBarProfiles/ActionBarProfiles.lua"]:187: in function <...rfaceActionBarProfiles/ActionBarProfiles.lua:135>

[string "@ActionBarProfiles/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...ActionBarProfiles/libs/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@ActionBarProfiles/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function `InitializeAddon' [string "@ActionBarProfiles/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <...ActionBarProfiles/libs/AceAddon-3.0/AceAddon-3.0.lua:611>

rhodan412 commented 3 months ago

Alright so a couple of questions.

  1. First off, and backing up you mentioned that:

I have activated the minimap button on all 32 toons, only 3 of my 32 toons have the profile button on my character sheet.

Obviously your mage being one, what are the other two classes that are giving you trouble. Do you have any of these other three classes in duplicate (like a second mage, or whatever) that are not giving you trouble?

  1. I see on your mage the epic 424 pieces and wonder if this is a boosted character that has an active specialization (I'd be surprised if it let you boost w/o a specialization, but it might answer some questions).

If you have a specialization (most likely the case), then activate only BugSack, BugGrabber and ActionBarProfiles. Zygor shouldn't have made a difference as it didn't with your hunter from what I see here, but still want to cover the bases for the weird compatibility issues that sometimes albeit rarely happen.

Log back in to your mage and see if you have the button.

If so, activate all of your usual add-ons with these mentioned three and see if the button is still there.

If this doesn't solve it on your mage, or if you didn't have an active specialization on your mage (again, unlikely, but never know), then swap/activate any spec of your choosing and see if the button appears then (you might need to relog after switching specs). Try with all three mage specs and see what happens.

  1. Third and final question for now, is your DB profile for this add-on recently made for the first time (or have you had this file from long time past held over from Silencer2k's set up of the add-on? This is the file in your accountwide Saved Variables folder titled ActionBarProfiles.lua (NOT the file by the same name in your addon folder). Could you share this at least as a snippet of your mage and hunter so that I can compare these (you can make a txt document of the lua file and rename your toons in the profileKeys for your privacy if you wish)?

My working theories, so you don't think that I am having you spin your wheels needlessly:

1 and 3 are kind of tied together that something got corrupted in your DB file from when your hunter was saved vs mage was saved that is preventing some of the profiles from not restoring. This doesn't address why the button is missing from your character pane, but might shed some light on the underlying issue that brought you here. I only think of this because of the massive changes that took place between 10.0's talent tree that was largely unfixed resulted in changes to what the DB file may look like and look for in some of these profiles.

  1. Possibly an issue with GetSpecialization (the LUA you shared) might be some error on my side has the specID wrong and it is preventing restore. Again, this wouldn't handle the missing button issue (that part I'm at more of a loss over as I haven't experienced that myself with the basic add-ons or my 100 or so together). What you can do is on your mage type in and run the following command:

/run GetMySpecAndConfig()

This should provide you with a plethora of information that might help in narrowing down the issue.

I hate to put you through all of this especially with TWW early release out (I haven't been out to the new area myself yet despite 2 days of near straight projects). If the ActionBarProfiles is causing you a headache, I can work on the issue on this end with the information provided, while you roll with the add-on disabled.

LDARBY commented 3 months ago

dygor Guides Viewer: 8226 guides are loaded. Your current specialization index is: 2 Your current specialization ID is: 63 Your current trait tree ID is: 658 , Your active configuration ID is: 2276020 Current class profile in use: Mage

I have 13 toons to level before I will need to start my alts so I am not in a hurry. Thanks

AutolycusWolf commented 3 months ago

Apologies, didn't check the other open issues before posting.

AutolycusWolf commented 2 months ago

Hey. I don't want to sound impatient or intrusive but is there an ETA on a possible update/fix? This addon is indeed a life saver for us altoholics with no real alternative. Thanks for all your work.

rhodan412 commented 2 months ago

No estimate as I haven't been able to duplicate the errors that resulted in buttons not appearing on some of the profiles vs the other aside from the theory that the DB file became corrupted at some point. The more I look into it the more likely it seems that in order to solve these issues that I can't entirely duplicate, that it will require a complete re-write of the add-on from the original author's work. As I haven't been able to dedicate the hundreds of hours that would be required to get something basic going, I have no estimate.

I would recommend using BtwLoadouts as it does at least what ActionBarProfiles did (and more, except I don't think keybindings get saved with the BtwLoadouts, could be wrong). It won't be as lightweight as this will be (once that time can be dedicated), but that's the best alternative I can offer you if you are in a pinch.

AutolycusWolf commented 2 months ago

Thanks for the heads up. Here's to hoping you can solve the issues, since this addon has been the best as far as action bar profiles saving go. It's lightweight and does exactly what is needed, no additional bells and whistles.

I'll give BtwLoadouts a try but may I point you to MySlot? It does more or less what ActionBarProfiles does and works with no issues as of the latest patch so this might give you an idea of what may be wrong with ActionBarProfiles. It's lack of easiness being the only caveat (as far as I'm concerned).

Again, thanks for keeping this project alive!

rhodan412 commented 2 months ago

Ah, thank you. I hadn't heard of MySlot before and might provide greater insight into possible causes/fixes of ActionBarProfiles (especially if it's more on the similarly simplistic side). I think I can actually say that this does give me 'concepts of a plan.'

ABP is something I want to get rectified, but as it was originally coded in ways that differ greatly from my style it might be a better course for me to redesign from the ground up, giving me a better idea of fixes in the future as API and UX changes in-game.

Low memory usage is very important as even my quest helper add-on I made was done with this in mind, so a redo won't give extras unless it's easy to implement and maintain and not use much memory.

AutolycusWolf commented 2 months ago

I'm so glad to hear that! Also, glad I made the slightest of contributions to this wonderful and greatly helpful addon by introducing you to MySlot which I thought you knew about. Regardless, here's to hoping everything will go as planned!

Should you need any help with testing/bugs etc. please let me know. I'm more than happy to help in any way I can.