mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 325
W
Wolfie Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
I've been running a homemade bot using mIRC 6.16 and recently upgraded it to 7.17. Now for some reason, no matter how many times I add server information for a private server, that information is periodically erased/forgotten/removed. There seems to be no prediction on when it will happen. I've tried adding it, then closing and reopening mIRC and it'll be there. I've even tried doing that after a successful connection and it'll be there. But then at some point after a disconnect for some reason or when I may need to reboot the system, that server info will either be gone or it'll be there and then suddenly be gone. Completely random but I swear it keeps erasing any changes I make to the server list. Is there a setting I'm not triggering correctly or something?

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
When you do the restart/reboot of your computer, is mIRC an active application, or have you shut it down previously?
If it is an active application, then the fault may lie in the fact that the information in the ini files may be being re-written due to the closure of mIRC when the system actually does reboot.

One option that may help is to use the /flushini command on a semi-regular (or regular) basis. Also, if you remember to close mIRC before restarting/rebooting your system, this should also prevent what you are experiencing.

Joined: Aug 2003
Posts: 325
W
Wolfie Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
Originally Posted By: RusselB
When you do the restart/reboot of your computer, is mIRC an active application, or have you shut it down previously?
If it is an active application, then the fault may lie in the fact that the information in the ini files may be being re-written due to the closure of mIRC when the system actually does reboot.

Sometimes it's a clean shutdown, other times it's not. However, I can load it up and it'll still be remembered, then later the customizations are gone.


Originally Posted By: RusselB
One option that may help is to use the /flushini command on a semi-regular (or regular) basis. Also, if you remember to close mIRC before restarting/rebooting your system, this should also prevent what you are experiencing.

I would think that once I've added the entries and closed/reopened mIRC and the entries are still there, that they would be there from that point on. But what's happening is that any customizations are literally being tossed away despite that.

Joined: Aug 2003
Posts: 325
W
Wolfie Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
Now it's even more interesting. I've manually edited the servers.ini file and removed EVERYTHING except the servers that I know will be used (only 2) and somewhere, the list gets updated with the original list, removing my changes/edits/updates/etc.

Joined: Dec 2002
Posts: 3,840
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 3,840
When you run mIRC, it will look for a servers.ini file in your "Application Data/mIRC" folder. If there is no servers.ini file there, mIRC will copy the servers.ini file from "Program Files/mIRC" to "Application Data\mIRC".

So if your servers.ini is being reset back to the original servers.ini, this may indicate that the file was deleted at some point.

I cannot think of a reason why that would happen unless perhaps your servers.ini file is being deleted by another application, for example, your anti-virus software (some of which have incorrectly treated servers.ini as a trojan/virus in the past).

Joined: Aug 2003
Posts: 325
W
Wolfie Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
I'm testing a theory at this point. It seems to be most frequent when a lag checker I built kicks in during a disconnect. mIRC will attempt to reconnect but then my script will kick in, doing "!server (network name)" and at that point, the list seems to be restored to the default list.

Also, the area that the application is stored is on a FAT32 partition, which is separate from the Windows install. This is so that I can backup and easily restore mIRC, it's logs and other things quickly, with no importance to other things.

Joined: Aug 2003
Posts: 325
W
Wolfie Offline OP
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
Could there be a bug in the /server function? confused


Link Copied to Clipboard