RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 SVN] CliLoc Handler

Fenn

Wanderer
[RunUO 2.0 SVN] CliLoc Handler

Overview
The CliLoc reader tool provides a few easy-to-use methods for reading and assembling client localization text strings. These can be helpful when trying to display information like the ObjectPropertyList information given when the client mouses over an item or mobile.

The gump "ObjectPropertyListGump" synthesizes the client's display of the object property list. This can be hooked up into any project you have that may need this.

For reading the client localization strings, the command [clilocviewer opens up the gump CliLocViewerGump. This gump lets you pick through, and filter the various cliloc strings. Helpful if you're developing with clilocs and need to find the right string to use.

This tool was developed to facilitate an extension to the Universal Storage Keys project, as well as the Movable Addons. I figured that, on its own, it might be a useful tool for developers.

Note: You need to provide a copy of the cliloc.enu file (or equivalent file for corresponding language). Details in the included notes.txt file

For Players

This tool has nothing directly accessible to players.

For Developers

There are rather easy-to-use methods to read in the object property list information. This could be useful for displaying item or mobile information without having to rely on the client's built-in method.

The ObjectPropertyListGump is ready-to-go, and can be a good example for your own custom projects.

Compatibility

This has been tested and proven to work on a fresh download of the following:

*RunUO SVN 300
*RunUO RC1

Details

The notes.txt file contains installation and implementation instructions. Changelog is listed in the following post.View attachment 15314
 

Attachments

  • CliLoc Handler - 2008-10-07.rar
    10.5 KB · Views: 704

Fenn

Wanderer
Upgrade Notes

If you haven't done anything to change this script, then simply paste the latest version overtop the old one.l

Changelog

Version: Last modified Tuesday, October 7, 2008

Version 2008-10-07
  • Fixed a typo that caused a compile error if you don't have the Universal Storage Keys project installed

Version 2008-10-06
  • Added gump CliLocViewerGump which lists and filters cliloc strings, along with their corresponding numbers. This is accessible through the Developer command [clilocviewer

Version 2008-09-11
  • Switched cliloc data storage object from List<> to Hashtable. This drastically reduces the time taken finding the string, and will minimize the execution time of intensive, repetitive use.
 

Fenn

Wanderer
Made a small addition to this project: the CliLocViewerGump and corresponding Developer command [clilocviewer.

This gump lets you filter and pick through all the client localization strings, and associated numbers. I made this while working on the Movable Addons project, and I couldn't get my 3rd party cliloc editor program to load properly. After getting frustrated, I just decided to work with what I had already.

Enjoy!
 

Earedel

Sorceror
Probably one of the best tools that I have found to develop new content for my shard. Thank you very much, it works fine.
 

Lokai

Knight
version 2012-02-15
-Added Export button to the CliLocViewer, which exports the currently filtered list to a text file in the RunUO root directory (output.txt).

I did this because in the gump window it was very hard to read long strings.
 

Attachments

  • CliLoc Handler 2-15-2012.zip
    11.3 KB · Views: 54
Top