timer datatype doesn't count down

Moderator: MacroQuest Developers

iluvseq
Clueless Mudslinger
Posts: 269
Joined: Mon Apr 14, 2003 10:05 am

timer datatype doesn't count down

Post by iluvseq » Thu May 18, 2006 10:48 am

The timer datatype doesn't tick down, it just stays set to whatever value you set it.

Is there another (maybe built into IS?) datatype to server the same function?

Kroak
a grimling bloodguard
a grimling bloodguard
Posts: 1801
Joined: Thu Sep 15, 2005 4:10 am

Post by Kroak » Fri Jul 28, 2006 6:27 am

Having the same problem. To test and make sure I wasn't imagining it I made a small looping script that would echo the timer's value. Looks like this is the main reason most of the script I've been trying out for botting doesn't work.

Code: Select all

	function main()
	{
	  DeclareVariable AssistTimer timer script
	  AssistTimer:Set[100]
	  while 1	
	   {
	       echo ${AssistTimer}
	       wait 1
	   }
	}	
Unless I'm messed up, that should show me some kind of countdown, but doesn't. This is putting the biggest damper on scripts like autobot. (lotsa timers in it.) Doesn't error out, just never incrememts.
Unless there's another way to use it that I haven't seen.

bardomatic
a ghoul
a ghoul
Posts: 131
Joined: Thu Apr 29, 2004 12:09 am

Post by bardomatic » Fri Jul 28, 2006 8:38 am

I believe it's actually in the process of being removed

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Jul 28, 2006 8:57 am

The timer datatype was not intended to be available in ISXEQ -- and a timer certainly has nothing to do with EQ, so it would be available in LavishScript itself instead. You can get millisecond-resolution timing by using ${Script.RunningTime}.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Kroak
a grimling bloodguard
a grimling bloodguard
Posts: 1801
Joined: Thu Sep 15, 2005 4:10 am

Post by Kroak » Fri Jul 28, 2006 9:11 am

TY for the reply. Helps a lot to know it isn't just busted just not there.. :)
Kinda sad though. 90% of the scripts I see here have timers in them.