[2.x] RoninGT's FS: Animal Taming Systems Gen2 (for RunUO 2.3) 1.0.0

FS: Animal Taming Systems (Generation 2) v1.0.0

  1. Tru

    Tru Knight

    Messages:
    13,165
    Armistices likes this.
  2. milva

    milva Sorceror

    Messages:
    2,906
    Great system so many will enjoy this update!
    Tru likes this.
  3. Chevelle

    Chevelle Sorceror

    Messages:
    43
    Thanks for this. I have some issues. Using UO Classic patched to latest, I downloaded RunUo 2.3 (the compiler says 2.2?) and then downloaded this package. Replaced the distros and got some errors.

    First was this:

    RunUO - [www.runuo.com] Version 2.2, Build 4782.3756
    Core: Running on .NET Framework Version 2.0.50727
    Core: Optimizing for 8 64-bit processors
    Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
    Errors:
    + Mobiles/Animals/Mounts/BaseMount.cs:
    CS0101: Line 454: The namespace 'Server.Mobiles' already contains a definiti
    on for 'BlockMountType'
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.

    I found this in BaseMount:

    Code:
        public enum BlockMountType
        {
            None = -1,
            Dazed,
            BolaRecovery,
            DismountRecovery
        }
    and this in PlayerMobile:

    Code:
        public enum BlockMountType
        {
            None = -1,
            Dazed = 1040024,
            BolaRecovery = 1062910,
            DismountRecovery = 1070859
        }
    I am not a programmer but to try to get past this error, I commented out the section in BaseMount. Was that the correct thing to do?

    So tha error for that was removed but then I get this:

    RunUO - [www.runuo.com] Version 2.2, Build 4782.3756
    Core: Running on .NET Framework Version 2.0.50727
    Core: Optimizing for 8 64-bit processors
    Scripts: Compiling C# scripts...ScriptCompiler: CS0234: The type or namespace na
    me 'MLQuests' does not exist in the namespace 'Server.Engines' (are you missing
    an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'IQuestGiver' could not be fo
    und (are you missing a using directive or an assembly reference?)
    ScriptCompiler: CS0234: The type or namespace name 'MLQuests' does not exist in
    the namespace 'Server.Engines' (are you missing an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'MLQuest' could not be found
    (are you missing a using directive or an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'MLQuest' could not be found
    (are you missing a using directive or an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'MLQuest' could not be found
    (are you missing a using directive or an assembly reference?)
    done (0 errors, 0 warnings)
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.

    Probably I am making some simple mistake but as I said I am not a programmer so I am not sure where to go from here.

    Any help is greatly appreciated.
  4. Chevelle

    Chevelle Sorceror

    Messages:
    43
    Yes I mentioned that. I believe that is a RunUo typo because this is compiled from the 2.3 folder downloaded from Google Codes (RunUO2.3r987_Full). Also this server compiles with Neruns distro that only works with 2.3. Could be I have some unfinished sever download, I did have some trouble finding 2.3 (the download on the home page gives you 2.2 which, btw, reads 2.1 in the compiler).

    *edit* When I look at the original files of the server , the ML stuff is missing. I am really confused that this works with Neruns distro for 2.3 but is missing the ML stuff. I guess I have an unfinished 2.3 version and I can't seem to find 2.3 anywhere but this one.
  5. Chevelle

    Chevelle Sorceror

    Messages:
    43
    Okay, found a working RunUo2.3 build but the errors are still the same as stated before.

    RunUO - [www.runuo.com] Version 2.3, Build 4812.40311
    Core: Running on .NET Framework Version 2.0.50727
    Core: Optimizing for 8 64-bit processors
    Scripts: Compiling C# scripts...ScriptCompiler: CS0234: The type or namespace na
    me 'MLQuests' does not exist in the namespace 'Server.Engines' (are you missing
    an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'IQuestGiver' could not be fo
    und (are you missing a using directive or an assembly reference?)
    ScriptCompiler: CS0234: The type or namespace name 'MLQuests' does not exist in
    the namespace 'Server.Engines' (are you missing an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'MLQuest' could not be found
    (are you missing a using directive or an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'MLQuest' could not be found
    (are you missing a using directive or an assembly reference?)
    ScriptCompiler: CS0246: The type or namespace name 'MLQuest' could not be found
    (are you missing a using directive or an assembly reference?)
    done (0 errors, 0 warnings)
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.

    And what to do about the BlockMountType error? I removed the one in BaseMount but not sure that is correct fix seeing as the two pieces of code do not look exactly alike.
  6. Kafeterya

    Kafeterya Squire

    Messages:
    40

    I am using the Click & Play version of RunUO 2.3 with Nerun Distro and i am getting the same MLQuests errors.

    Attached Files:

  7. Hammerhand

    Hammerhand Knight

    Messages:
    8,583
    RunUO 2.3 with or without Neruns distro doesnt have the MLQuests. You'd have to either comment out the lines concerning MLQuest or IQuestGiver, or add the MLQuest system into 2.3 (which would probably be a lot harder). The entries for MLQuests & IQuestGiver are in BaseCreature.cs & PlayerMobile.cs in the FSATS Distros folder. Thats the only 2 places... just several entries.

    *Edit* Upon further research, the latest SVN apparently DOES have the MLQuest content, but again.. RunUO 2.3 does not. At least not the version released by Nerun with his Distros.
    Latest >> https://code.google.com/p/runuo/
  8. Chevelle

    Chevelle Sorceror

    Messages:
    43
    Thanks for the info Hammerhand. On a side not, the only place I found 2.3 is with nerun's click and play. The download on the mainpage still shows version 2.2 when compiled. Any idea whether or not this is just typo? Strange though because when I compile nerun's package, it shows version 2.3.
  9. Hammerhand

    Hammerhand Knight

    Messages:
    8,583
    Neruns package setup has the 2.3 in the AssemblyInfo.cs in the Server core, the reg 2.3 apparently only has it at 2.2... and it doesnt have the Server core files available. But then the "original" 2.2 showed 2.1, so.... I have both the stock 2.3 & 2.3 w/ Neruns Distro. stock.. 2.2.. w/Neruns.. 2.3. *shrugs* Both the same, just have 1 tiny number difference in 1 small script.
  10. fffkingrage

    fffkingrage Sorceror

    Messages:
    13
    Getting this error and crash when someone goes to turn their claim ticket in:

    Code:
    Exception:
    System.MissingMethodException: No parameterless constructor defined for this object.
      at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
      at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
      at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
      at System.Activator.CreateInstance(Type type, Boolean nonPublic)
      at Server.Mobiles.AnimalBreeder.OnDragDrop(Mobile from, Item dropped)
      at Server.Item.DropToMobile(Mobile from, Mobile target, Point3D p)
      at Server.Mobile.Drop(Mobile to, Point3D loc)
      at Server.Network.PacketHandlers.DropReq6017(NetState state, PacketReader pvSrc)
      at Server.Network.MessagePump.HandleReceive(NetState ns)
      at Server.Network.MessagePump.Slice()
      at Server.Core.Main(String[] args)
  11. Tru

    Tru Knight

    Messages:
    13,165
    Do you have more info? ie who was doing what?
  12. fffkingrage

    fffkingrage Sorceror

    Messages:
    13
    I've replicated it again and again, it's whenever a claim ticket is handed in to an animal breeder.
  13. Poseidon-Demonic Danger

    Poseidon-Demonic Danger Squire

    Messages:
    521
    i don't see this mlquest system in there. can you help me out?
  14. Hammerhand

    Hammerhand Knight

    Messages:
    8,583
    There are no MLQuests in 2.3 Or Neruns Distro.
  15. Poseidon-Demonic Danger

    Poseidon-Demonic Danger Squire

    Messages:
    521
    The SVN was what I was referring to
  16. Hammerhand

    Hammerhand Knight

    Messages:
    8,583
  17. Poseidon-Demonic Danger

    Poseidon-Demonic Danger Squire

    Messages:
    521
    hmm it seems they got rid of that revision or i'm missing something. the current one posted on their website is 987
  18. fffkingrage

    fffkingrage Sorceror

    Messages:
    13
    Alright, so I re-imported all the scripts, leaving out the MLQuest lines to prevent errors, and again, everything functions aside from turning in Claim tickets to animal breeders = server crash with above message.

    Also, I've had some reports that taming BODs are not working right.

    EDIT: I checked out Tame BODs, player said he could accept one, but it never appeared. I manually created one, and when I put it into my inventory, I got another server crash, with this log:

    Code:
    RunUO Version 2.3, Build 4812.40313
    Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
    .NET Framework: 4.0.30319.296
    Time: 5/2/2013 3:23:17 PM
    Mobiles: 40065
    Items: 202795
    Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
      at Server.Engines.BulkOrders.SmallMobileBOD.GetProperties(ObjectPropertyList list)
      at Server.Item.get_PropertyList()
      at Server.Item.InvalidateProperties()
      at Server.Item.AddItem(Item item)
      at Server.Items.BaseContainer.OnDragDropInto(Mobile from, Item item, Point3D p)
      at Server.Item.OnDroppedInto(Mobile from, Container target, Point3D p)
      at Server.Item.DropToItem(Mobile from, Item target, Point3D p)
      at Server.Mobile.Drop(Item to, Point3D loc)
      at Server.Network.PacketHandlers.DropReq6017(NetState state, PacketReader pvSrc)
      at Server.Network.MessagePump.HandleReceive(NetState ns)
      at Server.Network.MessagePump.Slice()
      at Server.Core.Main(String[] args)
     
    Clients:
    - Count: 2
    + 96.42.145.220: (account = admin) (mobile = 0x4B9A 'Admin TalRave')
    + 68.56.200.173: (account = dave) (mobile = 0x102AB 'StiflerIV')
  19. Coryrnewton

    Coryrnewton Page

    Messages:
    1

    To correct the taming BOD's issue make sure your taming data is in the right spot "data\bulk orders\taming" that should fix that issue.
    Tru likes this.
  20. Hammerhand

    Hammerhand Knight

    Messages:
    8,583
    BaseVendor.cs needed a bit of work to get the NPC to accept the taming bod's..
    line 750
    Code:
    if ( dropped is SmallBOD || dropped is LargeBOD )
    changed to
    Code:
    if (dropped is SmallBOD || dropped is LargeBOD || dropped is SmallMobileBOD || dropped is LargeMobileBOD)
    and line 764
    Code:
    else if ( ( dropped is SmallBOD && !( (SmallBOD)dropped ).Complete ) || ( dropped is LargeBOD && !( (LargeBOD)dropped ).Complete ) )
    changed to
    Code:
    else if ((dropped is SmallBOD && !((SmallBOD)dropped).Complete) || (dropped is LargeBOD && !((LargeBOD)dropped).Complete) || (dropped is SmallMobileBOD && !((SmallMobileBOD)dropped).Complete) || (dropped is LargeMobileBOD && !((LargeMobileBOD)dropped).Complete))
    This was on a 2.3 w/ Neruns Distro & OWLTR 3.01.00. FS-ATS downloaded from this thead. NPC accepts BOD's now & returns reward as it should.
    shtoink and Tru like this.

Share This Page