Jump to content
  • 0

How does Warden's LUA_STR_CHECK work?


Bloog

Question

Hi all,

I'm experimenting with Warden on a local Mangos Zero install, trying to figure out how Warden's LUA_STR_CHECK works. No matter what value I use for "str", the check seems to fail. Here's an example:

image.png.663cfcd2f6b4dd8a81a823ec27e38a1d.png

I'm connecting to the server with just a normal unmodified client.

Does anybody know how this Warden check works? What does it actually do on the client side? And how is it normally used?

Thanks!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Well, FYI the present code was ported from the TC one. The TC table contains no entries for this type of check, and probably for a reason.

I suspect this check type to be usable for addon activity. Yeah, there is the way to ban an addon through respective DB table. This check must be for monitoring some addons that aren't banned (yet).

Link to comment
Share on other sites

  • 0

So just a few ideas...

Testing the check, I would load an addon and compose checks for its strings, begining with the name, something it says to the player when loaded, and up to anything it reports to the player's chat. Considering reference to the FrameScript::GetText client function (and hoping we got the offset correctly), it probably checks addon output strings. Also, the "failure" of the check may be the desired result, while "ok" may mean "the string is found".

Once again, ensure that your client is of 5875 build. The in-core warden isn't ready for any other version for now.

Link to comment
Share on other sites

  • 0
On 7/7/2020 at 11:45 AM, Olion said:

Also, the "failure" of the check may be the desired result, while "ok" may mean "the string is found".

Interesting, I hadn't considered that. So I suppose the next thing to do would be to get it to "pass" :)


Thanks again Olion!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use