Thank God aslankro you have been born knowing everything... tespa...
Rin4a i finally got it and test it, it works ok, except 1 scenario.
When i set all buffs for free i get error when press on Buffs.
Also in my opinion you must change the way the scheme data kept in database.
To be more specific, in buffer_scheme_contents table you hold the buff the player
enters for a scheme. Now if you allow the player to have 3 profile schemes from
30 buffs and you have 200 players in game and everyone of them has 3 characters
you finally got 54.000 records This is to much heavy.
Instead doing that, you can keep all scheme buffs in only 1 record, and using a query
you can delete the id of skill or add it.
One other observation i made is that, when Scheme system is enabled the menu of
normal buffs is been disappear.