Search results

  1. PigPen

    Area of effect

    Nice
  2. PigPen

    Area of effect

    I think my point was to suggest that 'you' could try various things using these types of code (and others) to make an 'attacker' drop you as a combatant or target. You can even have someone else's pet turn on their master. Sorry, I was not trying to complete your script here.
  3. PigPen

    Area of effect

    If a pet (or anything else unwanted) is attacking maybe you can force it to stop or attack something else. Here is a sample of one of my OnGotMeleeAttack sections. You could play with it and try putting it in your DrainLife or putting it in other 'OnGot' or 'OnGave' sections. public...
  4. PigPen

    Area of effect

    Take a look at one of my 'DrainLife' sections and see how I control what gets added to the list as well as what kind of damage might be applied. I hope this helps a bit. public void DrainLife() { if( this.Map == null ) return; ArrayList...
  5. PigPen

    Skill Mod problem

    Thank you Fireball. I will give that a try. *appreciated*
  6. PigPen

    Skill Mod problem

    Again . . I am not confident when it comes to 'Serialize' and 'Deserialize'. The solution I found came from a different script that had placed it in 'Serial'. If I was to place it in Deserialize, would I use the identical lines or would they need to be worded differently?
  7. PigPen

    Struggling with an Evo Script

    I will look at that and see if I can get the Evo script to recognize that . . thanks for the suggestion
  8. PigPen

    Skill Mod problem

    Okay . . hope this helps any others with this problem. I was finally able to solve my problem of the SkillMod bonuses being permanently lost from items following a server reboot. The answer (for me) lies in Serial . . not in Serialize or in Deserialize. So when I changed this: public...
  9. PigPen

    Skill Mod problem

    I have a shard running on RunUO version 2.1 We discovered a problem with a piece of equipment I made for our shard. The problem is: The item adds some Skill Mods when equipped but if the server goes down or if the server is rebooted then the Mods stay on the player but they no longer get...
  10. PigPen

    Struggling with an Evo Script

    My Shard runs on RunUO version 2.1 I am using Xanthos Evo system for my Evo creatures but am having trouble trying something new (for me) during the evolution process from one 'Stage' to the next 'Stage'. I have the EvoMount's starting ItemID for the graphic used when being ridden set at...
  11. PigPen

    Problem getting UsesRemaining value through to the script's Timer

    Well I can think of two words . . . Wow and WOW. I appreciate this a lot both for speed and for success. You not only helped me solve a problem, you also taught me something that I hope will avoid a similar one later. While I'm not great at 'speaking C# I do know enough of it to appreciate...
  12. PigPen

    Problem getting UsesRemaining value through to the script's Timer

    I have worked on this script now for over three days. Yes I know . . silly fellow. I have been trying to make a quest reward 'Shroud' with the following features: 1) it turns the wearer Invisible 2) it increases the the wearer's Hiding and Stealth skill while worn 3) it gets removed after a...
  13. PigPen

    Trying to improve Chance to get a 'specific' Skill Gain

    I am hoping for some guidance relating to skill gain on a specific skill. My players have had almost zero luck gaining the 'Hiding' skill above 104 so I have been trying to make it easier for them to gain that skill (not all skills - just 'Hiding'). I found this in Skills.cs: public...
  14. PigPen

    How to make NPCs who are hired for free?

    I take 'zero' credit for this. I did not write it and in fact I do not use it on my shard. It was written by Haazen and It was given to me by . . hmm . . cannot remember by who. It is quite old and was written for RunUO. Anyway maybe you can tinker with it for your shard so he works for 'no...
  15. PigPen

    Problem with 'OnTarget' and 'MoveToWorld'

    Hi Lokai I can't thank you enough for the fast reply and for setting me on the right track with your example. It did give me a small hiccup (no biggy). For anyone's information . . 1) At first it did not compile because LandTarget does not contain a definition of 'Map'. To solve that I used...
  16. PigPen

    Problem with 'OnTarget' and 'MoveToWorld'

    *I have a RunUO Version 2.1 setup on my shard* Well . . I have driven my brain to mush on this one with no luck so . . here I am looking for a lesson. I made a Trap item and now I am trying to make a TrapperKit so players can DBL Click on the Kit then select a LandTile on which to place the...
  17. PigPen

    New Pet (samaurai mount) not obeying Orders

    Special thanks to Quasar for pointing me to the 'public virtual double GetControlChance(Mobile m, bool useBaseSkill)' section in BaseCreature.cs With that pointer I was able to do an override for Bushido on this creature which allowed Samurai to control it. Greatly appreciated Quasar *bows*
  18. PigPen

    New Pet (samaurai mount) not obeying Orders

    I have a Server running RunUO v 2.1 I am trying to make an minor Evo version of the Lesser Hiryu that can be hatched from an egg and used as a pet/mount by players who have 'Bushido' but no 'Taming' or 'Lore' skills. (Looking to have a Samauri mount). I have partially succeeded but the...
  19. PigPen

    Struggling with Variables

    Thank you SkyFly for the fast reply and for the very clear lesson on my problem. I learned something today and am greatful *bows*
  20. PigPen

    Struggling with Variables

    I am have a Server running RunUO V2.1 and I am trying to make a NPC who will trade SOS scrolls for Fishing Nets but I have run into a problem in the Gump being used for the trade. After hours of trying variations on this . . my scripting ability is simply not up to the task. Can anyone see a...

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back