DragnMaw

Member
DragnMaw submitted a new resource:

Advanced Archery Pub57 - Advanced Archery plugin updated to Pub57

I DO NOT TAKE CREDIT FOR THIS PLUGIN. IF ANYONE CAN GIVE ME THE CREATORS NAME SO I CAN ADD IT HERE PLEASE DO!

A friend of mine sent me a .zip of Advanced Archery and I made it compile in Pub57 for him. I do not know the original creator or where to find the original source code. This is just made to compile on Pub57.

PLUGIN ORIGINALLY BY Lucid Nagual's Advanced Archery
Read more about this resource...
 
Last edited:
Everything seems to work OK, but none of the effects are being applied. Things like FixedParticles and ApplyPoison don't appear to be triggering.

Bow can select arrow and displays correct arrow
Bow uses correct arrow, and correct arrow is seen on corpse

Arrow effect from CBaseRanged.cs is not being applied for any of the special arrows.
 
Got this weird crash that seems to be associated with this script, anyone ever got this error?

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at Server.Mobiles.BaseFamiliar.OnHit(Mobile attacker, IDamageable defender) in C:\Users\Administrator\Desktop\ServUO\Scripts\Mobiles\Summons\BaseFamiliar.cs:line 245
at Server.Items.BaseWeapon.OnHit(Mobile attacker, IDamageable damageable, Double damageBonus) in C:\Users\Administrator\Desktop\ServUO\Scripts\Items\Equipment\Weapons\BaseWeapon.cs:line 3021
at Server.Items.BaseRanged.OnHit(Mobile attacker, IDamageable damageable, Double damageBonus) in C:\Users\Administrator\Desktop\ServUO\Scripts\Items\Equipment\Weapons\BaseRanged.cs:line 132
at Server.Items.CBaseRanged.OnHit(Mobile attacker, IDamageable damageable, Double damageBonus) in C:\Users\Administrator\Desktop\ServUO\Scripts\Custom\$ITEMS\ArcanicArchery\CBaseRanged.cs:line 671
at Server.Items.BaseWeapon.OnHit(Mobile attacker, IDamageable damageable) in C:\Users\Administrator\Desktop\ServUO\Scripts\Items\Equipment\Weapons\BaseWeapon.cs:line 2214
at Server.Items.BaseRanged.OnSwing(Mobile attacker, IDamageable damageable) in C:\Users\Administrator\Desktop\ServUO\Scripts\Items\Equipment\Weapons\BaseRanged.cs:line 100
at Server.Mobile.CombatTimer.OnTick() in C:\ServUO2\Server\Mobile.cs:line 2078
at Server.Timer.Slice() in C:\ServUO2\Server\Timer.cs:line 409
at Server.Core.Main(String[] args) in C:\ServUO2\Server\Main.cs:line 673

my CBaseRanged was a bit modified, could be why? Not absolutely certain if the error comes from there, Thank you!
 

Attachments

  • CBaseRanged.cs
    26.9 KB · Views: 4
This is drag and drop. I do have Pub 57. I attacked baseweapon. Im unsure if its missing a using reference at the top of something, or if since my base weapon has already been modified, if that is what could be messing this up. Oh and this is this script, I just renamed it to Lucids... because he was the original.

C#:
Errors:
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedBow.cs:
    CS0115: Line 29: 'AdvancedBow.StrengthReq': no suitable method found to override
    CS0506: Line 30: 'AdvancedBow.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 31: 'AdvancedBow.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 32: 'AdvancedBow.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedCompositeBow.cs:
    CS0115: Line 20: 'AdvancedCompositeBow.StrengthReq': no suitable method found to override
    CS0506: Line 21: 'AdvancedCompositeBow.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 22: 'AdvancedCompositeBow.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 23: 'AdvancedCompositeBow.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedCrossbow.cs:
    CS0115: Line 32: 'AdvancedCrossbow.StrengthReq': no suitable method found to override
    CS0506: Line 33: 'AdvancedCrossbow.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 34: 'AdvancedCrossbow.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 36: 'AdvancedCrossbow.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedElvenCompositeLongBow.cs:
    CS0115: Line 17: 'AdvancedElvenCompositeLongbow.StrengthReq': no suitable method found to override
    CS0506: Line 18: 'AdvancedElvenCompositeLongbow.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 19: 'AdvancedElvenCompositeLongbow.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 20: 'AdvancedElvenCompositeLongbow.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedHeavyCrossbow.cs:
    CS0115: Line 23: 'AdvancedHeavyCrossbow.StrengthReq': no suitable method found to override
    CS0506: Line 24: 'AdvancedHeavyCrossbow.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 25: 'AdvancedHeavyCrossbow.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 26: 'AdvancedHeavyCrossbow.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedMagicalShortbow.cs:
    CS0115: Line 40: 'AdvancedMagicalShortbow.StrengthReq': no suitable method found to override
    CS0506: Line 41: 'AdvancedMagicalShortbow.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 42: 'AdvancedMagicalShortbow.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 44: 'AdvancedMagicalShortbow.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedRepeatingCrossbow.cs:
    CS0115: Line 20: 'AdvancedRepeatingCrossbow.StrengthReq': no suitable method found to override
    CS0506: Line 21: 'AdvancedRepeatingCrossbow.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 22: 'AdvancedRepeatingCrossbow.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 24: 'AdvancedRepeatingCrossbow.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
 + Custom/Organize and Test/Testing/Lucid Naguals Advanced Archery/Bows/AdvancedYumi.cs:
    CS0115: Line 20: 'AdvancedYumi.StrengthReq': no suitable method found to override
    CS0506: Line 21: 'AdvancedYumi.MinDamage': cannot override inherited member 'BaseWeapon.MinDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 22: 'AdvancedYumi.MaxDamage': cannot override inherited member 'BaseWeapon.MaxDamage' because it is not marked virtual, abstract, or override
    CS0506: Line 24: 'AdvancedYumi.Speed': cannot override inherited member 'BaseWeapon.Speed' because it is not marked virtual, abstract, or override
Scripts: One or more scripts failed to compile or no script files were found.
 

Attachments

  • BaseWeapon.cs
    181.8 KB · Views: 0

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back