RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

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

No permission to download

Chevelle

Sorceror
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.
 

Chevelle

Sorceror
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.
 

Chevelle

Sorceror
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.
 

Kafeterya

Wanderer
I'm not sure how to fix the issue's you are having, I just wanted to point out that he specifically says it is for RunUO 2.3 (which has the MLQuests references that you see in your errors. It compiled for me ok on 2.3. It looks like you are using 2.2 that doesnt have ML Support. That may be the base of all your issues.


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

Attachments

  • BaseCreature.cs
    155.4 KB · Views: 25
  • PlayerMobile.cs
    120.4 KB · Views: 25

Hammerhand

Knight
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/
 

Chevelle

Sorceror
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.
 

Hammerhand

Knight
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.
 

fffkingrage

Sorceror
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)
 

Tru

Knight
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)

Do you have more info? ie who was doing what?
 
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/
i don't see this mlquest system in there. can you help me out?
 

fffkingrage

Sorceror
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')
 

Coryrnewton

Wanderer
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')


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.
 
  • Like
Reactions: Tru

Hammerhand

Knight
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.
 
Top