Page 45 of 54

Re: Mudlet features and API requests

Posted: Thu Sep 18, 2014 7:28 am
by phasma
Yeah. That's a very fair comment and I can see why you would state such. I was simply thinking of situations that will undoubtedly arise over the coming months where we add functionality into our systems where such is only available in 3.0 and the user either cannot or will not update their client.

Either way, I'll continue with my workarounds. Thanks for the feedback.

Re: Mudlet features and API requests

Posted: Thu Sep 18, 2014 7:34 am
by Vadi
Yeah, that's exactly I deal with it - if this function is available, use it and this code path, if not, use the fallback.

Re: Mudlet features and API requests

Posted: Thu Sep 18, 2014 10:57 am
by Jor'Mox
The tricky part is when an existing function is updated between versions. The gauges and the new (working) database code come to mind here. Existence testing won't work, since they are in both versions, making it difficult to tell what you are working with and what to expect.

Re: Mudlet features and API requests

Posted: Thu Sep 18, 2014 2:20 pm
by SlySven
A getMudletVersion({|"major"|"minor"|"revision"|"build"|"string"|"table"}) command IS in the current development code (I put it there) and FYI getMudletVersion("build") should return a lua nil result on the "release" version.

Re: Mudlet features and API requests

Posted: Thu Sep 18, 2014 9:17 pm
by Vadi
Yeah it is. I've used pcall in some places to detect which can work.

Updates release post to mention the function.

Re: Mudlet features and API requests

Posted: Fri Sep 26, 2014 1:22 pm
by Zaphob
In Mudlet settings, i can change background color, text color, etc. This works somewhat okay and I will probably file some bug reports soon, but is there any way for me to do this for the users via scripts? or does everybody need to do it for each of their profiles themselves?

Re: Mudlet features and API requests

Posted: Fri Sep 26, 2014 1:45 pm
by Vadi
You can't no.

Re: Mudlet features and API requests

Posted: Sun Oct 05, 2014 6:31 am
by Sanaki
Three main requests. One I've said before, a function to move a miniconsole, label, or other such element on top of all others. Being able to directly adjust Z-position would be a bonus, but an unlikely one. The other would be keyUsed("ctrl+f1") or something similar, and would let you check if a keybind was currently in use and return true or false. For bonus points, it could have a second return of a table containing the names of all keybinds currently using that key combination, or something of that nature. Finally, one I didn't realize doesn't exist until just now, tempKey(). Other than deciding on how to interpret the key combination choice string, I'm not certain why this isn't already included.

Re: Mudlet features and API requests

Posted: Sat Oct 25, 2014 1:48 am
by tarkenton
Would be nice to be able to delete the profiles that come pre-loaded in Mudlet. Doing the standard remove profile doesn't do anything.

Re: Mudlet features and API requests

Posted: Sat Oct 25, 2014 4:12 am
by ktiedt
tarkenton wrote:Would be nice to be able to delete the profiles that come pre-loaded in Mudlet. Doing the standard remove profile doesn't do anything.
completely agreed, that is annoying.