HintServiceMeow icon indicating copy to clipboard operation
HintServiceMeow copied to clipboard

Hint Parameter Support

Open MedveMarci opened this issue 8 months ago • 3 comments

What problem do you want to solve? That the hint Parameters are not supported

Describe the solution you'd like Add parameter support for compatibility and also into normal hint making.

Additional information If it is possible add every one of them and not only SSSS and Animation

MedveMarci avatar Mar 07 '26 07:03 MedveMarci

OK, I will check it out.

MeowServer avatar Mar 07 '26 08:03 MeowServer

btw, if you want any ideas for how to implement this @MeowServer, when I was thinking about ways to implement this, I came up with the idea of letting hints "request" hint parameters from HSM or something which would cause HSM to add to a list of parameters I guess, then return a string.Format tag thing like "{0}" or "{10}" (which is how you use a hint parameter, you put one of the tags in a hint and SL parses them on the client) though I have to imagine that SL uses something like string.Format which is actually kinda bad because you cant have any strings like "test ... {1}" because string.Format expects "{0}". So if hints are coded like this on the client, then you'd probably have to set up something at the start of every hint like "<size=0>{0}{1}..." where you add a tag thing for every registered parameter. Now if you use a static tag return from the request method I was talking about earlier, you'd probably need to fill in any gaps by any parameter unregistering with dummy parameters, but if you do this, you're avoiding the server overhead of having to require developers hints to call some GetParameterTag method every time their hint updates. Anyways, feel free to contact me on discord if any of this is confusing, I just figured I'd just try to communicate the results from me thinking about this a while back

Someone-193 avatar Mar 07 '26 15:03 Someone-193

I have added parameter support in Dev branch and will release it in next major update.

MeowServer avatar Mar 08 '26 06:03 MeowServer