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 04-15-2006, 11:47 PM   #1 (permalink)
Forum Expert
 
Join Date: Oct 2002
Posts: 1,127
Default Kill Krrios

The default world save that comes with RunUO 1.0 includes all the decorations etc. that Krrios was able to scrape from OSI. It actually also has an orphaned PlayerMobile (ie. one with no account) that Krrios was using to decorate/save the world before its release.

I was bored and decided that if you want to save yourself a negligible amount of memory/diskspace you can run this command ([KillKrrios) to find and delete Krrios.

(Much love, Krrios! :>)

Code:
using System;
using Server;
using Server.Mobiles;

namespace Server.Custom.Misc
{
	public class DeleteKrrios
	{
		public static void Initialize()
		{
			Server.Commands.Register( "KillKrrios", AccessLevel.Administrator, new CommandEventHandler( KillKrrios_OnCommand ) );
		}

		[Usage( "KillKrrios" )]
		[Description( "Finds and deletes Krrios' orphaned character from the default world." )]
		private static void KillKrrios_OnCommand( CommandEventArgs e )
		{
			Mobile m = World.FindMobile( 1 );

			if ( m != null && m.Name == "Krrios" ) // Yeah, could go further, but if any admin decides to name themselves Krrios they deserve to be deleted :P
			{
				m.Delete();
				e.Mobile.SendMessage( "Krrios was found and destroyed." );
				e.Mobile.SendMessage( "Remember to perform a world save to make this permanent." );
			}
			else
				e.Mobile.SendMessage( "The default Krrios does not exist or was otherwise not found." );
		}
	}
}
Aenima is offline  
Old 04-16-2006, 12:14 AM   #2 (permalink)
Forum Expert
 
BeneathTheStars's Avatar
 
Join Date: Jul 2005
Location: (South)Tip o' Texas
Posts: 1,294
Send a message via AIM to BeneathTheStars Send a message via MSN to BeneathTheStars
Default

Thats just....just...horrible!

But i think it can be done with: [global delete where playermobile name = "krrios"

Or something along the lines of that.. Good job on the script tho..
BeneathTheStars is offline  
Old 04-16-2006, 12:17 AM   #3 (permalink)
Forum Expert
 
Join Date: Oct 2002
Posts: 1,127
Default

Yeah, I'd've thought that too. But I didn't think it to work - have you tried [remove or [delete and targeted a player? =) I think it's a safeguard thing.
Aenima is offline  
Old 04-16-2006, 12:19 AM   #4 (permalink)
Forum Expert
 
BeneathTheStars's Avatar
 
Join Date: Jul 2005
Location: (South)Tip o' Texas
Posts: 1,294
Send a message via AIM to BeneathTheStars Send a message via MSN to BeneathTheStars
Default

Oh. Diddnt think about that, Sorry.
BeneathTheStars is offline  
Old 04-16-2006, 04:04 AM   #5 (permalink)
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default

hmmm...destroying things...excellent...

all hail the mobile-deleting mod!
__________________
Goodbye, folks.
TMSTKSBK is offline  
Old 04-16-2006, 08:02 AM   #6 (permalink)
Forum Expert
 
Manu's Avatar
 
Join Date: Jul 2005
Location: München/Deutschland (Munich/Germany)
Age: 27
Posts: 1,948
Send a message via ICQ to Manu Send a message via Skype™ to Manu
Default

Oh my god, they killed Krrios!

YOU BASTARDS!!!


j/k
__________________
Tides of Magic
doc-chaos.dyndns.org - Status: Gathering ideas, working out the concept
Manu is offline  
Old 04-16-2006, 11:27 AM   #7 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Thumbs up Aenima

There is only one way this script could be even better.....combine this script with the Ultimate Kill Command.
__________________
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  
Old 04-16-2006, 12:34 PM   #8 (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

on b36 or rc0 wasn't there an orphaned Ryan also?

are we gonna see an orphan phantom soon ruling over doom dungeon??
__________________

Pyro-Tech is offline  
Old 04-17-2006, 03:04 PM   #9 (permalink)
Forum Administrator
 
krrios's Avatar
 
Join Date: Aug 2002
Posts: 2,850
Default

Aenima looks while Krrios sees.
krrios is offline  
Old 04-20-2006, 03:21 AM   #10 (permalink)
 
Join Date: Jun 2005
Age: 45
Posts: 155
Send a message via MSN to Marlberg
Default

Now I have a question Im somewhat new to this and dont know every aspect about it But ill forge ahead with an Asinine question all hale the comming flame comments about a noob not knowing nuttin!

It would seem to me that if someone (Pissed off Shard GM, Player) new that there was a character on a shard that did not have a account and said person decided to use that clients AccessLevel Priviledge and could force acceptance of an account to that character in some fashion ( IP attack Packet Hack just guessing here) would that character not be granted Admin Priviledges to the shard?

If this were to happen would that not be a security hole in the code. They damn for sure delete accounts of Developers at The company I work for as soon as they know the Developer is leaving the premises and any access rights or priviledges left behind are removed then without waiting.

Im Not sure that you could force an attachment to what essentially is the authentication token for a user But with the account property set to null it invites someone to try. Better would have been to leave Krrios as a player level access or to remove him entirely

But Again this could be all my fertile immagination as well
Marlberg is offline  
Old 04-20-2006, 04:30 AM   #11 (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

Quote:
Originally Posted by Marlberg
Now I have a question Im somewhat new to this and dont know every aspect about it But ill forge ahead with an Asinine question all hale the comming flame comments about a noob not knowing nuttin!

It would seem to me that if someone (Pissed off Shard GM, Player) new that there was a character on a shard that did not have a account and said person decided to use that clients AccessLevel Priviledge and could force acceptance of an account to that character in some fashion ( IP attack Packet Hack just guessing here) would that character not be granted Admin Priviledges to the shard?

If this were to happen would that not be a security hole in the code. They damn for sure delete accounts of Developers at The company I work for as soon as they know the Developer is leaving the premises and any access rights or priviledges left behind are removed then without waiting.

Im Not sure that you could force an attachment to what essentially is the authentication token for a user But with the account property set to null it invites someone to try. Better would have been to leave Krrios as a player level access or to remove him entirely

But Again this could be all my fertile immagination as well
i don't know much about the various hacking type of things you could do, but i guess you could if an orphan playermobile had a high enough access level default (in this case would need admin to delete another admin), then it would be true....but if anything the Krrios mobile is GM or lower since you are still asked to create the admin account since it is lacking.

if anything, it was prolly just an orphan mobile left over like stated, or something similar like i mentioned with a Ryan circulating. not too much harm i would imagin.
__________________

Pyro-Tech is offline  
Old 04-20-2006, 06:01 AM   #12 (permalink)
Forum Expert
 
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
Default

Quote:
Originally Posted by Pyro-Tech
i don't know much about the various hacking type of things you could do, but i guess you could if an orphan playermobile had a high enough access level default (in this case would need admin to delete another admin), then it would be true....but if anything the Krrios mobile is GM or lower since you are still asked to create the admin account since it is lacking.

if anything, it was prolly just an orphan mobile left over like stated, or something similar like i mentioned with a Ryan circulating. not too much harm i would imagin.
It asks you to create an Admin account because there is no Admin account, like you said Krrios is a mobile, it is an orphan mobile meaning it does not hav an account attached to it. The Krrios mobile does actually have Admin AccessLevel!!
tobyjug is offline  
Old 04-20-2006, 12:24 PM   #13 (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

Quote:
Originally Posted by tobyjug
It asks you to create an Admin account because there is no Admin account, like you said Krrios is a mobile, it is an orphan mobile meaning it does not hav an account attached to it. The Krrios mobile does actually have Admin AccessLevel!!
do you know this for fact cause you found it and looked at it? for doing all the static placement and stuff described by it's functions in the first post, you could do that with a GM.

but as i originally stated.....sure it is possible, and i haven't looked into it. I just don't see Ryan or Krrios letting something like that happen when alot could be at stake for their emulator like that
__________________

Pyro-Tech is offline  
Old 04-20-2006, 07:28 PM   #14 (permalink)
Forum Expert
 
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
Default

Yes I have seen it, it is Admin AccessLevel. I made a post a little while ago telling someone how to find it by doing a global interface search for all characters with Admin AccessLevel.
tobyjug is offline  
Old 04-20-2006, 10:25 PM   #15 (permalink)
 
Join Date: Jun 2005
Age: 45
Posts: 155
Send a message via MSN to Marlberg
Default

Quote:
Originally Posted by tobyjug
It asks you to create an Admin account because there is no Admin account, like you said Krrios is a mobile, it is an orphan mobile meaning it does not hav an account attached to it. The Krrios mobile does actually have Admin AccessLevel!!

Yes it has Adminstrator as its privileges I just used [xmlfind to bring Him to me (Wonderful tool by the way) His [Props shows him as Admin although his gump just says Krrios
Marlberg is offline  
Old 04-20-2006, 10:31 PM   #16 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: at my computer
Posts: 117
Send a message via ICQ to tindin156 Send a message via MSN to tindin156
Default

it was ether and admin or Adminstrator account name that i used and had his char on my list at one point in time...just my 2 cents
__________________
some peaple search for what they want others have it handed to them....

Yes i know my spelling sucks.....
tindin156 is offline  
Old 04-22-2006, 05:24 PM   #17 (permalink)
Forum Newbie
 
Join Date: Jun 2005
Age: 40
Posts: 12
Send a message via ICQ to nonnerdeen
Default

We killed him once on our shard by doing a character search (command is [cs ). we found him and killed him lol. A little warning tho do not put him in jail or it crashes the shard hehe.
nonnerdeen is offline  
Old 04-24-2006, 06:38 PM   #18 (permalink)
Account Terminated
 
Join Date: Jan 2006
Posts: 50
Default

question if you have blank saves why would there be a orphan mobile of krrios?
noob2 is offline  
Old 04-24-2006, 06:58 PM   #19 (permalink)
 
Join Date: Jun 2005
Age: 45
Posts: 155
Send a message via MSN to Marlberg
Default

Quote:
Originally Posted by noob2
question if you have blank saves why would there be a orphan mobile of krrios?
It is built in to the Distro
Marlberg 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