1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Rezzing old 2.0 scripts - The type or namespace name 'Tile' could not be found

Discussion in 'Script Support' started by alchimyst, Jun 21, 2016.

  1. alchimyst
    Offline

    alchimyst Member

    Joined:
    Apr 25, 2016
    Messages:
    82
    Likes Received:
    4
    Hey all, I'm in the midst of transferring all my old scripts that were RunUO 2.0 to run with ServUO Pub 54 and the latest client. I'm running into errors in regards to the Tile and StaticTile and whatnot and not sure what's going...probably Tile got changed to something else.. Anybody have any ideas?

    -Alch



    Code (C#):
    1. --------------------------------------------------------------------------------
    2.  
    3. ServUO - [http://www.servuo.com] Version 0.5, Build 5987.26572
    4. Publish 54
    5. Core: Optimizing for 4 64-bit processors
    6. RandomImpl: CSPRandom (Software)
    7. Core: Loading config...
    8. Scripts: Compiling C# scripts...Failed with: 2 errors, 37 warnings
    9.  
    10. + Custom Systems/Apiculture/BeeHiveHelper.cs:
    11.     CS0246: Line 156: The type or namespace name 'Tile' could not be found (are
    12. you missing a using directive or an assembly reference?)
    13.     CS0029: Line 156: Cannot implicitly convert type 'Server.StaticTile[]' to 'T
    14. ile[]'
    15. + Custom Systems/BurialSystem/GraveShovel.cs:
    16.     CS0246: Line 69: The type or namespace name 'Tile' could not be found (are y
    17. ou missing a using directive or an assembly reference?)
    18.     CS0246: Line 146: The type or namespace name 'Tile' could not be found (are
    19. you missing a using directive or an assembly reference?)
    20.     CS0029: Line 146: Cannot implicitly convert type 'Server.StaticTile[]' to 'T
    21. ile[]'
    22.     CS0246: Line 150: The type or namespace name 'Tile' could not be found (are
    23. you missing a using directive or an assembly reference?)
    24. Scripts: One or more scripts failed to compile or no script files were found.
    25. - Press return to exit, or R to try again.
    26.  
     
  2. Hammerhand
    Offline

    Hammerhand Active Member

    Joined:
    Mar 26, 2013
    Messages:
    756
    Likes Received:
    73
    I believe they were changed to StaticTile & LandTile which could be why it cant convert StaticTile to Tile.
     
  3. alchimyst
    Offline

    alchimyst Member

    Joined:
    Apr 25, 2016
    Messages:
    82
    Likes Received:
    4
    i gotcha but not exactly following it...should i change Tile to StaticTile or change it to LandTile?
     
  4. Hammerhand
    Offline

    Hammerhand Active Member

    Joined:
    Mar 26, 2013
    Messages:
    756
    Likes Received:
    73
    For the BeehiveHelper I'd say StaticTile, GraveShovel is probably LandTile but without seeing the scripts, its kind of hard to tell. Shovel could use both.
     
  5. Shazzy
    Offline

    Shazzy Active Member

    Joined:
    Mar 6, 2015
    Messages:
    518
    Likes Received:
    29
    I Have apiculture running on my server with no issues.
    I can post the script if you like.
     
    • Thanks! Thanks! x 1
  6. alchimyst
    Offline

    alchimyst Member

    Joined:
    Apr 25, 2016
    Messages:
    82
    Likes Received:
    4
    Yes please, i'd love to take a look at it and see what's changed. :D
     
    • No Problem! No Problem! x 1
  7. Shazzy
    Offline

    Shazzy Active Member

    Joined:
    Mar 6, 2015
    Messages:
    518
    Likes Received:
    29
    Here it is:
     

    Attached Files:

    • Thanks! Thanks! x 1
  8. alchimyst
    Offline

    alchimyst Member

    Joined:
    Apr 25, 2016
    Messages:
    82
    Likes Received:
    4
    works perfectly, thanks a ton :D
     
    • No Problem! No Problem! x 1
Similar Threads: Rezzing old
Forum Title Date
Bug Reports Missing Mobile Missing Spawn Old Haven Saturday at 2:07 PM
Script Support Update my old script? Wednesday at 8:55 AM
ServUO Discussion Farming gold with Create Food May 13, 2017
Archived Bug Reports Trapdoorspider spawn - no delay. Players farm gold. May 13, 2017
Clients Older Client Resource including Beta Client May 6, 2017
Archived Bug Reports Gold for tithing points should be able to get from bank account Apr 12, 2017
ServUO Discussion OldWrong & OldShame Apr 11, 2017