Jump to content

Script Overhauls System


Recommended Posts

I have a fairly complex script that I have been working on all week and I have finally got the bugs worked out. The problem is that at any time during the execution the script uses anywhere between ~ 85 - 97% of the CPU cycles.

Removed Links to Files per security policy

I would have posted the code except it is almost 350 lines which I believe is too long for a single post on a forum. I hope someone can help.

*** Matt @ MPCS

Edited by Matt @ MPCS
Link to comment
Share on other sites

  • Developers

I have a fairly complex script that I have been working on all week and I have finally got the bugs worked out. The problem is that at any time during the execution the script uses anywhere between ~ 85 - 97% of the CPU cycles.

http://www.autoitscript.com/fileman/users/public/Matt%20@%20MPCS/WebCheck.au3 This link will only be available while this topic is open due to security restrictions within my organization.

http://www.autoitscript.com/fileman/users/public/Matt%20@%20MPCS/WebCheck.ini

I would have posted the code except it is almost 350 lines which I believe is too long for a single post on a forum. I hope someone can help.

*** Matt @ MPCS

<{POST_SNAPBACK}>

didn't test the script but looking at it i wonder if it could be this piece and would adding a sleep(10) help ?

;-------------------------------------------------------------------------------------------------------------------------------------
; Begin application loop
;-------------------------------------------------------------------------------------------------------------------------------------
While 1
   If( $tmrStatus ) Then
      If( TimerDiff( $tmrTime ) >= $aTimer ) Then
         RunCheck()
         $tmrTime = TimerInit()
      EndIf
   EndIf
   sleep(10)
Wend
Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest Py7|-|[]/\/

Is there any way that you could send me the unmodified verion of that script? I am trying to get the laggiest things possible!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...