Bugs/things that need fixing.
Moderators: Benn, Calix, senji
Bugs/things that need fixing.
weps spawning/made with variable dmg attributes are NEONZ
tools (brsks etc) are insurable
mr not being made on stuff with brsk
stam/hp regen/mage armor on crafted shields
tools (brsks etc) are insurable
mr not being made on stuff with brsk
stam/hp regen/mage armor on crafted shields
Re: Bugs/things that need fixing.
Seem to be fixed now.Mercury wrote: mr not being made on stuff with brsk
stam/hp regen/mage armor on crafted shields
Not sure about wepz ending up neon, removing it might be a pain in the arse. Not 100% sure how to change insurable items, will have a look tonight.
Re: Bugs/things that need fixing.
the neon weps are because of damage type, so 100% poison damage weps are green, cold blue etc, higher the % the more pure the colour. This was always pretty gash but w/e, it's not a bug.
Down with Scotland
Re: Bugs/things that need fixing.
Well, you could simply change the colours used. They are the brightest in their range for the neon effect, so just adjusting the hue value for what the darker colour would be (dark green for 40% poison or whatever the % was) and so on to the highest.
Bah I dont know if I made sense there. Its been ages so I'm having trouble describing what I mean.
Bah I dont know if I made sense there. Its been ages so I'm having trouble describing what I mean.
pro at everything except being pro
Re: Bugs/things that need fixing.
fatal i know its not a bug. its just clxs hate of NEONZ. so was pointing out to him.
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.
.
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.
No to Scottish existence.
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
public int GetElementalDamageHue() in BaseWeapon.cs
No to Scottish existence.
Re: Bugs/things that need fixing.
IMO threads are for discussion and project wiki when decisions made and there is an action to do.
Down with Scotland
Re: Bugs/things that need fixing.
IMO threads are for discussion and project wiki when decisions made and there is an action to do.
Down with Scotland
Re: Bugs/things that need fixing.
Code: Select all
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 )
{
hue = 1267 +(pois - 50) / 10;
currentMax = pois;
}
if( fire >= currentMax )
{
hue = 1255 +(fire - 50) / 10;
currentMax = fire;
}
if( nrgy >= currentMax )
{
hue = 1273 +(nrgy - 50) / 10;
currentMax = nrgy;
}
if( cold >= currentMax )
{
hue = 1261 +(cold - 50) / 10;
currentMax = cold;
}
return hue;
}
While testing I found an anomaly. When you create a GM weapon using verite ingots (and a val hammer), the weapon appears normal iron colour. This isnt right is it?
This happened for the existing code as well as the "modified to no colour" versions.
No to Scottish existence.
Re: Bugs/things that need fixing.
Code: Select all
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 ( item.LootType == LootType.Cursed )
return false;
if ( item.ItemID == 0x204E ) // death shroud
return false;
return true;
}
No to Scottish existence.
Re: Bugs/things that need fixing.
Will take calix's word that the other 2 are fixed. I'll need more info on what the actual problem is if not.
No to Scottish existence.
Re: Bugs/things that need fixing.
I had played around with baserunictool.cs and obviously broken something. Putting the original file back in fixed the problem, MR spawning on armour again, and only seen normal shields since.
Nice one @ hues and yeah if you can find the item ID's that'd be beste. I've got insideUO but not used it a lot.
Nice one @ hues and yeah if you can find the item ID's that'd be beste. I've got insideUO but not used it a lot.