mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
No, it doesn't sound like it would be. I'm out of ideas at the moment, but if I think of anything I will post.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
You could save the hash table to a file, /filter it, manually delete all lines at the top or bottom (depending how you filter it), then load it again. That shouldn't take more than 5 minutes and won't "lock" mIRC while looping.

S
Spitfire3292
Spitfire3292
S
Originally Posted By: Riamus2
You could save the hash table to a file, /filter it, manually delete all lines at the top or bottom (depending how you filter it), then load it again. That shouldn't take more than 5 minutes and won't "lock" mIRC while looping.


interesting idea but the downside to that is that I have no idea how to use the /filter command, *goes off to the Help Guide*

J
Jedisbar
Jedisbar
J
So I've just noticed that explorer.exe is taking up about 20% cpu versus it's normal 10 or so percent. Possible connection?

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Possibly. Explorer tends to take up extra resources if it crashes or if another program hangs.

S
Spitfire3292
Spitfire3292
S
Ok its not the hash table taking up the space because I just cleared it and it just locked up, and the seen.hsh is 100 bytes :\

i think its a while loop that is being kinda stupid.

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
Definetely a possibility. If you want to post that section of your code in a new topic in the Scripts & Pop-ups forum, I (and I'm quite sure several others) will be happy to look at it and see if we can come up with something better.

S
Spitfire3292
Spitfire3292
S
That's just it. I don't know what section of code it is. I have about 60 files, 1 file per feature of my bot. I have several while loops in several different files. I was trying to back-track earlier to see what I could've added to make it mess up like this, but couldn't find anything.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Although it will take time to do, I would go through and test one file at a time -- install one script and see if you have the problem. If not, uninstall it and install another one. Yes, it will take a lot of time to test all of them (unless you're lucky and it's the first one you test), but unless you can figure out where the problem is, that's your only real solution.

Just a note, though... You might try using Ctrl-Break when you're having problems (hit it 4-5 times in a row). Then, see if you see any error messages (check status and your active window). If so, that should give you an idea of where the error may be located.

S
Spitfire3292
Spitfire3292
S
I don't know how ctrl-break would work when your mIRC is minimized to your tray when it happens.

Joined: Jan 2007
Posts: 259
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Jan 2007
Posts: 259
As far as I know, mIRC uses CTRL + BREAK as an global shortcut, meaning it wouldn't matter when you press it. I'm not exactly sure, though.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Ctrl-Break works even when mIRC's minimized to the tray. Though I don't remember you saying that this only happens if it's minimized... if that's the case, that would be useful information to have when helping you.

S
Spitfire3292
Spitfire3292
S
I always minimize my Bot mIRC just so its not taking up a tab space in the Windows ToolBar.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
But, does it happen when it's not minimized? And did you try Ctrl-Break to see if it gives a message? I suggested trying it and you said you couldn't because it was minimized, which made no sense.

S
Spitfire3292
Spitfire3292
S
It hasnt locked up in over a day now. Maybe it's fixed, although I didn't do anything. We will see what happens over break. And if ctrl-break works globally, if I had several mIRC's open and only wanted one to break, how would I do it? Just thought a global ctrl-break would be kind of silly in that case.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Well, it's just global if nothing is "active" in Windows. If you have everything minimized (or at least, not active), then it's global. If one mIRC (or another program) is maximized/active, then it's specific to that program. I believe this is a standard Windows behavior. In any case, this has allowed me to reopen a frozen mIRC that was minimized to the tray without having to kill the process.

S
Spitfire3292
Spitfire3292
S
Very intersting. I have been having to kill the process everytime this happened. Surprisingly it hasnt happened in over 2 days. I am curious as to what the problem was, but if it doesn't do it anymore thats just fine by me.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Just remember that ctrl-break works if there is a loop or similar thing going on. If it's not script related, it probably won't help.

Page 2 of 2 1 2

Link Copied to Clipboard