System Daily Rares System V1.3

An added upon version of Erica's FS Daily Rare System from RunUO

  1. Sareus

    Sareus Super Contributor

    Sareus submitted a new resource:

    WARNING: I designed this on an AoS Era Server. People using older Eras are reporting Problems with the items not stay as statics properly Be warned this may not work for you quite yet I'm working on a fix.

    Daily Rares System - An added upon version of Erica's FS Daily Rare System from RunUO

    Read more about this resource...
     
    Last edited: May 12, 2015
    • Like Like x 2
  2. Sareus

    Sareus Super Contributor

    [​IMG]

    The runebook was a travel book my shard used updated to have an admin version but staffrunebook toolbar took care of that problem now. I haven;t added the runebook to this as its not updated with all the locations.
     
    • Like Like x 1
  3. SomeDude

    SomeDude Renowned Member

    Very cool man nice work :Thumbsup:
     
    • Like Like x 1
  4. Sareus

    Sareus Super Contributor

    Thanks, it was only time consuming to find places for the items. Besides I know not everyone is going to like my placement hence the easily edited cords.
     
    • Like Like x 1
  5. Greed

    Greed Grandmaster Member Gold Star Member

    .
     
    Last edited: Sep 28, 2016
    • Useful Useful x 1
  6. Greed

    Greed Grandmaster Member Gold Star Member

    .
     
    Last edited: Sep 28, 2016
    • Informative Informative x 1
  7. Sareus

    Sareus Super Contributor

    Hmm thats odd ill take a look at that then. Thank you Greed
     
    • Like Like x 1
  8. Sareus

    Sareus Super Contributor

    I just checked I can in fact move every daily rare as both admin and player I even had a player test for me. Could you provide any other information on the issue?

    You didnt by chance edit lines 34 or 41 of DailyRareSystem.cs did you they should look like this.

    Code:
    foreach ( Item item in World.Items.Values )
                {
                    if ( item is BaseDailyRare )
                    {
                        BaseDailyRare bdr = (BaseDailyRare)item;
                        if ( bdr.HasBeenMoved == false )     //line 34
                            toDelete.Add( bdr );
                    }
                    
                    if ( item is BaseDailyRareCont )
                    {
                        BaseDailyRareCont bdrc = (BaseDailyRareCont)item;
                        if ( bdrc.HasBeenMoved == false )     //line 41
                            toDelete.Add( bdrc );
                    }
    As for the bookcase

    Bookcase.png
     
    Last edited: Mar 13, 2015
    • Like Like x 1
  9. Greed

    Greed Grandmaster Member Gold Star Member

    .
     
    Last edited: Sep 28, 2016
    • Useful Useful x 1
  10. Greed

    Greed Grandmaster Member Gold Star Member

    .
     
    Last edited: Sep 28, 2016
    • Informative Informative x 1
  11. Sareus

    Sareus Super Contributor

    That depends actually. Did it in fact become movable after those changes correct. Because:

    1) system turned on spawns rares
    2) checks every so often to see if rare have been moved yet.
    A) if yes start a decay timer unless locked down/secured in a house
    B) if no leave it how it is where it is.
    3)If server is turned back on check to see how many spawn spots still have a rare and those that dont respawn them.

    Ill dig through this more need coffee and food at the moment it's like 3am for me.

    Best I can say until I get back to you sometime today as I have some errands to run today is:
    Test it out let me know how those changes have effected anything other then the movability. The only things im pretty sure may happen with these changes is the following:

    1)It may just work for you now because of older clients handling scripts and systems differently.
    2)they are in fact movable but may cause the system to start deleting them too much or not enough.
    3)Nothing at all changes. (we already know that to be false so yeap =P)

    because Lines 46-59 and 125-135 of BaseDailyRares.cs

    Code:
    public override bool VerifyMove( Mobile from )
            {
                if ( m_CantBeLifted == true ) // For fruit baskets that require you to eat fruit before taking basket.
                    return false;
    
                else if ( this.Movable == false && m_HasBeenMoved == false )
                {
                    this.Movable = true;
                    m_HasBeenMoved = true;
                    return true;
                }
    
                return Movable;     
            }
    
    
    Code:
    public override bool VerifyMove( Mobile from )
            {
                if ( this.Movable == false && m_HasBeenMoved == false )
                {
                    this.Movable = true;
                    m_HasBeenMoved = true;
                    return true;
                }
    
                return Movable;    
            } 
    I apologize for your issues as I didn't have the foresight to think people would use this on a client older then mine xD
     
    Last edited: Mar 14, 2015
    • Like Like x 1
  12. Greed

    Greed Grandmaster Member Gold Star Member

    .
     
    Last edited: Sep 28, 2016
    • Friendly Friendly x 1
  13. Dian

    Dian Administrator

    Maybe set Decays = false ?
     
  14. Sareus

    Sareus Super Contributor

    Sorry my support slacked off I haven't been able to diversify my time well and sleeps been one of the losing pie chart pieces. This issue is still being looked at I promise.
     
    • Like Like x 1
  15. Forest Condon

    Forest Condon Illustrious Member

    I am also having the same issue. Other than that this looks awesome. By the way is there an easy way to make no felucca spawns? I removed Felucca from my server. Always hated the idea of having 2 of the same map. and would like to keep everything to the rest of the maps.
     
  16. Sareus

    Sareus Super Contributor

    Greed may have actually found a fix for people using past Era versions of UO so that the items are static until moved. it has to do with the way old eras load object properties so I'm looking into it and seeing what I can do with that information.

    As for the disabling of Felucca's Spawns


    Daily rares v1.2>Core>DailyRaresSystem.cs
    All spawn locations and toggle-able switches for which sets of rares are spawning.


    Code:
    // Enables Daily Rare System
            public static readonly bool DailyRaresEnabled = true;
    
            // Enables Custom Rares
            public static readonly bool EnableCustomRares = true;
    
            // Enables Maps "If your server only uses a set number of maps, Disable the ones you dont need."
            public static readonly bool EnableFelucca = true;  << Toggle this to false
            public static readonly bool EnableTrammel = true;
            public static readonly bool EnableMalas = true;
            public static readonly bool EnableIlshenar = true;
            public static readonly bool EnableTokuno = true;
    It will stop the spawning of items set to Felucca however they are not similar to the ones that spawn in Trammel so you will lose access to some of them unless you change there spawn points to Trammel.
     
    • Like Like x 1
  17. Forest Condon

    Forest Condon Illustrious Member

    I'm an idiot thanks for the quick reply. I added it to my system and only made the change of false for felucca however when I boot the server I get this error,

    Errors:
    + Custom/Daily Rares v1.2/Core/DailyRaresSystem.cs:
    CS1526: Line 278: A new expression requires (), [], or {} after type
    CS1525: Line 278: Invalid expression term ')'
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.

    Which is this line.

    DailyPinkFuton fdpf = new DailyCheckers);

    Any suggestion?
     
    • Informative Informative x 1
  18. Crymi

    Crymi Illustrious Member

    according to what you've posted

    DailyPinkFuton fdpf = new DailyCheckers;
    {

    but thats without seeing the code if you pasted the qhole section in code would be easier to identify
     
    • Agree Agree x 1
  19. Talow

    Talow Grandmaster Member

    DailyPinkFuton fdpf = new DailyCheckers);
    to
    DailyPinkFuton fdpf = new DailyCheckers();
     
    • Agree Agree x 1
  20. Sareus

    Sareus Super Contributor

    Greed point this out to me give me 5 minutes Ill fix it and upload a fixed version so you don't have to bother.
     
    • Like Like x 1
  21. Sareus

    Sareus Super Contributor

    Last edited: May 13, 2015
    • Like Like x 1
  22. Sareus

    Sareus Super Contributor

    Im downloading the latest release of JustUO to set the Era as Ren to attempt to get an environment set up to test the problem some of you've been having. Greed if you could give me an idea of where or what you changed for the Object Properties id be most grateful.
     
    Last edited: May 12, 2015
    • Like Like x 1
  23. Forest Condon

    Forest Condon Illustrious Member

    One last question about this awesome system. I see you posted a screenshot of a awesome looking gymp that takes you easily to each rare for checking / testing etc. Any chance you can include that somehow? Right now I think the only current way is to go into the scripts and manually go to each coord?
     
  24. Greed

    Greed Grandmaster Member Gold Star Member

    .
     
    Last edited: Sep 28, 2016
  25. Sareus

    Sareus Super Contributor

    That maybe while I didnt see the problem right off I used my own version of that system I scripted and released pieces of while advising people his system was better. In short I may not have had the same problem because I was unknowingly using the work around.

    I have verified your not crazy running a Ren Era server prevents most of the custom Dailys from spawning. Im wondering if this is an ItemID issue with the lower client version or if its maybe something simpler and just a conflict with my code structure.

    Ill try to clean it up a bit for you and get that to you in a few minutes have to remember where it is in my script archive As I stopped using it when i switched from RunUO to JustUO due to the staffrunebook command built into JustUO. rather then hand coding the coordinates I was just able to copy and past the locations from the daily rares system straight into the code for the JustUO Runebook Command without having to change the coding. So I do have a working copy of the travelbook you want a copy of but its just not up-to-date.
     
    • Like Like x 1

Share This Page