Cat skinning question

Help each other out

Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 5:21 am

ok this is embarrasing... here i go... i never quite figured out how to make cat not enter to the next level when its item has been clicked, well ofcourse i have solved issue with work around like usual (having cat:back command as cat execution event), but im sure there must be prittier way to achieve this. Actually im sure sure cause i know Rika does it in dragons musicviewer screen, but even though i did quick post mortem, i couldnt quite put my finger on it. help? :?
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby rika on Sat Feb 23, 2008 11:13 am

In ctegory, general, simply name your info screen the same as the screen name. If your category is in screen "musicviewer" name the info sceen: musicviever
Hope this make sense :)

Rika
rika
 
Posts: 401
Joined: Fri Apr 02, 2004 5:43 am
Location: Sweden

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 2:26 pm

:shock: Damn, i could swear i tried that before posting... :oops: have to experient some more after taking doggy out... poor thing is so full its black fur is turning yellow
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 3:54 pm

Yeah, i thought i tried it... its not simply enough Rika, there must be something else to it too.
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 4:17 pm

hmmm im somewhat puzzled now... i have on screen called "mp3" a mother cat called "album" which points to "music" database and its daughter cat "albumdetails" is marked on "details cat" field on "general" tab also its on same screen, "mp3", which has also marked as "info screen" of mother cat, and it works like Rika says without showing daughter cat's items on mommy after clicking moms things.

Yet ive have exactly same scenario on screen called "menu" theres mother cat called "menu" which points to "menu" database and it has daughter cat "menudetails" on same page and it is marked as "details cat" on general tab. also "menu" screen is is marked under "info screen" of mother cat. Yet this does not work, but mother exposes daughters things after clicked.

Now im thinking could music database be somekinda special case in this sense?
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby Grooby on Sat Feb 23, 2008 4:24 pm

Thats what i do and it works, strange
Grooby
 
Posts: 432
Joined: Tue May 18, 2004 12:53 pm
Location: England

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 4:46 pm

Grooby wrote:Thats what i do and it works, strange


I guess im doing something wrong... somewhere. Well i let u guys know what it is, if i ever solve this, instead of going with workaround, cause i know that atleast will work.

Just out of curiosity, are u using some standard database, or home made one?
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 5:18 pm

Ok i tried so manythings. Just as i was going to give up and go with the workaround, i decided to switch the database of cat behaving badly temporarily. And as soon as i put music database on the cat, its working properly. So this must be database related... now we just need to figure out exactly what in database changes cat behaviour. Any ideas what could it be?
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby Grooby on Sat Feb 23, 2008 5:34 pm

I use the method in my tv series dvd's database for episodes, so when i click on an episode nothing happens except the episode details show up, i then hit select to play it. Each series has its own database named after that series i.e Farscape.
Grooby
 
Posts: 432
Joined: Tue May 18, 2004 12:53 pm
Location: England

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 5:51 pm

Ok i hacked it. its the <type> element within database items which changes cat behavior. If u create database manually (here I dont mean typing xml by hand, but using XL database editor) <type> elements will not get added.

Now u might wonder why did i see such a trouble to determinate this root cause while i had ready made workaround for prob... it simply comes down to this: better u know your target software, language and coder, easier its for u to spot avenues for your future attacks. Who knows mayby this and few other quirks i spotted in the process will help me to implement something nice in the future. Just harmless happy hacktivism :)
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 6:32 pm

Ok so, if anybody else ever gets caught by this problem. In order for Rikas solution to work with your handmade database u have to add "<type>album</type>" element for each item in your database which belongs to your mother cat.

Then i have little contunuation question for Rika or anybody else who knows the answer... what if i wanna use these cats as several screen items? will it work if i specify current screen variable on "info screen" field, and what would this current screen variable be? i cant remember and since there is no good reference about variables... :oops:
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby defrag on Sat Feb 23, 2008 6:38 pm

Well I don't have any further answers for you B3ar, but thanks for sharing your journey - more info the better. Although not sure how many ppl will search for mother category :lol:
defrag
 
Posts: 376
Joined: Mon Jan 16, 2006 7:56 am
Location: Didcot, UK

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 6:45 pm

this is really huge thing for me i think... now that im thinking, this problem has been pestering me in the past so many times... and never before did i started to look for the cause. well might be not so important for manybody, i guess avarage xlobby user just automaticly generates some databases based on filestructure... but ive been since beginning trying to cat up pretty much everything, which means many hand created bases... just very glad this pesky little problem is now finally solved.
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby P3rv3rt B3ar on Sat Feb 23, 2008 6:49 pm

defrag wrote: Although not sure how many ppl will search for mother category :lol:


If i had called it MILF cat... would that have made a difference? :D
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Cat skinning question

Postby defrag on Sat Feb 23, 2008 7:25 pm

P3rv3rt B3ar wrote:
defrag wrote: Although not sure how many ppl will search for mother category :lol:


If i had called it MILF cat... would that have made a difference? :D


LOL!!!!!!!!!!!!!!

Now I have to question why do I know that is funny :lol: :lol: :lol: :lol: :lol:
defrag
 
Posts: 376
Joined: Mon Jan 16, 2006 7:56 am
Location: Didcot, UK

Next