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 05-21-2005, 08:59 AM   #1 (permalink)
 
Join Date: Mar 2003
Posts: 304
Default Factions players management system

What is this?
This is a gump allowing to see all players in a specific faction, and eventually remove, kick, ban, props, etcetera, them. This may be useful if you wish to clean your factions from fake/useless players, or even if you are just curious to see them all

This script is fully compatible with RunUO 1.0.0 and 1.0.1 pre-releases.
New: Version 2 is compatible with RunUO 2.0 RC1.

How can I use this?
Using this gump is pretty easy. The structure is similar to my Items management system and thus very intuitive. You can open the gump by calling a command (FactionsManage), then select a faction you desire: the complete list of all players inside that faction will be displayed. The main page shows brief informations such as account name, player name, guild, last login, connection time in hours, leaving status (column L, an asterisk will appear if the player is leaving the faction, green colored if he started living recently, red colored if leaving time is already expired), and a graphical indicator about "useleness" of the player. See image 1 (click here).

By clicking on the parchment-like button, at the right of each player's row, the details page will open, showing additional useful details on the selected player: guild master (if any), serial, leaving start time, total skills (and highest skill), alive status. See image 2 (click here).

A filter page is also available, with many options. Here, you can decide to show - for instance - only players with less than 10 hours of game time, or only players currently leaving, etcetera. See image 3 (click here).

How can I install this?
Simply copy FactionsManage.cs into your RunUO scripts folder, and you are ready to start.

The Jail button does nothing, why?
RunUO does not include a jail system. If you want that button to do something, you have to associate it with your own jail scripts.

What is "uselessness level"?
It's an indicator of how a given player is active and/or suitable for playing in a faction. High values (yellow-red bar) usually indicate a given payer is not so active or not so adequate (ie: old last login, too few hours of connect time, very low skills, etcetera). Keep in mind this measure is not absolute, nor precise: it just allows to quickly find fake players (if you need this).
Attached Files
File Type: zip FactionsManage.zip (9.1 KB, 278 views)
File Type: zip FactionsManage (version 2).zip (9.0 KB, 81 views)

Last edited by uburz; 06-16-2006 at 11:19 AM.
uburz is offline  
Old 06-14-2005, 01:17 PM   #2 (permalink)
Forum Novice
 
Lokigom92's Avatar
 
Join Date: Apr 2004
Posts: 158
Default

This is a great script. I like being able to see who is in what faction. I do have one small problem with it however. With the release of some custom factions, my shard has 6 now, but I only see 4 of them listed in the gump. Is there a way to increase the number of factions it shows? Also, is there a way to add into it a little check to show which players are actually online? That would be awesome if you caould add those into it.
Lokigom92 is offline  
Old 06-16-2005, 07:20 PM   #3 (permalink)
 
Join Date: Mar 2003
Posts: 304
Default

Quote:
Originally Posted by Lokigom92
Is there a way to increase the number of factions it shows? Also, is there a way to add into it a little check to show which players are actually online? That would be awesome if you caould add those into it.
Sure, you can add more factions inside InitializeGump method, «case FactionsManageGumpPage.Faction_select», lines 482+. Also, make sure to relocate buttons and labels so they fit properly into the gump.

For the online property, you can just check if the mobile's NetState is null or not. You can then use two different colors for player's name: one for online players, and another for offline players. This can be changed in InitializeGump method, «case FactionsManageGumpPage.Main», lines 281+. In particular, change line 317 from
Code:
AddLabelCropped( x1, offset, l1, 20, NameHue, name ); // Name
to
Code:
AddLabelCropped( x1, offset, l1, 20, player.NetState != null ? GreenHue : NameHue, name ); // Name
I haven't tested this, but it should work.
uburz is offline  
Old 06-17-2005, 02:23 AM   #4 (permalink)
 
Join Date: Dec 2004
Location: USA michigan
Age: 30
Posts: 171
Send a message via Yahoo to cuy782002
Question

would u have a problum if i edited this whole system well mainly changed all the factions names im working on doing a whole diff thing. kinda factions based but diff
if u do let me know

there going to be arched devils and players wil be able to view this gump but admins will have all the command bottons



great .cs btw thx for posting
cuy782002 is offline  
Old 06-19-2005, 05:55 PM   #5 (permalink)
 
Join Date: Mar 2003
Posts: 304
Default

Quote:
Originally Posted by cuy782002
would u have a problum if i edited this whole system well mainly changed all the factions names im working on doing a whole diff thing. kinda factions based but diff
if u do let me know

there going to be arched devils and players wil be able to view this gump but admins will have all the command bottons
No problem for me, edit it if you want to
uburz is offline  
Old 06-16-2006, 11:22 AM   #6 (permalink)
 
Join Date: Mar 2003
Posts: 304
Default

I uploaded a new version of this script, which is compatible with RunUO 2.0 RC1 (see first message).
uburz is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5