KuzKuz wrote:Hi, need this wonderful script fix for ASP 10.1.1. Thanks!
...Oh, yes! Thankfully I already made a quick fix for this, so now it's only an upload matter. Here is the new link:
rl_smart_bones_buttons_ASP10.1.1_20140830 (UPDATED!)
Moderators: Víctor Paredes, Belgarath, slowtiger
KuzKuz wrote:Hi, need this wonderful script fix for ASP 10.1.1. Thanks!
Hey Ramon, I just want to add my 2 cents. Here's how I solved the same problem in my scripts:Ramón López wrote:It is kind of a "mend" but it should do the job for 10.1.1, anyway... let me know whatever you consider appropriate. Greetings!
Code: Select all
if moho.AppVersion ~= nil then
local sVersion = string.gsub(moho:AppVersion(), "^(%d+)(%.%d+)(%..+)", "%1%2")
version = tonumber(sVersion)
end
Wow! I'll study that thanks!Stan wrote:Hey Ramon, I just want to add my 2 cents. Here's how I solved the same problem in my scripts:That simple pattern will always return an appropriate number from any string versions like "11", "11.1", "11.1.2.1111", etc.Code: Select all
if moho.AppVersion ~= nil then local sVersion = string.gsub(moho:AppVersion(), "^(%d+)(%.%d+)(%..+)", "%1%2") version = tonumber(sVersion) end
Thanks!Ramón López wrote:KuzKuz wrote:Hi, need this wonderful script fix for ASP 10.1.1. Thanks!
...Oh, yes! Thankfully I already made a quick fix for this, so now it's only an upload matter. Here is the new link:It is kind of a "mend" but it should do the job for 10.1.1, anyway... let me know whatever you consider appropriate. Greetings!
rl_smart_bones_buttons_ASP10.1.1_20140830 (UPDATED!)