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 02-10-2006, 10:42 AM   #1 (permalink)
 
Join Date: Aug 2004
Age: 25
Posts: 24
Default [rkill awsome

PHP Code:
using System;
using Server;
using Server.Mobiles;
using Server.Items;
using Server.Network;
using Server.Spells;
using Server.Targeting;
using Server.Targets;
using Server.Misc;
using System.IO;
using System.Collections;
using Server.Gumps;
namespace Server.Scripts.Commands
{
 public class 
Rkill
 
{
  public static 
void Initialize()
  {
   
Server.Commands.Register"Rkill"AccessLevel.GameMaster, new CommandEventHandlerOnRkill ) );
  }
  [
Usage"Rkill <parameter>" )]
  [
Description"Remotely Kill's Lower Access Level's." )]
  private static 
void OnRkillCommandEventArgs eMobile victim )
  {
   if ( 
e.Mobile.AccessLevel <= victim.AccessLevel )
    
e.Mobile.SendMessage"You can not perform negative acts on your target." );
   else if ( 
victim.Name.Length == )
    
e.Mobile.SendMessage"You must include who you wish to kill." );
   else
   {
    
World.Broadcast0x35true"A bolt of lightning leaves the hand of {0} and strikes {1} ."e.Mobile.Namevictim.Name );
    
e.Mobile.BoltEffect);
    
victim.BoltEffect);
    
victim.Kill();
   }
  }
 }

if any one would like to use this or help me out with the one error probly something stupid would be a nice script for everyone
cs0123: <line 19, column 88> Method 'Server.Scripts.Commands.Rkill.Onrkill<server.Comm andEventArgs, Server.Mobile>' does not match delegate 'void server. Commandeventhandler<server.CommandEventArgs>'
tomm_60421 is offline  
Old 02-10-2006, 11:40 AM   #2 (permalink)
Forum Newbie
 
Join Date: Jan 2006
Posts: 13
Question whats it do???

is it just a twist on the [kill command?
twellborn is offline  
Old 02-10-2006, 12:52 PM   #3 (permalink)
 
Join Date: Aug 2004
Age: 25
Posts: 24
Default

yes when you kill a player it will hit them with lighting and Broadcast A bolt of lightinh has left the hand of ????
tomm_60421 is offline  
Old 02-10-2006, 03:45 PM   #4 (permalink)
Forum Expert
 
orpheus's Avatar
 
Join Date: Jan 2004
Age: 29
Posts: 353
Send a message via AIM to orpheus Send a message via MSN to orpheus
Default

hrm, I've seen this work before on some shard, not exactly sure how to fix that problem you're having, but someone should.
__________________


They only give you two choices; be a rebel or a slave (So what you do?) So I rebel Like a ulser in the belly of the beast stayin true to it -- the coup/dead prez
orpheus is offline  
Old 02-10-2006, 03:47 PM   #5 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 29
Posts: 950
Default

", Mobile victim" ist not allowed. You have to create an own Target or check the parameters (e.Arguments) for a name, etc.
Irian is offline  
Old 02-10-2006, 04:32 PM   #6 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 37
Default

i dont believe this is the support forum is it?

Just curious
narualuka is offline  
Old 02-10-2006, 04:59 PM   #7 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Exclamation Wtf?

I believe that if you took the time to put this in the correct forum you would get better support. People are clicking on here thinking you are offering a script. You have sucessfully wasted my time as well as others.

Thread reported.
__________________
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 02-10-2006, 05:25 PM   #8 (permalink)
 
Join Date: Aug 2004
Age: 25
Posts: 24
Default

Dang sorry everyone was really tired this morning...would delete if if I could lol
tomm_60421 is offline  
Old 02-10-2006, 05:27 PM   #9 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Smile

Quote:

Dang sorry everyone was really tired this morning...would delete if if I could lol
NP, you will get better support in the "Script Support" part of the forum. It just gets agrivating when people are constantly doing this.
__________________
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 02-10-2006, 06:10 PM   #10 (permalink)
 
Join Date: Aug 2004
Age: 25
Posts: 24
Default

understandable I would be pist myself lol if I came hear and got a broken script
tomm_60421 is offline  
Old 02-10-2006, 09:46 PM   #11 (permalink)
 
Join Date: Feb 2006
Posts: 12
Default

it would be also nice if it was fixed an in a zip format to download. Sorry un newbs arnt as good as others.
SuicideSolution is offline  
Old 02-10-2006, 09:52 PM   #12 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by SuicideSolution
it would be also nice if it was fixed an in a zip format to download. Sorry un newbs arnt as good as others.
This isnt a working script and its in the wrong forum.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline  
Old 02-11-2006, 12:51 AM   #13 (permalink)
 
Join Date: Aug 2004
Age: 25
Posts: 24
Default

hopefully I get some good insight on how to fix it so it will be a working script
tomm_60421 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