Help - Search - Members - Calendar
Full Version: ELTank Anti-Idle
AC Tools Everything Macro > AC Tool Macros > Asheron's Call Macros
Karid
........................
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
Triane
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
Karid
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
Triane
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...
Triane
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
Acidlord
Anyway you could write one for 2 accounts...Like that could ALT-Tab between the 2...and do this...Thanx
Acidlord
Acually all you genus's here could you write a macro that does what this one does....then have it /tell some1 report?
Karid
acid

i'll try to get ya something later on tonight.
Acidlord
Ty sir

And one more question....Does this macro run constantly?
Karid
yes, when you start it, it runs until you stop it.
Karid
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.
Triane
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
Karid
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.
jasonhartleytx
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

Triane
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
Acidlord
Everytime i try to run a macro i get the

ERROR: Macro line:whilegroup 1

Caused Error: Access violation.......


What am i doin wrong
killa
CODE

SetActiveWindow Asheron's Call


procedure s every 1 min
 keys s
end

//// main

while 1=1
 ProcessMessages
end



dont use send text =) use either keys s or one of the camera angel keys i.e. 0-9 use 5 since that reduces lag in some graphic intensive parts of dereth.
powda
great posts! Im new to AC tool, so please help clarify.

I log into AC, start up my el tank, and then open up actool and click f2 to start the macro and have them both run on top of each other right?

I will try it out later and let you know if I have any more questions.

Powda
Triane
I understand the allure of using ProcessMessages and an Every event, but it's just not necessary for performing this function. Furthermore it leads to mistakes like the delay-less While loop.

Killa, your code would be MUCH simpler written as so:
CODE
SetActiveWindow Asheron's Call

While 1 = 1
 Keys s
 Delay 60000
End

As I said up above why make code that's unnecessarily complex?

-Triane
Karid
Triane

thx for helping!

my net has been out the last few days.
killa
QUOTE (Triane @ Aug 4 2004, 05:46 AM)
I understand the allure of using ProcessMessages and an Every event, but it's just not necessary for performing this function. Furthermore it leads to mistakes like the delay-less While loop.

Killa, your code would be MUCH simpler written as so:
CODE
SetActiveWindow Asheron's Call

While 1 = 1
 Keys s
 Delay 60000
End

As I said up above why make code that's unnecessarily complex?

-Triane

agreed. tongue.gif


also if i remember right you can just DL ac keep alive from sucromantos site and that does it for yah even alt tabbed. its just a simple decal plugin that send a keystroke to ac through windows api.
Ipa
SetIdleTimeout - ACTool command that works the same way as the plugins that prevent you logging due to timeout.
Triane
I'm pretty sure that SetIdleTimeout doesn't do anything to help you with ElTank's anti-UCM code that requires you to actually press a key or two within a 5 min period or else it shuts off ElT and/or logs you off.

-Triane
open game
is there a way to respond to certain text? (acct1 @tell acct2//acct2 @respond to acct1) to keep both accts active
Triane
Code on first bot:
CODE
SetActiveWindow Asheron's Call

While 1 = 1
 SayPaste /t 2nd bot's name, Some message
 Delay 60000
End

Code on second bot:
CODE
SetActiveWindow Asheron's Call

ClearPluginVar _tellname
While 1 = 1
 If _tellname <>
   If _tellname = 1st bot's name
     SayPaste /r Some message
   End
   ClearPluginVar _tellname
 Else
   Delay 1000
 End
End
.
That should do it...

-Triane
JWerk
how would I go about using the same script as above but scanning the incoming text for a password and if the password is right then perform x function..
I got a anti tank script too been working on it, don't know much....

it seems to work good so far
CODE

// Logs you out of AC
Procedure Logout
 Keys ~{ESC} // Doing it 3x just to make sure;)
 Delay 1000
 Keys ~{ESC}
 Delay 1000
 Keys ~{ESC}
 Keys {F2}
End
// Procedure Tank Alive basically keeps tank running
Procedure TankAlive
 SayPaste /ELT STOP
 Sendtext 2, Keeping Tank Alive!.
 DELAY 1000
 SayPaste /ELT START
End
// Checks Vitae If it's greater then 0 it logs out
Procedure CheckVP
 If _MyVitae > 0
   Sendtext 2, Dammit! Died, Pausing Macro and Logging off.
   Call Logout
 End
End
//==========Main Procedure=========
While 1=1
 SetActiveWindow Asheron's Call
 Call TankAlive
 Call CheckVP
 Call ChatMsg
 DELAY 60000 // 60 second timer
End


Arcadia
QUOTE
// Procedure Tank Alive basically keeps tank running
Procedure TankAlive
SayPaste /ELT STOP
Sendtext 2, Keeping Tank Alive!.
DELAY 1000
SayPaste /ELT START
End


the start and stop is really not needed.

QUOTE

Procedure TankAlive
SayPaste /f Keeping Tank Alive!.
End


The dirty version I've been using is:

QUOTE

// This line is necessary to select the proper window
SetActiveWindow Asheron's Call

// Allows for AC to come to the screen (10 seconds)
DELAY 10000

SayPaste /ELT WV
SayPaste /ELT Start

While 1=1
  Delay 280000
  SayPaste /f Keep Alive
End
Comp Illiterate
I'm a little bit of a dummy when it comes to computers.... Actually, a lot dummy...

When I click on the link provided in this post, all I get is a blank screen with a little square (with a square in it, a triangle and a circle I think) in the upper left hand corner. I can't do anything with that little square.

And I don't really know what you guys are saying when you start with the little prgram boxes in your posts...

So, could I get a step by step dummies guide on how to stop the timer on El Tank...

That would be most appreciated... Thnx
nah1982
OKay, I know nothing of AC Tool other than I was refered by a friend to this Macro... smile.gif In anycase, I was wondering, would there be some way to @tell a specific person? I mean, say, someone who you know isn't logged in, but by @t'ing them, you're still reseting the timer... smile.gif Or would that work for @f as well if you weren't part of a fellow?

-N.A.H.

*Edit*

Perhaps I can answer my own question using this code from above:

CODE

SetActiveWindow Asheron's Call

While 1 = 1
SayPaste /t NameOfOfflinePerson, You there?
Delay 60000
End


Would that be right? smile.gif Also, I'm assuming you can use this program in relation to AC Dual Client as well, running windowed mode correct? So, theoretically, I could run 2 seperate Macros, each @t'ing a different offline person, keeping El Tank enabled. Similiar idea as the bot theory above, just a little simpler perhaps?
Triane
You can't use ACTool with two (or more) iterations of the ACClient. At least, not if you're going to use any Decal functions.

If you're NOT using any decal functions, you just need to be able to discern between the clients you have running. The new dataset Cam put in should enable you to do that dynamically.

Good luck!

-Triane
nah1982
Thanks for the response Triane! smile.gif If it isn't easly done, then I won't concern myself with it... (Dislikes having to re-install a broken AC) tongue.gif In any case, would the snippit of code I posted earlier work fine? Thanks ahead of time. smile.gif

-N.A.H. :-L
Magicpipe II


The Chuck Norris Anti-Eltank idle timer macro

QUOTE


SetActiveWindow Asheron's Call
While {activewindow} = Asheron's Call
Delay 285000
SayPaste /s The chief export of Chuck Norris is pain.
Delay 285000
SayPaste /s Chuck Norris has counted to infinity. Twice.
Delay 285000
SayPaste /s Chuck Norris is 1/8th Cherokee. This has nothing to do with ancestry, the man ate a f***ing Indian.
Delay 285000
SayPaste /s Chuck Norris’ tears cure cancer. But he is so badass, he has never cried. Ever.
Delay 285000
SayPaste /s Chuck Norris does not sleep. He waits.
Delay 285000
SayPaste /s There is no chin behind Chuck Norris’ beard. There is only another fist.
Delay 285000
SayPaste /s Chuck Norris is ten feet tall, weighs two-tons, breathes fire, and could eat a hammer and take a shotgun blast standing.
Delay 285000
SayPaste /s Chuck Norris drives an ice cream truck covered in human skulls.
Delay 285000
SayPaste /s There is no theory of evolution, just a list of creatures Chuck Norris allows to live.
Delay 285000
SayPaste /s Chuck Norris once ate three 72 oz. steaks in one hour. He spent the first 45 minutes having sex with his waitress.
Delay 285000
SayPaste /s Chuck Norris is the only man to ever defeat a brick wall in a game of tennis.
Delay 285000
SayPaste /s Chuck Norris doesn’t churn butter. He roundhouse kicks the cows and the butter comes straight out.
Delay 285000
SayPaste /s The quickest way to a man’s heart is with Chuck Norris’ fist.
Delay 285000
SayPaste /s Chuck Norris will attain statehood in 2009. His state flower will be the Magnolia.
Delay 285000
SayPaste /s The opening scene of the movie “Saving Private Ryan” is loosely based on games of dodgeball Chuck Norris played in second grade.
Delay 285000
SayPaste /s Chuck Norris once shot down a German fighter plane with his finger, by yelling, “Bang!”
Delay 285000
SayPaste /s Chuck Norris has two speeds: Walk and Kill.
Delay 285000
SayPaste /s Contrary to popular belief, America is not a democracy, it is a Chucktatorship.
Delay 285000
SayPaste /s Chuck Norris can drink an entire gallon of milk in forty-seven seconds.
Delay 285000
SayPaste /s Time waits for no man. Unless that man is Chuck Norris.
End
Chazcon
I gotta tell ya, I really hate the whole Chuck Norris thing, but this made me laugh.

If I put that spam on my buffbot in Asheron's Call, the townspeople would form an ugly crowd and chase him up to the castle with torches and pitchforks.

And I'm talking about the NPC's, not the players.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.