Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] TSU Wiki lists incorrect value for Needle in Complex Custom Conditions #4627

Closed
2 tasks done
Lisonna opened this issue Oct 6, 2023 · 3 comments
Closed
2 tasks done
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.

Comments

@Lisonna
Copy link

Lisonna commented Oct 6, 2023

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

The TSU wiki section on Complex Custom Conditionals describes that the needle value for a bool variable will be 1 or 2, and not true or false.

Testing this, I have found that the value for false is actually 0, not 2.

Here is a weakaura which simply shows as active, and has 2 conditions on a complex condition, checking True and False, then inside the test function I print the value for needle, which shows only a 1 or a 0, never a 2

https://wago.io/jcI7U80xj

WeakAuras Version

5.7.1

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

  • Yes

Lua Error

No response

Reproduction Steps

Create a bool complex custom condition variable and print the value for needle after creating conditions which check the variable for True or False in the dropdown.

Alternatively you can use the wago I created as a test case, but I understand if you want to create it yourself from scratch.

Last Good Version

No response

Screenshots

No response

Export String

!WA:2!Dr1ZUTTrt8iOVp0cMIIy10GeGCGqfniUoWinOXfOa9GPIuSluKuPOJJBrR0sUdf3yQLS7UuY2f5qeqrZz)iOZ9KEe8PEKqOOpa5qFa8tqNDjLCs5HLZ(BN)9BNzNkTQnUgTg9nF2CwqcVFsMiaU71eN0nmucQkItlfwq4brjIEjmUYVrZoEnDxgKKettMY7pLLcdVy12M0rqKJ2DdNPeSrJaH8JVNOu8VDuNMc(bzsvY43kZ8Hjax1plmKDYIbn2TV3G(E766nNc(iOhQSyVMT716G2Ugv93diXQO1M2taOPU971SDBNmot5NgtofeUCYyqAvOK0hDQ3b9xue3b6CyHuruqwkfxDdIGGJZ3yMmfIJ3NkTY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QXPw1KUpE7VE7VS2K)6f)7d
@Lisonna Lisonna added the 🐛 Bug This is a problem with WeakAuras. label Oct 6, 2023
@github-actions github-actions bot added the ⏱ Awaiting Response This ticket hasn't been triaged yet. label Oct 6, 2023
@InfusOnWoW
Copy link
Contributor

It's a wiki, editing it is allowed.

@InfusOnWoW InfusOnWoW reopened this Oct 6, 2023
@InfusOnWoW
Copy link
Contributor

Eh I see the discussion on discord now. Seems asakawa wanted someone to take a look at whether you are right.

@InfusOnWoW
Copy link
Contributor

You are right, the wiki has been edited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.
Projects
None yet
Development

No branches or pull requests

2 participants