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-18-2006, 08:56 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 [RunUO 2.0 RC1] TMSS 4.0

(v4.0.7)
Introduction:
This is the follow-on to the semi-popular TMSS 3.0, also found on these forums. TMSS 4 offers some extremely debugged stuff, along with more accessible profiles, and a completely new skinning system.

STRUCTURE OF TMSS 4 (NEW!):
The "CORE" release (the .zip) does NOT contain everything you need. TMSS 3 introduced a "plugin" concept. TMSS 4 extends this to where *everything* is a plugin, not just extra add-ons. Therefore, you need to download one or more of the additional item scripts in order for TMSS 4 to be of use to you.

TMSS 4 Profile Assistant (SkillUO) is HERE


---------------
Installation:
1. Place scripts in custom directory.

Easy, eh?


Prerequisites:
RunUO 2.0 RC*
.NET Framework 2.0 (if you have RunUO 2, you have this).

No modifications to default scripts required, just drop into whatever folder your customs are in and run.
---------------

SYSTEM DEVS:
TMSS 4 has a few things you may be interested in.
1) TMQueryPage - The plugin gump system, follow-on to the Distributed Control Center found on these forums.
2) GumpList - Supports infinite lists, when used in combination with... (Released separately)
3) BaseSkin - The required set of variables for any skin. (Released separately)
4) TMSS4Skin - The implementation of skins used in this project. Good as an example of how to implement BaseSkin.

These guys should be getting some updates soon...

Known Issues:
- FOR WHATEVER WEIRD REASON, the system has something funky going on when you add it, dealing with SkillSkin. It *appears* that restarting the shard after the install run will fix this. In other words: Add > Run Shard to install > Restart shard > use.
- Major lack of documentation...I'm working on it.
- It has been postulated that this script causes names to disappear on pull-out life meters and such. This has been tracked down to the SkillReplacement script. A fix is in progress.

Commands (bold ones are important):
-- Basic Commands:
1 - [tmss - Opens the control center.
2 - [sessiontest - Creates and starts a new SkillSession
3 -[listtest - Opens a test gump for GumpList.
4 - [skilltest - Opens the Skill Gump on command.
5 - [mastertest - Opens the Master Gump on command.
6 - [fulloutput - Toggles Debug Mode 2 on and off.
7 - [ps - Opens the profile selector gump.
8 - [pr - Reloads the profiles in use.
9 - [ss - Opens the skin selector gump.
10 - [sr - Reloads the main skin.
11 - [rlskin - Same as #9
12 - [ssg - Opens the Parallel Skills Gump.
13 - [gds - Saves default skins to disk.

-- Other Commands:
14 - [setskillp - Allows you to set a parallel skill.
15 - [setallskillsp - Allows you to set a mobile's skills in the parallel system.
16 - [gsw - Writes the default Skill Skin to disk.

What this release includes:
This release includes the "Core" of TMSS 4, including the gump systems, save/load algorithms, and plugin interface code. When run, it will auto-generate information for a default profile, and information for the default skin.


Changelog:
REPORT A BUG AND GET A PUBLIC THANK YOU IN THE CHANGELOG!

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

8.18.06: Initial release of v4.0, Beta RC0 [UR]
8.18.06: Release of RC0, r1. Fixes a bug in resending Master gump, and adds features to GumpList. Separated GumpList and BaseSkin into classes in the Server.Gumps namespace. [UR]
8.21.06: Release of RC1, r0. Changes the skins and gump list to the new standards, changes [rlskin command to support this new format. Fixes icons not showing up in skill gumps bug. [UR]
9.17.06: Release of RC1, r1. Fixes a pretty major bug in ability of PLAYERS to use the gumps. Prolly shoulda tested that... Also adds SkillTickets and SkillBalls. Both of those are incompletely tested, so prolly shouldn't use 'em... [UR]
12.22.06: Release of RC2. This is the final format. All known bugs have been addressed. Parallel Skills are included (to an extent). SkillUO will be released very soon. (169 downloads of RC1r1) [UR]
12.23.06: CTP Release of "SkillUO". Available in a separate thread, see above. [UR]
2.1.07: Release of 4.0.0. Bug found in SkillSession. [UR]
2.4.07: Release of 4.0.1. Bugs found in Profile Selection Gump, options added to SkillTicket. (thanks, Soultaker) [UR]
2.5.07: Release of 4.0.1r2. Bugs found in Skin Selection Gump. NEW STRUCTURE! Delete old scripts entirely, replace with new ones.(thanks, mechwolf) [UR]
2.6.07: Release of 4.0.5! Yeah, big jump, isn't it? Why? CUSTOM SKILLS GUMP RELEASE! (thanks for the push, HellRazor) [UR]
2.8.07: Release of 4.0.6. Tons of bugs and one exploit fixed. WORKS WITH SVN 156! (thanks, Erica) [UR]
2.8.07: Re-release of items. Various bugs encountered and removed. Please report any issues! [UR]
8.10.07: Release of 4.0.7. Skill Caps are experimentally enabled. Use a negative cap number to not cap a skill. 0 will cap the skill at 0. Possible bug while adding Skill Stone. (thanks Raviperson) [UR]


General FAQs:
- How do I change a profile?
Profiles use a new paradigm of external editing. They are stored in XML format, which is not NEARLY as scary as it sounds. Basically you just open the .skx or .spr file you want to edit (~RunUO/TMSS/SkillProfiles), and modify/add/delete the correct items to configure the profile. More specific directions on this are forthcoming. SkillUO will assist you with this.

- How do I change a skin?
Skins are simple to change. Similar to profiles, they are stored in XML, which allows you to edit the skin, then reload it with the command "[rlskin". I tried to make the names pretty common-sense, but I'll review them before final release.

- How do I create a profile?
You can create a profile by creating a new .skx file for a SkillProfile, or a .spr file for a SuperSkillProfile. Then you can add entries for each skill you want to add in, or Profile, in the case of a SSP. Or, you can use SkillUO.

- How do I use my new profiles, or set them as default?
On each TMSS Skill Item, you may use the [ps command to open a profile set gump. Note that TMSI's only take SuperProfiles this way. You cannot set a simple SkillProfile as the "Profile" on an item. To set a profile as default, use the CCProfileName variable in skillsettings, or edit the skillsave.tms file.

- How can I specify which skin I want to use on an item/overall?
To change the overall skin, you need to edit the CCSkinName variable in SkillSettings, or in the skillsave.tms file. To change the skin for an item, it is similar to the procedure for changing a profile.

Credits:

BUG FINDING TEAM:
orpheus - beta tester
Soultaker - various crash bugs destroyed.
mechwolf - various crash bugs destroyed.
Erica - breaker-of-everything.

Aaaaahhhh let's see...
All the Devs (Ryan, krrios, Mark, ASayre, Zippy), thanks for such a fun hobby.
RunUO Community, thanks for being so creative.
A_Li_N - Thanks for helping me with suggestions and with some technical stuff.
milt - encouraging me to switch to generics (good move...)
kmwill23 - inspiration from Knive's Chat to create the skinning system.
HellRazor - Spurring me on to finish the Custom Skills Gump.
The middle steps of Luna in Malas -- where I debugged this.

What do I download?
This particular release requires you to download AT LEAST TWO things:
1) The TMSS 4.07 Core. (TMSS v4.0.7.zip)
2) Any plugins you want (SkillStone, SkillTicket, SkillGates, SkillBalls...)

THE SYSTEM WILL NOT OPERATE WITHOUT THE CORE.
Attached Files
File Type: cs SkillStone.cs (2.2 KB, 326 views)
File Type: cs SkillTicket.cs (1.8 KB, 303 views)
File Type: cs SkillGates.cs (3.0 KB, 333 views)
File Type: cs SkillBalls.cs (899 Bytes, 318 views)
File Type: zip TMSS v4.0.7.zip (54.1 KB, 279 views)
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 12-14-2007 at 11:54 AM.
TMSTKSBK is offline   Reply With Quote
Old 08-18-2006, 08:56 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

SCREENSHOTS!

Stats gump:


Skills gump:
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 08-21-2006 at 01:03 AM.
TMSTKSBK is offline   Reply With Quote
Old 08-18-2006, 08:58 PM   #3 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Plans:
Addition of hooks for Custom Skill System - installed in this beta.
External Profile authoring application - released as TMSS 4 Profile Assistant.

Updated Custom Skill System - in progress.

Skill Balls - released
Skill Tickets - released
Skill Gates - released
Buyable Skills - in progress

Insta-setup profiles.
Multiple skins.

Known Issues:
none.
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 01-01-2007 at 12:31 AM.
TMSTKSBK is offline   Reply With Quote
Old 08-18-2006, 11:23 PM   #4 (permalink)
Account Terminated
 
Join Date: Nov 2004
Age: 20
Posts: 74
Default

I suggest using Gump.AddLabelCropped instead of Gump.AddLabel (referring to the "Bowcraft/Fletching" entry, among other long skill names...) to prevent overlapping text. Like this.

Everything else looks fantastic, great job.

Last edited by Apothem; 08-18-2006 at 11:26 PM.
Apothem is offline   Reply With Quote
Old 08-18-2006, 11:24 PM   #5 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

There's a different fix for that in the works. Using GumpList...
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 08-18-2006, 11:30 PM   #6 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,260
Default

I second that, it looks excellent

A huge improvement over the last gump I saw from you. A+

***EDIT***
Don't forget changing the button ID's to something smaller. I recommend 2117 (unpressed) and 2118 (pressed)...
Attached Images
File Type: bmp Button1.bmp (546 Bytes, 405 views)
File Type: bmp Button2.bmp (546 Bytes, 154 views)

Last edited by Joeku; 08-18-2006 at 11:35 PM.
Joeku is offline   Reply With Quote
Old 08-18-2006, 11:31 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

I TOLD you they were better

Bah. All your gumps are failures compared to mine. 2117 and 2118 are elsewhere in the design paradigm. I can't use them for that, nor do I want to. But the beauty of skinning is that you can set it to whatever you like.

Feel free to author alternative skins. If I really like it, I'll distro it as an option with the final release.
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 08-19-2006 at 02:09 AM.
TMSTKSBK is offline   Reply With Quote
Old 08-19-2006, 03:41 PM   #8 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Ok. New version (RC 0 r1) out. Fixes the skill name column thing, and a bug with resending the Master gump.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 08-19-2006, 04:32 PM   #9 (permalink)
Forum Expert
 
Join Date: Feb 2006
Posts: 277
Send a message via ICQ to Tee312 Send a message via MSN to Tee312 Send a message via Yahoo to Tee312
Default

great job TMS
Tee312 is offline   Reply With Quote
Old 08-19-2006, 04:45 PM   #10 (permalink)
Forum Expert
 
Join Date: Jul 2004
Location: Calgary Alberta Canada
Age: 46
Posts: 360
Send a message via ICQ to Crowley62 Send a message via MSN to Crowley62
Default

I'm lost i dont see where you explain exactly what this does. Does it change stat and skill caps in game? please explain what you use this for thx
Crowley62 is offline   Reply With Quote
Old 08-19-2006, 04:51 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

Wheeee, that might help, eh?

OK!
TMSS is the most popular skill-and-stat system for RunUO at this time.
It is primarily a start system, but can also be used for rewards and other such stuff.

This particular release is a beta of the core of TMSS 4. Not a lot of interface items are included (although creating them is pretty easy). This is mostly to test the internals of the system, and do a CTP of all the new gump and profile features.

BTW: New screenie of the skills gump.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 08-19-2006, 05:42 PM   #12 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,260
Default

Code:
if( Joeku.Gump.Value > TMSTKSBK.Gump.Value )
      RunUO.BestUOServer = true;
'nuff said...

Really though, good job. Except the buttons and the overlapping text.
Joeku is offline   Reply With Quote
Old 08-19-2006, 05:44 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

Great job = thank you. For the rest, I shall now proceed to laugh you out of the thread.

And Joeku.Gumps threw a NullReferenceException...so...meh.
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 08-20-2006 at 02:40 AM.
TMSTKSBK is offline   Reply With Quote
Old 08-21-2006, 08:15 PM   #14 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Release of RC1, r0. Fixes a few bugs.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 08-28-2006, 06:12 PM   #15 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Thumbs up Tms

Excellent system. Been waiting for 4.0
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 08-28-2006, 06:49 PM   #16 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Thanks, LN.

Sometimes I feel like I killed a fly with a bazooka in this system, though :-\.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 09-16-2006, 09:39 PM   #17 (permalink)
Newbie
 
Join Date: Sep 2006
Age: 30
Posts: 27
Default

I put them in the "Commands" folder under runuo/scripts.

I got this error.

Quote:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
+ Commands/BaseSkin.cs:
CS0101: Line 15: The namespace 'Server.Gumps' already contains a definition
for 'WindowInfo'
CS0101: Line 23: The namespace 'Server.Gumps' already contains a definition
for 'ButtonInfo'
CS0101: Line 42: The namespace 'Server.Gumps' already contains a definition
for 'BaseSkin'
CS0101: Line 215: The namespace 'Server.Gumps' already contains a definition
for 'SkinHelper'
+ Commands/GumpList.cs:
CS0101: Line 14: The namespace 'Server.Gumps' already contains a definition
for 'GumpList'
CS0101: Line 300: The namespace 'Server.Gumps' already contains a definition
for 'GumpListEntry'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
+ Commands/BaseSkin.cs:
CS0101: Line 15: The namespace 'Server.Gumps' already contains a definition
for 'WindowInfo'
CS0101: Line 23: The namespace 'Server.Gumps' already contains a definition
for 'ButtonInfo'
CS0101: Line 42: The namespace 'Server.Gumps' already contains a definition
for 'BaseSkin'
CS0101: Line 215: The namespace 'Server.Gumps' already contains a definition
for 'SkinHelper'
+ Commands/GumpList.cs:
CS0101: Line 14: The namespace 'Server.Gumps' already contains a definition
for 'GumpList'
CS0101: Line 300: The namespace 'Server.Gumps' already contains a definition
for 'GumpListEntry'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Scripts: Compiling C# scripts...
Another thing... when I'm in my admin account, what keywords do I say to create a gump?
facsmth is offline   Reply With Quote
Old 09-17-2006, 04:07 PM   #18 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

You must have two copies of the BaseSkin information. This system comes with the BaseSkin and all related classes/structs.
To look at a gump, say [sessiontest

It doesn't matter what folder it's in, btw...

(...I should probably get on with releasing a real version of this, eh?)
__________________
Goodbye, folks.

Last edited by TMSTKSBK; 09-17-2006 at 04:24 PM.
TMSTKSBK is offline   Reply With Quote
Old 09-17-2006, 04:57 PM   #19 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Posts: 8
Default

Hello,

I'm switching over from the 3.0 version of this system and have run into a few problems. After installation and placing the skill stone the admin/owner is the only one who can use it. The players can click on the skill stone and get the gumps, but nothng happens when they click on them. They can't even close the settings gumps. Can someone shed some light on what i'm doing wrong here?

Thanks....
lemperor is offline   Reply With Quote
Old 09-17-2006, 04:59 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

whee O_o...
Well that's new. For now, I'd ask that you go back to 3.0 if you can. I'll investigate that problem.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 09-17-2006, 11:37 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

Well, I found at least one of the problems.

Change line 129 in TMSS4Gumps.cs to:
else if( sender.Mobile.AccessLevel <= SkillSettings.GumpControlLevel && info.ButtonID == 0 ) { Page.Clone(); return;}

Used to not have the && statement >_<.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 09-18-2006, 02:37 AM   #22 (permalink)
Forum Newbie
 
Join Date: Jul 2006
Posts: 8
Default

Quote:
Originally Posted by TMSTKSBK
Well, I found at least one of the problems.

Change line 129 in TMSS4Gumps.cs to:
else if( sender.Mobile.AccessLevel <= SkillSettings.GumpControlLevel && info.ButtonID == 0 ) { Page.Clone(); return;}

Used to not have the && statement >_<.
Ok,

Will give this a try an see what happens.

Thankx....
lemperor is offline   Reply With Quote
Old 09-18-2006, 08:19 AM   #23 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

BTW, current release has the fix.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote
Old 10-20-2006, 06:50 AM   #24 (permalink)
Forum Newbie
 
Join Date: Oct 2006
Posts: 5
Smile Wonderin

When will there be a new release a more stable one then this for RunUO 2.0 RC1 i have tried to use the 4.0 but well only 1 actual function works and i would like to see one that you can edit the total skill caps online as well as stat caps

Just wondering.
KiltronCa1 is offline   Reply With Quote
Old 10-20-2006, 08:12 AM   #25 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

Skill caps are adjusted in the profiles. The functionality is there, there just isn't a way of doing it from inside a gump, and it's likely to stay that way. I will be releasing a Profile Assistant, which is an external app for the purpose of helping you create and manage skill profiles.
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote