Exale submitted a new resource:

Control - Allows a staff member to control another npc.

This is an awesome script originally created by Quick Silver. (header is intact.) All I did was update a couple errors so it now works with RunUO 2.5, ServUO, and JustUO.

It allows you to take full control over an NPC.

If you want to automatically uncontrol the npc when the npc dies open up your playermobile.cs file and under the OnBeforeDeath() function add the folliowing. (optional)
Code:
		if (Server.Commands.ControlCommand.UncontrolDeath( (Mobile)this ))
		{
		  return...

Here is the original link:
http://www.runuo.com/community/threads/1-0-2-0-rc1-npc-control-command.83702/

Read more about this resource...
 
Last edited:
i don't know why but i have this problem.

Code:
Server Crash Report
===================

RunUO Version 0.5, Build 5752.24497
Operating System: Unix 2.6.32.42
.NET Framework: 4.0.30319.17020
Time: 10/02/2015 06:50:01
Mobiles: 37867
Items: 101637
Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Server.Mobiles.PlayerMobile.OnAfterDelete () [0x00000] in <filename unknown>:0
  at Server.Mobile.Delete () [0x00000] in <filename unknown>:0
  at Server.Commands.ControlCommand.EndControl (Server.Items.ControlItem controlItem, Boolean stats, Boolean skills, Boolean items) [0x00000] in <filename unknown>:0
  at Server.Items.ControlItem.OnDelete () [0x00000] in <filename unknown>:0
  at Server.Item.Delete () [0x00000] in <filename unknown>:0
  at Server.Items.ControlItem.OnDoubleClick (Server.Mobile from) [0x00000] in <filename unknown>:0
  at Server.Mobile.Use (Server.Item item) [0x00000] in <filename unknown>:0
  at Server.Engines.XmlSpawner2.XmlAttach.UseReq (Server.Network.NetState state, Server.Network.PacketReader pvSrc) [0x00000] in <filename unknown>:0
  at Server.Network.MessagePump.HandleReceive (Server.Network.NetState ns) [0x00000] in <filename unknown>:0
  at Server.Network.MessagePump.Slice () [0x00000] in <filename unknown>:0
  at Server.Core.Main (System.String[] args) [0x00000] in <filename unknown>:0

Clients:
- Count: 1
+ 84.126.226.145: (account = pall) (mobile = 0x70 'Pall')

any can help me?
 
Back