System FS-ATS Gen2 v2.0.0 2015-02-12

Converted and Fixed and Cleaned Up.

  1. Crymi

    Crymi Illustrious Member

    Well without seeing a error log i am actually confussed i dont use this system so i am unaware of any of its code.. When your able to please get a error log and i am sure i can help you.
     
  2. Döschl

    Döschl Super Contributor

    i get the same errors .... fresh just-uo server without changes....

    Code:
    JustUO - [http://www.playuo.org] Version 1.0
    Publish 4
    Core: .NET Framework version 4.0.30319
    Core: Optimizing for 8 64-bit processors
    RandomImpl: CSPRandom (Software)
    Scripts: Compiling C # scripts ... Failed with 26 errors, 10 warnings
    Warnings:
    + Custom Systems / VitaNex / Core / SuperGumps / Framework / Base / SuperGump.cs:
        CS0108: Line 340: 'VitaNex.SuperGumps.SuperGump.Compile ()' Hides the verer
    BTEN Members 'Server.Gumps.Gump.Compile ()' from. Use the New-Schlüsselwo
    RT if hiding was intended.
    + Custom Systems / VitaNex / Core / SuperGumps / Framework / Base / SuperGump_Buttons.cs:
        CS0109: Line 30: The Members' VitaNex.SuperGumps.SuperGump.AddButton (int, int
    , Int, int, int, Server.Gumps.GumpButtonType, int) 'appears not inherited Mem
    BER. The new keyword is not required.
    + Custom Systems / VitaNex / Core / SuperGumps / Framework / Base / SuperGump_LimitedTextIn
    puts.cs:
        CS0109: Line 28: The Members' VitaNex.SuperGumps.SuperGump.AddTextEntry (int,
    int, int, int, int, int, string, int) 'hides no inherited members. The
    new keyword is not required.
    + Custom Systems / VitaNex / Core / SuperGumps / Framework / Base / SuperGump_Radios.cs:
        CS0109: Line 28: The Members' VitaNex.SuperGumps.SuperGump.AddRadio (int, int,
    int, int, bool, int) 'appears not inherited from Members. The new-Schlüsselwor
    t is not required.
    + Custom Systems / VitaNex / Core / SuperGumps / Framework / Base / SuperGump_Switches.cs:
        CS0109: Line 28: The Members' VitaNex.SuperGumps.SuperGump.AddCheck (int, int,
    int, int, bool, int) 'appears not inherited from Members. The new-Schlüsselwor
    t is not required.
    + Custom Systems / VitaNex / Core / SuperGumps / Framework / Base / SuperGump_TextInputs.cs
    :
        CS0108: Line 86: 'VitaNex.SuperGumps.SuperGump.GetTextEntry (int)' hidden de
    n inherited members 'Server.Gumps.Gump.GetTextEntry (int)' out. Use the
    new keyword if hiding was intended.
    + Custom Systems / VitaNex / Core / SuperGumps / Framework / Base / SuperGump_TileButtons.cs:
        CS0109: Line 30: The Members' VitaNex.SuperGumps.SuperGump.AddImageTiledButto
    n (int, int, int, int, int, Server.Gumps.GumpButtonType, int, int, int, int, int)
    'Hides no inherited members. The new keyword is not required.
    + Custom Systems / Referral Rewards / XmlReferralRewards.cs:
        CS0108: Line 77: 'Server.Engines.XmlSpawner2.XmlReferralRewards.Initialize ()
    'Hides the inherited member' Server.Engines.XmlSpawner2.XmlAttachment.Initial
    ize () 'from. Use the new keyword if hiding was intended.
    + Mobile / Monsters / Ants / AntLion.cs:
        CS0108: Line 112: 'Server.Mobiles.AntLion.PoisonTimer' hides the inherited
    Members 'Server.Mobile.PoisonTimer' out. Use the new keyword,
    if hiding was intended.
    + Custom Systems / Referral Rewards / ReferralRewardsGump.cs:
        CS0219: Line 144: The variable 'texthue' is assigned, its value is never used.
    Errors:
    + Mobile / Animals / Birds / Skree.cs:
        CS0103: Line 42: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Bovine / LowlandBoura.cs:
        CS0103: Line 45: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Reptiles / KepetchAmbusher.cs:
        CS0103: Line 39: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Reptiles / LavaLizard.cs:
        CS0103: Line 47: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Reptiles / LavaSnake.cs:
        CS0103: Line 43: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Reptiles / Raptor.cs:
        CS0103: Line 41: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Reptiles / Slith.cs:
        CS0103: Line 38: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Reptiles / StoneSlith.cs:
        CS0103: Line 43: The name 'QLPoints' does not exist in the current context.
    + Mobile / Animals / Reptiles / ToxicSlith.cs:
        CS0103: Line 41: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Ants / Anlorlem.cs:
        CS0103: Line 44: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Ants / Anlorzen.cs:
        CS0103: Line 44: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Ants / FireAnt.cs:
        CS0103: Line 39: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Arachnid / TrapdoorSpider.cs:
        CS0103: Line 38: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Demonoid / Anlorvaglem.cs:
        CS0103: Line 45: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Demonoid / Anzuanord.cs:
        CS0103: Line 45: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Demonoid / Ballem.cs:
        CS0103: Line 41: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Demonoid / Betballem.cs:
        CS0103: Line 38: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Elemental / Korpre.cs:
        CS0103: Line 41: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Fey / Relanord.cs:
        CS0103: Line 41: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Humanoid / Daemon.cs:
        CS0103: Line 43: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Humanoid / GreyGoblin.cs:
        CS0103: Line 43: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Humanoid / GreyGoblinKeeper.cs:
        CS0103: Line 43: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Humanoid / GreyGoblinMage.cs:
        CS0103: Line 45: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Renowned / VitaviRenowned.cs:
        CS0103: Line 44: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Renowned / WyvernRenowned.cs:
        CS0103: Line 44: The name 'QLPoints' does not exist in the current context.
    + Mobile / Monsters / Reptile / Melee / CoralSnake.cs:
        CS0103: Line 45: The name 'QLPoints' does not exist in the current context.
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press Return to exit, or R to try again.
     
  3. Regnak

    Regnak Illustrious Member JustUO Developer Gold Star Member

    Hello Döschl ,

    I have checked your issue and it seems that the PlayerMobile.cs file in the package here doesn't reflect the latest changes included in our repo.

    What I advice you to do is downloading the latest PlayerMobile.cs from the JustUO repo (you can find it here for example) and compare it with the PlayerMobile included in this package. A good tool for that is WinMerge. ;)

    It seems the issue is the changes in the commit about Queens Loyalty system that aren't part of the PlayerMobile.cs file in this package. Fixing this problem will probably lead to adding the QLPoints variable.

    Besides, you can ignore the warnings ;)

    Good luck !

    -Rek-
     
  4. Döschl

    Döschl Super Contributor

    thank you....i know winmerge...:)
     
  5. Döschl

    Döschl Super Contributor


    Both versions will not work.

    Has anyone found a solution to this problem?
     
  6. Döschl

    Döschl Super Contributor

    Okay, I have found the error. If anyone is interested in the solution, just let me know :Wink:
    bc.Next.Level is now displayed correctly and is no longer 0.
    I guess you've already a solution. :)

    Greetings
    Döschl
     
  7. Talow

    Talow Grandmaster Member

    You should always post solutions to questions for the next person with the question.
     
    • Like Like x 2
  8. Döschl

    Döschl Super Contributor

    okay.... with the standart value
    int attacker.nextLevel=attacker.NextLevel*attacker.Level doesnt work the system.

    if you edit this entry .... to f.i.:

    int attacker.NextLevel= attacker.MaxLevel*attacker.MaxHits*attacher.Generation (its only an example)

    then you MUST change the line in the PetInfoGump.cs

    butt all attacker are here bc

    search for

    int bc.NextLevel=bc.NextLevel*bc.Level

    and replace it with the same from PetLevel.cs
    int attacker.NextLevel= attacker.MaxLevel*attacker.MaxHits*attacher.Generation change attacker to bc


    I'm confused...because it doesnt work with the original. important is....in both scripts must be the same calculation! it doesnt work, if you only change your Petlevel.cs.

    Greetings Döschl


    For understanding:

    in the PetInfoGump the value in Net.Level is the value that you can see, if you ingame klick to pet -> NPC Info

    in the PetLevel.cs is the calculation for the system.

    f.i.:
    if you have in PetLevel.cs

    attacker.NextLevel=attackerLevel*1000;

    and in PetInfoGump

    bc.NextLevel=bcLevel*50

    then you see, you need currentlevel *50 = needed exp points for next Level. But youre pet didnt increase level at this time...because in petlevel is a different formula.

    here is: WYSIWYG is wrong!
     
    • Like Like x 1
  9. afm

    afm PlayUO Prospect

    Where can i find the addition code added to the distro files? are they commented on? I need to integrate this into my server but i cannot just replace my distro files as there are too many slight modification made over the years.
     
  10. omni19

    omni19 Renowned Member

    Hi,
    I tend to make a new server every few months. I've tried to compile this several times in the past and I've been giving up on it every time. This time, I've decided to get it to work with the current release. I keep getting this error though:

    Code:
    Errors:
     + Custom Systems/FS-ATS Gen2 v2.0.0/Distros/JustUO/BaseCreature.cs:
      CS0506: Line 3245: 'Server.Mobiles.BaseCreature.RevealingAction()': cannot override inherited member 'Server.Mobile.RevealingAction()' because it is not marked virtual, abstract, or override
     + Custom Systems/FS-ATS Gen2 v2.0.0/Animal Taming BODs/Rewards/ClothingOfAnimalLore.cs:
      CS0115: Line 128: 'Server.Items.BaseClothingOfAnimalLore.OnAdded(object)': no suitable method found to override
      CS0115: Line 142: 'Server.Items.BaseClothingOfAnimalLore.OnRemoved(object)': no suitable method found to override
     + Custom Systems/FS-ATS Gen2 v2.0.0/Animal Taming BODs/Rewards/FootwearOfVeterinary.cs:
      CS0115: Line 125: 'Server.Items.BaseShoesOfVeterinary.OnAdded(object)': no suitable method found to override
      CS0115: Line 139: 'Server.Items.BaseShoesOfVeterinary.OnRemoved(object)': no suitable method found to override
     + Custom Systems/FS-ATS Gen2 v2.0.0/Distros/JustUO/PlayerMobile.cs:
      CS0506: Line 1358: 'Server.Mobiles.PlayerMobile.RevealingAction()': cannot override inherited member 'Server.Mobile.RevealingAction()' because it is not marked virtual, abstract, or override
    Scripts: One or more scripts failed to compile or no script files were found.
     - Press return to exit, or R to try again.
    Has anyone encountered this?
     
  11. Regnak

    Regnak Illustrious Member JustUO Developer Gold Star Member

    Hello,

    I think the type of variables to override was changed from IEntity to object.

    In the FS:ATS scripts, try to change that where the error messages are pointing. ;)

    If you need more help, I'll have a closer look at your errors.
     
    • Like Like x 1
  12. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    • Like Like x 1
  13. Regnak

    Regnak Illustrious Member JustUO Developer Gold Star Member

    I guess he did ;)
     
    • Funny Funny x 1
  14. Döschl

    Döschl Super Contributor

    the updated version didnt work!
     
  15. Doomsdayreturns

    Doomsdayreturns PlayUO Prospect

    Errors:
    + Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/Old Stuff/BaseBioCreature.cs:
    CS0118: Line 814: 'Server.Mobiles' is a 'namespace' but is used like a 'type'
    + Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/Old Stuff/BBC.cs:
    CS0266: Line 227: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'. An explicit conversion exists (are you missing a cast?)
    + Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/BioCreature.cs:
    CS0266: Line 214: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'. An explicit conversion exists (are you missing a cast?)
    + Customs/FS-ATS Gen2 v2.0.0/Bio Enginering/DNA System/Mobiles/BioMount.cs:
    CS0266: Line 218: Cannot implicitly convert type 'Server.IDamageable' to 'Server.Mobile'. An explicit conversion exists (are you missing a cast?)
    Scripts: One or more scripts failed to compile or no script files were found.
     
  16. Regnak

    Regnak Illustrious Member JustUO Developer Gold Star Member

    Lots of things were changed in the core ... It requires new work on addons around it ... I'm afraid, dude ;)
     
  17. Jayce

    Jayce PlayUO Prospect

    solved ignore
     
    Last edited: Dec 22, 2016
    • Like Like x 1

Share This Page