Marak said:oh and to the guys who had problems with the last release(who i didnt reply to), i had to leave half way through that version due to a death in the family, so i never got the bugs ironed out in that one(although it was working perfectly in previous versions, maby someone can upload an old V if they have it - i dont anymore). Design has started, im testing out a few different things atm, should be able to get an alpha out in a week or so - any requests for this one?(it will include mondains support)
Found a bug in this latest release. BTW great little tool here
so here is the bug:
When creating a script it does just like its supposed to it creates the code all well and good so far but if you open up that c# script there is a Curly brace out of place. The curly brace is for the namespace tag and should go below it in the script but instead it pops up out of sequence between the namespace tag and the last item in the using directives area e.g.:
Code:
using Server.Items
{ [COLOR="Red"]// This tag is out of place[/COLOR]
namespace Server.Items
[COLOR="Green"]//Should go here[/COLOR]
public class MyChest:ChainChest
{
[Constructable]
public class MyChest()
{
.....
//implementation
}
}
}
This does this whether its a mobile type and item type or a book type. I dont know how your source is implementing the grammar but you need to look at the grammar sections again to eliminate this little bug. it will keep the Invalid token in class struct etc errors people get to a minimum.
and a request for the next release of this tool? add the ArtifactRarity override?
The code should look like this when the tool is finished scripting it
Code:
public override int ArtifactRarity{ get {return nn; } }
//Where nn is the value from your tool window