I am seeing an issue with 'Allocating memory' error - when it happens, mIRC default theme gets completely deformed in toolbar and switchbar. Also it removes my background images. You can see it visually by this Screenshot and normally it looks like this one.

Some information about this script:
The script has many script files and also uses some DLLs such as MDX, hOS and WhileFix. I'm using the same DLLs on my normal mIRC script and I've never had this issue. (Because mBOT is a bot script and it's running on a single mIRC.)
The only different between my normal mIRC and this bot is: The bot script has many hash tables and also it does many processes on them. (Like seen, Top10 and similiar stuff)
Normally it happens when i have this script open for longer than 1-2day(s) and when it happens i have to close the mIRC and re-run it...
Also i should mention that i'm using mIRC v7.17 on both scripts on Windows 7 32bit. If i recall correctly i have this problem from mIRC 7+. (I can't say that for sure... but i'll test earlier versions for you if it was necessary.)
I have installed the latest driver of my graphic card. (My graphic card is 'Gainward, GeForce 9500 GT' 1GB.)

Forgive me if my English isn't good enough to describe more about this issue. I'll give you more information if needed.

This is the alias that it says when it gives me error and line 155 is the line that marked with *
Code:
CxM {
  if (%DC-Toolbar == $null) { set %DC-Toolbar ON }
  if (%DC-Toolbar == ON) {
    toolbar -c
    if ($scid($activecid).status == connecting || $scid($activecid).status == connected) || (*logging* iswm $scid($activecid).status) {
      toolbar -axz1 Disconnect $+(",Disconnecting,$chr(32),from,$chr(32),$chr(40),$server,:,$port,$chr(41),") $+(",$noqt($DC.Imgs(Conn.ico)),") "/DC-Connection"
    }
    else { toolbar -axz1 Connect $+(",$_TB.LS,") $+(",$noqt($DC.Imgs(Connection.ico)),") "/DC-Connection" }
    toolbar -is Xsep
    toolbar -axz1 mIRCOpt "mIRC Options" $+(",$noqt($DC.Imgs(Options.ico)),") "/mOpt"
    toolbar -is Rsep
    toolbar -axz1 mB "mBOT Main Settings" $+(",$noqt($DC.Imgs(Set.ico)),") "/DC-mBOT"
    toolbar -axz1 Pro "Channel Protections" $+(",$noqt($DC.Imgs(Protections.ico)),") "/BotPro"
    toolbar -axz1 Members "Member Area" $+(",$noqt($DC.Imgs(F-Sh.ico)),") "/MemberMgr"
    toolbar -axz1 Extra "Extra Settings" $+(",$noqt($DC.Imgs(Extra.ico)),") "/Extra-Settings"
    toolbar -axz1 Seen "xSeen System" $+(",$noqt($DC.Imgs(Seen.ico)),") "/xSeen"
    toolbar -axz1 Admin "Server Administrator Settings" $+(",$noqt($DC.Imgs(Oper.ico)),") "/MyOper"
    toolbar -axz1 AJoin "Connection Manager" $+(",$noqt($DC.Imgs(ConSetting.ico)),") "/ConMgr"
    toolbar -axz1 TB "Talk Bot" $+(",$noqt($DC.Imgs(TB.ico)),") "/Talk.Bot"
    toolbar -axz1 DCLogs "Log Viewer" $+(",$noqt($DC.Imgs(Log.ico)),") "/DCLogs"
    toolbar -axz1 BackUp "Backup Wizard" $+(",$noqt($DC.Imgs(BackUp.ico)),") "/DC.BackUp"
    toolbar -is Msep
    toolbar -axz1 Help "Help Centre (Do you have any problem with mBOT? Click here to solve it!)" $+(",$noqt($DC.Imgs(M1.ico)),") "/Start_Help"
    * toolbar -axz1 DC-About $+(",About DC mBOT,$chr(32),$DC.Ver,") $+(",$noqt($DC.Imgs(About.ico)),") "/mBAbout"
    toolbar -is Bsep
  }
  else { toolbar -r }
}


Edit: Just as a side note i should mention that this bot script is minimized to tray most of times.

Last edited by Khaled; 24/02/11 09:48 AM.

Nothing...