Chamassa

Show us what you can do! Let us know how you did it!
I.Brattin
Posts: 472
Joined: Sat Jan 31, 2009 3:06 pm
MOULa KI#: 0

Re: Chamassa

Post by I.Brattin »

Have yet to add footstep regions
MOUL Again Ki #'s
I.Brattin - 777796
Jayden Halliwell (IC Explorer) - 54404
User avatar
boblishman
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
MOULa KI#: 0
Location: Spain

Re: Chamassa

Post by boblishman »

a shot in the dark ... you are not using page numbers are you ?
(did you append this cickable ?)
when it comes to Age creation ... "DOH" seems to be my middle name...
I.Brattin
Posts: 472
Joined: Sat Jan 31, 2009 3:06 pm
MOULa KI#: 0

Re: Chamassa

Post by I.Brattin »

Nope no page numbers
MOUL Again Ki #'s
I.Brattin - 777796
Jayden Halliwell (IC Explorer) - 54404
I.Brattin
Posts: 472
Joined: Sat Jan 31, 2009 3:06 pm
MOULa KI#: 0

Re: Chamassa

Post by I.Brattin »

Got the book to finally go hot. When I click on it though nothing happens. This is what Python.0.elf is saying (thanks to Andy over at GoMa for getting me an Elf Viewer).

Code: Select all

(03/12 15:47:43) xKI:GZ: Refreshing MarkerDisplay  0:0
(03/12 15:48:02) __init__ChamassaBookGUI v.3.0
(03/12 15:48:18) xKI.OnServerInitComplete(): age =  Chamassa
(03/12 15:48:52) ChamassaBookGUI: OnNotify called
(03/12 15:48:52) Someone clicked on object AquhBook
(03/12 15:48:52) It was you
(03/12 15:48:52) Trying book AquhBook with page(s) ['AquhPage']
(03/12 15:48:52) Match found! Start opening book...
(03/12 15:48:52) ChamassaBookGUI: IOpenBook: Page(s) requested ['AquhPage']
(03/12 15:48:52) Traceback (most recent call last):
(03/12 15:48:52)   File "D:\DOCUME~1\Admin\LOCALS~1\Temp\tmp2B.tmp\ChamassaBookGUI.py", line 35, in OnNotify
(03/12 15:48:52)   File "D:\DOCUME~1\Admin\LOCALS~1\Temp\tmp2B.tmp\ChamassaBookGUI.py", line 90, in IOpenBook
(03/12 15:48:52) ValueError: unpack tuple of wrong size
(03/12 15:48:52) ChamassaBookGUI: OnNotify called
MOUL Again Ki #'s
I.Brattin - 777796
Jayden Halliwell (IC Explorer) - 54404
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Chamassa

Post by D'Lanor »

Congrats. As for this error, it is probably a matter of RTFM. ;)
Always keep the nesting structure [[double square brackets]] intact!


So that would be...

Code: Select all

bookPages = [['AquhPage']]
"It is in self-limitation that a master first shows himself." - Goethe
I.Brattin
Posts: 472
Joined: Sat Jan 31, 2009 3:06 pm
MOULa KI#: 0

Re: Chamassa

Post by I.Brattin »

As you can see I never removed the double square brackets.

Code: Select all

modPageDefs = __import__('ChamassaPageDefs')
ageBooks = ['AquhBook']
bookPages = [['AquhPage']]
MOUL Again Ki #'s
I.Brattin - 777796
Jayden Halliwell (IC Explorer) - 54404
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Chamassa

Post by D'Lanor »

Then check your page definitions. Do they have the right amount of parameters? And btw, you are using an old version of my book template. Edit: hmm, it looks like the version there isn't the latest either, which should be 4.1. Better wait until I have updated that post...
Last edited by D'Lanor on Fri Mar 12, 2010 3:45 pm, edited 1 time in total.
"It is in self-limitation that a master first shows himself." - Goethe
I.Brattin
Posts: 472
Joined: Sat Jan 31, 2009 3:06 pm
MOULa KI#: 0

Re: Chamassa

Post by I.Brattin »

Code: Select all

AgeBooks = {'AquhBook': ('<cover src="leather"><margin right=32 left=32>', 0, 0, 'BkBook', 0.8, 1.0)}

BookPages = {'AquhPage': (PageStart + ImgStart + 'leather' + ImgEnd + AlignCenter)}

LinkDestinations = {'AquhPage': ('Aquh', 'LinkInPointDefault', None, PtLinkingRules.kOriginalBook)}


Look fine to me, but I really am not sure.
MOUL Again Ki #'s
I.Brattin - 777796
Jayden Halliwell (IC Explorer) - 54404
User avatar
boblishman
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
MOULa KI#: 0
Location: Spain

Re: Chamassa

Post by boblishman »

I.Brattin wrote:Got the book to finally go hot....

would you mind telling us what was the problem ? (as we all spent quite some time trying to help ... )
when it comes to Age creation ... "DOH" seems to be my middle name...
I.Brattin
Posts: 472
Joined: Sat Jan 31, 2009 3:06 pm
MOULa KI#: 0

Re: Chamassa

Post by I.Brattin »

boblishman wrote:
I.Brattin wrote:Got the book to finally go hot....

would you mind telling us what was the problem ? (as we all spent quite some time trying to help ... )


Region wasn't large enough. Andy over at GoMa suggested having it large enough to go below the floor level, not even with. So I enlarged it so the bottom of the region sat below the floor level.
MOUL Again Ki #'s
I.Brattin - 777796
Jayden Halliwell (IC Explorer) - 54404
Locked

Return to “Tips and Showcase”