mIRC Home    About    Download    Register    News    Help

Print Thread
mIRC freezing (not responding) 7.34 and after #247639 18/08/14 10:23 AM
Joined: Jul 2014
Posts: 36
T
TylersGaming Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jul 2014
Posts: 36
So I thought the next version of mIRC would stop the crashing but it's still freezing and this is really bad because I run a livestream and it stop my bot from giving everyone points mid stream. ;-;

when will mirc be fixed? It was working flawlessly before 7.34.


Last edited by TylersGaming; 18/08/14 10:23 AM.
Re: mIRC freezing (not responding) 7.34 and after [Re: TylersGaming] #247640 18/08/14 10:32 AM
Joined: Apr 2010
Posts: 945
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 945
Please be specific:
What do you mean by freezing?
When does it occur and how often?
Does it happen when you preform a specific action or does it seem random?

What mIRC version are you using?
What scripts are you using?
What dlls and such are you using?


I am SReject
My Stuff
Re: mIRC freezing (not responding) 7.34 and after [Re: FroggieDaFrog] #247641 18/08/14 10:36 AM
Joined: Jul 2014
Posts: 36
T
TylersGaming Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jul 2014
Posts: 36
Originally Posted By: FroggieDaFrog
Please be specific:
What do you mean by freezing?
When does it occur and how often?
Does it happen when you preform a specific action or does it seem random?

What mIRC version are you using?
What scripts are you using?
What dlls and such are you using?


I'm using 7.36

I don't run that many scripts, just an irc bot that gives users points.

I have a different theme on mirc and that's it really.

It freezes randomly and goes into not responding.
Like when I start it and an hour later, it will be not responding.

It only seems to crash during my stream so maybe the mirc interferes with Open Broadcasting Software?

Last edited by TylersGaming; 18/08/14 10:38 AM.
Re: mIRC freezing (not responding) 7.34 and after [Re: TylersGaming] #247643 18/08/14 10:57 AM
Joined: Dec 2002
Posts: 4,792
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,792
Please type the following command into your status window and post the results:

Quote:
//echo -a $os $version $beta $md5($mircexe,2) $file($mircexe).sig $alias(0) $script(0) $dll(0) $com(0)

Re: mIRC freezing (not responding) 7.34 and after [Re: Khaled] #247644 18/08/14 11:05 AM
Joined: Jun 2012
Posts: 14
Y
Yawhatnever Offline
Pikka bird
Offline
Pikka bird
Y
Joined: Jun 2012
Posts: 14
If you press ctrl+break does it start responding again? (you may need to press it many, many times).

Re: mIRC freezing (not responding) 7.34 and after [Re: TylersGaming] #247645 18/08/14 11:29 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Before people invest too much time into this, I can tell you that the issue is your script that gives users points.
It's a terrible script that's been going around for quite some time now and it fills up with data extremely quickly, making reading the file extremely slow, causing the application to freeze.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: mIRC freezing (not responding) 7.34 and after [Re: Nillen] #247646 18/08/14 12:12 PM
Joined: Apr 2010
Posts: 945
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 945
Originally Posted By: Nillen
Before people invest too much time into this, I can tell you that the issue is your script that gives users points.
It's a terrible script that's been going around for quite some time now and it fills up with data extremely quickly, making reading the file extremely slow, causing the application to freeze.
First don't assume. Dependant on the output of the command Khaled gave, we ask the user to remove all scripts and such, and see if the problem persists


Now with that said, could you link a copy of the purposed issueitive script?

Last edited by FroggieDaFrog; 18/08/14 12:14 PM.

I am SReject
My Stuff
Re: mIRC freezing (not responding) 7.34 and after [Re: FroggieDaFrog] #247648 18/08/14 12:34 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Apologies. But I'm not assuming here, I have experience with helping this person in a previous forum post where I helped him over IRC.

The script I'm referring to is this:
Click to reveal..
What he's using is a variant of this, I don't have access to his specific script, but it's highly based off of this.
Code:
alias -l addPoints {
if ($1 !isnum) { echo 2 -st $1 is not a number. It needs to be a number. | halt }
var %topic $+($chan,.,$nick)
var %points $calc($readini(Points.ini,%topic,Points) + $1)
writeini -n Points.ini %topic Points %points
return %points
}

alias -l lookUpPoints {
var %topic $+($chan,.,$nick)
var %points $readini(Points.ini,%topic,Points)
return %points
}
alias doaddpoints {
if ($3 !isnum) { echo 2 -st $3 is not a number. It needs to be a number. | halt }
var %topic $+($1,.,$2)
var %points $calc($readini(Points.ini,%topic,Points) + $3)
writeini -n Points.ini %topic Points %points
echo -a Added points for %topic
}

alias dorempoints {
var %topic $+($1,.,$2)
remini -n Points.ini %topic Points
echo -a Removed points for %topic
}

on *:text:!points:#:{
if ((%floodpoints) || ($($+(%,floodpoints.,$nick),2))) { return }
set -u10 %floodpoints On
set -u30 %floodpoints. $+ $nick On
msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total DePoints.
}

on $*:text:/!points (add|remove)/Si:#:{
if ($nick isop #) {
if ($0 < 3) { msg # Insufficient parameters: Use !points <add|remove> <user> [number] | return }
writeini -n Points.ini $+(#,.,$3) Points $calc($readini(Points.ini,$+(#,.,$3),Points) $iif($2 == add,+,-) $iif($4 isnum,$4,1))
{ msg $chan $3 now has $readini(Points.ini,$+(#,.,$3),Points) total points. }
}
else { msg $chan This command is only available to moderators. }
}
on !*:join:#:{
$+(.timerpoints.,#,.,$nick) 0 300 add.pts $+(#,.,$nick)
add.pts $+(#,.,$nick)
}
on !*:part:#:$+(.timerpoints.,#,.,$nick) off
alias -l add.pts {
writeini -n Points.ini $1 Points $calc($readini(Points.ini,$1,Points) + 5)
}
Taken directly off of another forum post.
What it does is increase a value in an ini file with a timer. The output looks like this:
$mircdir\Points.ini
[#channel.$nick]
Points=1

[#channel.$nick]
Points=123

etc.
It automatically starts a timer for every user on the join event and will also write to the file on join, which means that every user that hops into his channel will be logged in that file, making it extremely slow after a high number of data has been logged.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: mIRC freezing (not responding) 7.34 and after [Re: Nillen] #247667 20/08/14 03:01 AM
Joined: Jul 2014
Posts: 36
T
TylersGaming Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jul 2014
Posts: 36
Originally Posted By: Nillen
Before people invest too much time into this, I can tell you that the issue is your script that gives users points.
It's a terrible script that's been going around for quite some time now and it fills up with data extremely quickly, making reading the file extremely slow, causing the application to freeze.


on *:TEXT:!on*:#:{
if ($nick == tylersgaming) {
if ($read(botstatus.txt,t,1) == on) {

}
if ( $read(botstatus.txt,t,1) == off) {
/write -c botstatus.txt
/timerAward 0 1800 /awardPoints $chan
write botstatus.txt on
msg $chan Points will now be awarded.
}
}
}

on *:TEXT:!off*:#:{
if ($nick == tylersgaming) {
if ($read(botstatus.txt,t,1) == off) {

}
if ( $read(botstatus.txt,t,1) == on) {
/write -c botstatus.txt
write botstatus.txt off
/timerAward off
msg $chan Points will no longer be awarded.
}
}
}

So I can't have a point script? Everyone else can run them fine with mIRC

Re: mIRC freezing (not responding) 7.34 and after [Re: TylersGaming] #247669 20/08/14 04:11 AM
Joined: Jul 2014
Posts: 36
T
TylersGaming Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jul 2014
Posts: 36
If mIRC can't handle a point script, is there another IRC that can handle it?

I really need to use this script or else all my viewers will be mad. ;-;

Re: mIRC freezing (not responding) 7.34 and after [Re: TylersGaming] #247670 20/08/14 06:36 AM
Joined: Jun 2012
Posts: 14
Y
Yawhatnever Offline
Pikka bird
Offline
Pikka bird
Y
Joined: Jun 2012
Posts: 14
The problem is the poorly planned script, not mIRC itself. Find a different script or have somebody who knows what they're doing write you a new one.

Re: mIRC freezing (not responding) 7.34 and after [Re: Yawhatnever] #247675 20/08/14 10:43 AM
Joined: Jul 2014
Posts: 36
T
TylersGaming Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jul 2014
Posts: 36
Originally Posted By: Yawhatnever
The problem is the poorly planned script, not mIRC itself. Find a different script or have somebody who knows what they're doing write you a new one.



http://forums.mirc.com/ubbthreads.php/topics/247674#Post247674

If anyone can help me with the script causing issues, look at this thread and see what you can come up with. smile