Memorial Imager text /testing needed

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.

Memorial Imager text /testing needed

Postby Agenotfound » Fri Aug 14, 2009 8:24 am

ok i have been working on getting the text to show up on the memorial imager but i have a software problem wich prevent me from testing it.

the thing is that for the text to show up you have to add to what you may have already done in my other tutorial a python file, a SDL and a text node in the vault. i did add nodes without problem at first but forgot to add the SDL and when i figured that out i corrupted my windows installation somehow (i use windows trought parallel desktop wich make it pretty fragile) and now vaultshop keeps corrupting the vault (i already tried to re-install vault-shop). so i won't be re-installing windows soon and i was wondering if someone would like to test the final steps of the thing to know if it works or if it needs additional research.

anyway if someone whants to give it a try here is the how-to. (should take about 15 minutes to do)

/even if you are not going to do the tutorial but have a good understanding of python, could please take a look at the code from Moul to see if any mistake has been made in the rest of the tutorial. thx

safety first:

copy your python.pak from the python folder and keep it somewhere safe
do the same thing with your vault.dat wich is located in one of the subfolder of your "sav" folder

now a warning: we are going to re-pack the python file wich has the strong tendancy to corrupt the offline-ki and ki in general so use a "test" installation of uru for more safety (you will be able to restore it completly if you whant by re-copying your vault.dat and pyhton.pak)

now follow the instructions of my previous tutorial on the imager but add the following SDL:
Code: Select all
 VAR INT     MemorialImagerStartTime[1]       DEFAULT=1   


it is not improbable that this one works too eventhought i am not sure
Code: Select all
 VAR INT     MemorialImagerStartTime[1]       DEFAULT=1   DISPLAYOPTION=Visible


WARNING if you have done the previous tutorial already don't just add the SDL but copy the all STATEDESC city and change the number , THEN add the SDL
hit the save button

now pyhton. you will need UruPython for this.

if you kept by chance your original pyhton files from Moul look for "islmMemorialImager.py"


then use UruPyhton to unpack the python.pak file of you installation.
no need to decompyle it
add to the unpacked files the islmMemorialImager.py file

then using urupython again re-pack the file ( be sure to keep the name "python.pak")

copy that new python.pak to your current python folder

now the problematic part (at least for me)

start vault shop you should see this (minus the things in the inbox folder)
Image
i also guess your avatar name won't be Hypsis and that your owner number might be different.

now "hinc sunt draconis" (here lies dragons) meaning again that we are in uncharted territory and that you might need to adjust things by yourself. the only thing i am 100% sure is the structure of the folders we are going to create.

click on the inbox folder and on the Node properties. check your own owner number here wich my be different from mine
then first doubt : i clicked on the checkboxes to allow it to be read but i'm not sure if that's necessary (sounded right to me)
check what i did in the above picture

then right-clik on the Inbox folder and select Create Node
select the new node go to the Node properties tab and select node type "folder"


Image

change the owner number to yours, match the checkboxes to the above pictures, the rest is automatic
a doubt here: it might good to put "City" in the Age Name but i'm not sure (i'm using other nodes as reference for that, some have the name of the age they have an influence on, some not)

go to the folder tab and rename it

"MemorialImager"

then set the folder type to "device inbox" not sure for that either but it seems to be confirmed a bit further.
Image

then right-click on your folder and select "Create node"

got to the properties tab and set the folder type to Text note
Image

match the checkboxes with what you see in the above picture, change your owner number, the rest is automatic
and again
"a doubt here: it might good to put "City" in the Age Name but i'm not sure (i'm using other nodes as reference for that, some have the name of the age they have an influence on, some not)"

then go to the "text note" tab and set the title to "MemorialImager" and type to "device inbox"

Image


then the greatest question of all do we need to just type text in the field (preferably not the stupid one i typed) or do we need to put a more specific code defining the font/ size/ color. (i also recommend for a first test not to use to specific letters (as é,è,à,.. or ponctuation symbols)
I have a limited understanding of python but i saw in the code of the islmMemorialImager.py some pre-defined settings wich let me think that this thing was made to be fast and conveninent for admins so they just add to type text ?


then after deciding what you whant (i tried just text) hit save and start Uru

the problem for me start here. eventhought i made the previous operations to the vault about ten time (it didn't worked because i forgot to add the SDL) now each time i try to start uru i crashes trying to load the player (wich i have the proof is linked to vault corruption).
if it wasn't for that i would still be trying and i'm sure that in the end i could have done a tutorial a little less "messy" than this one for wich i apologize.

so now it is time to try the thing.
(praying is autorised during loading screens)

a small tip: as the offline-KI won't work you won't be able to "/link city" so when you link, choose the link to the Takotah Alley so you just have to jump happilly down the stairs and not have to climb all the stairs from the ferry to the Pub (i speak from experience).

if you whant to restore your installation to normal just re-copy the python.pak and vault.dat you saved previously to their original locations.

Good luck and please report any succes ! (and not so-succesfull atempts)

(if you don't want to do the tutorial but you have good pyhton skills it would be great if you could just take a look at the code to spot the possible errors in this tutorial.thx
Last edited by Agenotfound on Mon Aug 17, 2009 1:11 am, edited 3 times in total.
Image
User avatar
Agenotfound
 
Posts: 189
Joined: Mon Jun 29, 2009 7:15 am

Re: Memorial Imager text /testing needed

Postby Lehnay » Sun Aug 16, 2009 2:23 am

I would like to test this, but I can't get VaultShop to work. When I try to Load Vault, it just says "No vaults were found to load", no matter what folder I point it to.
Last edited by Lehnay on Sun Aug 16, 2009 9:44 am, edited 1 time in total.
Lehnay
 
Posts: 49
Joined: Sun May 17, 2009 3:34 pm

Re: Memorial Imager text /testing needed

Postby Agenotfound » Sun Aug 16, 2009 2:47 am

point to the "complete chronicles" folder, Vaultshop should then be able to find the vault by itself.
EDIT: but yes, i have to admit that Vaultshop can get quite buggy at some times.
Image
User avatar
Agenotfound
 
Posts: 189
Joined: Mon Jun 29, 2009 7:15 am

Re: Memorial Imager text /testing needed

Postby Lehnay » Sun Aug 16, 2009 4:25 am

Thanks, I thought I had tried that but apparently not. (Why does it ask for the vault specifically?? Oh well.)
Agenotfound wrote:then right-clik on the Inbox folder and select Add Node
select the new node go to the Node properties tab and select node type "folder"

Sorry, I don't follow you -- what new node? We haven't created any? When I select Add Node it asks for an ID. My inbox is empty.
Lehnay
 
Posts: 49
Joined: Sun May 17, 2009 3:34 pm

Re: Memorial Imager text /testing needed

Postby Agenotfound » Sun Aug 16, 2009 8:00 am

Lehnay wrote:Thanks, I thought I had tried that but apparently not. (Why does it ask for the vault specifically?? Oh well.)
Agenotfound wrote:then right-clik on the Inbox folder and select Add Node
select the new node go to the Node properties tab and select node type "folder"

Sorry, I don't follow you -- what new node? We haven't created any? When I select Add Node it asks for an ID. My inbox is empty.


when you right clik on the inbox folder you have a list of options that apear select "Add node" that will create a new node who will look like a question mark, select this question mark, new tabs apear in the right window, select the tab called "Node properties" when you will have selected the type "folder" the question mark icon will be replaced by a folder icon like on the screen captures.
EDIT: for the ID thing make sure the inbox folder as the same owner number as your avatar
Image
User avatar
Agenotfound
 
Posts: 189
Joined: Mon Jun 29, 2009 7:15 am

Re: Memorial Imager text /testing needed

Postby Lehnay » Sun Aug 16, 2009 9:40 am

OK, I tested it, and I got the results you describe: I corrupted my vault. UruSetup did not get past the "Requesting Player List" stage, and crashed. I had to restore my sav folder.

One thing for the tutorial: When you right-click the Inbox, there are three options available: Remove, Add Node... and Create Node. Like I said, if you select Add Node you get the dialog below. From context I take it that you mean "Create Node"?
Attachments
addNode.jpg
addNode.jpg (7.71 KiB) Viewed 3367 times
Lehnay
 
Posts: 49
Joined: Sun May 17, 2009 3:34 pm

Re: Memorial Imager text /testing needed

Postby Agenotfound » Sun Aug 16, 2009 10:20 am

Lehnay wrote:OK, I tested it, and I got the results you describe: I corrupted my vault. UruSetup did not get past the "Requesting Player List" stage, and crashed. I had to restore my sav folder.

One thing for the tutorial: When you right-click the Inbox, there are three options available: Remove, Add Node... and Create Node. Like I said, if you select Add Node you get the dialog below. From context I take it that you mean "Create Node"?


yes, my bad i meant "Create Node". as for the corruption thing i did update succesfully the vault once so that probably a VaultShop related issue (quite unstable)
anyway thanks for trying.
Image
User avatar
Agenotfound
 
Posts: 189
Joined: Mon Jun 29, 2009 7:15 am

Re: Memorial Imager text /testing needed

Postby Lehnay » Sun Aug 16, 2009 11:36 am

My first time using VaultShop ever, so I may quite possibly have mixed things up. Perhaps I missed some step. I hope though that you find some foolproof :D way to do this, and update your tutorial perhaps!
Lehnay
 
Posts: 49
Joined: Sun May 17, 2009 3:34 pm


Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 0 guests