Yes that was the major loop hole I was talking about before lol. And I don't know if you read my post but all the chiv, mage and necro spells have to be replaced with the ones I included cause I had to edit each indiviual spell to get restrictions to work right. And yea I have my scrolls in loot too and they have to buy the spellbooks from the scribe just like the ones I provided you with.i don't hand out anything, i jsut got one member with a lot of scrolls from his kills. if this update fixed that then it's ok.
You know what...I have had this issue every since I updated my patches for UO. There is some confict with the OnDoubleClick method now . Butl you know what the restrictions still work even if people open books when the restrictions are removed from the spellbooks so we'll end up getting rid of that. For some reason it still works with custom books but not distro ones with Chiv, Mage, Necro. I'll update as soon as possible and if we are lucky the new optional restrictions will be ready for the FSB. Thanks for reporting this problem I have spent 3 days on it and can't find a solution other then getting rid of it.hay Lucid Nagual hows it going yeah its me again asking about another problum
ok here we go how do i disable the //use restrictions on all the spell book cuz for some reason i cant open anyof them with out making it false
thx
/*
Special thanks to Ryan.
With RunUO we now have the ability to become our own Richard Garriott.
All Spells System created by x-SirSly-x, Admin of Land of Obsidian.
All Spells System 4.0 created & supported by Lucid Nagual, Admin of The Conjuring.
All Spells System 5.0 created by A_li_N.
_________________________________
-=(_)_______________________________)=-
/ . . . ____ . ___ _/
/~ / / / / / / )2005 /
(~ (____(___/ (____ / /___/ (
\ ----------------------------- \
\ [email protected] \
\_ =================== \
\ -Admin of "The Conjuring"- \
\_ =================== ~\
) All Spells System )
/~ Version [5].0.1 _/
_/_______________________________/
-=(_)_______________________________)=-
*/
using System;
using Server.Mobiles;
using Server.Items;
using Server.Network;
namespace Server.Spells
{
public class SpellRestrictions
{
//Set Restricted to true if you want new spellbooks to be created with restrictions.
public static bool Restricted = true;
public static bool CheckRestrictions( Mobile caster, Spellbook book )
{
if( book == null )
return false;
if( caster == null )
return false;
if( book.SpellbookType == SpellbookType.Invalid )
return false;
if( caster.AccessLevel > AccessLevel.Player )
return true;
if( caster.Title == "the Nomad" )
return true;
switch( (int)book.SpellbookType )
{
case (int)SpellbookType.Regular:
{
if (caster.AccessLevel >= AccessLevel.Player)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Doesn't wwork. Waht a shame.", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Necromancer:
{
Item item = caster.Backpack.FindItemByType(typeof(DarkElfOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only Dark Elves have access to these powers.", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Paladin:
{
Item item = caster.Backpack.FindItemByType(typeof(AngelicOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only Angels have access to these powers.", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Avatar:
{
Item item = caster.Backpack.FindItemByType(typeof(AngelicOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only Angels have access to these powers", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Ninja:
{
if ( caster.Title != "the Ninja" )
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "You do not posses the training required for these spells. You must visit a Magics and Skill Trainer.", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Samurai:
{
if ( caster.Title != "the Samurai" )
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "You do not posses the training required for these spells. You must visit a Magics and Skill Trainer.", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Druid:
{
Item item = caster.Backpack.FindItemByType(typeof(WoodElfOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only Wood Elves have access to these powers", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Ancient:
{
Item item = caster.Backpack.FindItemByType(typeof(DeamonicOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only Deamons have access to these powers", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Cleric:
{
Item item = caster.Backpack.FindItemByType(typeof(HighElfOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only High Elves have access to these powers", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Song:
{
if ( caster.Title != "the Bard" )
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "You do not posses the training required for these spells. You must visit a Magics and Skill Trainer.", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Undead:
{
Item item = caster.Backpack.FindItemByType(typeof(DarkAngelOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only Dark Angels have access to these powers", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Rogue:
{
if ( caster.Title != "the Rogue" )
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "You do not posses the training required for these spells. You must visit a Magics and Skill Trainer.", caster.NetState );
return false;
}
break;
}
case (int)SpellbookType.Ranger:
{
Item item = caster.Backpack.FindItemByType(typeof(WoodElfOrb));
if (item == null)
{
caster.PrivateOverheadMessage( MessageType.Regular, 0x22, false, "Only Wood Elves have access to these powers", caster.NetState );
return false;
}
break;
}
}
return true;
}
}
}
I have been advised to use this method too and will prolly change it over soon. NP I will try and get to it as soon as possible and post it when I can.I had rewritten your old spell restrictions so it worked by items instead of titles, but i was wondering how i could edit the new one's with the new spell restrictions code in place.
this is what i have
Oh that would be nice of you thanks. I have been sinking hours into this and the new res kill system that I have. Can u start with getting me the gems?ok then, i'll just use my old one until you finsh. if you want you can give me the code needed to fix the spell bit and i can rewrite it for you and make a few gems for it to look for.
Scripts: Compiling C# scripts...failed (1 errors, 39 warnings)
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 381, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 388, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 395, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 402, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 409, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 416, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 423, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 430, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 437, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 444, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 451, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 458, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 465, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 776, col
umn 57) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 782, col
umn 54) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 819, col
umn 55) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 825, col
umn 59) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 862, col
umn 59) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 868, col
umn 60) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 906, col
umn 61) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 912, col
umn 59) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 946, col
umn 56) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 952, col
umn 59) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 986, col
umn 56) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 992, col
umn 59) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1026, co
lumn 57) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1032, co
lumn 55) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1066, co
lumn 61) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1100, co
lumn 59) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1106, co
lumn 61) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1112, co
lumn 61) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1147, co
lumn 57) Possible mistaken null statement
- Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1184, co
lumn 56) Possible mistaken null statement
[COLOR="Red"] - Error: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0246: (line 1234, colu
mn 34) The type or namespace name 'KillBook' could not be found (are you missing
a using directive or an assembly reference?)[/COLOR]
- Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS01
62: (line 62, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS01
62: (line 74, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162
: (line 60, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162
: (line 72, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162:
(line 60, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162:
(line 72, column 4) Unreachable code detected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Scripts: Compiling C# scripts...failed (1 errors, 20 warnings)
- Warning: Scripts\Custom\Fireworks\DefFirework.cs: CS0219: (line 84, column 8)
The variable 'index' is assigned but its value is never used
- Error: Scripts\Misc\WelcomeTimer.cs: CS0246: (line 63, column 33) The type or
namespace name 'MagicsTrainerGump' could not be found (are you missing a using
directive or an assembly reference?)
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 381, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 388, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 395, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 402, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 409, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 416, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 423, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 430, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 437, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 444, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 451, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 458, column 5) Unreachable code detected
- Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\To
meOfKnowledge.cs: CS0162: (line 465, column 5) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS01
62: (line 62, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS01
62: (line 74, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162
: (line 60, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162
: (line 72, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162:
(line 60, column 4) Unreachable code detected
- Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162:
(line 72, column 4) Unreachable code detected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Yes I am aware of it and wil get to it after I do your edits and get the FSB done. The FSB is putting up a good fight and winning so far lol.after intial problems with upgrading to this version (i deleted my spell folder) i come up against an error with you missing off a magictraingergump. Now i'm not to worried as i'm not going to use it but i thoguht i'd tell you anyway. Now having an error is something i expect when instaling a system due to conflicts with other system, what i didn't expect was 39 warnings. Now i know they don't mean anything but i thoguht i'd let you nkow that they exsisted. and yes, your broken magic trainer is still haunting you.
Code:
Scripts: Compiling C# scripts...failed (1 errors, 39 warnings) - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 381, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 388, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 395, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 402, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 409, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 416, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 423, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 430, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 437, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 444, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 451, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 458, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 465, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 776, column 57) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 782, column 54) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 819, column 55) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 825, column 59) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 862, column 59) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 868, column 60) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 906, column 61) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 912, column 59) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 946, column 56) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 952, column 59) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 986, column 56) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 992, column 59) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1026, column 57) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1032, column 55) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1066, column 61) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1100, column 59) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1106, column 61) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1112, column 61) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1147, column 57) Possible mistaken null statement - Warning: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0642: (line 1184, column 56) Possible mistaken null statement - Error: Scripts\Spells\@@Other Shit\MagicsTrainer.cs: CS0246: (line 1234, column 34) The type or namespace name 'KillBook' could not be found (are you missing a using directive or an assembly reference?) - Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS0162: (line 62, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS0162: (line 74, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162: (line 60, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162: (line 72, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162line 60, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162line 72, column 4) Unreachable code detectedScripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again.
Without the magic trainer
Code:
Scripts: Compiling C# scripts...failed (1 errors, 20 warnings) - Warning: Scripts\Custom\Fireworks\DefFirework.cs: CS0219: (line 84, column 8) The variable 'index' is assigned but its value is never used - Error: Scripts\Misc\WelcomeTimer.cs: CS0246: (line 63, column 33) The type or namespace name 'MagicsTrainerGump' could not be found (are you missing a usingdirective or an assembly reference?) - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 381, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 388, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 395, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 402, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 409, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 416, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 423, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 430, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 437, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 444, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 451, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 458, column 5) Unreachable code detected - Warning: Scripts\Spells\@@Other Shit\-=+ Full Spellbook +=-\Full Spellbook\TomeOfKnowledge.cs: CS0162: (line 465, column 5) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS0162: (line 62, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\ClassSystemOptionGump.cs: CS0162: (line 74, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162: (line 60, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\GiveBooksOptionGump.cs: CS0162: (line 72, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162line 60, column 4) Unreachable code detected - Warning: Scripts\Spells\Base\AS Control Center\SkinHueOptionGump.cs: CS0162line 72, column 4) Unreachable code detectedScripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again.
Sure as soon as you are ready.As long as you are aware. i know you'll fix them when you get the time. and my offer of help with the orbs is still open (as soon as i finsh upgrading to to new OWLTR, dam distro script)
I'm still hard at work on them. It will be done within the next several hours.well i got a bit of time now and i'm not doing anything for a few hours tomorrow morning. send me the latest restriction file (unless it's the one in the zip) and i'll see if i can get it working.
etherkye said:sounds good, shame my ranger spells are used by the same people that use my druid one
(i use races, and both are used by wood elves)