1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Barding spells English

making good uses of bards in game

  1. Danstuff
    Offline

    Danstuff New Member

    Joined:
    May 9, 2014
    Messages:
    19
    Likes Received:
    4
    Danstuff submitted a new resource:

    Barding spells - making good uses of bards in game

     
  2. Hank
    Offline

    Hank Active Member

    Joined:
    Nov 14, 2013
    Messages:
    972
    Likes Received:
    152
    Is it possible you can translate this entirely into English?
    Is this based on Lucid Naguals Bard spells? While it looks to be an independent system it has a lot in common code wise.
     
  3. thor86
    Offline

    thor86 Member

    Joined:
    Jun 10, 2014
    Messages:
    44
    Likes Received:
    7
    I downloaded & droped them into custom scripts loaded up shard & got these errors for every song & spellbook, ?
    /
    Code (C#):
    1. Errors:
    2. + Custom Systems//Class-Bard/Spells/ArmysPaeonSong.cs:
    3.     CS0117: Line 38: 'Server.Items.SpellbookType' does not contain a definition
    4. for 'Song'
    5. + Custom Systems//Class-Bard/Spells/EnchantingEtudeSong.cs:
    6.     CS0117: Line 37: 'Server.Items.SpellbookType' does not contain a definition
    7. for 'Song'
    8. + Custom Systems//Class-Bard/Spells/EnergyCarolSong.cs:
    9.     CS0117: Line 36: 'Server.Items.SpellbookType' does not contain a definition
    10. for 'Song'
    11. + Custom Systems//Class-Bard/Spells/EnergyThrenodySong.cs:
    12.     CS0117: Line 45: 'Server.Items.SpellbookType' does not contain a definition
    13. for 'Song'
    14. + Custom Systems//Class-Bard/Spells/FireCarolSong.cs:
    15.     CS0117: Line 37: 'Server.Items.SpellbookType' does not contain a definition
    16. for 'Song'
    17. + Custom Systems//Class-Bard/Spells/FireThrenodySong.cs:
    18.     CS0117: Line 48: 'Server.Items.SpellbookType' does not contain a definition
    19. for 'Song'
    20. + Custom Systems//Class-Bard/Spells/FoeRequiemSong.cs:
    21.     CS0117: Line 46: 'Server.Items.SpellbookType' does not contain a definition
    22. for 'Song'
    23. + Custom Systems//Class-Bard/Spells/IceCarolSong.cs:
    24.     CS0117: Line 38: 'Server.Items.SpellbookType' does not contain a definition
    25. for 'Song'
    26. + Custom Systems//Class-Bard/Spells/IceThrenodySong.cs:
    27.     CS0117: Line 48: 'Server.Items.SpellbookType' does not contain a definition
    28. for 'Song'
    29. + Custom Systems//Class-Bard/Spells/KnightsMinneSong.cs:
    30.     CS0117: Line 37: 'Server.Items.SpellbookType' does not contain a definition
    31. for 'Song'
    32. + Custom Systems//Class-Bard/Spells/MagesBalladSong.cs:
    33.     CS0117: Line 33: 'Server.Items.SpellbookType' does not contain a definition
    34. for 'Song'
    35. + Custom Systems//Class-Bard/Spells/MagicFinaleSong.cs:
    36.     CS0117: Line 37: 'Server.Items.SpellbookType' does not contain a definition
    37. for 'Song'
    38. + Custom Systems//Class-Bard/Spells/PoisonCarolSong.cs:
    39.     CS0117: Line 37: 'Server.Items.SpellbookType' does not contain a definition
    40. for 'Song'
    41. + Custom Systems//Class-Bard/Spells/PoisonThrenodySong.cs:
    42.     CS0117: Line 48: 'Server.Items.SpellbookType' does not contain a definition
    43. for 'Song'
    44. + Custom Systems//Class-Bard/Spells/SheepfoeMamboSong.cs:
    45.     CS0117: Line 37: 'Server.Items.SpellbookType' does not contain a definition
    46. for 'Song'
    47. + Custom Systems//Class-Bard/Spells/SinewyEtudeSong.cs:
    48.     CS0117: Line 37: 'Server.Items.SpellbookType' does not contain a definition
    49. for 'Song'
    50. + Custom Systems//Class-Bard/SongBook.cs:
    51.     CS1061: Line 11: 'Server.Items.SpellbookType' does not contain a definition
    52. for 'Song' and no extension method 'Song' accepting a first argument of type 'Se
    53. rver.Items.SpellbookType' could be found (are you missing a using directive or a
    54. n assembly reference?)
    55. Scripts: One or more scripts failed to compile or no script files were found.
    56. - Press return to exit, or R to try again.
     
  4. Omni
    Offline

    Omni Member

    Joined:
    Dec 22, 2013
    Messages:
    165
    Likes Received:
    24
    Looks to me like its missing the distro edits..

    Code (C#):
    1. public enum SpellbookType
    2.     {
    3.         Invalid = -1,
    4.         Regular,
    5.         Necromancer,
    6.         Paladin,
    7.         Ninja,
    8.         Samurai,
    9.         Arcanist,
    10.         Mystic//,
    11.         custom
    12.      
    So to get rid of that error you would need to add song to spellbook.cs (items/skillitems/magical

    chances are tho this will only flag more errors as it seems he didn't upload distro files
     
  5. thor86
    Offline

    thor86 Member

    Joined:
    Jun 10, 2014
    Messages:
    44
    Likes Received:
    7
    Thanks that loaded up the shard but the songbook says it has 16 spells but inside is empty & sheet music doesn't add to empty songbooks after single click,
     
  6. Omni
    Offline

    Omni Member

    Joined:
    Dec 22, 2013
    Messages:
    165
    Likes Received:
    24
    As i stated earlier it seems to be missing the distro edits..

    The [allspells command won't work because its not been added to spellbook.cs or Initializer.cs

    with the correct distro edits you should have something like this

    Spellbook.cs
    Code (C#):
    1.  public static void Initialize()
    2.         {
    3.             EventSink.OpenSpellbookRequest += EventSink_OpenSpellbookRequest;
    4.             EventSink.CastSpellRequest += EventSink_CastSpellRequest;
    5.  
    6.             CommandSystem.Register("AllSpells", AccessLevel.GameMaster, AllSpells_OnCommand);
    7.         }
    8.  
    9.         public static SpellbookType GetTypeForSpell(int spellID)
    10.         {
    11.             if (spellID >= 0 && spellID < 64)
    12.             {
    13.                 return SpellbookType.Regular;
    14.             }
    15.             else if (spellID >= 100 && spellID < 117)
    16.             {
    17.                 return SpellbookType.Necromancer;
    18.             }
    19.             else if (spellID >= 200 && spellID < 210)
    20.             {
    21.                 return SpellbookType.Paladin;
    22.             }
    23.             else if (spellID >= 400 && spellID < 406)
    24.             {
    25.                 return SpellbookType.Samurai;
    26.             }
    27.             else if (spellID >= 500 && spellID < 508)
    28.             {
    29.                 return SpellbookType.Ninja;
    30.             }
    31.             else if (spellID >= 600 && spellID < 617)
    32.             {
    33.                 return SpellbookType.Arcanist;
    34.             }
    35.             else if (spellID >= 677 && spellID < 693)
    36.             {
    37.                 return SpellbookType.Mystic;
    38.             }
    39. // added for bard masteries
    40.             else if (spellID >= 700 && spellID < 706)
    41.             {
    42.                 return SpellbookType.Bard;
    43.             }
    Initializer.cs
    Code (C#):
    1. #region Stygian Abyss
    2.                 if (Core.SA)
    3.                 {
    4.                     Register(677, typeof(Mystic.NetherBoltSpell));
    5.                     Register(678, typeof(Mystic.HealingStoneSpell));
    6.                     Register(679, typeof(Mystic.PurgeMagicSpell));
    7.                     Register(680, typeof(Mystic.EnchantSpell));
    8.                     Register(681, typeof(Mystic.SleepSpell));
    9.                     Register(682, typeof(Mystic.EagleStrikeSpell));
    10.                     Register(683, typeof(Mystic.AnimatedWeaponSpell));
    11.                     Register(684, typeof(Mystic.StoneFormSpell));
    12.                     Register(685, typeof(Mystic.SpellTriggerSpell));
    13.                     Register(686, typeof(Mystic.MassSleepSpell));
    14.                     Register(687, typeof(Mystic.CleansingWindsSpell));
    15.                     Register(688, typeof(Mystic.BombardSpell));
    16.                     Register(689, typeof(Mystic.SpellPlagueSpell));
    17.                     Register(690, typeof(Mystic.HailStormSpell));
    18.                     Register(691, typeof(Mystic.NetherCycloneSpell));
    19.                     Register(692, typeof(Mystic.RisingColossusSpell));
    20.                 }
    21.                 #endregion
    22. //added for bardmasteries
    23.                 #region BardMasteries
    24.                 Register(700, typeof(Bard.InspireChant));
    25.                 Register(701, typeof(Bard.InvigorateChant));
    26.                 Register(702, typeof(Bard.ResilianceChant));
    27.                 Register(703, typeof(Bard.PerseveranceChant));
    28.                 Register(704, typeof(Bard.TribulationChant));
    29.                 Register(705, typeof(Bard.DespairChant));
    30.  
    31.                 #endregion
    32.             }
    This will allow me to fill the bard song book using [allspells..

    You may also find your missing edits to playermobile for the spells to actually give you the effects. Chances are your spells won't work how they are intended
     
    • Two Thumbs Up Two Thumbs Up x 1
  7. Danstuff
    Offline

    Danstuff New Member

    Joined:
    May 9, 2014
    Messages:
    19
    Likes Received:
    4
    hey sry for that time it took me to respond , i want to thank Omni for those quick answers

    heres the spellbook add
    and as Omni said you need to add the Initializer.cs file the quotes he gave to fill the book

    i didnt change anything to the playermobile , but spells are affecting monster in felluca same as player , i want it to work this way on my shard , haven't tried to fix it so far so if anyone want to look at it feel free to post it here
     
  8. thor86
    Offline

    thor86 Member

    Joined:
    Jun 10, 2014
    Messages:
    44
    Likes Received:
    7
    Thanks got it working if anyone wants the edits its Initializer.cs around line 185
    Code (C#):
    1. // Added for Song Masteries
    2.                 #region SongMasteries
    3.                 Register(351, typeof(Song.ArmysPaeonSong));
    4.                 Register(352, typeof(Song.EnchantingEtudeSong));
    5.                 Register(353, typeof(Song.EnergyCarolSong));
    6.                 Register(354, typeof(Song.EnergyThrenodySong));
    7.                 Register(355, typeof(Song.FireCarolSong));
    8.                 Register(356, typeof(Song.FireThrenodySong));
    9.                 Register(357, typeof(Song.FoeRequiemSong));
    10.                 Register(358, typeof(Song.IceCarolSong));
    11.                 Register(359, typeof(Song.IceThrenodySong));
    12.                 Register(360, typeof(Song.KnightsMinneSong));
    13.                 Register(361, typeof(Song.MagesBalladSong));
    14.                 Register(362, typeof(Song.MagicFinaleSong));
    15.                 Register(363, typeof(Song.PoisonCarolSong));
    16.                 Register(364, typeof(Song.PoisonThrenodySong));
    17.                 Register(365, typeof(Song.SheepfoeMamboSong));
    18.                 Register(366, typeof(Song.SinewyEtudeSong));
    19.  
    20.                 #endregion
    then SpellBook.cs
    around line 28
    Song // added for Song Masteries

    around line 237
    Code (C#):
    1. // Added for Song Masteries
    2.        
    3.             else if (spellID >= 351 && spellID < 366)
    4.             {
    5.                 return SpellbookType.Song;
    6.             }
    think that was it, full spellbooks show spells inside, can cast them does damage on monsters , [allspells works on empty books
     
    • Two Thumbs Up Two Thumbs Up x 2
    • Like Like x 1
  9. Aryman30
    Offline

    Aryman30 Member

    Joined:
    Jan 2, 2014
    Messages:
    52
    Likes Received:
    1
    when i make allspells on the spellbook last spell sinewyetude are not in the book
    i try to add scroll to the book manualy but don't work..

    some help ?
     
  10. larhalt82
    Offline

    larhalt82 Member

    Joined:
    Jun 6, 2014
    Messages:
    115
    Likes Received:
    4
    I got two problems:

    1) Songs cant be added to the book by drag&drop
    2) When I open a full book, there's no icon inside
     
  11. thor86
    Offline

    thor86 Member

    Joined:
    Jun 10, 2014
    Messages:
    44
    Likes Received:
    7
    you have to have a empty 0 spells songbook for the songs to go into it
    the books for some reason have to be in main part of backpack to show spells not sure why
     
  12. larhalt82
    Offline

    larhalt82 Member

    Joined:
    Jun 6, 2014
    Messages:
    115
    Likes Received:
    4
    Of course the book is empty, why i have to drag a songs in a full book? XD

    The book is in the main layer.
     
  13. thor86
    Offline

    thor86 Member

    Joined:
    Jun 10, 2014
    Messages:
    44
    Likes Received:
    7
    sorry not sure then, its only empty for me when its inside a bag, and i can drag and drop a scroll to the book when its empty, only problem i have is the last spell wont show up in the book
     
  14. larhalt82
    Offline

    larhalt82 Member

    Joined:
    Jun 6, 2014
    Messages:
    115
    Likes Received:
    4
    Thank you anyway thor :)
     
  15. Danstuff
    Offline

    Danstuff New Member

    Joined:
    May 9, 2014
    Messages:
    19
    Likes Received:
    4
    sry just got back from vacation ill try to work on it and see whats going on in the next few days ill give a reply as soon as possible
     
Similar Threads: Barding spells
Forum Title Date
Archived Bug Reports Barding Dificulty is incorrect Mar 21, 2016
Custom Releases Horse Barding Jan 1, 2015
Archived Bug Reports AOE Spells Don't Reveal Hidden Oct 10, 2017
Archived Bug Reports SDI Cap not applying to Hit Spells Oct 1, 2017
Archived Bug Reports Elf Brigand should cast Spellweaving spells. Aug 15, 2017
Archived Bug Reports AIType.AI_NecroMage Not casting any spells Jul 16, 2017
Archived Bug Reports Antique items looses durability when casting spells Jul 16, 2017