RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] Xanthos Evo System

deides

Traveler
Uhm... this system loads up fine but my guardian mercenaries are waaaay overpowered... Damage min is around 45, Damage max is around 484...
....

One hit kills anything.

I looked in the guardian mercenary script and cannot seem to understand what is wrong... i see " DamageMin *= Utility.RandomMinMax( 1, 5 ); DamageMax *= Utility.RandomMinMax( 15, 25 );"

so I don't understand how it could get 45, 484 for min/max values.... anyone encountered this? I just want it killable hah
 

michelle78

Sorceror
If Im not mistaken you need to make adjustments in the MercenaryEvo.cs and MercenarySpec.cs files. I remember tweaking these years ago and it is painstaking to get just the right combination because you need to adjust damage min/max levels at each level they gain to affect the total at the final stage. Mine are highly customized so I cannot post them, sorry.
 

tass23

Page
deides, another thing you're going to find is that you can't limit the gear the mercs can wear, so you'll have to drop their dex to an insane number to account for gear bonuses, otherwise, once they reach 175 dex, they can bandage instantly and they will never die.
 

Talow

Sorceror
deides, another thing you're going to find is that you can't limit the gear the mercs can wear, so you'll have to drop their dex to an insane number to account for gear bonuses, otherwise, once they reach 175 dex, they can bandage instantly and they will never die.

The perfect tank
 

deides

Traveler
The perfect tank
deides, another thing you're going to find is that you can't limit the gear the mercs can wear, so you'll have to drop their dex to an insane number to account for gear bonuses, otherwise, once they reach 175 dex, they can bandage instantly and they will never die.
would you mind posting your modified mercenary spec file?? it appears as though the meat of the levelling takes place in the evobase file... anyways, "he who asks nothing gets nothing!" so i thought I would ask :)
 

tass23

Page
I dropped all the evo pets. It's just easier rather than having to continue adding mobs that are tougher and tougher just to compensate for any of the evo pets. We re-worked them once and we were doing okay, but the fact mercs can wear anything really hurts the system.
 

deides

Traveler
I dropped all the evo pets. It's just easier rather than having to continue adding mobs that are tougher and tougher just to compensate for any of the evo pets. We re-worked them once and we were doing okay, but the fact mercs can wear anything really hurts the system.
well, I'll be nerfing them thats for sure. As for wearing, well, this is a family shard I run, so if something that is too big a problem I will add a delay in the bandaging script (minimum time, etc).

however, could you please tell me which file you modified to nerf the evos?
 

tass23

Page
We went through and nerfed all the evo config files: i.e. Mercenary.cs and MercenarySpec.cs. Hope that helps.
 
Easiest way to fix the bandage issue, is to put in a limit on how fast a player/pet can bandage, with a certain dexterity.

In bandage.cs for instance, I have this for the bandage timer

if (onSelf) //Calculate time for Bandange on yourself
{
seconds = 2.0;
if (dex <= 40) seconds += 4.0;
else if (dex <= 80) seconds += 3.0;
else if (dex <= 125) seconds += 2.0;
else if (dex >= 150) seconds += 1.0;
else if (dex >= 200) seconds = 1.5;
}
 

deides

Traveler
Easiest way to fix the bandage issue, is to put in a limit on how fast a player/pet can bandage, with a certain dexterity.

In bandage.cs for instance, I have this for the bandage timer

if (onSelf) //Calculate time for Bandange on yourself
{
seconds = 2.0;
if (dex <= 40) seconds += 4.0;
else if (dex <= 80) seconds += 3.0;
else if (dex <= 125) seconds += 2.0;
else if (dex >= 150) seconds += 1.0;
else if (dex >= 200) seconds = 1.5;
}

thats awsome! but shouldnt it be "else if (dex <= 150) seconds += 1.0;"? ie <= instead of >=
With greater than, you would never hit the if dex >= 200, right?

Anyways, if somebody could still let me know where I can nerf the guardian, it would be appreciated... still shifting through baseevo and evospec and can't figure it out.
 
Heh indeed, I'm an amateur at best.
As for the guardian, you need to edit the GuardianMercenaryEvo.cs file.
This is what I have on my shard:

Code:
        protected override void Init()
        {
            base.Init();            // Create and fully evolve the creature
            ActiveSpeed = 0.1;
            SetStr(616, 905);
            SetDex(196, 415);
            SetInt(1966, 2045);
            Hue = 1;
            SetHits(2560, 3595);

            SetDamage(20, 25);

            SetDamageType(ResistanceType.Physical, 20);
            SetDamageType(ResistanceType.Cold, 40);
            SetDamageType(ResistanceType.Energy, 40);

            SetResistance(ResistanceType.Physical, 55, 65);
            SetResistance(ResistanceType.Fire, 25, 30);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 50, 60);
            SetResistance(ResistanceType.Energy, 25, 30);
            SetSkill(SkillName.Magery, 120.1, 140.0);
            SetSkill(SkillName.Meditation, 120.1, 141.0);
            SetSkill(SkillName.Poisoning, 120.1, 141.0);
            SetSkill(SkillName.MagicResist, 175.2, 200.0);
            SetSkill(SkillName.Tactics, 120.1, 140.0);
            SetSkill(SkillName.Wrestling, 75.1, 140.0);
            Fame = 23000;
            Karma = -23000;

            // Now dress it up
            AddItem( new LeatherArms() );
            AddItem( new LeatherChest() );
            FightMode = (FightMode)Utility.RandomMinMax( (int)FightMode.Aggressor, (int)FightMode.Evil );
            AddItem( new LeatherLegs() );
            AddItem( new Boots() );
            SpiritOfTheTotem totem = new SpiritOfTheTotem(); totem.LootType = LootType.Blessed;
            BladeOfInsanity blade = new BladeOfInsanity(); blade.LootType = LootType.Blessed;
            GauntletsOfNobility gloves = new GauntletsOfNobility(); gloves.LootType = LootType.Blessed;
            JackalsCollar collar = new JackalsCollar(); collar.LootType = LootType.Blessed;
            AddItem( totem );
            AddItem( blade );
            AddItem( gloves );
            AddItem( collar );
            PackItem( new Bandage( Utility.RandomMinMax( 50, 200 ) ) );
        }
 
I tried to add these scripts and this is what come up
RunUO - [www.runuo.com] Version 2.1, Build 4272.35047
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (3 errors, 3 warnings)
Warnings:
+ Customs/Life Stone System/Core/Core.cs:
CS0105: Line 12: The using directive for 'Server.Commands' appeared previous
ly in this namespace
+ Cat's Jail System 2.1b/JailRC1.cs:
CS0168: Line 1093: The variable 'ne' is declared but never used
+ Customs/Kotoamatsukami/Kotoamatsukami.cs:
CS0162: Line 321: Unreachable code detected
Errors:
+ Xanthos/EVO System/Mercenary/Mercenary.cs:
CS0246: Line 309: The type or namespace name 'AnkhEast' could not be found (
are you missing a using directive or an assembly reference?)
+ Xanthos/Shrink System/ShrinkCommand.cs:
CS1502: Line 141: The best overloaded method match for 'Server.ISpawner.Remo
ve(Server.ISpawnable)' has some invalid arguments
CS1503: Line 141: Argument '1': cannot convert from 'Xanthos.ShrinkSystem.Sh
rinkTarget' to 'Server.ISpawnable'
+ Xanthos/Utilities/motd.cs:
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
.ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
.ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
.ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
.ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
.ClientFlags' and 'int'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.


It messes with my other scripts....what am i supposed to do about this, what files do i need for the Xanthos Evo to work without this coming up
 

michelle78

Sorceror
Having an issue with this system, when someone uses normal animal lore skill on an evo pet it crashes the shard. I am working with Callandor2K's ML version RunUO 2.1. Here is the crash report. Using the standard animal lore gump.

Code:
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
  at Server.SkillHandlers.AnimalLoreGump..ctor(BaseCreature c)
  at Server.SkillHandlers.AnimalLore.InternalTarget.OnTarget(Mobile from, Object targeted)
  at Server.Targeting.Target.Invoke(Mobile from, Object targeted)
  at Server.Network.PacketHandlers.TargetResponse(NetState state, PacketReader pvSrc)
  at Server.Network.MessagePump.HandleReceive(NetState ns)
  at Server.Network.MessagePump.Slice()
  at Server.Core.Main(String[] args)
 

ironworker

Sorceror
Hello every one , I have a problem with the Pet Leash. When i load the core up it gives this error .

Errors:
+ Custom Scripts/Xanthos/Shrink System/ChargedPetLeash.cs:
CS0246: Line 62: The type or namespace name 'ShrinkTarget' could not be foun
d (are 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.

Is there a simple solution to error ? I'll also add the script as well ,, any help with this will be most appreciated . Thanks , Ironworker
 

ironworker

Sorceror
Sorry the script didn't posted on the last post I made , but I managed to get it posted :) ..

I figured out why the core didn't load . Didn't have the command.cs in correct file. Same on me :-(
 

Attachments

  • ChargedPetLeash.cs
    2 KB · Views: 14

Shadow9112283

Wanderer
ok so i hope someone is still watching this thread i get these errors when trying to compile. The ankh problem was fixed by changing the ankhEast to ankhNorth in the merc .cs file but as to the others im at a lose on how to fix still learning to script and run a shard so really im a total newb.
 

Attachments

  • runuo compile error.png
    runuo compile error.png
    158.5 KB · Views: 51
Top