Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 12-12-2005, 03:50 PM   #1 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default TM Skill System 3.0

THIS THREAD HAS MOVED:
It can now be found @: http://www.runuo.com/forums/custom-script-releases/71465-runuo-1-0-final-2-0-rc1-tmss-3-0-a.html#post544416
[v3.0.3]
For RunUO 2.0 RC1+




!!--BUGFIX INFORMATION--!!

Known Problems:
Problem with gump sending code may cause skill gump to be sent (blank) even when skills are disabled.
Strange crash problem when using the gumps in TMSS 3. This problem is not resolved, and requires more information.

Current Version:
v3.0.3r6 (bugfix release)

GOAL OF THIS SYSTEM:
Giving the best Skill Stones, Balls, Gates, Tickets, and other solutions to your startup process of any system on RunUO.

Intro:

After many hours/days/months of work, I am pleased to bring you the Third version of my skill and stat system.

New features include:
Profiles - Set up different profiles for different races, limit skills and stats for different profiles.

New Gumps - Brighter, wider, and easier to read, the new TMSS gumps are the most easy-to-use gumps yet. Skills are now in alphabetical order, and easy to select, using either a checkbox paradigm, or a text box paradigm, with a maximum sum.

Control Center - Well, for starters, it works. Then there's the fact that it might be a revolution in gump design. (Players won't notice...it's the code that counts )


The Basics:

What's this?
TMSS 3 is primarily a start system for shards that wish to give new players a certain skill or stat level at start. It can also be used to give veterans (and players in general) several bonuses related to skills. TMSS 3 is also the successor to the popular TM SkillStat System 2. It is a highly improved, greatly debugged system. The system also allows you a lot more flexibility in what you want to do with TMSS.


Why use TMSS 3.0?

TMSS is the only system currently available that allows admins to implement skill & stat setting for both the new player and the veteran, while keeping a wide array of options open to each shard. TMSS is easy to tailor to your shard, with options for only allowing new players to use it, allowing new and old players to use it from different portions of the system, and for giving out skills and stats as rewards.
What can I do with TMSS 3.0?
TMSS 3.0 allows you to administrate a shard-wide system for the rapid setting of skills and stats. The system's settings can easily be changed to fit your shard's needs, whether the shard is PvP, PvM, RP, or any custom format. If you need something for your shard that TMSS does not offer (related to skills and stats), feel free to ask me for it.
System Key Features:
  • Fast & Easy Deployment
  • Robust Options
  • Easy - to - Use
  • Expandable
  • Lightning Support
  • Customizable to fit any shard's style of play.
  • Requests Honored
Current Application Extensions: (See Post 2)
  • Skill-checking moongate. Don't let them bother you after they leave the start zone.
  • Skill Gates. Don't like Skill Stones? S'ok. Use the Skill Gates.
  • Skill Balls. Don't like Either of the others? Use Skill Balls.
  • Standalone Tickets: Tickets that do not need a skillstone, and are simply serialized to a player.
INSTALLATION:
Download the .zip appended to this post. Remove any TMSS 1.0 or 2.x files you may have on your shard, and then unzip the files in the .zip into your "custom" directory. Saves will not carry over from 2.x.

Patching: Overwrite the previous files with the new files. Do not attempt to merge them, unless you have made significant modifications to TMSS 3. Note that modified files are not supported.


SUPPORT INFORMATION:
Do not modify this system. I will not support modified files.
For support with problems, first post here. If I do not respond within 24 hours, email: tmstksbk@tmstksbk.com. I will respond to email received for support, provided you did post here first. Support website is here. You must register to post problems.

Contact Info for BUGS:
Three options:
email me at the above address^
or
PM me on RunUO.com/forums
or
visit me at:http://www.csquarenet.net/forum/



Credits (where it is due!):

I would like to thank the following people (by alpha):

For help and support on v3.0!
A_Li_N -- Helping me with my SkillProfiles.
arul -- trying to help me with disappearing items.
Erica -- finding several bugs in my implementations.
orpheus -- suggesting an improvement to the SkillGumps.
Phantom -- bounce-idea-off-er.
Scripture -- finding every bug known to man .
TheOutkastDev -- helping me with my compiler get-around.

For help and support on v2.1
FainneRoisin -- lending me her power adapter.
A_Li_N -- helping me unkink my brain on arrays.
Phantom -- allowing me to totally rip the Giga Spawner save file.

For help and support on v2.0
ArteGordon -- technical stuff
daat99 -- input and technical stuff
Khaz -- for input and support
M. King -- input & inspiration for some of the options.
Phantom -- input and helping RunUO forums members since...when.

For help and support on v1.0
jjarmis -- technical stuff
sirenssong -- technical stuff

v's 1, 2, & 3
Kokushibyou -- input, critiquing, mental support


Changelog:

Color codes:
[UR] = Update Required.
[UR] = Update Recommended.

12.12.05: Incorrect settings in distro. Thanks, Erica. (v3.0.0r1)
12.13.05: Skill Gump allowed for more than the maximum number of skills. Thanks, Erica. (v3.0.0r2)
12.18.05: Skill Profiles not loading correctly, due to Custom Skills plugin. (v3.0.0r3)
1.6.06: Skill Gump apply methods revamped & simplified. (v3.0.0r4)
1.13.06: SKILL PROFILES FINISHED! Other minor tweaks. See release post. (v3.0.0r5) [final beta]
1.15.06: Bugfix and cleanup release. Bugs in Profiles and Profile application fixed. (v3.0.1) Thanks, Scripture & orpheus.
1.15.06: Bugfix and cleanup release. Bugs in accessing profile gumps fixed...I hope. (v3.0.1r1) Thanks, slithers.
1.19.06: Major Bugfix release. [UR] (v3.0.2)
1.20.06: Minor Bugfix release. SkillCapTickets work. (v3.0.2r1)
1.23.06: Major Bugfix release. [UR] (v3.0.3)
1.24.06: Minor Bugfix release. (v3.0.3r1)
1.26.06: Minor SkillTicket Hotfix release. [UR] Thanks, devilstail (v3.0.3r1)
1.26.06: Minor release to fix incorrect display in control center. [UR] Thanks, Scripture & DrakeSoulburner. (v3.0.3r2)
2.2.06: Minor release to fix incorrect gump display with stat gumps turned off. [UR] Thanks, Scripture. (v3.0.3r3)
2.5.06: Major release to change some internals. Note that the new Skill Balls plugin will not work without this update. [UR](v3.0.3r4)
4.5.06: 350 downloads of 3.0.3!
4.28.06: Minor release to fix profile gump missing last page of inputs. [UR] Thanks, Padriac. (v3.0.3r5)
5.1.06: 450 downloads of 3.0.3!
5.1.06: Minor release to fix profile selector gump selectively disappearing! [UR] Thanks, Padriac. (v3.0.3r5)
5.1.06: Major Bugfix release. [UR] Thanks, Padriac. (v3.0.3r6)

License: This script is licensed under the GPL.
I *request* that you ask before posting any variants of this script.
WARNING!
WARNING!
WARNING!


There are two versions of TMSS 3. One is for RunUO 1.0.0 (TMSS - 3.0.3 + TMSS - 3.0.3 Patch), and the other is compiled for the RunUO 2.0 Beta (TMSS 3.0.3 [RunUO 2]). Please download the correct one for your version of RunUO. THEY ARE NOT INTERCHANGEABLE!


YOU MUST INSTALL THE FREAKING PATCH! O_O (for RunUO 1.0 only)
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 07-13-2006 at 07:01 PM.
TMSTKSBK is offline  
Old 12-12-2005, 03:51 PM   #2 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default How-To and Plugins Release Post

So. I thought about posting the How-To right here. But it's 13 pages long (typed). Sooo...here it is:

System How-To

Profile How-To

WARNING!

Skill Gates and Skill Balls do not work for RunUO 2. Please download those in post #4 for RunUO 2.


Plugins:
Parallel Skills - Separate Thread
Skill Gates - Use a profile to rapidly set skills.
Skill Check Moongate - Make sure a player has a certain level of skill before leaving the start area.
DebugTMSS - A debug file generator.
Skill Balls - Skill Balls for use as a skill stone replacement. Requires TMSS 3.0.3r4+ to run.
Attached Files
File Type: zip SkillGates.zip (938 Bytes, 283 views)
File Type: zip SkillCheckMoongate.zip (1.5 KB, 215 views)
File Type: zip DebugTMSS.zip (1.4 KB, 179 views)
File Type: zip SkillBalls.zip (1.0 KB, 215 views)
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 06-16-2006 at 09:09 PM.
TMSTKSBK is offline  
Old 12-12-2005, 06:15 PM   #3 (permalink)
Forum Expert
 
Join Date: Oct 2002
Location: Germany (american though)
Age: 33
Posts: 957
Default

Ill definately be testing it. Ill let you know when I can make it crash

**edit**
Wasnt there some mention of using this to add custom skills to a server?

Last edited by Jarrod; 12-12-2005 at 06:25 PM.
Jarrod is offline  
Old 12-13-2005, 03:17 AM   #4 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Here's hoping you can't make it crash (Although I have a few times...)

To answer your question, the parallel skills are not *quite* done. I'm working on that.

Additional Plugins for RunUO 2 appended here!
Attached Files
File Type: cs SkillBalls.cs (2.9 KB, 58 views)
File Type: cs SkillGates.cs (2.6 KB, 66 views)
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 06-16-2006 at 09:08 PM.
TMSTKSBK is offline  
Old 12-13-2005, 11:50 AM   #5 (permalink)
Forum Expert
 
Join Date: Oct 2002
Location: Germany (american though)
Age: 33
Posts: 957
Default

well so far, no crashes, everything running fine. Ill have to wait for parallels to come around so i can try to e-slam the script and shake any bugs out.
Jarrod is offline  
Old 12-13-2005, 12:30 PM   #6 (permalink)
Forum Expert
 
Alis's Avatar
 
Join Date: Jun 2005
Location: Probably where people call it heaven
Posts: 1,452
Send a message via AIM to Alis Send a message via MSN to Alis
Default

Good job =) great work =) lets see what you have done =)
__________________
Help me on my project of webuo

The Hotest User 2006 : This user
Alis is offline  
Old 12-13-2005, 05:54 PM   #7 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Couple of bugfixes out, thanks to my official beta tester, Erica
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 12-13-2005, 06:41 PM   #8 (permalink)
Forum Expert
 
Erica's Avatar
 
Join Date: Jan 2005
Location: Laramie Wyoming
Age: 43
Posts: 1,323
Send a message via ICQ to Erica Send a message via AIM to Erica Send a message via MSN to Erica Send a message via Yahoo to Erica Send a message via Skype™ to Erica
Default

Quote:
Originally Posted by TMSTKSBK
Couple of bugfixes out, thanks to my official beta tester, Erica
ok got this Error: Scripts\CustomScripts\TMSS3B1-2\SkillGumpEngine.cs: CS0122: (line 1273
, column 46) 'Server.Items.NewbieSkillStone.NumSkills' is inaccessible due to it
s protection level
- Error: Scripts\CustomScripts\TMSS3B1-2\SkillGumpEngine.cs: CS0122: (line 1273
, column 85) 'Server.Items.NewbieSkillStone.NumSkills' is inaccessible due to it
s protection level
Erica is offline  
Old 12-13-2005, 07:03 PM   #9 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

nooo curses...forgot I changed that.
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 12-13-2005, 07:12 PM   #10 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

OK! Released the fix. Which is in the 1st .zip (TMSS3B1-1.zip)
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 12-14-2005, 02:45 PM   #11 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Update: Profiles should be out by the end of this weekend. Most of the code is there, I just need to tweak and test some stuff.

After that, I plan to work on re-releasing some of the plugins that were in 2.0. Finally, I'm going to create the Parallel Skill System. I think I have advanced to the point of being able to do that without breaking anything. And when all that is done, I'm off to work on War of the Four Kingdoms (my RTS for UO)
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 12-14-2005 at 02:47 PM.
TMSTKSBK is offline  
Old 12-18-2005, 02:34 PM   #12 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

OKAY! I switched it up. Parallel Skills are out! Profiles will be out eventually. I have most of it done. I'm going through and reading all my code again, finding lots of bugs. So go get the Parallel Skills.
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 12-18-2005, 05:41 PM   #13 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Update: Problem in SkillProfile loads addressed. Was not correctly interpreting custom skills.
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 01-06-2006, 01:59 AM   #14 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default Beta Revision 4

Released revision 4 of the beta. This revision addresses some problems with consistency and ease of editing in the SkillGumpEngine file. Upgrade not required, but lays groundwork for r5, which will probably be the last beta release.

WARNING: Saves from 3.0(rX) will not carry over to r4. New variables have been added to the save/load of r4. Skill Profiles from r3- will not carry over, either.
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 01-09-2006 at 01:23 AM.
TMSTKSBK is offline  
Old 01-08-2006, 01:44 AM   #15 (permalink)
 
Join Date: Mar 2005
Age: 23
Posts: 87
Default

I really appreciate all the work your putting towards this, but have one concern. I was using a previous version of yours 2[1].2, and removed the customs folder containing your files from that version, then i tried to open the server without either versions installed, and it asked about deleting types for skill tickets and skill stones, i hit yes, then installed your newest version and am now getting the following message

Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (1740 items, 487 mobiles)
World: Loading... -TMSS|3|- Debug/Error Code: Version is not 3 in save data.
done (80887 items, 12137 mobiles) (4.1 seconds)
Milt's Auto Tourney System...Initialized.
 -TMSS|3|- Debug/Error Code:  Found Directory for skp.
 -TMSS|3|- Debug/Error Code: foreaching
 -TMSS- Loading Skill Profile: Default Profile.skp
SkillSettings: Loading...done (0.0 seconds)
 -TMSS|3|- Skill Settings loaded successfully.


So my question is, should i be worried about the bolded text, is this something I can fix (since its a little annoying). I'm not too sure if its something that's interfeering with the skill/stat stone itself as I am kinda tired and have not tested how much this is effecting it.


Thanks again for developing this and i'd appreciate any input on it.



EDIT: "The World: Loading... -TMSS|3|- Debug/Error Code: Version is not 3 in save data" went away after i deleted the Skill stone on the shard (sorry, obvious mistake on my part), but the other two lines remain.

Last edited by Scripture; 01-08-2006 at 01:48 AM.
Scripture is offline  
Old 01-08-2006, 01:50 AM   #16 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

This happens when a skillstone was not saved with TMSS 3 variables. It should only happen once. After the next world save, you should be fine.
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 01-08-2006, 02:24 AM   #17 (permalink)
 
Join Date: Mar 2005
Age: 23
Posts: 87
Default

I'm sorry for posting again which thank you for answering my previous post, but I tried following the directions of what the skillticket.cs and dropped the following code in charactercreation.cs

Code:
	private static void AddSkillTicket( Mobile m )
	{
		string name = "My Profile";
		if( SkillProfileHelper.ProfileExists(name) )
		{
			SkillProfile prof = SkillProfileHelper.GetProfile( name );
			SkillTicket ticket = new SkillTicket( m, prof );
			ticket.Owner = m;
				
			PackItem( ticket );
		}
	}



But when I do this, I get the following errors:

Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (3 errors, 1 warnings)
 - Warning: Scripts\Customs\Samurai Empire\Mobiles\SE Monsters\YomotsuElder.cs:
CS0162: (line 15, column 19) Unreachable code detected
 - Error: Scripts\Misc\CharacterCreation.cs: CS0246: (line 40, column 7) The typ
e or namespace name 'SkillProfileHelper' could not be found (are you missing a u
sing directive or an assembly reference?)
 - Error: Scripts\Misc\CharacterCreation.cs: CS0246: (line 42, column 4) The typ
e or namespace name 'SkillProfile' could not be found (are you missing a using d
irective or an assembly reference?)
 - Error: Scripts\Misc\CharacterCreation.cs: CS0103: (line 43, column 45) The na
me 'prof' does not exist in the class or namespace 'Server.Misc.CharacterCreatio
n'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

I've tried moving it to different spots, and also noticed I dont even have a file called skillprofilehelper (which i even tried to rename all of those to just skillprofile and still nothing), I could be saying this as a fact that i'm a noob, or just too tired to notice something obvious and being stupid.
Scripture is offline  
Old 01-08-2006, 02:59 AM   #18 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Ah. I see the problem.

At the top of the file, add a "using TMSS;"

Bugs are always welcome. They let me know people are using the system .

Thank you for that information. I'll revise the drop-in code.
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 01-08-2006, 07:53 AM   #19 (permalink)
Forum Expert
 
Join Date: May 2005
Location: United Kingdom
Age: 17
Posts: 255
Send a message via MSN to Swerve_jnr
Default

cool this is a great script
Swerve_jnr is offline  
Old 01-08-2006, 01:38 PM   #20 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

thanks, glad you like it.
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 01-08-2006, 04:11 PM   #21 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

In response to these lines:

-TMSS|3|- Debug/Error Code: Found Directory for skp.
-TMSS|3|- Debug/Error Code: foreaching

Those are normal, and should happen every time you start the server, if the server is in debug mode. I forgot to turn it off for this release, but it won't harm anything, you'll just see some stuff you wouldn't otherwise. To fix this, open the SkillSettings.cs file, and set DebugMode to false.
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 01-09-2006, 02:19 AM   #22 (permalink)
 
Join Date: Mar 2005
Age: 23
Posts: 87
Question

Quote:
Originally Posted by TMSTKSBK
Ah. I see the problem.

At the top of the file, add a "using TMSS;"

Bugs are always welcome. They let me know people are using the system .

Thank you for that information. I'll revise the drop-in code.

Ok i've tried that numerous different ways, and it keeps giving me the error of
Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
 - Error: Scripts\Misc\CharacterCreation.cs: CS0246: (line 1, column 7) The type
 or namespace name 'TMSS' could not be found (are you missing a using directive
or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
I've tried doing using Server.TMSS, just the plain using TMSS, i even tried renaming TMSS to what the actual folder was called. So basically i think it comes down too, what file should this be exactly linked to? Here is the beginning lines of character creation.

Code:
using TMSS;
using Server.Engines.XmlSpawner2;
using System;
using Server;
using Server.Items;
using Server.Mobiles;
using Server.Network;
using Server.Accounting;


namespace Server.Misc
{
	public class CharacterCreation
	{
		public static void Initialize()
		{
			// Register our event handler
			EventSink.CharacterCreated += new CharacterCreatedEventHandler( EventSink_CharacterCreated );
		}

		private static void AddBackpack( Mobile m )
		{
			Container pack = m.Backpack;

			if ( pack == null )
			{
				pack = new Backpack();
				pack.Movable = false;

				m.AddItem( pack );
			}
				PackItem( new RedBook( "a book", m.Name, 20, true ) );
			PackItem( new BankCheck( 10000 ) ); // Starting gold can be customized here
			PackItem( new Dagger() );
			PackItem( new Candle() );
			
		}		
				
	private static void AddSkillTicket( Mobile m )
	{
		string name = "My Profile";
		if( SkillProfileHelper.ProfileExists(name) )
		{
			SkillProfile prof = SkillProfileHelper.GetProfile( name );
			SkillTicket ticket = new SkillTicket( m, prof );
			ticket.Owner = m;
				
			PackItem( ticket );
		}
	}
Any help would be greatly appreciated, been anxious to try it out, but suprised no one else has run into these problems.

EDIT: Also the fix for the debug code worked, thanks.

Last edited by Scripture; 01-09-2006 at 02:30 AM.
Scripture is offline  
Old 01-09-2006, 03:33 AM   #23 (permalink)
Forum Expert
 
A_Li_N's Avatar
 
Join Date: Apr 2004
Location: Another state of mind
Age: 27
Posts: 2,875
Default

He meant

using Server.TMSS;

instead of just TMSS
A_Li_N is offline  
Old 01-09-2006, 09:35 AM   #24 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

what he said >_< Server.TMSS should work.

and as for the "why has no one else had this problem"...not many people are using 3 yet.
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 01-09-2006 at 09:38 AM.
TMSTKSBK is offline  
Old 01-09-2006, 05:13 PM   #25 (permalink)
 
Join Date: Mar 2005
Age: 23
Posts: 87
Default

But I already said I even tried that, and still didnt work


EDIT: The error i get with using the "using Server.TMSS;" is a little different though, it goes like this:

Code: