Unknown2005-05-07 05:52:24
Alrighty, as I mentioned in my previous post I was going to post all of my scripts. Most of these scripts are not dependent on any particular skills you may have. The locating stuff in tracking.tf assumes you have Thirdeye, but I think that's about it. The main goal of these scripts is to add functionality to TF.
Before using them you'll want to go through these scripts and make some adjustments. For example, in the tfrc.tf file you'll want to put in YOUR username/password in place of the placeholders I have there. Some triggers are a bit specific to me also. For example, the score trigger catches on "Sex: Male", if you're not a male that'll need changed. In the macros that highlight names based on CW/GW I have a trigger to make it ignore my name, you'll want to adjust that. If you're not a citizen of magnagora, or in the ur'guard, you might need to tweak a few things in similar triggers. Just make sure you give the code a good once over to figure out what everything does, then make the necessary adjustments to triggers and things.
I highly recommend saving an original copy of my files, and YOUR files, in case something gets screwy and you mess a file up.
The files can be downloaded at http://www.bwbettin.com/files/tf-files.tgz. To extract them with some GUI program, just double click on the file after you download it. To extract it from the command-line, use "tar xzf tf-files.tgz".
I'm going to least each file and describe briefly what it's purpose is. Everything is commented pretty well, and I have notes and things in the code to describe why/how I did certain things.
tfrc.tf
This is the brain of TF. On my computer I created a symlink to this file from ~/.tfrc. If you don't know what that is or don't feel like doing it, just make this file your .tfrc file. This file sets some variables in TF to enable/disable certain settings. It loads all of the other script files. Also creates CONNECT/DISCONNECT hooks that automatically set everything up when you connect/disconnect.
array.tf
This is a file I found on the internet. It's a bit old, but works well. It adds arrays to TF, VERY useful. It annoys me a bit that it seems to start numbering array indexes at 1...I'm very used to 0. I'm going to end up rewriting this file, making it my own. But for now I'm using it as-is.
communications.tf
This script highlights portions of channel communications, however it's main purpose is to provide "split-screen" functionality to TF. You can redirect communication channels to other windows, gagging them from your main window. There a post on this forum describing it, I'd recommend you take a look at that. The script has changed slightly since then, but not much.
logging.tf
This is one of my favorite scripts, it adds some advanced logging to TF. TF DOES NOT log in color, which makes it almost impossible to learn how to fight better. This scripts adds some macros and triggers that create three different logs, one in color. It's all automatic. I created a few command replacements for /send and /echo so that things would get logged the way I wanted them to. There's another forum post on this script, I'd recommend taking a look at it. Again, this script has changed slightly since then, but not by much.
movement.tf
This script carries over some things I used in Achaea/Imperian. It tracks the direction you moved in, and came from. This was GREAT with bows and arrows, since I could dash all around and just fire my bow. My bow script knew which direction I had come form due to my movement script, allowing me to run circles around enemies. I also added "movement modes". Just typing "sp" will sprint in a direction, however, if you type "sprint " it will sprint in said direction and put you in sprint mode. In sprint mode, you type the normal n,e,s,w,etc directions to move, but you sprint instead of walk. There's also a swim mode ("swim" and "swimm"). When I was serenguard I also had a forage mode to automatically forage, but as ur'guard I had no use for that so I removed it. There's also some door aliases that automatically move through locked/unlocked doors, shutting all the doors and whatnot.
my_alias.tf
This is basically a copy of the alias.tf file that came with tf. The aliases created by the original alias.tf did not fit into my priority scheme, and screwed up the logging and coloring functionality I wanted. So I made a few changes and this is the result.
script_management.tf
This script gives you some tools to manage all of your scripts with. It initializes scripts loaded from tfrc.tf. It also gives you commands to load, unload, and reload scripts. You'll notice each something.tf file has an something_unload.tf counterpart. This script uses those _unload files to implement the unload/reload functionality.
status.tf
This is a pretty basic script to manage the status of you character, via the prompt and score/status commands. There's a few replacements for balance/eq messages and whatnot, but it's very very limited in scope right now. This is one of the next things I'm working on in more depth. I just needed something basic so I could start bashing again. I'll be posting additions and new files over the next few days/weeks.
targeting.tf
Very short script that handles managing your target variable, and highlighting the person/thing you have targeted.
tracking.tf
A very long and functionality filled script. I just made a post a few minutes ago about it, see that post for more information.
As I said, these files arn't very dependant on specific player skills. However, you will need to adjust some parts since your name isn't Druthalus, you may not be male, you city/guild are different. You may also have different preferences as far as player-highilighting is concerned and whatnot.
Due to the different way I had to code these scripts to get the logging and split-screen stuff to work, it would probably be more difficult to incorporate all of these scripts directly into your system. I'd recommend either taking small bits and pieces at a time, or just starting with my scripts and adding your things to them. Either way, you should browse through all of the scripts and get an idea of what they're doing, and more importantly how/why. The tfrc.tf file is the best place to start since it lists the different files, my priority scheme, etc.
I'll be posting changes, update, and additions as I write them. Eventually I'll update my website with the new versions of the scripts I'm working on and it'll make everything easier.
This screenshot shows the player highlighting, channel coloring, use of "loce" and "locc", and my config colour listing so you can know what I used to get those results. The color log will look the same as what's in my main display window on the right, but uwith the prompt (colored) added in, and "SENT:" lines for each command I sent Lusternia.
Before using them you'll want to go through these scripts and make some adjustments. For example, in the tfrc.tf file you'll want to put in YOUR username/password in place of the placeholders I have there. Some triggers are a bit specific to me also. For example, the score trigger catches on "Sex: Male", if you're not a male that'll need changed. In the macros that highlight names based on CW/GW I have a trigger to make it ignore my name, you'll want to adjust that. If you're not a citizen of magnagora, or in the ur'guard, you might need to tweak a few things in similar triggers. Just make sure you give the code a good once over to figure out what everything does, then make the necessary adjustments to triggers and things.
I highly recommend saving an original copy of my files, and YOUR files, in case something gets screwy and you mess a file up.
The files can be downloaded at http://www.bwbettin.com/files/tf-files.tgz. To extract them with some GUI program, just double click on the file after you download it. To extract it from the command-line, use "tar xzf tf-files.tgz".
I'm going to least each file and describe briefly what it's purpose is. Everything is commented pretty well, and I have notes and things in the code to describe why/how I did certain things.
tfrc.tf
This is the brain of TF. On my computer I created a symlink to this file from ~/.tfrc. If you don't know what that is or don't feel like doing it, just make this file your .tfrc file. This file sets some variables in TF to enable/disable certain settings. It loads all of the other script files. Also creates CONNECT/DISCONNECT hooks that automatically set everything up when you connect/disconnect.
array.tf
This is a file I found on the internet. It's a bit old, but works well. It adds arrays to TF, VERY useful. It annoys me a bit that it seems to start numbering array indexes at 1...I'm very used to 0. I'm going to end up rewriting this file, making it my own. But for now I'm using it as-is.
communications.tf
This script highlights portions of channel communications, however it's main purpose is to provide "split-screen" functionality to TF. You can redirect communication channels to other windows, gagging them from your main window. There a post on this forum describing it, I'd recommend you take a look at that. The script has changed slightly since then, but not much.
logging.tf
This is one of my favorite scripts, it adds some advanced logging to TF. TF DOES NOT log in color, which makes it almost impossible to learn how to fight better. This scripts adds some macros and triggers that create three different logs, one in color. It's all automatic. I created a few command replacements for /send and /echo so that things would get logged the way I wanted them to. There's another forum post on this script, I'd recommend taking a look at it. Again, this script has changed slightly since then, but not by much.
movement.tf
This script carries over some things I used in Achaea/Imperian. It tracks the direction you moved in, and came from. This was GREAT with bows and arrows, since I could dash all around and just fire my bow. My bow script knew which direction I had come form due to my movement script, allowing me to run circles around enemies. I also added "movement modes". Just typing "sp
my_alias.tf
This is basically a copy of the alias.tf file that came with tf. The aliases created by the original alias.tf did not fit into my priority scheme, and screwed up the logging and coloring functionality I wanted. So I made a few changes and this is the result.
script_management.tf
This script gives you some tools to manage all of your scripts with. It initializes scripts loaded from tfrc.tf. It also gives you commands to load, unload, and reload scripts. You'll notice each something.tf file has an something_unload.tf counterpart. This script uses those _unload files to implement the unload/reload functionality.
status.tf
This is a pretty basic script to manage the status of you character, via the prompt and score/status commands. There's a few replacements for balance/eq messages and whatnot, but it's very very limited in scope right now. This is one of the next things I'm working on in more depth. I just needed something basic so I could start bashing again. I'll be posting additions and new files over the next few days/weeks.
targeting.tf
Very short script that handles managing your target variable, and highlighting the person/thing you have targeted.
tracking.tf
A very long and functionality filled script. I just made a post a few minutes ago about it, see that post for more information.
As I said, these files arn't very dependant on specific player skills. However, you will need to adjust some parts since your name isn't Druthalus, you may not be male, you city/guild are different. You may also have different preferences as far as player-highilighting is concerned and whatnot.
Due to the different way I had to code these scripts to get the logging and split-screen stuff to work, it would probably be more difficult to incorporate all of these scripts directly into your system. I'd recommend either taking small bits and pieces at a time, or just starting with my scripts and adding your things to them. Either way, you should browse through all of the scripts and get an idea of what they're doing, and more importantly how/why. The tfrc.tf file is the best place to start since it lists the different files, my priority scheme, etc.
I'll be posting changes, update, and additions as I write them. Eventually I'll update my website with the new versions of the scripts I'm working on and it'll make everything easier.
This screenshot shows the player highlighting, channel coloring, use of "loce" and "locc", and my config colour listing so you can know what I used to get those results. The color log will look the same as what's in my main display window on the right, but uwith the prompt (colored) added in, and "SENT:
Unknown2005-05-07 18:27:05
Awesome contribution bwbettin. I'll most definately be tweaking around with your files and my files later this afternoon. On a more important note, who the heck are you in the game? I'm also a Magnagoran and I'm getting quite curious.
EDIT: Nevermind. Just learned who you were.
EDIT: Nevermind. Just learned who you were.
Unknown2005-05-07 19:04:26
QUOTE
As I said, these files arn't very dependant on specific player skills. However, you will need to adjust some parts since your name isn't Druthalus, you may not be male, you city/guild are different. You may also have different preferences as far as player-highilighting is concerned and whatnot.
Glad you figured it out.
Shiri2005-05-08 02:09:30
Holy crud that's a big screen.
I like the backtracked CTs and so forth though. Damn good idea so you don't get spammed out in combat. Good stuff.
I like the backtracked CTs and so forth though. Damn good idea so you don't get spammed out in combat. Good stuff.