new iSkillID = SM_GetSkillOfType( id, SKILL_TYPE_ULTIMATE );
new iSkillLevel = SM_GetSkillLevel( id, iSkillID, 3 );
and its registering the skill level as 0 because iSkillID is return -1 when it should be returning an ultimate id number... my script is doing the same thing but its only when some1 is a cham and tries using their ultimate...... if ur usung the regular wc3 scripts u should have no problem but if u edited ur scripts that may be why... my suggestion is disable the cham skills and see if ur server still crashes.... im looking into mine checking what edit i did to mess it up when i find out ill make a post for u
ive think i found the problem well i have in mine.... since im using more races i needed to edit something for the chameleon so it wouldnt say if( wc3_races == 9.....) i had to make it say ">="... check ur war3ft.cfg and check what ur wc3_races is set to... and have you made any plugin edits of your own like changing races around or something? if so that also is ur problem and can have an easy fix
If the error this thread is about is the Invalid Skill one, it is a know bug with an active bug report and no fix yet. If it is about some other error, I am lost then.
The Invalid Skill is not causing the crash. Based on the information you have provided, I can not determine what is causing the crash, or if the crash is even war3ft's fault
Disable ALL plugins but war3ft (including base amxx plugins)
Disable all modules in the modules.ini file (AMXX will enable the ones it needs)
Disable saving of XP