IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
 ELTank Anti-Idle, Macro to reset that pesky ElTank timer!
Karid
post Jul 30 2004, 04:16 PM
Post #1


Newbie


Group: Members
Posts: 10
Joined: 17-May 03
Member No.: 836



........................
ELTank Anti-Idle
By Karid
v0.1
........................

.............................
---- Instructions ----
.............................

1. Download attached file, and place it in your ACTool/macros directory.
2. Load up attached file in ACTool.
3. Start Decal. (Make sure ACTool companion is loaded!)
4. Login to AC as normal
5. Hit F2 to start macro.

This macro SHOULD work great for everyone.
If not, post here and we'll see what we can do.

Karid
Attached File(s)
Attached File  ELTank_Anti_Idle.mac ( 0bytes ) Number of downloads: 1086
 
Go to the top of the page
 
+
Triane
post Jul 30 2004, 05:31 PM
Post #2


Lord of the Forums


Group: Members
Posts: 1,801
Joined: 15-April 03
From: London, Ontario, Canada
Member No.: 14



Why make it more complex than it needs to be?
CODE
SetActiveWindow Asheron's Call
While {activewindow} = Asheron's Call
 Delay 285000
 SayPaste /t _myname, Reseting ELTank idle timer.
End

-Triane


--------------------
SQL>SELECT * FROM users WHERE clue > 0;
0 rows returned
SQL>_
Go to the top of the page
 
+
Karid
post Jul 30 2004, 05:54 PM
Post #3


Newbie


Group: Members
Posts: 10
Joined: 17-May 03
Member No.: 836



just didn't think to write it like that.

whatever works though, right? biggrin.gif





Man, this really pissed off the guys on VN. ohmy.gif

Maybe i should rename it... nah..

Let'em sweat
Go to the top of the page
 
+
Triane
post Jul 30 2004, 08:52 PM
Post #4


Lord of the Forums


Group: Members
Posts: 1,801
Joined: 15-April 03
From: London, Ontario, Canada
Member No.: 14



Hehe -- in programming, simpler is always better tongue.gif

-Triane

PS: "this really pissed off the guys on VN" -- who cares, a slight change in the breeze pisses those guys off...


--------------------
SQL>SELECT * FROM users WHERE clue > 0;
0 rows returned
SQL>_
Go to the top of the page
 
+
Triane
post Jul 30 2004, 09:03 PM
Post #5


Lord of the Forums


Group: Members
Posts: 1,801
Joined: 15-April 03
From: London, Ontario, Canada
Member No.: 14



Hehe -- maybe just post the following under a subject like: "El Tank Assistant" and don't put anything else on there (URL's, or any description or sig or anything):
CODE
SetActiveWindow Asheron's Call
While {activewindow} = Asheron's Call
 Delay 285000
 SayPaste /t _myname, Duh-uh
End

See if they do anything tongue.gif

-Triane


--------------------
SQL>SELECT * FROM users WHERE clue > 0;
0 rows returned
SQL>_
Go to the top of the page
 
+
Acidlord
post Aug 1 2004, 09:13 AM
Post #6


Newbie


Group: Members
Posts: 4
Joined: 1-August 04
Member No.: 6,091



Anyway you could write one for 2 accounts...Like that could ALT-Tab between the 2...and do this...Thanx
Go to the top of the page
 
+
Acidlord
post Aug 1 2004, 10:37 AM
Post #7


Newbie


Group: Members
Posts: 4
Joined: 1-August 04
Member No.: 6,091



Acually all you genus's here could you write a macro that does what this one does....then have it /tell some1 report?
Go to the top of the page
 
+
Karid
post Aug 1 2004, 10:56 AM
Post #8


Newbie


Group: Members
Posts: 10
Joined: 17-May 03
Member No.: 836



acid

i'll try to get ya something later on tonight.
Go to the top of the page
 
+
Acidlord
post Aug 1 2004, 11:52 AM
Post #9


Newbie


Group: Members
Posts: 4
Joined: 1-August 04
Member No.: 6,091



Ty sir

And one more question....Does this macro run constantly?
Go to the top of the page
 
+
Karid
post Aug 1 2004, 04:42 PM
Post #10


Newbie


Group: Members
Posts: 10
Joined: 17-May 03
Member No.: 836



yes, when you start it, it runs until you stop it.
Go to the top of the page
 
+
Karid
post Aug 1 2004, 06:47 PM
Post #11


Newbie


Group: Members
Posts: 10
Joined: 17-May 03
Member No.: 836



Acid

I don't really know if this will work, but if you want to give it a try and let me know what it does i'll try to troubleshoot any problems in it.

change you code to look like this:
CODE

Procedure TellSelf
 SayPaste /t _myname, Reseting ELTank idle timer.
End

While 1=1
 Delay 241000 // Waits 4m.
 Call TellSelf
 Keys @ {TAB} // change to second AC window, maybe.
 Delay 10 sec // to wait for screens to change over.(dunno if this is needed as i don't use dual log.)
 SayPaste /t _myname, Reseting ELTank idle timer.
 SayPaste /f report
 Keys @ {TAB} // change back to main, maybe.
End


if anyone else can test this and get back to me, that would be great.
Go to the top of the page
 
+
Triane
post Aug 1 2004, 10:57 PM
Post #12


Lord of the Forums


Group: Members
Posts: 1,801
Joined: 15-April 03
From: London, Ontario, Canada
Member No.: 14



Don't think "@ {tab}" will work because it sends that key-combo to the active window (which you haven't defined) try something like this:
CODE
DataSet WindowSwap
 Instance = STRING 64
 Toon = STRING 64
End

Constants
 InstanceCount = 0
End

Procedure LoadNewInstance using InstanceName, ToonName
 DSLocate WindowSwap, Instance, $InstanceName
 If WindowSwap[Instance] = $InstanceName
   DSEdit WindowSwap
 Else
   DSAppend WindowSwap
 End

   SetConst WindowSwap[Instance] = $InstanceName
   SetConst WindowSwap[Toon] = $ToonName
 DSPost WindowSwap
 DSCount WindowSwap, InstanceCount
End

// Add as many of these as required to address all running instances of Asheron's Call
Call LoadNewInstance Asheron's Call #1, Some Toon's Name
Call LoadNewInstance Asheron's Call #2, Some Toon's Name

Procedure Say2Me using InstanceNbr
 If $InstanceNbr <= $InstanceCount and $InstanceNbr > 0
   DSGotoRec WindowSwap, $InstanceNbr
   While {activewindow} <> WindowSwap[Instance]
     SetActiveWindow WindowSwap[Instance]
     Delay 1 sec // Adjust to suit your particular window-change delay req.
   End

   SayPaste /t WindowSwap[Toon], El-Tank timer reset.
   SayPaste /f Report
 End
End

While 1=1
 Loop $InstanceCount
   Call Say2Me {loopno}
 End

 Delay 285000
End

It's a lot more complex than the original, but that will work for as many windowed sessions as you want to run. Change each assignment of "Asheron's Call #x" to whatever it is your multi-session client names each instance of AC, and change each case of "Some Toon's Name" to the name of the toon you're using on that session. Then fire them all up, and when you're ready to begin, ALT-TAB yourself to ACTool and press F2.

-Triane


--------------------
SQL>SELECT * FROM users WHERE clue > 0;
0 rows returned
SQL>_
Go to the top of the page
 
+
Karid
post Aug 2 2004, 12:09 AM
Post #13


Newbie


Group: Members
Posts: 10
Joined: 17-May 03
Member No.: 836



yea, what Triane said.



thats way more than i know how to write.

ima n00b for gods sake! ohmy.gif



i haven't use ACTool, since like 2 years ago.
Go to the top of the page
 
+
jasonhartleytx
post Aug 2 2004, 04:26 PM
Post #14


Newbie


Group: Members
Posts: 2
Joined: 2-August 04
Member No.: 6,129



Hiya gang!

I'm a newbie just started out writing my own and have loved everyones' Macros. Just wondered if this Macro:

SetActiveWindow Asheron's Call
While {activewindow} = Asheron's Call
Delay 285000
SayPaste /t _myname, Reseting ELTank idle timer.
End

Would work if the SayPaste line said this if you were Fellowship Leader for a group?

SayPaste /f report

plain and simple....right? unsure.gif

Jason
Zero Gravity - FrostFell

Go to the top of the page
 
+
Triane
post Aug 2 2004, 08:10 PM
Post #15


Lord of the Forums


Group: Members
Posts: 1,801
Joined: 15-April 03
From: London, Ontario, Canada
Member No.: 14



You can put anything you want on the SayPaste line, AFAIK it doesn't make any difference what you @tell or @f, just as long as you put something there, it should reset the ElTank timer.

-Triane


--------------------
SQL>SELECT * FROM users WHERE clue > 0;
0 rows returned
SQL>_
Go to the top of the page
 
+

3 Pages V   1 2 3 >

 



Lo-Fi Version Time is now: 3rd September 2010 - 07:26 AM