Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 05-09-2008, 12:24 PM   #1 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 120
Default RC1's revision number (SVN)

Could someone possibly tell me what the first SVN revision number was after RC1 was released (or what SVN number RC1 was)?

Thanks!
-GhostRiderGrey
GhostRiderGrey is offline   Reply With Quote
Old 05-13-2008, 02:19 PM   #2 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 120
Default

or do the SVN numbers start after the release of RC1? I'm looking for a fix for the obeycap problem in RC1
HTML Code:
there is a bug in RC1 that obeycap = false does not work

so jewelry or other bonuses (incluing GM's setting skill higher) wil not work above the caps
and would like to know how far forward I need to come in the svns to fix this (I read newer than svn 66 but would like to verify). I do not want to go too far, as the shard is trying to maintain compatibility with client versions 5.0.6.c (so no RC2 or later)

Thanks,
-GhostRiderGrey
GhostRiderGrey is offline   Reply With Quote
Old 05-13-2008, 05:58 PM   #3 (permalink)
Forum Novice
 
Alrick's Avatar
 
Join Date: Oct 2002
Location: Ukraine, Kiev
Age: 22
Posts: 109
Send a message via ICQ to Alrick
Default

Get the sources for RC1 and check the Skills.cs, it should contain this (or similar) method for checking the caps (and some other stuff as well):
Code:
		[CommandProperty( AccessLevel.Counselor )]
		public double NonRacialValue
		{
			get
			{
				double baseValue = Base;
				double inv = 100.0 - baseValue;

				if( inv < 0.0 ) inv = 0.0;

				inv /= 100.0;

				double statsOffset = ((m_UseStatMods ? m_Owner.Owner.Str : m_Owner.Owner.RawStr) * m_Info.StrScale) + ((m_UseStatMods ? m_Owner.Owner.Dex : m_Owner.Owner.RawDex) * m_Info.DexScale) + ((m_UseStatMods ? m_Owner.Owner.Int : m_Owner.Owner.RawInt) * m_Info.IntScale);
				double statTotal = m_Info.StatTotal * inv;

				statsOffset *= inv;

				if( statsOffset > statTotal )
					statsOffset = statTotal;

				double value = baseValue + statsOffset;

				m_Owner.Owner.ValidateSkillMods();

				List<SkillMod> mods = m_Owner.Owner.SkillMods;

				double bonusObey = 0.0, bonusNotObey = 0.0;

				for( int i = 0; i < mods.Count; ++i )
				{
					SkillMod mod = mods[i];

					if( mod.Skill == (SkillName)m_Info.SkillID )
					{
						if( mod.Relative )
						{
							if( mod.ObeyCap )
								bonusObey += mod.Value;
							else
								bonusNotObey += mod.Value;
						}
						else
						{
							bonusObey = 0.0;
							bonusNotObey = 0.0;
							value = mod.Value;
						}
					}
				}

				value += bonusNotObey;

				if( value < Cap )
				{
					value += bonusObey;

					if( value > Cap )
						value = Cap;
				}

				return value;
			}
		}
This is taken from SVN 295
If the method in your Skills.cs is different, use the one above and try to recompile the core with hopes that it wont break anything else
Alrick is offline   Reply With Quote
Old 07-29-2008, 11:16 PM   #4 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 120
Default

Thanks Alrick, unfortunately the code you listed for skills.cs is the same as what I used to compile from.

I'm still looking for a fix for the obeycap problem in RC1. Also trying to verify what SVN number RC1 was. Any further help appreciated.

Thanks
-GhostRiderGrey
__________________
A big THANK YOU!! to all who have helped me. I appreciate it very much.
Visit the Whispering Pines shard website at wp.dyndns.org
GhostRiderGrey is offline   Reply With Quote
Old 07-30-2008, 12:38 AM   #5 (permalink)
Master of the Internet
 
Radwen's Avatar
 
Join Date: Apr 2005
Location: Nowhere
Age: 21
Posts: 11,653
Default

Try around 187?
__________________
-Socks are great.

Ask Radwen.
http://www.runuo.com/forums/starbucks-runuo-com/76473-ask-radwen.html
Radwen is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5