taultunleashed logoEQ2: file commands : EverQuest 2 Nerfed Info
newtopic  postreply
 [ 5 posts ] 
blue large dot

EQ2: file commands : EverQuest 2 Nerfed Info

Posted: May 31st, 2005, 11:38 pm
 
tault_discoduck
tault_discoduck's Reps:
User avatar
In order to understand what Im going to explain here, you should already be familiar with the /alias command as explained in a seperate post. They work well in tandem, and can be used together to build a fairly complex and legal in-game macro system.

the syntax: /do_file_commands [path to file]

create a new file. On each line, put a seperate command, just as you would in game, with 1 exception: do NOT put a '/' at the begining of the command. So "/gu hello" becomes simply "gu hello". You may use up to 16 commands per file. Save it- file format nor location matters, so long as you can remember them. For simplicity, I save them as *.txt files, and drop them directly in my root folder (so, for example, the path would be C:/test.txt). You can now execute them right away from in game using the afore mentioned command (/do_file_commands C:/test.txt).

Now, lets make things a little more complex. I mentioned in the aliases thread that aliases dont persist across sessions. But we can circumvent this by loading them from a file. We can assign that one file to a hot key in game, use aliases to adress other files. OK, so:

1: in-game, create a macro. 1 liner: /do_file_commands c:/aliases.txt
2: now we need to create that file. Open a new file in your text editor, and each line create an alias, up to a max of 16. Each alias will, in turn, execute a file where the meat of our marcos will reside. So, for example:
alias <:do_file_commands c:/one.txt
alias >:do_file_commands c:/two.txt
alias ?:do_file_commands c:/three.txt
alias z:do_file_commands c:/four.txt
alias x:do_file_commands c:/five.txt

etc etc. Save it as c:/aliases.txt.

3: for each of the aliases you set up, create a file (again, max of 16 commands) with the actual macro you want to run. I'll post more on getting the most out of using '/' commands (as opposed to mouse clicking, which I personaly hate). But, for the sake of discussion, lets make a little harvest macro:
target_nearest_NPC
useablility Foresting
useability Gathering
useability Mining
useability Trapping
useability Fishing
useability Collecting

save the file as c:/one.txt
This counts as one of your 16 avalible macros. If 16 isnt enough, go back to step one, and repeat using a seperate set of files.
4: Now, based on the above example, you could hit your hotkey you've linked to the in-game macro (the one that executes /do_file_commands c:/aliases.txt) when you first log on (only has to be done once- you can switch characters without having to reload aliases), and then all you have to do is get next to a node and hit /< to harvest it (all incorrect commands will fail until it gets to one it can do).
Be creative. command files can be loaded from eachother, but the 16 commands limit still holds true. So 15 commands, followed by a 16th that loads another set won't allow you to execute 32 commands in a row (but can you think of 32 commands, without any pauses, you would want or be able to load anyhow?) Also, save yourself the headache of trying to create a recursive loop- it will instantly lock up the client. So creating 2 files, the first that does somthing and then loads the second file, which does somthing else and then loads the first file, will simply force you to do a hard reset to your computer.


Reply with quote
Posted: May 31st, 2005, 11:39 pm
 
tault_discoduck
tault_discoduck's Reps:
User avatar
Oh, and feel free to move to the appropriate category. Didn't know if 'guides' or 'macros' would be more appropriate.


Reply with quote
Posted: May 31st, 2005, 11:58 pm
 
tault_discoduck
tault_discoduck's Reps:
User avatar
In case its not obvious: links, etc. can be used in command files. I've noticed an issue with copying from the command line and pasting out of game (might just be my system, however), but you can always use your log to obtain item links. link the item you want to reference to a channel in game while you have your log on (/log). Then open the log, find the link, and copy/paste everything from \a...to \/a, inclusive in your command file- ie.

1 WTS \a 123456 Sword of Uberness:Sword of Uberness \/a 2pp PST

another side note: I explained in the aliases thread that you could use semicolons to chain commands onto a single line- while this can still be done, it considers a semicolon the same way it does a linebreak. The only thing this affects is the fact that you can't create multi command aliases from a file. Thats why we're doing the extra step of having the alias execute the file, rather than executing the commands directly- unless your alias is only going to be one line long anyhow, in which you can skip the do_file and just link the alias directly to the command. I think I just confused myself, (heh) but hopefuly that makes sense. If not, ask, I'll go a little slower.


Reply with quote
Posted: June 1st, 2005, 6:35 pm
 
Tault_nazeroth

Total Posts: 1390
Joined: November 17th, 2004, 5:16 pm
Tault_nazeroth's Reps: 1
User avatar
Moderator
premium
Wow nice job Discoduck! 100 points.
I'll stick this in...hrmm...Confirmed Guides.


Reply with quote
Posted: May 26th, 2006, 8:38 pm
 
Tault_nazeroth

Total Posts: 1390
Joined: November 17th, 2004, 5:16 pm
Tault_nazeroth's Reps: 1
User avatar
Moderator
premium
Information is outdated.
Moving to [i]Nerfed Info[/i] board.

_________________
Quick links:
EQ2 Script Catalogue
X-Unleashed / Exhume Installation Guide


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 40 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of EverQuest 2 Nerfed Info RSS Feed 
Sitemap of EverQuest 2 Nerfed Info Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?