Scripture said:
But I already said I even tried that, and still didnt work
EDIT: The error i get with using the "using Server.TMSS;" is a little different though, it goes like this:
Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (4 errors, 1 warnings)
- Warning: Scripts\Customs\Samurai Empire\Mobiles\SE Monsters\YomotsuElder.cs:
CS0162: (line 15, column 19) Unreachable code detected
- Error: Scripts\Misc\CharacterCreation.cs: CS0117: (line 44, column 24) 'Serve
r.TMSS.SkillProfileHelper' does not contain a definition for 'GetProfile'
- Error: Scripts\Misc\CharacterCreation.cs: CS1502: (line 45, column 25) The be
st overloaded method match for 'Server.Items.SkillTicket.SkillTicket(int, int)'
has some invalid arguments
- Error: Scripts\Misc\CharacterCreation.cs: CS1503: (line 45, column 42) Argume
nt '1': cannot convert from 'Server.Mobile' to 'int'
- Error: Scripts\Misc\CharacterCreation.cs: CS1503: (line 45, column 45) Argume
nt '2': cannot convert from 'Server.TMSS.SkillProfile' to 'int'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
SkillProfile prof = SkillProfileHelper.GetProfile( name );
needs to be
SkillProfile prof = SkillProfileHelper.getProfile( SkillProfileHelper.getProfileID( name ) );
*Why did you do it this way TMS? Should have a method for GetProfile( string name)*
Also, if you want a SkillTicket created from a string 'name', which is the name of a profile, do only this:
string name = "My Profile";
SkillTicket t = new SkillTicket( name );
If you want to make a SkillTicket and you have a SkillProfile already, do:
SkillProfile p = SkillProfileHelper.getProfile( someID );
SkillTicket t = new SkillTicket( p );
On a side note, I'd like to let you know that I have not actually used this system. I therefore do not actually know this system. I find all this information by opening the scripts and finding what the calls are. You can do this to