Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 07-17-2004, 11:35 AM   #1 (permalink)
Forum Expert
 
Join Date: Oct 2002
Posts: 1,126
Default Command: Deleting a character

Summary:
People have been complaining about not being able to delete single characters on an account. Here's a command to do that. (If the player is not logged in, you may have to bring the character you wish to delete to you using the [admin gump before issuing this command).

Installation:
Just save this file anywhere in your scripts directory and reload RunUO.

Usage:
Type "[deletecharacter" without the quotes. You must be an administrator to use this (by default). Target the character you wish to delete. Press "OKAY".
Attached Files
File Type: cs DeleteCharacter.cs (3.3 KB, 186 views)
Aenima is offline   Reply With Quote
Old 07-17-2004, 12:00 PM   #2 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 24
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

great job.....but if the players are complaining couldn't you just set the character deletion bit to false in the distro scripts (can't recal where though) and it won't even check for a number of days the character has to be running
__________________

Pyro-Tech is offline   Reply With Quote
Old 07-17-2004, 02:43 PM   #3 (permalink)
Forum Expert
 
Khaz's Avatar
 
Join Date: Mar 2003
Location: where I belong
Posts: 1,786
Default

I dont think this was coded for the players. In order for staff to delete characters, they have to go through the accounts.xml or delete the whole account. With Aenima's command, you can now delete a character without all that other trouble.

Thanks for the script, Aenima. Great work!
__________________
"Misfortune shows those who are not really friends." -Aristotle
"A multitude of words is no proof of a prudent mind." -Thales
Khaz is offline   Reply With Quote
Old 07-17-2004, 02:48 PM   #4 (permalink)
psz
UO Gamers: Demise Administrator
 
psz's Avatar
 
Join Date: Oct 2002
Location: Swamp
Age: 29
Posts: 10,817
Default

Actually, without using this script, you'd have to set player false, empty the bankboxes, remove the houses, find/kill the pets, etc etc etc. You never had to go through the accounts file.

This just simplifies it.
__________________
psz
Demise' Creator (Retired)
The RunUO.com Forum Moderator Team
Former Official RunUO Scripter (Retired)
Websites:
My 360 Blog
My Gaming Site(Old Link)
My Gaming Site(New Link)
psz is offline   Reply With Quote
Old 07-17-2004, 04:52 PM   #5 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 24
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

ok then. i misunderstood what he was saying
__________________

Pyro-Tech is offline   Reply With Quote
Old 07-17-2004, 04:54 PM   #6 (permalink)
Forum Expert
 
Join Date: Jan 2004
Location: England
Age: 24
Posts: 404
Send a message via AIM to malgrimace
Default

Great - this is just what I needed
malgrimace 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