mIRC Home    About    Download    Register    News    Help

Print Thread
#210038 02/03/09 03:18 PM
Joined: Jan 2008
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jan 2008
Posts: 10
Khaled, there's a bug in mIRC and I am sure it's a bug. When I close mIRC unproperly (from X button at the top, thats how I close mIRC) is that unproperly? anyway.. It become a mess next time I open it! all my server.ini always disappear itself and all my saved settings like the way I minimized my channel windows..etc

It happened to me/my friends a lot of times!

Please try to fix it in the next version, thanks!

moolyhit #210069 03/03/09 09:17 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
There's nothing improper about closing mIRC with the X button. I use it regularly, as do many others I'm sure, and I experience no loss of settings like you do so clearly that's not the specific cause of your problem.

Are you running any scripts? If so, try running mIRC without them and see if the problem still occurs. Also, what versions of mIRC and Windows are you using?


Spelling mistakes, grammatical errors, and stupid comments are intentional.
starbucks_mafia #210071 03/03/09 10:03 PM
Joined: Jan 2008
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jan 2008
Posts: 10
first thanks for your relpy. I am still pretty sure it's mIRC bug! I am not running any scripts. I use windows XP and the latest mIRC version.

moolyhit #210073 03/03/09 11:13 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Are you using any dlls? As far as I know, if a DLL makes mIRC crash during its closing sequence (common for buggy dlls), you will experience data loss. Are you sure mIRC is exiting cleanly? Do you get any error reports when the window closes?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #210078 04/03/09 01:47 AM
Joined: Jan 2008
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jan 2008
Posts: 10
I dont use dll.. I dont even know what dll means heh
All I do is closing mIRC from X and I get "Are you sure you want exit mIRC". then I choose YES. that's how I usually close mIRC. This problem was happening to me all the time and I was ignoring it, I had to download server.ini again and reload my popups (few popups to ban nickname/ident/ip or host) and thats all. last it happened to me, it erased popups/server.ini and the channel windows size which I saved it. So I decided to post it here so author can see it.

moolyhit #210080 04/03/09 05:37 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
moolyhit:

Please go into mIRC and type the following in any window and copy the results back here:

//echo -a $version $os $md5($mircexe,2) $script(0) $dll(0) $com(0)

Make sure you use both //'s.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #210087 04/03/09 11:33 AM
Joined: Jan 2008
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jan 2008
Posts: 10
6.35 XP 2f63a83968f9586fe4fb48134253619c 1 0 0


The only script I use is a clone scanner. And thats it:

alias cs {
hmake clones 500
var %x = 1, %c = $iif($1 ischan,$1,$active),%ticks = $ticks,%clones
if ($window(@clones)) window -c @clones
window @clones
if (%c ischan) && ($ialchan(*,%c,0) != $nick(%c,0)) { .enable #clones | aline @clones Updating IAL.. | .ial on | who %c }
while ($nick(%c,%x)) {
var %i = $ifmatch
if ($hget(clones,$address(%i,2)) == $null) && ($ialchan($address(%i,2),%c,0) > 1) {
inc %clones $ialchan($address(%i,2),%c,0)
hadd clones $address(%i,2) $address(%i,2)
var %temp,%a = 1
while ($ialchan($address(%i,2),%c,%a)) {
set %temp %temp $+ $chr(44) $ialchan($address(%i,2),%c,%a).nick
inc %a
}
aline @clones $ialchan($address(%i,2),%c,0) clones from $address(%i,2) $+ : $mid(%temp,2,$calc($len(%temp) - 1))
}
inc %x
}
aline @clones -
aline @clones Group(s) of clones found: $hmatch(clones,*,0) (Total: %clones $+ )
aline @clones Synsched in $duration($calc(($ticks - %ticks) / 1000)) $gettok($calc(($ticks - %ticks) / 1000),2,46) $+ millisecs
hfree clones
}
#clones off
raw 315:*: cs $2 | .disable #clones
#clones end


moolyhit #210098 04/03/09 06:19 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
How often are you losing your data? Consistently each time?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #210101 04/03/09 07:05 PM
Joined: Jan 2008
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jan 2008
Posts: 10
it rarely happens to me actually. But it happened maybe 4 or 5 times with the latest version. but last time it deleted my popups/script/server.ini/mIRC favourite dafult channel list and my channel/pm windows which i resized/saved them as well. and for your information, it happened to me in different pc's and to my friends as well (im pretty sure it happened to many others but maybe they didnt report it here). so thats why i thought it's a bug!

Last edited by moolyhit; 04/03/09 10:49 PM.
moolyhit #210256 09/03/09 07:53 PM
Joined: Sep 2006
Posts: 7
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Sep 2006
Posts: 7
Im an experienced user that is having the same issue. I noticed something else as well.

to start - heres my results of your // command:

6.35 XP 2f63a83968f9586fe4fb48134253619c 1 0 0

I only used the program about 3 times before my server.ini started being skipped. The server list is still in c:\Program Files\mIRC but mirc just isnt reading it on startup. I get an empty server list.

To complicate things further, it will only login to my last known server and use the perform associated with it. The other 2 i log into I must log manually and even when I connect, the performs for those servers are not executed. Ive used mirc for years and im confident ive made no errors in servers' setup informations and even reinstalled to see if that would fix it. It didnt.

Any reply back would be appreciated.. thanks.. smile



Curiosity killed the cat.. but for a while i was a suspect.
Astral_Nomad #210257 09/03/09 07:55 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Astral_Nomad:
Type //echo -a $mircdir $isfile(servers.ini) and paste the result here.

Collective #210259 09/03/09 07:59 PM
Joined: Sep 2006
Posts: 7
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Sep 2006
Posts: 7
sorry.. i had the directory wrong.. but its still listed in the default folder in the main installation folder.. heres your results:

C:\Documents and Settings\Jason\Application Data\mIRC\ $true


Curiosity killed the cat.. but for a while i was a suspect.
Astral_Nomad #210260 09/03/09 08:05 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Ok. Close mIRC, grab the latest servers.ini, place it in that directory ($mircdir) and restart mIRC. Does the server list show then?

Collective #210261 09/03/09 08:09 PM
Joined: Sep 2006
Posts: 7
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Sep 2006
Posts: 7
well i put it both into the main install folder and into the defaults subfolder.. neither worked.

sorry.. lemme try again.. i think i put it in the wrong place.. lol.. back in a min.

Last edited by Astral_Nomad; 09/03/09 08:13 PM.

Curiosity killed the cat.. but for a while i was a suspect.
Astral_Nomad #210262 09/03/09 08:16 PM
Joined: Sep 2006
Posts: 7
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Sep 2006
Posts: 7
yes.. it is showing now. Subsequent performs arent triggering tho after the first login still.

Looking at the old server.ini i see all the servers have been erased. - only the [recent] and [success] headers and info remain.

my perform commands are all still present in the perform.ini, but the servers arent defined in them. I dont know if thats an error or if it was by design.

I should also notie i havent been logging in from server list directly. Ive been using an alias from active window .. for example I use /future which is /alias /future /server -m irc-future.com:6667 .. finding that i have to use the whole hostname without the server.ini.

Last edited by Astral_Nomad; 09/03/09 08:24 PM.

Curiosity killed the cat.. but for a while i was a suspect.
Astral_Nomad #210273 10/03/09 12:36 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Corruption of the servers.ini is a relatively common problem. It usually has to do with Windows or mIRC (or both) not shutting down properly. The thing that makes the original post weird is that mIRC is supposedly being closed properly with no dlls or scripts in the way...

My last suggestion for both you and the OP would be to look at any anti-virus software (or firewalls, as they sometimes like to act like av software) and disable them temporarily to see if maybe they're causing the problem (by disabling write access or causing mirc to silently fail when exiting). Or maybe any other programs you know would hook into your OS in a similar fashion. Also, if it hasn't already been suggested, do a virus scan.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #210284 10/03/09 03:15 PM
Joined: Sep 2006
Posts: 7
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Sep 2006
Posts: 7
I just reformatted recently, and i have mIRC excluded in the firewall. Im using an isp branded version of f-secure with full updates - even scanning web traffic in and out of pc. so virus infection isnt likely. thanks anyways. oh.. last thing - im running a vanilla install of mirc. I dont use scripts or dll's in general as i know the threats they pose.

One thing i do know tho is f-secure DOES identify mirc as "riskware".. but as i said, i exclude it from scanning.

For those that dont know what riskware is - its a category assigned to programs that are not classified as a threat in and of themselves, but they have the potential to cause security holes that can be abused.

thanks again

Last edited by Astral_Nomad; 10/03/09 05:50 PM.

Curiosity killed the cat.. but for a while i was a suspect.
Astral_Nomad #210304 11/03/09 01:23 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Have you tried this with your AV off? Telling f-secure "not to scan" doesn't mean it necessarily is listening to you or that it still isn't hooking into mIRC to simply watch (causing it to close improperly). As I mentioned, testing with AV off *is* something you should be trying, not something you can simply discount-- the anti virus software itself, not a virus, has been the cause of some edge case reports like these.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard