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
The Axe of Kolt
Skybreak v. 1.4
Skybreak v 1.2
The Fortress of Fear
Lost Coastlines
Trick or Treat
Magnetic Moon
All Hallows Eve
Ectocomp 2011 Compilation
Adventures of Thumper - Wonder Wombat
Latest Forum Posts
Simplifying my game
Items and Conditional descriptions in Room description
Teleporter that sends player to specific room based on a setting
Character swapping and Combi-Lib
Embedding Adrift 4 online play on
Viewer and command control
Just Another Christmas Day - ADRIFT 5 game
How to output full array variable?
Latest Reviews
Wumpus Hunt
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
Hint System Library - Release 1
The Dead of Winter
The Odd Competition
Grandpa's Ranch - Play Online Version

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