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-17-2006, 05:54 PM   #1 (permalink)
Forum Expert
 
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
Default [Follow Command

Follow Command

Description:
A way to follow players, or other staff, without having to use the .admin menu and keep on clicking Go To or other more inefficient ways of doing so. When you are following someone using the [follow command it moves you to their location every few seconds without you having to do anything. When you have chosen your target it pops up a small gump to show you the name of the person you are following and a button to cancel following them.

Installation:
Download the FollowCommand.zip below.
Unzip the Follow.cs into the Commands folder or any folder of your choosing in your Scripts directory.
Restart your server and you are ready to go.

Usage:
Type [follow in game (Counselor +) and target who you wish to follow.
If the player that you target has a higher accesslevel than you then you will not be able to follow them.
If you are following a staffmember with accesslevel equal to your own and they go invis then you will stop following them, unless you are in their Visibility List in which case you will continue to follow them.
If you or your target go offline then you will stop following them.
Attached Files
File Type: zip Follow.zip (1.9 KB, 158 views)
tobyjug is offline  
Old 04-17-2006, 06:11 PM   #2 (permalink)
Newbie
 
Join Date: Mar 2006
Posts: 34
Default

Awesome script! Now this is something I can actually use, thank you very much!
theaxiom is offline  
Old 04-17-2006, 06:43 PM   #3 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 28
Posts: 4,952
Default

Nice, but instead of a timer how about following the person every time they move?
__________________
Jeff Boulanger
ConnectUO - Creator/Core Developer

Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline  
Old 04-17-2006, 07:08 PM   #4 (permalink)
Forum Novice
 
Karmageddon's Avatar
 
Join Date: Jul 2003
Location: NY
Age: 38
Posts: 973
Default

There is also a way to do this without this script. I believe it is a client thing, but all you do is hold alt down and click on the mobile you want to follow. Players can use this anytime they want, but not sure if they can follow staff with it.

This is not trying to put your script down or anything, just making it known about what can be done through the client.
__________________

Your fate is sealed in the end of Time.....
Karmageddon is offline  
Old 04-17-2006, 07:31 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

Quote:
Originally Posted by Karmageddon
There is also a way to do this without this script. I believe it is a client thing, but all you do is hold alt down and click on the mobile you want to follow. Players can use this anytime they want, but not sure if they can follow staff with it.

This is not trying to put your script down or anything, just making it known about what can be done through the client.
It is alt+ left click, but it follows with steps and stops if they get out of range....this command is helpfull for staff to follow their players around when they are doing all there recalling and what not.

i think that the timer is better than every move....cause it would suck being thrown right on top of them every time they move a tile

great script...keep it up
__________________

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

Quote:
Originally Posted by Pyro-Tech
It is alt+ left click, but it follows with steps and stops if they get out of range....this command is helpfull for staff to follow their players around when they are doing all there recalling and what not.

i think that the timer is better than every move....cause it would suck being thrown right on top of them every time they move a tile

great script...keep it up
Cheers for the comments guys.
I decided to use the timer instead of the movement eventsink purely because of what PyroTech said above, it would be a good way of doing it though.
tobyjug is offline  
Old 04-18-2006, 06:17 AM   #7 (permalink)
RunUO Forum Moderator
 
daat99's Avatar
 
Join Date: Dec 2004
Location: Israel
Age: 27
Posts: 8,163
Send a message via ICQ to daat99 Send a message via AIM to daat99
Default

Quote:
Originally Posted by Pyro-Tech
It is alt+ left click, but it follows with steps and stops if they get out of range....this command is helpfull for staff to follow their players around when they are doing all there recalling and what not.

i think that the timer is better than every move....cause it would suck being thrown right on top of them every time they move a tile

great script...keep it up
Timer is a realy bad idea.
You can always use the OnMove event but have a datetime variable that is reset every 5 seconds.
Than you simply make sure to move once every 5 seconds or so.
It'll save tons of cpu...
__________________
I always try to help
Sometimes, I don't know how....

My Web Page
Forum Rules
-------------------------------------------------------------
Extensive OWLTR System | Token System | World Teleporters
-------------------------------------------------------------
daat99 is offline  
Old 04-18-2006, 06:36 AM   #8 (permalink)
Forum Expert
 
Join Date: Jan 2004
Location: England
Age: 20
Posts: 442
Default

Yeh thats a really good idea actually Daat. I try to steer clear of timers when I can now usually, DateTimes are great

Edit: However, if the person recalls away and then doesnt move you will be left at their old location and won't be moved to where they are now. This means that in the onmovement eventsink you would have to check to make sure that the hastable contains the player that is moving, it will also have to check the movement of the person you are following and your own movement, would that not be as cpu using as a timer...? lol

Last edited by tobyjug; 04-18-2006 at 06:45 AM.
tobyjug is offline  
Old 04-18-2006, 01:21 PM   #9 (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 daat99
Timer is a realy bad idea.
You can always use the OnMove event but have a datetime variable that is reset every 5 seconds.
Than you simply make sure to move once every 5 seconds or so.
It'll save tons of cpu...
im not a programmer, so i don't know what types of methods would take up a given amount of cpu...i honestly would think that a timer being run would be less than a given command being sent every time a person moves

especially since the command wouldn't be used by a bunch of people at one time i would think....

but hey, like i said....im not a programmer lol
__________________

Pyro-Tech is offline  
Old 04-18-2006, 02:57 PM   #10 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

Excellent job I found this VERY useful.
seanandre is offline  
Old 04-19-2006, 03:25 AM   #11 (permalink)
Account Terminated
 
Join Date: Jan 2006
Posts: 50
Exclamation

you know theres already a build in system to follow ppl right?

all you do is hold alt then click the person you want to follow
noob2 is offline  
Old 04-19-2006, 03:31 AM   #12 (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 noob2
you know theres already a build in system to follow ppl right?

all you do is hold alt then click the person you want to follow
This has already been discussed along with the differences....go ahead and read the thread and you will see how this funcitons.
__________________

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

Quote:
Originally Posted by Pyro-Tech
This has already been discussed along with the differences....go ahead and read the thread and you will see how this funcitons.
Seconds what he said.
tobyjug 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