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!

[RunUO 2.0 RC1] FS: Animal Taming Systems Gen2

greywolf79

Sorceror
I cannot find a 2nd potionkeg file... I looked... It is just odd. But I will look again.

-------------
edit - I just checked and other than a potionkeg html in docs there is not another file named the same... As for having the info in a different file, it is a fresh install of RunUO 2.2, just downloaded and unzipped with this being the first mod to the system.
 

duponthigh

Sorceror
Ok maybe check your base potion file again . around line 7. I just thinking of things not that good at scripting sorry:(
 

sexylady

Sorceror
hi i have download the RunUO 2.0 RC1 FS: Animal Taming Systems Gen2 and i seem to get it to work on runuo 2.1 i have done all that u say on it and it still does not work can u send me the script for runuo 2.1 plz if u could thanks
 

Mondero

Squire
I tried to use this script on my 2.2 Version, too.
But i got "some" more errors. Yeah i was a bit lame on reading all tipps before and i´ll say before i´m an good scripter.
I made an screenshot of the Server.exe :



If u need anything specific, tell me, please.

Would be nice if some can help.
 

meeex

Sorceror
Hi
Please.. Can someone help me???
RunUO - [www.runuo.com] Version 2.2, Build 4526.25255
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 4 processors
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Compiling Workbench...done (cached)
Scripts: Verifying...done (3787 items, 991 mobiles) (2,49 seconds)
Regions: Loading...Empty area for region 'Orc Cave'
done
World: Loading...An error was encountered while loading a saved object
- Type: Server.Engines.Quests.Hag.Grizelda
- Serial: 0x0000000F
Delete the object? (y/n)
 

Mondero

Squire
Yeah. Move your UO Client out of your program fulder(or the full UOfulder) and rewrite the Datapath.cs too.
That "should" work.
 

sexylady

Sorceror
help i have download this installed and it has come up with

Errors:
+ Custom scripts/pet/Advanced Pet System/Mobiles/AnimalBreeder.cs:
CS1715: Line 15: 'Server.Mobiles.AnimalBreeder.SBInfos': type must be 'Syste
m.Collections.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'S
erver.Mobiles.BaseVendor.SBInfos'
CS0534: Line 12: 'Server.Mobiles.AnimalBreeder' does not implement inherited
abstract member 'Server.Mobiles.BaseVendor.SBInfos.get'

can anyone help me plz
 

Pakko

Traveler
Add this to the top of the script
Code:
using System.Collections.Generic;

In 2.0 RC2, the interface IVendor, looks like this:

Code:
public interface IVendor
{
bool OnBuyItems( Mobile from, ArrayList list );
bool OnSellItems( Mobile from, ArrayList list );
 
DateTime LastRestock{ get; set; }
TimeSpan RestockDelay{ get; }
void Restock();
}
[COLOR=#ff0000]Where as in the version you are using, which is newer than 2.0 RC2, IVendor looks like this:[/COLOR]
 
public interface IVendor
{
bool OnBuyItems( Mobile from, List<BuyItemResponse> list );
bool OnSellItems( Mobile from, List<SellItemResponse> list );
 
DateTime LastRestock{ get; set; }
TimeSpan RestockDelay{ get; }
void Restock();
}
[COLOR=#ff0000]This means that in order to properly implement the interface, you have to change these in BaseVendor:[/COLOR]
 
public virtual bool OnBuyItems( Mobile buyer, ArrayList list )
Code:
public virtual bool OnSellItems( Mobile buyer, ArrayList list )
to these:
 
 
public virtual bool OnBuyItems( Mobile buyer, List<BuyItemResponse> list )
Code:
public virtual bool OnSellItems( Mobile buyer, List<BuyItemResponse> list )

*Copy & Pasted, From a previous thread in the forums* Hope this help's... :)
 

Pakko

Traveler
Here you go -


Your section of code look's like this;

Code:
public class AnimalBreeder : BaseVendor
    {
        private ArrayList m_SBInfos = new ArrayList();
        protected override ArrayList SBInfos{ get { return m_SBInfos; } }
 
        [Constructable]
        public AnimalBreeder() : base( "the animal breeder" )
        {
            SetSkill( SkillName.AnimalLore, 64.0, 100.0 );
            SetSkill( SkillName.AnimalTaming, 90.0, 100.0 );
            SetSkill( SkillName.Veterinary, 65.0, 88.0 );
        }

Adn it should be like this;

Code:
public class AnimalTrainer : BaseVendor
    {
        private List<SBInfo> m_SBInfos = new List<SBInfo>();
        protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
 
        [Constructable]
        public AnimalTrainer() : base( "the animal trainer" )
        {
            SetSkill( SkillName.AnimalLore, 64.0, 100.0 );
            SetSkill( SkillName.AnimalTaming, 90.0, 100.0 );
            SetSkill( SkillName.Veterinary, 65.0, 88.0 );
        }

dont forget to add this to the top of the scritp;


Code:
using System.Collections.Generic;

Goodluck! :)
 

sexylady

Sorceror
now is says

Errors:
+ Custom scripts/pet/Advanced Pet System/Mobiles/AnimalBreeder.cs:
CS1520: Line 47: Class, struct, or interface method must have a return type
CS1002: Line 47: ; expected
CS1519: Line 47: Invalid token ')' in class, struct, or interface member dec
laration
+ Mobiles/Vendors/NPC/AnimalTrainer.cs:
CS0101: Line 12: The namespace 'Server.Mobiles' already contains a definitio
n for 'AnimalTrainer'
 

Pakko

Traveler
Ok for the "+ Custom scripts/pet/Advanced Pet System/Mobiles/AnimalBreeder.cs:" can you post the section of script in
Code:
This is what it will look like in code, the button to add this in code is next to the 66 button, in the top of this thread box.
and color (red) the line in particular its talking about!

And the second error, im pretty sure its telling you that there maybe 2x scripts in scripts/mobiles/vendors/NPC named animaltrainer!

Be sure to look over my recent post and make sure you have taken the apropriate information and put it where it need to go!

I personally dont have BIO or any "Breeder's" pursae... but try adding (;) at the end of line (47) in animalbreeder.cs
And if there is a second (2nd) script in the mobile/***/***/NPC folder take one out!

Try using notpad++ for getting the line (#) and for comparing scripts!
 

sexylady

Sorceror
still not work it just keep givin me errors i an using 2.1 it could be that i dont no it would be nice if i could get a workin copy for 2.1
 

sexylady

Sorceror
i installed all of it i just what a animal breeder that work not everthink else i have a pet leash but u have to do a quest to get it
 

Willfaith

Sorceror
6. Take the distros folder and if you have not made any custom mods to the distros you are welcome to use them as is. However if you do have custom mods to these distros i suggest using WinMerge to update your distros.
I do not understand this step. If I just put the folder distros as applied to him to do mods? :confused: sorry but I am Italian and perhaps do not understand! All Error are in Distros folder... What should I do? I used WinMerge but I do not know what to compare and then compared, exactly what to do!
Sorry for my newbie and Thanks 1KK
first.jpgsecond.jpgthird.jpg
 

milva

Sorceror
Posting pictures of your errors is not easy to read- copy and paste the errors from your runuo server box here.
 

Willfaith

Sorceror
Sorry, I did not want to take too much space with my post!


RunUO - [www.runuo.com] Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (9 errors, 0 warnings)
Errors:
+ Script inseriti da me/pet system/Distros/AnimalTrainer.cs:
CS0101: Line 14: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'AnimalTrainer'.
CS0102: Line 93: Il tipo 'Server.Mobiles.AnimalTrainer' contiene già una def
inizione per 'StableEntry'.
CS0102: Line 110: Il tipo 'Server.Mobiles.AnimalTrainer' contiene già una de
finizione per 'ClaimListGump'.
CS0102: Line 152: Il tipo 'Server.Mobiles.AnimalTrainer' contiene già una de
finizione per 'ClaimAllEntry'.
CS0102: Line 212: Il tipo 'Server.Mobiles.AnimalTrainer' contiene già una de
finizione per 'StableTarget'.
+ Script inseriti da me/pet system/Distros/BaseCreature.cs:
CS0101: Line 24: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'FightMode'.
CS0101: Line 34: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'OrderType'.
CS0101: Line 55: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'FoodType'.
CS0101: Line 66: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'PackInstinct'.
CS0101: Line 79: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'ScaleType'.
CS0101: Line 90: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'MeatType'.
CS0101: Line 97: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'HideType'.
CS0101: Line 107: Lo spazio dei nomi 'Server.Mobiles' contiene già una defin
izione per 'DamageStore'.
CS0101: Line 128: Lo spazio dei nomi 'Server.Mobiles' contiene già una defin
izione per 'FriendlyNameAttribute'.
CS0101: Line 165: Lo spazio dei nomi 'Server.Mobiles' contiene già una defin
izione per 'BaseCreature'.
CS0102: Line 1073: Il tipo 'Server.Mobiles.BaseCreature' contiene già una de
finizione per 'Allegiance'.
CS0102: Line 3106: Il tipo 'Server.Mobiles.BaseCreature' contiene già una de
finizione per 'TameEntry'.
CS0102: Line 3153: Il tipo 'Server.Mobiles.BaseCreature' contiene già una de
finizione per 'TeachResult'.
CS0102: Line 4336: Il tipo 'Server.Mobiles.BaseCreature' contiene già una de
finizione per 'DeathAdderCharmTarget'.
CS0102: Line 4565: Il tipo 'Server.Mobiles.BaseCreature' contiene già una de
finizione per 'FKEntry'.
CS0101: Line 5294: Lo spazio dei nomi 'Server.Mobiles' contiene già una defi
nizione per 'LoyaltyTimer'.
+ Script inseriti da me/pet system/Distros/BasePotion.cs:
CS0101: Line 7: Lo spazio dei nomi 'Server.Items' contiene già una definizio
ne per 'PotionEffect'.
CS0101: Line 39: Lo spazio dei nomi 'Server.Items' contiene già una definizi
one per 'BasePotion'.
+ Script inseriti da me/pet system/Distros/BaseVendor.cs:
CS0101: Line 15: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'VendorShoeType'.
CS0101: Line 24: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'BaseVendor'.
CS0102: Line 98: Il tipo 'Server.Mobiles.BaseVendor' contiene già una defini
zione per 'BulkOrderInfoEntry'.
CS0101: Line 1407: Lo spazio dei nomi 'Server.ContextMenus' contiene già una
definizione per 'VendorBuyEntry'.
CS0101: Line 1423: Lo spazio dei nomi 'Server.ContextMenus' contiene già una
definizione per 'VendorSellEntry'.
CS0101: Line 1442: Lo spazio dei nomi 'Server' contiene già una definizione
per 'IShopSellInfo'.
CS0101: Line 1463: Lo spazio dei nomi 'Server' contiene già una definizione
per 'IBuyItemInfo'.
+ Script inseriti da me/pet system/Distros/DefInscription.cs:
CS0101: Line 8: Lo spazio dei nomi 'Server.Engines.Craft' contiene già una d
efinizione per 'DefInscription'.
CS0102: Line 117: Il tipo 'Server.Engines.Craft.DefInscription' contiene già
una definizione per 'Reg'.
+ Script inseriti da me/pet system/Distros/PlayerMobile.cs:
CS0101: Line 31: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'PlayerFlag'.
CS0101: Line 49: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'NpcGuild'.
CS0101: Line 66: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'SolenFriendship'.
CS0101: Line 74: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'PlayerMobile'.
CS0102: Line 107: Il tipo 'Server.Mobiles.PlayerMobile' contiene già una def
inizione per 'CountAndTimeStamp'.
CS0102: Line 1415: Il tipo 'Server.Mobiles.PlayerMobile' contiene già una de
finizione per 'CancelRenewInventoryInsuranceGump'.
CS0102: Line 1474: Il tipo 'Server.Mobiles.PlayerMobile' contiene già una de
finizione per 'ContextCallback'.
CS0102: Line 1476: Il tipo 'Server.Mobiles.PlayerMobile' contiene già una de
finizione per 'CallbackEntry'.
CS0102: Line 3524: Il tipo 'Server.Mobiles.PlayerMobile' contiene già una de
finizione per 'ChampionTitleInfo'.
CS0102: Line 3529: Il tipo 'Server.Mobiles.PlayerMobile.ChampionTitleInfo' c
ontiene già una definizione per 'TitleInfo'.
+ Script inseriti da me/pet system/Distros/PlayerVendor.cs:
CS0101: Line 17: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'PlayerVendorTargetAttribute'.
CS0101: Line 24: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'VendorItem'.
CS0101: Line 79: Lo spazio dei nomi 'Server.Mobiles' contiene già una defini
zione per 'VendorBackpack'.
CS0102: Line 161: Il tipo 'Server.Mobiles.VendorBackpack' contiene già una d
efinizione per 'BuyEntry'.
CS0101: Line 265: Lo spazio dei nomi 'Server.Mobiles' contiene già una defin
izione per 'PlayerVendor'.
CS0102: Line 1247: Il tipo 'Server.Mobiles.PlayerVendor' contiene già una de
finizione per 'ReturnVendorEntry'.
CS0102: Line 1351: Il tipo 'Server.Mobiles.PlayerVendor' contiene già una de
finizione per 'PayTimer'.
CS0102: Line 1413: Il tipo 'Server.Mobiles.PlayerVendor' contiene già una de
finizione per 'PVBuyTarget'.
CS0102: Line 1429: Il tipo 'Server.Mobiles.PlayerVendor' contiene già una de
finizione per 'VendorPricePrompt'.
CS0102: Line 1532: Il tipo 'Server.Mobiles.PlayerVendor' contiene già una de
finizione per 'CollectGoldPrompt'.
CS0102: Line 1582: Il tipo 'Server.Mobiles.PlayerVendor' contiene già una de
finizione per 'VendorNamePrompt'.
CS0102: Line 1612: Il tipo 'Server.Mobiles.PlayerVendor' contiene già una de
finizione per 'ShopNamePrompt'.
CS0101: Line 1647: Lo spazio dei nomi 'Server.Mobiles' contiene già una defi
nizione per 'PlayerVendorPlaceholder'.
CS0102: Line 1684: Il tipo 'Server.Mobiles.PlayerVendorPlaceholder' contiene
già una definizione per 'ExpireTimer'.
+ Script inseriti da me/pet system/Distros/PotionKeg.cs:
CS0101: Line 7: Lo spazio dei nomi 'Server.Items' contiene già una definizio
ne per 'PotionKeg'.
+ Script inseriti da me/pet system/Distros/SBAnimalTrainer.cs:
CS0101: Line 8: Lo spazio dei nomi 'Server.Mobiles' contiene già una definiz
ione per 'SBAnimalTrainer'.
CS0102: Line 20: Il tipo 'Server.Mobiles.SBAnimalTrainer' contiene già una d
efinizione per 'InternalBuyInfo'.
CS0102: Line 61: Il tipo 'Server.Mobiles.SBAnimalTrainer' contiene già una d
efinizione per 'InternalSellInfo'.
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

"contiene già una definizione per" translated into English would be---> "already contains a definition for"


for example how correct first error with winmerge? removing code? Adding code? which files do I compare?
 

Willfaith

Sorceror
To weird did a Mod remove the link I posted for a tutorial of how to use Winmerge?
no I have removed! you're wrong to post in another 3d where I posted on a skillball! : D
I understand that I am WinMerge to compare two files to merge them and correct them ..... but I did not understand what files should I compare?!? : D
 
Top