Ok, this is strange...

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.

Re: Ok, this is strange...

Postby Lontahv » Wed Jun 25, 2008 11:59 pm

Uh, why get rid of everything when he/you could just delete the personal sav? O.o

~Lontahv
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Ok, this is strange...

Postby GPNMilano » Thu Jun 26, 2008 12:19 am

Lontahv wrote:Uh, why get rid of everything when he/you could just delete the personal sav? O.o


Because that doesn't fix this particular problem. Its a clash with Drizzle, that unlocks the Negilahn book on the bookshelf. It was one of the left over pieces of code for Negilahn and Todelmer that got left behind. If the python pak for drizzle (Uruutils and the pythoncommand.txt) file are installed in the uru folders when you're using the ages distributed with that package. It causes the book to be unlocked. There is a fix in the Uruutils python pak for the negilahn code that looks something like this:

Code: Select all
  def negilahnbugfix1(self):
        #negilahn book shows up, because SinglePlayerMode saves all links to your owned list, and negilahn was partially implemented in pots.
        vault = ptVault()
        self.msg("uruutils: looking for negilahn link.")
        pal = vault.getAgesIOwnFolder()
        if(pal):
            contents = pal.getChildNodeRefList()
            for content in contents:
               
                link = content.getChild().upcastToAgeLinkNode()
                info = link.getAgeInfo()
                if (info):
                    agename = info.getAgeFilename()
                    if(agename=="Negilahn"):
                        self.msg("uruutils: found negilahn link, deleting...")
                        pal.removeNode(link)
                        #pal.save()
You can't stop the truth. IC Blog
User avatar
GPNMilano
 
Posts: 1155
Joined: Mon Apr 21, 2008 5:50 am

Re: Ok, this is strange...

Postby Jamey » Thu Jun 26, 2008 5:48 pm

Ok, I put the files into the Python folder...and got this lovely looking thing come up in front of my screen when I started Uru:


Image


X _ X

I'm so lost
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Ok, this is strange...

Postby Tsar Hoikas » Thu Jun 26, 2008 7:18 pm

Someone used PtPrintToScreen!
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: Ok, this is strange...

Postby Jamey » Thu Jun 26, 2008 8:02 pm

What does this mean?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Ok, this is strange...

Postby Deledrius » Thu Jun 26, 2008 8:52 pm

Jamey wrote:What does this mean?

It means you've won A NEW CAR!
User avatar
Deledrius
Gehn Shard Admin
 
Posts: 1377
Joined: Mon Oct 01, 2007 1:21 pm

Re: Ok, this is strange...

Postby Trylon » Fri Jun 27, 2008 12:10 am

That, or that some python script is desperately seaching for "uruutils\ModuleDrizzle.py" - probably in a pak file or another, or in your [URU] folder.

AKA: Probably a broken drizzle python pak.
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: Ok, this is strange...

Postby D'Lanor » Fri Jun 27, 2008 2:35 am

It seems you are using a mix of ages you have converted yourself and files from the drizzle torrent. Add the rest of the torrent Python files and you should be ok.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Ok, this is strange...

Postby Jamey » Fri Jun 27, 2008 8:52 am

Ok, I took the ModuleDrizzle python file and put it in the Uru Python folder along with the pythoncommand.txt & the Uruutils.pak files, and got the same error...did I miss something I needed to put in there?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Ok, this is strange...

Postby D'Lanor » Fri Jun 27, 2008 9:52 am

pythoncommand.txt should not be in the Python folder. It goes into the main Uru folder.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

PreviousNext

Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest