omg it's annie, i'm fainting *fanboy shout
i remember an issue on eathena with guild skills.
prontera,164,170,4 script Guild Bug Fix 864,{ OnWhisperGlobal: if(guild_reset_progress!=0){ set @check,gettimetick(2); if(@check-guild_reset_progress < 360){ mes "Please wait 1 hour before using the NPC again"; close; } } mes "This is a npc to be used only by guild masters to rebuild their guilds in case they are bugged"; next; set @GID,getcharid(2); if(strcharinfo(0)!=getguildmaster(@GID)){ mes "You are not the guild master."; close; } mes "Let's start with counting your guild skills."; set @count,0; for(set @i,10000;@i<10015;set @i,@i+1) set @count, @count + getgdskilllv(@GID,@i); next; mes "Now let's count your remaining points and your guild level."; query_sql "Select `guild_lv`,`skill_point` from `guild` where `guild_id` = '" + @GID + "'",@guild_level,@skill_point; set @guild_level,@guild_level-1-@skill_point-@count; next; if(@guild_level){ mes "We need to remove "+@guild_level+" guild levels and give it again."; next; atcommand "@glevel -"+@guild_level; atcommand "@glevel "+@guild_level; mes "Everything should be fine now. You can use the npc again after 1 hour if necessary."; } else { mes "Everything seems fine with your guild. You can use the npc again after 1 hour if necessary."; } set guild_reset_progress,gettimetick(2); close;}
But right now i have no real id how to check/read/apply for all skills in the class tree.