Locked Home » Forums » Legacy & Archived » Archived Content » Vanguard » Vanguard Premium Discussions

How to make a macro read from the logfile? : Vanguard Premium Discussions

Posted: January 28th, 2007
tault_stigma
hey all,

I know this has been done before, but I haven't used it personally so thats why I ask.

I want to make a macro program (such as autoIT for example) read from the generated logfile, allowing me to to then use /msg to send remote commands to other characters when multiboxing.

Script reads new line from the log, reformats it slightly, then types it into the chat window in command form, making he character cast a spell, sit, or talk or whatever, depending on what was actualyl sent via the /msg.

Can someone tell me how to do this, or refer me to a script that has allready acomplished this, so I can reproduce that function?
Posted: January 31st, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
There are some examples in the scripting documentation threads.

_________________
Use Search first, ask questions later!
Posted: February 10th, 2007
mc_michael
The problem with this is that from what I've seen, the logfile is not updated in real time. After typing "/log" to turn logging on, the log file is created in the "bin" folder, but is not actually written to until either logging is turned off by typing "/log" again or until you exit the game.

If I've overlooked something on this and someone else is able to correct me, please do so - I'd love to find out there's a workaround.
Posted: February 11th, 2007
tault_razorwing
I think you right michael, the problem with logs is that they are not based on real time and depending how vanguard uses the log files, depends on how long the delay is, for example if you type a message in vanguard, when will it show up on the log? immediately? after a few min? so depending on that, you will be able to judge if using logs is the best idea.

Once thing i was thinking about with multiboxing, how do you check for health, manna, mobs health, buffs etc...if its all being controlled via /msg commands?
Posted: February 11th, 2007
tault_stigma
well since the logfile is written when the log is closed, you could just open and close logs really fast but... its a very cumbersome and not reliable way to do it.

I've found alternate ways to send commands to multibox characters via inter-script communication, but I still very badly need to get my hands on /loc information.

wyvernx, is there any chance /loc information will, or can become availiable in the scripting serving you are preparing for VG?

-Stigma
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 2 guests
Locked