Custom Item Shrink System version 2.0, by Xanthos (FIXES) 2015-04-04

Shrink sytem by Xanthos for latest JustUO svn

  1. Tasanar

    Tasanar Super Contributor

    Tasanar submitted a new resource:

    Shrink System version 2.0, by Xanthos (FIXES) - Shrink sytem by Xanthos for latest JustUO svn

    Read more about this resource...
     
    • Like Like x 2
  2. Tasanar

    Tasanar Super Contributor

    Simply lines to try out if you use a different shrink system that does not take into account the newest UO features.

    Code:
    else if ( pet.Allured )
                    from.SendMessage( "You cannot shrink a summoned creature!" );
              
                else if ( target is BaseTalismanSummon )
                    from.SendMessage( "You cannot shrink a summoned creature!" );
     
  3. SOA

    SOA Distinguished Member

    Nice Script thank you. But ShrinkConfig.xml is missing from the file.

    Also when go to add to a vendor to Sell Petleash is not referenced?? any idea on that?
     
  4. Tasanar

    Tasanar Super Contributor

    I am pretty sure it creates the xml. file on startup but I can include mine also what do you mean about the petleash?
     
  5. SOA

    SOA Distinguished Member

    It doesnt Create one, If you look at the Readme file it says to copy the ShrinkConfig.xml over. But inside the folder there is no ShrinkConfig.xml. about the petleash, Trying to put it on a Vendor to Sell and the server is puking on Nothing is referencing it. I have added it to the Server/item and the objects file and nodda. Also the Hitching post it has 2 but neither work in your house to shrink pets.
     
  6. Tasanar

    Tasanar Super Contributor

    SOA I did not play with the hitching post to much but will look into it.

    To add it to a vendor simply open the SB Info for the vendor you want to us (on mine it is sold on the animal trainer) and at the top add this -

    using Xanthos.ShrinkSystem;
     
  7. Tasanar

    Tasanar Super Contributor

    I actually do not have the ShrinkConfig.XML file even on my shard. Again I only went through and cleaned some code up. I just edited the ShrinkConfig.cs file to do what I wanted it to do.
     
  8. SOA

    SOA Distinguished Member

    Okay, did what you said. Does not Like this Xanthos.ShrinkSystem;
    This is on the Vendor trying to sell
    this.Add(new GenericBuyInfo(typeof(PetLeash), 3000, 10, 0xE76, 10));

    This is the Error getting .
    Errors:
    + Custom Systems/Broker/SBbroker.cs:
    CS0246: Line 41: The type or namespace name 'Petleash' could not be fou
    (are you missing a using directive or an assembly reference?)
    Scripts: One or more scripts failed to compile or no script files were found.
     
  9. Tasanar

    Tasanar Super Contributor

    Could you post a copy of your SBBroker please
     
  10. Tasanar

    Tasanar Super Contributor

    Nevermind hehe you named it Petleash in your SBInfo not PetLeash

    according to the error your posted!
     
  11. SOA

    SOA Distinguished Member

    did them Both ways and it still Errored.
     
  12. SOA

    SOA Distinguished Member

    Errors:
    + Custom Systems/Broker/SBbroker.cs:
    CS0246: Line 41: The type or namespace name 'PetLeash' could not be fou
    (are you missing a using directive or an assembly reference?)
    Scripts: One or more scripts failed to compile or no script files were found.
     
  13. Tasanar

    Tasanar Super Contributor

    please post a copy of your SBBroker
     
  14. SOA

    SOA Distinguished Member

    Copy of it
     

    Attached Files:

    • Like Like x 1
  15. Tasanar

    Tasanar Super Contributor

    replace

    using Xanthos.Utilities;

    with

    using Xanthos.ShrinkSystem;
     
  16. SOA

    SOA Distinguished Member

    Replaced still Getting this.

    Errors:
    + Custom Systems/Broker/SBbroker.cs:
    CS0246: Line 41: The type or namespace name 'Petleash' could not be found (a
    re you missing a using directive or an assembly reference?)
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.
     

    Attached Files:

  17. SOA

    SOA Distinguished Member

    hold up.. look like it worked
     
    • Like Like x 1
  18. Tasanar

    Tasanar Super Contributor

    You have it named Petleash again lol

    make sure this is

    using Xanthos.ShrinkSystem;

    and the name is PetLeash
     
  19. SOA

    SOA Distinguished Member

    it worked. We were working on this at 3am Thanks that worked.
     
  20. Tasanar

    Tasanar Super Contributor

    :) np bud.
     
  21. SOA

    SOA Distinguished Member

    That SBBroker is a Nice little Script as well.
     
  22. Forest Condon

    Forest Condon Illustrious Member

    Here is the XML file he is referencing. The system works without it but the XML adds some additional variables you can set that the system will cross reference.
     

    Attached Files:

Share This Page