Search found 216 matches

by Ingo
Thu Jul 14, 2011 6:26 pm
Forum: Shard Design & Theory
Topic: Bugs/things that need fixing.
Replies: 13
Views: 4492

Re: Bugs/things that need fixing.

private bool CanInsure( Item item ) { if ( item is Container || item is BagOfSending || item is KeyRing ) return false; if ( (item is Spellbook && item.LootType == LootType.Blessed)|| item is Runebook || item is PotionKeg || item is Sigil ) return false; if ( item.Stackable ) return false; if ( ite...
by Ingo
Thu Jul 14, 2011 6:01 pm
Forum: Shard Design & Theory
Topic: Bugs/things that need fixing.
Replies: 13
Views: 4492

Re: Bugs/things that need fixing.

public int GetElementalDamageHue() { int phys, fire, cold, pois, nrgy, chaos, direct; GetDamageTypes( null, out phys, out fire, out cold, out pois, out nrgy, out chaos, out direct ); //Order is Cold, Energy, Fire, Poison, Physical left int currentMax = 50; int hue = 0; if( pois >= currentMax ) { hu...
by Ingo
Thu Jul 14, 2011 4:58 pm
Forum: Shard Design & Theory
Topic: Bugs/things that need fixing.
Replies: 13
Views: 4492

Re: Bugs/things that need fixing.

Posting this so i remember. Do we want to have separate threads for each coding issue or shall we use the project wiki for that?

public int GetElementalDamageHue() in BaseWeapon.cs
by Ingo
Thu Jul 14, 2011 3:36 pm
Forum: Shard Design & Theory
Topic: Bugs/things that need fixing.
Replies: 13
Views: 4492

Re: Bugs/things that need fixing.

Should be able to just make it non neon green
.
I need to start mapping the scripts as a kind of process map. Reading the code is fairly easy, it's all the dependancies an knowing where to look which takes all the time.
by Ingo
Thu Jul 14, 2011 1:45 pm
Forum: Shard Design & Theory
Topic: This forum/the plan
Replies: 12
Views: 14521

Re: This forum/the plan

What's your lol name? :)
by Ingo
Thu Jul 14, 2011 12:48 pm
Forum: Shard Design & Theory
Topic: Wiki
Replies: 5
Views: 2352

Re: Wiki

Benn is on dreamhost so can one click make you one. If he's AWOL I'll do one on my site if you like
by Ingo
Tue Jul 12, 2011 4:53 pm
Forum: Shard Design & Theory
Topic: Mount Stamina
Replies: 12
Views: 4414

Re: Mount Stamina

Oh it wasnt the spawn that caused it, just happened to run out of stamina at worste time?
by Ingo
Tue Jul 12, 2011 4:35 pm
Forum: Shard Design & Theory
Topic: Treasure chest loot
Replies: 14
Views: 6903

Re: Treasure chest loot

What is the name of that script?
by Ingo
Tue Jul 12, 2011 4:32 pm
Forum: Shard Design & Theory
Topic: Mount Stamina
Replies: 12
Views: 4414

Re: Mount Stamina

What was the problem at spawns? Getting stam owned when passing through monsters?

How about removing that part and adding a number of step count comparable to what you used to be able to run for?
by Ingo
Tue Jul 12, 2011 4:31 pm
Forum: Shard Design & Theory
Topic: Attracting all types of players/making a succesful freeshard
Replies: 12
Views: 4336

Re: Attracting all types of players/making a succesful freeshard

Do you remember what was supposed to be different?

That one just gives you +10 damage against baracoon if your faction owns the town. Pretty fucking time intensive way of doing if the aim was to give +10 damage against all monsters!
by Ingo
Sun Jul 10, 2011 12:30 pm
Forum: Shard Design & Theory
Topic: Treasure chest loot
Replies: 14
Views: 6903

Re: Treasure chest loot

What Oz said.

Didn't AOS weps have more properties than that or was that only after enhancing?
by Ingo
Thu Jul 07, 2011 9:47 pm
Forum: Shard Design & Theory
Topic: Item Name Change
Replies: 0
Views: 16085

Item Name Change

Code: Select all

		[Constructable]
		public HatOfTheMagi()
		{
            Name = "hat of ingo";
			Hue = 0x481;
			Attributes.BonusInt = 8;
			Attributes.RegenMana = 4;
			Attributes.SpellDamage = 10;
		}
fuck knows how it knows what to call itself without it but adding

Name = "hat of ingo";

Does the trick.
by Ingo
Thu Jul 07, 2011 8:34 pm
Forum: Shard Design & Theory
Topic: So I've been f*****g about with RunUO
Replies: 15
Views: 6522

Re: So I've been f*****g about with RunUO

Code: Select all

   public override bool OnBeforeDeath()
        {
              switch (Utility.Random(1)) 
              {
                  case 0: PackItem(new EtherealHorse());
                      break;
              }
              return base.OnBeforeDeath();
          
           } 
by Ingo
Thu Jul 07, 2011 7:03 am
Forum: Shard Design & Theory
Topic: So far:
Replies: 11
Views: 5443

Re: So far:

I'll look into individual spells cast time and mana cost. It looks like it makes a call to the circle to find those attributes which you could replace with some hard variables. Failing that create more circles!
by Ingo
Mon Jul 04, 2011 9:57 pm
Forum: Shard Design & Theory
Topic: So I've been f*****g about with RunUO
Replies: 15
Views: 6522

Re: So I've been fucking about with RunUO

So OnBeforeDeath method works for any non blessed item OnDeath lets you put whatever you like in the corpse as it waits until the corpse is there before basically manually adding an item. Seems a bit dodgy! The bare bones of the above code without the chance to drop is: public override void OnDeath(...