why does this crash litestep? Thread last updated on 2004-06-17 23:53:09

Posted by member 144980 on 2004-06-16 11:07:16

i was in the middle of making a new theme when suddenly it just started to crash litestep.

i can switch back to the default theme from the shortcut in the litestep folder and that and every other theme will work just fine but when i try this theme again it will just crash after a minute or two.

i cant see where im going wrong though.

if anyway can point out what ive done wrong it would be greatly appreciated


this is the main theme

;-------------------------
; Litestep config
;-------------------------

OTSMajorversion 2
OTSMinorVersion 0

ThemeName "carbon"
ThemeAuthor "spengler"

ConfigDir "$ThemeDir$config\"

LsImageFolder "$ThemeDir$images\"

;-------------------------
; load modules
;-------------------------

*netLoadModule grdtransparent-1.1_beta_1
*netLoadModule popup2-2.1.7
*netLoadModule desktop2-2.0
*netLoadModule taskbar3-0.306-alpha_3
*netLoadModule systray2-2.0.4
NetLoadModuleOnLoad !NetUnloadModule

;------------------------
; modules config
;------------------------

include "$ConFigDir$base.rc"
include "$ConFigDir$popup.rc"
include "$ConFigDir$themevars.rc"

*grdtransparent taskbar3-0.306-alpha_3.dll $trans$ 1
*grdtransparent systray2-2.0.4.dll $trans$ 1
*grdtransparent popup2-2.1.7.dll 235 1


this is the base

;-------------
; desktop config
;-------------

SetDesktopArea
SDALeft 0
SDARight 0
SDATop 0
SDABottom -35

;------------
; systray config
;------------

sysTrayX -174
sysTrayY -45
sysTrayHeight 18
sysTrayWidth 48
sysTrayBGColor $black$
sysTrayBorderColor $black$
sysTrayIconSize 14

*systrayHide "SystemTray_Main" 0
*systrayHide "OpTaskbar" 0
*systrayHide "TBWGUI" 0
*systrayHide "Avg60ControlCenter" 0
*systrayHide "Connections Tray" 0

;--------------
; tasks bar
;--------------

TaskbarX 0
TaskbarY -18
TaskbarHeight 18
;TaskbarWidth $resolutionX$
TaskbarIconX 0
TaskbarIconY 3
TaskbarIconSize 14
Taskbarnormalfontface arial
Taskbarnormalfontheight 12
Taskbarbuttonfontborder 18 0 3 0
Taskbarborder 0
Taskbarbuttonborder 0
Taskbarbuttondirection .right

Taskbarnoskinshift
Taskbarnofontshift

Taskbarskincenter $blackimg$tile.bmp
TaskbarNormalSkinCenter $blackimg$tile.bmp
TaskbarActiveSkinCenter $blackimg$tile.bmp
TaskbarMinimizedSkinCenter $blackimg$tile.bmp
TaskbarFlashingSkinCenter $blackimg$tile.bmp

taskbarnormalfontcolor $grey$
taskbaractivefontcolor $white$
taskbarminimizedfontcolor $grey$


the popup
;----------------------
; popup config
;----------------------

hotlistname "$themename$"

Popupsubmenuheight 22

Popuptitleheight 16
Popuptitlealignment center
Popuptitlecolor eeeeee
Popuptitlebgcolor a9a9a9
popuptitlepix $blackimg$title.bmp

Popupfoldercolor a9a9a9
Popupfolderbgcolor eeeeee
Popupselfoldercolor 000000
Popupfolderpix $blackimg$popback.bmp
Popupselfolderpix $blackimg$popsel.bmp

Popupentryfontheight 13
Popupselentryfontheight 13
Popupfontheight 13
Popupsubmenuheight 15
Popupentryfontheight 13

Popupselentrypix $blackimg$popsel.bmp
Popupentrypix $blackimg$popback.bmp
Popupentryalignment right
Popupentrybgcolor eeeeee
Popupentrycolor a9a9a9
Popupselentrycolor 000000

popupMinWidth 110
PopupMaxWidth 200

PopupSeparatorPix $blackimg$sep.bmp
PopupArrowImage $blackimg$poparrow.bmp
PopupSelArrowImage $blackimg$poparrowsel.bmp

PopupNoMenuBevel true
PopupNoBevel true
PopupNoCloseButton true

PopupAdaptiveWidth true
PopupNoFolderArrow false

PopupIconSize 5
PopupIconSpacing 3
PopupPaintMode stretch
PopupBorderLeft 0
PopupBorderRight 0
PopupTextOffset 5
PopupOverlapY -$PopupTitleHeight$
PopupOverlapx 0
PopupBottomPix $blackimg$popbottom.bmp


and the themevars

black 202020
white ffffff
grey 808080

blackimg "$LsImageFolder$black\"

trans 175



i know it's a lot of code to read through but i was just hoping that there might be something glaringly obvious to the more experienced heads that im missing due to my inexperience wih litestep.

in the pst most of my problems with las step have been down to something pointing to a file or module that dont exist, i just cant see anything like tht in thi case.

thanks in advance for any help

Posted by member 1 on 2004-06-16 13:00:32 link

Well...basic diagnostic proceedures tells you to comment out all of the includes and recycle and then slowly add them back in to locate the broken file. Once the file is figured out you should have no problems finding your problem.

Posted by member 1949 on 2004-06-16 17:07:42 link

Push it up somewhere or email it and I'll take a look.
Q3immortal@comcast.net

Posted by member 1 on 2004-06-16 17:39:15 link

looking further into this it is pretty easy to see where the problem is. you loaded things going the wrong direction so LS freaks out. reverse your includes and you should be ok.

Posted by member 1316 on 2004-06-16 17:52:59 link

if it still doesn't work, post the actual error you get.

Posted by member 144980 on 2004-06-16 20:37:31 link

thanks guys i worked it out.

commenting out the includes was the most obvious thing to do, in fact i did it long before i asked for help here.

for some reason though i wasn't smart enough to seperate the base.rc into seperate pieces.

once id broken that into desktop, systray and task files i soon realised that it was systray causing the problems.

a bit more investigation and i realised it was the iconsizing command causing the problem.

systray2 doesnt support iconsize (well at least there is no mention of it here http://www.flatface.net/~namaide/lsdocs/)

i'd just gotten into the habit of using it because i generally use vtray which does support the command.

thanks for taking the time to read through all of that anyway

Posted by member 99 on 2004-06-16 22:40:05 link

NetLoadModuleOnLoad !NetUnloadModule
doesn't do anything.

Posted by member 31 on 2004-06-17 10:48:55 link

Are you saying that the line: sysTrayIconSize 14
was causing systray2.dll to crash?

Posted by member 144980 on 2004-06-17 21:36:43 link

yep.
commenting out the systrayiconsize 14 line stopped the crashes from occuring.
should the command work?
systray2 does not have any proper manual with it, it just tells you to check the website i posted previously for the manual which makes no mention of iconsize so i assume it aint a vaild insruction for that module

Posted by member 3800 on 2004-06-17 21:41:45 link

yep, that line should work...

Posted by member 1 on 2004-06-17 23:53:09 link

yah...try a different version of Systray2