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-10-2006, 11:07 AM   #1 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Germany
Age: 22
Posts: 56
Send a message via ICQ to Quick_silver
Default .Control [To control NPCs]

RunUO RC1 Release: [1.0 & 2.0 RC1] NPC Control command

I finialized my script to control NPCs.

.Control -> Target mobile
To takeover the Mobile and get a "Control Item" into the Backpack.
Doubleclick, drop or delete the item to get back your own body.

At control you get all items from the mobile. Only newbed and blessed items never move.
Also items from PlayerVendors never move.

Most of the comments and standart messegaes are in german. English messages are commented in the sourcecode, only replace them if needed.


Changes:
1.0.1:
- Added "private static object Construct(...)" to "class ControlCommand"
- Following command arguments added: NoStats, NoSkills, NoItems

You only need the Control_v1.0.1.zip.
Control.cs is the first version.

Have Fun...
Attached Files
File Type: cs Control.cs (11.9 KB, 136 views)
File Type: zip Control_v_1.0.1.zip (4.3 KB, 177 views)

Last edited by Quick_silver; 07-29-2007 at 04:03 PM.
Quick_silver is offline  
Old 05-10-2006, 11:48 AM   #2 (permalink)
Forum Novice
 
Join Date: Mar 2004
Location: Czech Republic
Age: 28
Posts: 119
Send a message via ICQ to RadstaR
Default

Possess Command
Here is another version of control ...
RadstaR is offline  
Old 05-10-2006, 12:57 PM   #3 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Germany
Age: 22
Posts: 56
Send a message via ICQ to Quick_silver
Default

Quote:
Originally Posted by RadstaR
Possess Command
Here is another version of control ...
But with that one you cant control tamed NPCs or PlayerVendors.

Features like "NoStatMod" and some more I will implement later.

Edit: My script supports to control tamed animals.

Last edited by Quick_silver; 05-11-2006 at 02:21 PM.
Quick_silver is offline  
Old 05-10-2006, 01:17 PM   #4 (permalink)
Forum Novice
 
Join Date: Sep 2005
Location: Houston
Age: 19
Posts: 170
Send a message via AIM to a_QuieT_Bum Send a message via Yahoo to a_QuieT_Bum
Default

Who cares what other people think

Nice Job im going to use this on my server

i appreciate it
a_QuieT_Bum is offline  
Old 05-10-2006, 07:30 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

Sorry if this get's double posted...im confused as to why my last post didn't load

@Quick_Silver: are you saying this one or that one you can't control tamed NPC's??

also there is a posses stone somewhere on the boards which worked pretty nice....i will try this one and see how it is
__________________

Pyro-Tech is offline  
Old 05-10-2006, 08:26 PM   #6 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Quick_silver, thanks for your script. I know this is not an easy one to do well.

One question, does this require editing the PlayerMobile script at all?
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline  
Old 05-10-2006, 08:28 PM   #7 (permalink)
Newbie
 
Join Date: Apr 2006
Age: 17
Posts: 80
Default

i got an error when i put it in custom folder and ran server
jack2006 is offline  
Old 05-10-2006, 08:52 PM   #8 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Question jack2006

Quote:
i got an error when i put it in custom folder and ran server
And that error was???
__________________
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 05-10-2006, 08:58 PM   #9 (permalink)
Newbie
 
Join Date: Apr 2006
Age: 17
Posts: 80
Default

commands.dupe does not contain a defintion for construct
jack2006 is offline  
Old 05-11-2006, 11:42 AM   #10 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Germany
Age: 22
Posts: 56
Send a message via ICQ to Quick_silver
Default

Quote:
Originally Posted by jack2006
commands.dupe does not contain a defintion for construct
The Script use some procedures from the Dupe command. I can copy them to the script, so it run without the Dupe.cs

And you _can_ control tamed animals. You can control everything without demage the original mobile.

Edit: You only need to Edit the PlayerMobile.cs if you want to end control at death.

Last edited by Quick_silver; 05-11-2006 at 12:08 PM.
Quick_silver is offline  
Old 05-11-2006, 02:19 PM   #11 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Germany
Age: 22
Posts: 56
Send a message via ICQ to Quick_silver
Default

I have updatet the script.

You now can use NoStat, NoSkills, NoItems as parameters after .control in any order. It's not case sensitive, too.

@jack2006 there should be no error now
Quick_silver is offline  
Old 05-22-2006, 02:35 PM   #12 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Germany
Age: 22
Posts: 56
Send a message via ICQ to Quick_silver
Default

Please post if you find bugs or have an idea to expand the script.
Quick_silver is offline  
Old 05-23-2006, 07:46 AM   #13 (permalink)
Forum Novice
 
alambik's Avatar
 
Join Date: Apr 2003
Age: 32
Posts: 248
Default

Very good script! especialy the genericity of Layers & Propertirs the copy operation. Thanks a lot.
alambik 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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5