Awesome, Thanks for this now I can finally see the iron beetle in action! nom nom nom
 
ISMining function doesnt work with current ServUO unless you go into Server/Maps and look for GetTileAt function.. and uncomment it..and re-compile server.exe =)
 
Loaded with errors

Code:
 + Mobiles/Monsters/SE/IronBeetle.cs:
    CS0246: Line 333: The type or namespace name 'Tile' could not be found (are
you missing a using directive or an assembly reference?)
    CS1061: Line 333: 'Server.Map' does not contain a definition for 'GetTilesAt
' and no extension method 'GetTilesAt' accepting a first argument of type 'Serve
r.Map' could be found (are you missing a using directive or an assembly referenc
e?)
    CS0246: Line 336: The type or namespace name 'Tile' could not be found (are
you missing a using directive or an assembly reference?)

Not sure if I am supposed to change these to "StaticTile" like some of the other "Tile" errors in other scripts or if I am supposed to do the edit by demented

ISMining function doesnt work with current ServUO unless you go into Server/Maps and look for GetTileAt function.. and uncomment it..and re-compile server.exe =)

if demented suggestion not sure which .cs file to edit says server/maps I dont have folders in that order I have a server folder and I have a items/maps folder but not a server/maps and not sure if it means ever map file from there or what

update found the server/map.cs file uncommented the line trying it out
 
Ok uncommenting that line in map.cs causes dozens of other scripts to mess up so that was not the answer
 
Believe Tile was changed to StaticTile try this I will search some for the other error's and post them in this post
So far I have only found this but it's old so not sure if it will work- in the mean time I waiting to hear back from Hammerhand :)
Unless some one posts before then with a fix!
http://www.runuo.com/community/threads/xmlspawner2-fixing-for-runuo-2-1.460111/

Update: Hammerhand just got off a 16 hour shift, so he is pretty beat, but gave me this information you could try-so you might have to do some testing to see if any work :)
According to TileMatrix.cs in the (semi) latest ServUO server core, it looks to be things like StaticTile, LandTile, GetStaticTile & GetLandTile. But I could be WAY off too..
 
Last edited:
Not sure if it will work or not, but try replacing this
Code:
        private bool IsMiningTile(Point2D p, Map map)
        {
            List<Tile> list = map.GetTilesAt(p, true, true, true);
            for (int i = 0; i < list.Count; i++)
            {
                Tile tile = list[i];
                for (int l = 0; l < m_MountainAndCaveTiles.Length; l++)
                {
                    if (m_MountainAndCaveTiles[l] == tile.ID) return true;
                }
            }
            return false;
        }
with this
Code:
        private bool IsMiningTile(int X, int Y, Map map)
        {
            LandTile list = map.Tiles.GetLandTile(X, Y);
 
            for (int l = 0; l < m_MountainAndCaveTiles.Length; l++)
            {
                if (m_MountainAndCaveTiles[l] == list.ID) return true;
            }
            return false;
        }
 
Not sure if it will work or not, but try replacing this
Code:
        private bool IsMiningTile(Point2D p, Map map)
        {
            List<Tile> list = map.GetTilesAt(p, true, true, true);
            for (int i = 0; i < list.Count; i++)
            {
                Tile tile = list[i];
                for (int l = 0; l < m_MountainAndCaveTiles.Length; l++)
                {
                    if (m_MountainAndCaveTiles[l] == tile.ID) return true;
                }
            }
            return false;
        }
with this
Code:
        private bool IsMiningTile(int X, int Y, Map map)
        {
            LandTile list = map.Tiles.GetLandTile(X, Y);

            for (int l = 0; l < m_MountainAndCaveTiles.Length; l++)
            {
                if (m_MountainAndCaveTiles[l] == list.ID) return true;
            }
            return false;
        }

I know this old ,But Has any updated this script that wouldnt mind sharing?

thisis the Line I'm Having Trouble with:
Code:
BaseOre ore = Mining.System.Construct(res.Types[0], null) as BaseOre;
 
Last edited:

Active Shards

Donations

Total amount
$80.00
Goal
$1,000.00
Back