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

Hammerhand

Knight
The script looks to be correct. Did you put the Taming data folder in Data/BulkOrders folder? Its a folder called Taming that contains several cfg files. It needs to be in the Data folder.
 

土豆丝

Traveler
I do so after may still be wrong?

public enum OrderType
{
None,//When no order, let's roam
Come,//"(All/Name) come" Summons all or one pet to your location.
Drop,//"(Name) drop" Drops its loot to the ground (if it carries any).
Follow,//"(Name) follow" Follows targeted being.
//"(All/Name) follow me" Makes all or one pet follow you.
Friend,//"(Name) friend" Allows targeted player to confirm resurrection.
Unfriend,// Remove a friend
Guard,//"(Name) guard" Makes the specified pet guard you. Pets can only guard their owner.
//"(All/Name) guard me" Makes all or one pet guard you.
Attack,//"(All/Name) kill",
//"(All/Name) attack" All or the specified pet(s) currently under your control attack the target.
Patrol,//"(Name) patrol" Roves between two or more guarded targets.
Release,//"(Name) release" Releases pet back into the wild (removes "tame" status).
// >>> [1st change of 2]
Dismiss,//"(Name) dismiss" Dismiss hireling (removes "tame" status).
// end 1st
Stay,//"(All/Name) stay" All or the specified pet(s) will stop and stay in current spot.
Stop,//"(All/Name) stop Cancels any current orders to attack, guard or follow.
Transfer//"(Name) transfer" Transfers complete ownership to targeted player.
}
 

Attachments

  • BaseCreature.cs
    156.5 KB · Views: 5

土豆丝

Traveler
yes RunUO-SVN-1057 + Rev131.7z

RunUO - [www.runuo.com] Version 2.3, Build 4856.25877
Core: Running on .NET Framework Version 4.0.30319
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...done (3050 items, 895 mobiles) (2.85 seconds)
Regions: Loading...done
World: Loading...done (198544 items, 37496 mobiles) (8.16 seconds)
Restricting client version to 7.0.26.5. Action to be taken: LenientKick
ServerList: Auto-detecting public IP address...done (119.147.167.204)

Joeku's Staff Runebook: Loading...

Listening: 192.168.1.200:2593
Listening: 192.168.1.206:2593
Listening: 127.0.0.1:2593
Warning: 34 bad spawns detected, logged: 'PremiumBadspawn.log'
 

土豆丝

Traveler
public virtual void OnThink()
{
if ( this.Tamable == true )
{
if ( this.NextLevel == 0 )
{
int totalstats = this.Str + this.Dex + this.Int + this.HitsMax + this.StamMax + this.ManaMax + this.PhysicalResistance + this.FireResistance + this.ColdResistance + this.EnergyResistance + this.PoisonResistance + this.DamageMin + this.DamageMax + this.VirtualArmor;
int nextlevel = totalstats * 10;

this.NextLevel = nextlevel;
}

if ( this.MaxLevel == 0 )
{
this.MaxLevel = Utility.RandomMinMax( 10, 30 );
}
}

So the addition of the problem being solved
 

ByAccident

Wanderer
The script looks to be correct. Did you put the Taming data folder in Data/BulkOrders folder? Its a folder called Taming that contains several cfg files. It needs to be in the Data folder.

think so
folders are set up like this
<serverroot>\data\Bulk orders\Taming\bulk orders\Small BOD Info
<serverroot>\data\Bulk orders\Taming\bulk orders\Large Bod Info
<serverroot>\data\Bulk orders\Taming\rewards
<serverroot>\data\Bulk orders\Taming\Taming BOB
 

Hammerhand

Knight
There are 3 folders that have Taming in the name. Animal Taming BODs, Taming and Taming Craft. The Animal Taming BODs & Taming Craft folders stay in the FS-ATS foldr & go in your customs folder. The Taming folder (contains 13 cfg files) goes in Data/BulkOrders.
 

ByAccident

Wanderer
think so
folders are set up like this
<serverroot>\data\Bulk orders\Taming\bulk orders\Small BOD Info
<serverroot>\data\Bulk orders\Taming\bulk orders\Large Bod Info
<serverroot>\data\Bulk orders\Taming\rewards
<serverroot>\data\Bulk orders\Taming\Taming BOB

nvm did it wrong , still not working but the files are in the right place now
 

ByAccident

Wanderer
There are 3 folders that have Taming in the name. Animal Taming BODs, Taming and Taming Craft. The Animal Taming BODs & Taming Craft folders stay in the FS-ATS foldr & go in your customs folder. The Taming folder (contains 13 cfg files) goes in Data/BulkOrders.

tnx for the help, starting over from 0 now on a new pc , putting this script in first , then the daat and neruns ones , hope i get it up and running.
 

Hammerhand

Knight
It does work. I have a 2.3 tester with Daat99's OWLTR, Neruns Distro and FS-ATS (the latest ones) installed just to see if it could be done. It was fairly easy, just need to follow the directions closely & use WinMerge where needed.
 

ByAccident

Wanderer
nice to know , will prob take me 3 days and alot of redoing to get it to work. I suppose you arn't sharing the data and scripts folders :)
 

ByAccident

Wanderer
hmmz, got a strange problem now
got the system running bot encountered the problem you didn't got any bod's , so i went and changeed the 4 files and the fix in basevendor.cs.
When i boot the server at world load it's giving me :

World: Loading...An error was encountered while loading a saved object
- Type: Server.Mobiles.Baker
- Serial: 0x00000008
Delete the object? (y/n)

and over and over again with differend npc's

-----
Edit:
cleared out all item and npc saves, put in all fixes i found in this threat but when i ask for a bod i'm not getting any, I do get the msg i can but nothing happens, just gives me the msg i have to wait some minutes to get a new bod
i can do [add but when i try to pick it up my server crashes

RunUO Version 2.2, Build 4782.3756
Operating System: Microsoft Windows NT 6.1.7600.0
.NET Framework: 2.0.50727.4984
Time: 2/07/2013 23:57:00
Mobiles: 2
Items: 38
Exception:
System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
bij Server.Engines.BulkOrders.SmallMobileBOD.GetProperties(ObjectPropertyList list)
bij Server.Item.get_PropertyList()
bij Server.Item.InvalidateProperties()
bij Server.Item.set_Map(Map value)
bij Server.Item.AddItem(Item item)
bij Server.Items.BaseContainer.OnDragDropInto(Mobile from, Item item, Point3D p)
bij Server.Item.OnDroppedInto(Mobile from, Container target, Point3D p)
bij Server.Item.DropToItem(Mobile from, Item target, Point3D p)
bij Server.Mobile.Drop(Item to, Point3D loc)
bij Server.Network.PacketHandlers.DropReq6017(NetState state, PacketReader pvSrc)
bij Server.Network.MessagePump.HandleReceive(NetState ns)
bij Server.Network.MessagePump.Slice()
bij Server.Core.Main(String[] args)
Clients:
- Count: 1
+ 192.168.123.19: (account ='myaccount') (mobile = 0x1 'mychar')
 

Hammerhand

Knight
Ok, post your Large and Small Mobile BOD scripts, your Large and Small Taming BOD scripts and your BaseVendor.cs. Just use the upload file to post them, no need to copy & paste them into code tags. In fact, if you want, put them in a folder, rar or zip it up, then post that.
 

ByAccident

Wanderer
here are the files , can I thank you already for the trouble and the time
 

Attachments

  • LargeTamingBOD.cs
    9.2 KB · Views: 6
  • LargeMobileBOD.cs
    5.9 KB · Views: 6
  • SmallMobileBOD.cs
    5.6 KB · Views: 5
  • SmallTamingBOD.cs
    7.9 KB · Views: 5
  • BaseVendor.cs
    36.6 KB · Views: 4

Hammerhand

Knight
when i ask for a bod i'm not getting any, I do get the msg i can but nothing happens, just gives me the msg i have to wait some minutes to get a new bod
i can do [add but when i try to pick it up my server crashes

Your scripts match what I have in my tester, so it should be working. One thing you might try is installing .NET Framework 4 As for using [add how exactly are you doing this? [add tamingbod will give you a gump for both Large & Small Taming BODs & I get no crashes when picking them up. When you ask for the BOD, does it say you have to wait for one the first time you ask or are you asking again?
 

ByAccident

Wanderer
tnx again Hammerhand.
i retested the bod as you said. (installed .net 4 also).
crash seems to be gone, I can do [add tamingbod i get the runuo gump with the large and small , when i pick one it creates the bod.
when i add an animal trainer and ask him for a bod now he also puts one in my backpack
but doesn't the bod have to say wat kind of animal you need to tame?
I got a large one saying the amount is 15 but no species is given.
 
Top