Coder Social home page Coder Social logo

Broken in 10.1.7 about improvedstableframe HOT 6 CLOSED

mxpxh2ogo avatar mxpxh2ogo commented on May 22, 2024
Broken in 10.1.7

from improvedstableframe.

Comments (6)

tflo avatar tflo commented on May 22, 2024

Change PetStableModel to PetStableModelScene in ImprovedStableFrame.lua, lines 102 and 103:

--- Old	2023-09-06 15:23:47.000000000 
+++ New	2023-09-06 15:23:47.000000000 
@@ -96,14 +96,14 @@
 	PetStableFrame.Inset:SetPoint("TOPLEFT", f, "TOPRIGHT")
 	PetStableFrame:SetWidth(PetStableFrame:GetWidth() + widthDelta)
 	PetStableFrame:SetHeight(PetStableFrame:GetHeight() + heightDelta)
 
 	PetStableFrameModelBg:SetHeight(281 + heightDelta)
 
-	local p, r, rp, x, y = PetStableModel:GetPoint(1)
-	PetStableModel:SetPoint(p, r, rp, x, y - 32)
+	local p, r, rp, x, y = PetStableModelScene:GetPoint(1)
+	PetStableModelScene:SetPoint(p, r, rp, x, y - 32)
 
 	PetStableStabledPet1:ClearAllPoints()
 	PetStableStabledPet1:SetPoint("TOPLEFT", f, 8, -36)
 
 
 	local searchInput = CreateFrame("EditBox", "ISF_SearchInput", f, "SearchBoxTemplate")

from improvedstableframe.

ZForceSeattle avatar ZForceSeattle commented on May 22, 2024

I have the same problem, but I thought I'd add a picture of what it looks like if I go to the stable master. I thought it might be a simple update of the stable master data table, but I've tried it several times with no luck. I have an addon that allows me to move my frames around, so I also tried to see if the reason was that it was not fitting onto my screen fully and was running into the null on the bottom part of the frame. But it made no difference. After a reload, I got the same error. The small library file is not in the middle of the main frame of the addon.

I've added a picture, but it is cutting off the bottom part due to a known issue with the Snipping Tool in Windows.

Improved Stable

from improvedstableframe.

tflo avatar tflo commented on May 22, 2024

Have you tried the fix I posted above?

For me, it works. I have only tested it briefly, but I can move pets around, exchange pets, and the frame representation is fixed. (I had the same error as the OP, and the same graphical glitch as in your screenshot.)

Here is a copy of the addon as I'm using it:

ImprovedStableFrame.zip

This version contains an additional change: It checks at load time if the player class is a Hunter. If not, it doesn't load any code. If you don't like that, just remove the check at the very beginning of ImprovedStableFrame.lua (2 lines).


PS: I'm on Retail.

from improvedstableframe.

ZForceSeattle avatar ZForceSeattle commented on May 22, 2024

POSSIBLE SOLUTION

Thank you for your message. When did you get your update? I'm using the November 2022 release listed here and on Curseforge (app and page). I compared the TOC and the lua; they look the same, but....

I deleted the variables, directories, cache files, and everything related to the addon. I reinstalled the addon from the Curseforge APP, and even though it still shows a version date of 10.0 - November - It is now working.

I am still determining where the problem comes from. I rarely need to open the stable frame because I always use the same pets. The reinstall also fixed an error I was getting on another addon - weird.

I did get the "You are using out-of-date addons" message when I logged on today, and I'm wondering if it is becoming a thing with the version dates. My friend who does the primary programming with Titan said it had become a problem for some of his items.

from improvedstableframe.

tflo avatar tflo commented on May 22, 2024

"You are using out-of-date addons"

This is completely irrelevant, it's just a number in the toc file that is checked by Blizz, not any relevant content.

When did you get your update?

Not sure what you mean. The latest version by the author of the addon (to my knowledge) is 10.0.0. I haven't seen an update since then.

I am still determining where the problem comes from.

As said here, it's a frame name that has changed in 10.1.7, from PetStableModel to PetStableModelScene. (Hence the "nil value" in the error.)

If you apply my fix (or download my patched version from above), then it should work. At least for me it does. No need to delete Saved Variables or cache files.

PS: In my patch, I've also updated the toc number for 10.1.7, so you won't get any "You are using out-of-date addons" warning either, in case this matters. I have left the version number of the addon unchanged (10.0.0).

from improvedstableframe.

ascott18 avatar ascott18 commented on May 22, 2024

Fixed in a8210c3

from improvedstableframe.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.