Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Skybreak v 1.3
The Cellar
The Fortress of Fear
Return To Castle Coris
Skybreak v 1.2
House of Horror
Starship Quest
The Axe of Kolt
Jacaranda Jim
The Lost Labyrinth of Lazaitch
Latest Forum Posts
Parsercomp 2022 has started
Reviewing ParserComp 2022
David W's works in progress
Frankendrift - early stages of Mac & Linux Runner
Lost Coastlines
Copying text from the Runner?
P/o Prune's current projects.
Having more than one URL-link in a game description in the games section
Latest Reviews
The Dead of Winter
The Escape!
The Odd Competition
Grandpa's Ranch - Play Online Version
The Dwarf of Direwood Forest
Return To Castle Coris
Alien Diver v15
The Axe of Kolt
Illumina (Version #3)
A Difficult Puzzle

Make a donation

Cursor  Key Prefix Problem

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed Critical Mon 16th Dec 2013 3 votes Vote Up Vote Down
Found in version: Last Updated: Completed in version: Date Completed: Track Changes: Sat 2nd Aug 2014 5.0.32 Thu 31st Jul 2014 Log In
ElliotMMon 16th Dec 2013 04:28
Setting a key prefix appears to be contagious. Creating a new file should make the prefix be blank, rather than carrying over the last used prefix. If you open someone else's file which uses a prefix, it will be cached when you make a new file.

Steps to replicate:

1: Set the Key Prefix in the Developer's Advanced Options

2: Create an object or location and turn on the key name filter to see that the key prefix was applied to the newly created items.

3: Have someone else open your demo and observe the key prefix in the Developer's Advanced Options - it will now be your prefix instead of theirs.

4: Have that same person make a new file: the key will still be changed instead of being blank. If the key name filter is not turned on, you won't notice it.
ElliotMMon 16th Dec 2013 04:50
See thread for screenshots and further explanation if needed:
CampbellMon 16th Dec 2013 09:02
This is a deliberate feature, so the prefix is on the user and not the file. This is so you can always have the same prefix, so if when merging games or working on the same game, your keys will always be distinct.
saabieTue 17th Dec 2013 01:19
Yes, but it shouldn't change when you open somebody elses file.
(I caught some em prefixes from opening one of Lazzah's files, which he caught from ElliotM)
ElliotMTue 17th Dec 2013 03:32
Keys should be distinct, I like this feature and think its very important, but like Saabie said, someone else's file shouldn't change your key or give you one when you don't use them.
saabieFri 20th Dec 2013 01:49
Having the key prefix on the user and not the file simply doesn't work.
No matter how careful you are to use distinct keys (which is itself difficult to keep track of), the folders in multiple files will all have the same keys.
As soon as you try to import a module into the developer you will get key clashes between keys and end up with half your folders and items disappearing or ending up in the desktop folder.

Every new file should start off with a blank prefix, which you then only set for files that are to be exported as modules.
The prefix should only be stored in that file and should only change if the user changes it in the file options dialog.
CampbellThu 31st Jul 2014 22:14
Ok, this is no longer stored outside adventures. I have also fixed a problem where the prefix was being prepended twice when adding locations to the map.
ElliotMSat 2nd Aug 2014 08:00
Thanks Campbell!
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster