Sign in to follow this  
Followers 0
autow

CPU Usage on 100

24 posts in this topic

My script uses 100% of cpu who can help me?

Thanks

Share this post


Link to post
Share on other sites



Look at the mistake on line 5.

My Crystal Scriptalyzer must be out of kilter again. I show the mistake as being on line 368.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

funnily dialog ;)

Share this post


Link to post
Share on other sites

We are trying to point out that you have given us nothing to analyze. How do you expect us to help you without some code to go by?


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

i guess there's just a sleep missing in a loop...

Share this post


Link to post
Share on other sites

Probably but there could be other causes so code becomes important. And in my previous reply I meant the OP had not provided any code, not you.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

No, the DllCall() he makes to Win32_Psychic_Hotline is failing and returning an error code: CreditCardDenied.

That's a stopper every time!

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

And in my previous reply I meant the OP had not provided any code, not you.

n.p., i understood that ;)

Share this post


Link to post
Share on other sites

Probably you have an endless loop like

While 1

<your code>

Wend

Just add a Sleep(50) to reduce CPU usage.

While

Sleep(50)

<your code>

Wend

Analogue with other loops.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

1) It's either an endless loop

2) It's a loop with no delay

Either way, it's hard to diagnose the problem if you don't provide some sort of code to look at.

@others - It really is rude to hijack the topic and start making witty remarks. He's probably new. He probably is new to programming like I am. The fact of the matter is, it's unnecessary. If you need to ask him to see the code, then ask away. Otherwise, there is no need for:

this

It is on line 7 according to my remote script analyzer. From the looks of it, there are many bugs in the code and my unit crashed after trying to read line 7.

this

No, the DllCall() he makes to Win32_Psychic_Hotline is failing and returning an error code: CreditCardDenied.

or even this

My Crystal Scriptalyzer must be out of kilter again. I show the mistake as being on line 368.

What I'm saying is, if you have nothing to contribute, then just go to the next topic. Simple. :|

Share this post


Link to post
Share on other sites

@others - It really is rude to hijack the topic and start making witty remarks. He's probably new. He probably is new to programming like I am. The fact of the matter is, it's unnecessary.

No, it's not rude. Not even unnecessary.

If you need to ask him to see the code, then ask away.

They don't. If autow had spend more time trying to solve the problem he would have at least figured out that asking the question without showing the code makes no sense regardless of his inexperiencedness.

What I'm saying is, if you have nothing to contribute, then just go to the next topic. Simple. :|

It's not that simple. First of all you don't get to judge someones contribution (don't worry, me neither).

autow is a new guy. If he can't handle a joke or two, then ...who cares if he would be offended by that, to say it nicely.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

The only witty one was Jos, imho. The rest just followed the schtick to varying degrees, honing other skills whilst waiting for code seems fine.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Look at the mistake on line 5.

Line 5

Sleep (1000)

My Crystal Scriptalyzer must be out of kilter again. I show the mistake as being on line 368.

My script dont have 100 lines...

We are trying to point out that you have given us nothing to analyze. How do you expect us to help you without some code to go by?

I forgot to post script......

It is on line 7 according to my remote script analyzer. From the looks of it, there are many bugs in the code and my unit crashed after trying to read line 7.

Lines 1,2,3,4,5,6,7,8,9

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.6.1
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

No, the DllCall() he makes to Win32_Psychic_Hotline is failing and returning an error code: CreditCardDenied.

That's a stopper every time!

;)

No..the DllCall() makes error Cant believe in this topic

Probably you have an endless loop like

While 1

<your code>

Wend

Just add a Sleep(50) to reduce CPU usage.

While

Sleep(50)

<your code>

Wend

Analogue with other loops.

Br,

UEZ

i try this..but in time with you write this..i solve the problem

Share this post


Link to post
Share on other sites

God forbid that you share your findings with the rest of the new.

I guess someone will come now and feel, even say, that the rest should feel sorry for you because of your poor English :cry:

Prick.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

;) I think the OP is also making fun of you guys just look.....

Line 5

Sleep (1000)

and

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.6.1
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

Both what the OP posted had a different line 5 :)

@autow would it be nicer if you post your code(at least the part where you think your problem occurs)?


Work smarter not harder.My First Posted Script: DataBase

Share this post


Link to post
Share on other sites

;) I think the OP is also making fun of you guys just look.....

and

Both what the OP posted had a different line 5 :)

@autow would it be nicer if you post your code(at least the part where you think your problem occurs)?

My keylogger isn´t work..but i recoded him and in this night i test

Share this post


Link to post
Share on other sites

#19 ·  Posted (edited)

My keylogger isn´t work..but i recoded him and in this night i test

5 posts and I can already tell you're not gonna be around for very long. Edited by Paulie

Share this post


Link to post
Share on other sites

My keylogger isn´t work..but i recoded him and in this night i test

Ok... fun is over.

When you are serious about your keylogger you better leave quickly.

So what are you trying to do here?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0