Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 08-11-2008, 07:00 AM   #26 (permalink)
Forum Expert
 
Join Date: Sep 2002
Location: Sweden
Posts: 497
Send a message via ICQ to Allmight Send a message via MSN to Allmight
Default

Robinson!

Read the whole thread, and you should be able to figure out how to install it.

And for RunUO 1.0.0, i would guess this is for 1.0 since it is posted back in 2006.
Allmight is offline   Reply With Quote
Old 08-12-2008, 11:34 AM   #27 (permalink)
Forum Novice
 
Join Date: Jan 2004
Posts: 142
Send a message via ICQ to robinson
Default

in title it says rc1

i realy loved this script and i really wanna use please help me!
robinson is offline   Reply With Quote
Old 08-12-2008, 02:26 PM   #28 (permalink)
Forum Expert
 
Join Date: Sep 2002
Location: Sweden
Posts: 497
Send a message via ICQ to Allmight Send a message via MSN to Allmight
Default

Well, if you are lucky it will still work with latest relase candidate. But if you run 1.0.0, you are pretty much out of luck, unless you know how to script, and can make it work on 1.0.
Allmight is offline   Reply With Quote
Old 09-22-2008, 01:47 PM   #29 (permalink)
Forum Novice
 
Cyndrz's Avatar
 
Join Date: Aug 2003
Location: Malas
Age: 41
Posts: 242
Default

I added this script and the fixes and once in a great while we get a stat gain but way to far and few between.
whould i change the 33.3 to a larger number or smaller number to increase the speed on this just abit?

Code:
    					SkillInfo info = skill.Info;
    					if ( from.StrLock == StatLockType.Up && ((info.StrGain / 33.3) + RateDefinitions.StatGainBonus) > Utility.RandomDouble() )
    					{ 
     						if( info.StrGain != 0 )
      						GainStat( from, Stat.Str );
    					}
    					else if ( from.DexLock == StatLockType.Up && ((info.DexGain / 33.3) + RateDefinitions.StatGainBonus) > Utility.RandomDouble() )
    					{
     						if( info.DexGain != 0 )
      						GainStat( from, Stat.Dex );
    					}
    					else if ( from.IntLock == StatLockType.Up && ((info.IntGain / 33.3) + RateDefinitions.StatGainBonus) > Utility.RandomDouble() )
    					{
     						if( info.IntGain != 0 ) 
      						GainStat( from, Stat.Int );

I was also hoping to fully understand the impact of these numbers in the second .cs

Code:
 
public static double ratebonus = 0.0; // skillgain rate increase
  			public static int gainbonus = 1; // gain rate increment
  			public static double statgaindelay = 60.0; // stat gain delay
  			public static double StatGainBonus = 0.0; // extra chance to gain in stats. 0.0 - 1.0
After testing this further i am finding the only time anyone geta stats gain is after a restart
even after adding the fix. You get 1 stat gain and nothing till a restart.

Thank you for your time in this matter.
__________________
Save the flames for your own personal life

Last edited by Cyndrz; 09-22-2008 at 03:36 PM. Reason: added more
Cyndrz 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