|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Shrink System version 2.1, by Xanthos
Introduction The Shrink System allows pets to be shrunken to small statuettes that can be carried in a player's backpack. Many options are provided to control the system and the properties of the shrunken pets. Two items are provided to allow players to access the shrink function as well as a staff command. Staff may shrink wild animals and other people's pets for safe keeping. The shrink algorithm is fast and simple and works with any pet or pet system. Commands:
Unzip the Xanthos folder into your customs folder. Copy ShrinkConfig.xml to your RunUO\Data folder if you wish to modify configuration parameters. Requirements Requires the Xanthos Utilities package. Caveats You may use or modify this system in any way you desire, however I ask that you leave the original headers in the source files if you re-write or redistribute the sources in any way. - Xanthos Last edited by Xanthos; 11-11-2006 at 09:23 PM. |
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Mar 2005
Posts: 1,155
|
The shrink command is set for gamemaster access and up. Since it doesn't do a check on "ownership" you probably don't want players having access to that command. They'd be able to shrink anything and that includes non-tamables too!
If you want your players to be able to shrink their own pets then you can always hunt for the shrink potion script and make it player craftable.
__________________
![]() |
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
Join Date: Sep 2006
Location: Ukraine
Posts: 930
|
I dont know what it mean but i think what it little problem
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...done (cached) Scripts: Compiling VB.NET scripts...no files found. Scripts: Verifying...done (2757 items, 625 mobiles) Regions: Loading...done World: Loading...Loading Jailings 0 Jailings Loaded:0 done (59182 items, 1311 mobiles) (4,41 seconds) Reports: Stats: Loading...done Reports: Staff: Loading...done Sorious' Ingame Forums --------- Loading...done --------- Xanthos.Utilities.ConfigParser attempting to load Data/ShrinkConfig.xml... Xanthos.Utilities.ConfigParser success! Xanthos.Utilities.ConfigParser error: Input string was not in a correct format. Element: <ShrunkenWeight>25.0</ShrunkenWeight> Address: 127.0.0.1:2593 |
|
|
|
|
|
#10 (permalink) |
|
Guest
Posts: n/a
|
ShrinkWeight is definately a double and not an int so the decimal is valid. This is a strange problem you are seeing and unfotunately I have no idea what causes it but I am guessing it is not due to my code. Try with a brand new installation of RunUO 2.0 and only my package and I bet you no longer see it.
|
|
|
|
#13 (permalink) |
|
Forum Expert
|
I've run into a small slightly irritating issue. When players shrink certain pets, they turn into a little ball colored the hue of the pet. When the pets are in this ball form, they also are counting towards the follower count, and they don't show the details of the pet (such as pet name, gender, etc.)
Not sure if it's this system that is causing this, or the FSAnimal Taming system. Could you please advise Xanthos?
__________________
In some cases stupid makes you win-Radwen |
|
|
|
|
|
#15 (permalink) | |
|
Guest
Posts: n/a
|
Quote:
The fact that pets are still showing as taking up follower slots even when shrunken is probably the FS Taming system misbehaving. I advise that you remove that system from your hard disk - sorry to say this but I really find that code to be problematic. Last edited by Xanthos; 10-18-2006 at 10:42 PM. |
|
|
|
|
#16 (permalink) |
|
Guest
Posts: n/a
|
When we shrink a pet the statuette only says a shrunken pet is there anyway that It can be made so it uses the pets name and not the generic "a shrunken pet" title? I also can't add the pet leash to a vendor I am watching to see if anyone has any luck. I ended up making a spawner at the stables to spawn one like a rare item The system will let you "[add spawner petleash" and thus it is available to the players. This gives them away and often you get paged that someone needs one and it has not spawned fast enough. Also is there a way to use something like in the ant system to charge the pet leash like we charge the bags of sending and pet balls? Hope you all can help figure these little issues out so this system will be flawless and lots of fun!
![]() |
|
|
|
#17 (permalink) |
|
Guest
Posts: n/a
|
There is a configuration file that, once placed in the Data directory, will provide a means for you to configure the system - its documented in the readme file. You can configure things like charges, skill required, bless status, etc.
What happens when you try to add one to a vendor and how are you trying to add one? I will fix the issue with the name in the next release. |
|
|
|
#18 (permalink) |
|
Guest
Posts: n/a
|
Yes I put that into the data directory I will check it out I didn't look at it just copied it there as is.
This is a few of the lines from the vendor I created to sell things that were not normal stuff I made her a gypsy maiden ( with animal trainer products and fruits and vegies ) Code:
//Add( new GenericBuyInfo( typeof( PetLeash ), 5000, 20, 0x1374, 0 ) ); Add( new AnimalBuyInfo(1, typeof( ColoredBeetle ), 3000, 20, 0x317,0 ) ); Add( new AnimalBuyInfo(1, typeof( ColoredHorsie ), 1000, 20, 0xE2, 0 ) ); Add( new AnimalBuyInfo(1, typeof( Beetle ), 2000, 20, 0x317, 0 ) ); |
|
|
|
#23 (permalink) |
|
Forum Newbie
Join Date: Nov 2004
Posts: 40
|
Well I just extracted everything as in the readme, on a clean install of runuo and all works fine, in shrinkconfig.xml petdetails is set to true, but all I see when I shrink a pet is: A shrunken pet, and if its bonded, I see a (bonded) under it
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|