Linking book from within Age not working...

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Linking book from within Age not working...

Postby boblishman » Sat Oct 20, 2007 3:56 pm

I wonder if anyone can help me? (please!) :( ...

I have successfully created a journal and am now trying to create a Linking Book from within my Age to a second age of mine.

Whilst the new Linking book get a hot spot, when I click, nothing happens.

I have checked the python0.log and it says..."

Code: Select all
(10/20 03:37:00) Traceback (most recent call last):
(10/20 03:37:00)   File "C:\DOCUME~1\Bob\LOCALS~1\Temp\tmpF65.tmp\PaahkwehNew_Sp.py", line 28, in OnNotify
(10/20 03:37:00)   File "C:/Games/Uru - Complete Chronicles/Python/UruLibraryManager/UruAgeManager.py", line 195, in useAgeBook
(10/20 03:37:00) AttributeError: TUruAgeManager instance has no attribute 'isAgeInstalled'


every time I click the linking book....

.... any ideas as to what I've done wrong?
Last edited by boblishman on Sun Oct 21, 2007 7:55 am, edited 1 time in total.
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Linking book from within Age not working...

Postby Nadnerb » Sat Oct 20, 2007 6:58 pm

hmm... you're using UAM? (Uru Age Manager)
That's kinda old....

It seems that, at least, you're using the UAM python methods to do the link. There are more general ways to pull this off.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: Linking book from within Age not working...

Postby Pryftan » Sat Oct 20, 2007 10:48 pm

Well the UAM hack isn't necessary to do this, but it certainly makes it a lot easier then trying to work with PythonFileMods, which I have had absolutely no success with. I didn't know it worked for Linking Books, though.. Linking Books are implemented differently in Uru than Journals and the same process doesn't apply to both, so if the UAM hack doesn't work for them you're out of luck until H'uruStudio is done.
.rilvoohee vehrehnehm vokan pam mahnshootahv rub voohee taygahnehm mahtahntahv
User avatar
Pryftan
 
Posts: 312
Joined: Fri Sep 28, 2007 10:17 pm

Re: Linking book from within Age not working...

Postby boblishman » Sun Oct 21, 2007 7:54 am

Nadnerb wrote:hmm... you're using UAM? (Uru Age Manager)
That's kinda old....


Sorry, but I am a complete newbie to Age creation... I am not a programer and know almost nothing about Python and the only things I have been able to find to work with are the tutorials at Alcugs which still show this method...

The UAM python method does still work for the Journals (and, what I've discovered is, that it IS possible to also put pictures into the Journal that have alpha transparancey that display and work correctly without crashing) using this 'old' method.

Nadnerb wrote:It seems that, at least, you're using the UAM python methods to do the link.


It looks like the UAM doesn't work for Linking books any more ... :cry:

Nadnerb wrote: ... There are more general ways to pull this off.


I was rather hoping that someone could point me in the right direction (maybe to a 'template' python file that could get my linking book working ... but I guess not :cry:)
... I was only asking for help ...
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Linking book from within Age not working...

Postby Pryftan » Sun Oct 21, 2007 10:37 am

Well it's just that, especially if you don't know Python, this sort of thing will be very difficult. There's no good way to change extracted sections of prp files.. the only way I can concieve getting this to work is editing the changes directly into the prp file with a hex editor, and I've never successfully done that, it's always resulted in Uru saying my Age is corrupted. Someone better might be able to help you but I think you might just have to wait for H'uru.
.rilvoohee vehrehnehm vokan pam mahnshootahv rub voohee taygahnehm mahtahntahv
User avatar
Pryftan
 
Posts: 312
Joined: Fri Sep 28, 2007 10:17 pm

Re: Linking book from within Age not working...

Postby Nadnerb » Sun Oct 21, 2007 12:30 pm

Well, I don't know exactly what the problem is here..
I looked up the line in UruAgeManager that is throwing that error (shown below), and I don't see what is causing it. TUruAgeManager does define isAgeInstalled.
line 195:
Code: Select all
        if self.isAgeInstalled(agename):


At the moment, the only thing I can think of is that you have a bad copy of UruAgeManager.pak, which doesn't seem very likely to me.

Might I have a look at PaahkwehNew_Sp.py to see how you're calling this?

Actually, I just noticed that your copy of UruAgeManager.py seems to be part of ULM, so might I see a copy of that too? There just might be something messed up in it.
Last edited by Nadnerb on Sun Oct 21, 2007 1:53 pm, edited 2 times in total.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: Linking book from within Age not working...

Postby Trylon » Sun Oct 21, 2007 12:43 pm

ULM should just have the same file.
Ive checked it btw, and it does not define isAgeInstalled.

Which should look like
Code: Select all
def isAgeInstalled(self,agename)


BTW Nadnerb, the line you reference is not a definition, but just a function call.

I only included the original UruAgeManager code as a compatiblity with older ages.
I don't do any maintenance on it, and I'm not planning to either...
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: Linking book from within Age not working...

Postby Nadnerb » Sun Oct 21, 2007 1:50 pm

Nono, you misunderstand me.
It does define isAgeInstalled.
the line I quoted is where the ERROR occured.

The definition is farther down:

Line 493:
Code: Select all
    def isAgeInstalled(self, ageName):
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: Linking book from within Age not working...

Postby Trylon » Sun Oct 21, 2007 3:02 pm

Hm, turns out that there's an big hole in the UruAgeManager.py file that's included in ULM. I have the correct version however, so on a next version I'll put in an update...
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: Linking book from within Age not working...

Postby Nadnerb » Sun Oct 21, 2007 3:37 pm

Ahh, so it is the UAM py file. One problem soon to be fixed. :)

Soo, Bob, if you want to fix this up faster, try replacing the UruAgeManager.py file included with ULM with this one. ;)
UAMpy.zip
(2.97 KiB) Downloaded 271 times
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests