So it occurs to me that places would be a lot cooler if one player could perform an action that would affect the place itself rather than just that player.
I.E. If a page has a programme that acts as a switch, the effects of the switch appear to all players in the place or room on their next page load.
This would be fairly easy to programme if there were another form of memory that has the same value for all players rather than holding a different value for each individual.
It could just be my total ignorance on the subject of site design but it seems that this would be a pretty easy thing to add to the game.
If it was a feature it would mean that places were much more interactive with story and could just generally be more fun.
Im super into the idea! What does everyone else think?
That is a good idea, and it would be even easier for CMJ to program than you imagine - it's already there in fact.
What I THINK you have to do is to name your memory GLOBAL:name then it will be global and the same value will be visible to all your visitors. Could somebody verify this? I haven't programmed in ages, and I haven't set up a global memory in longer, so I could have got this wrong.
I've just gone to have a look at the programming pages in the wiki, and they're not covered. Some references to Globals in the Combat System guides, which assume that you already know about them, and a rather confusing reference to "global memories" to mean something different in one of the memory tutorials. This is a sad deficiency in the tutorials, and I want to rectify it, but as mentioned above, I haven't programmed for ages, and am not at all confident that I'd get it right. Anybody else? Or shall I have a crack at it and then somebody check it over to make sure that I haven't made any big errors?
What Hairy Mary said. This already exists.
GLOBAL: name for any memory makes it a universal alterable by any person who affects the triggering condition. There's a few minor glitches with how it reads it still (namely the order of checks and things) but it's been used to great effect. I've used Global memories before to have universal random zones that drop on a group of players rather than an individual (to get them all on the same room). Dirk uses globals pretty extensively in most places he has to make a mass combat system.
All in all pretty good.
In that case, let me change my request to "someone please update the tutorials!"
Cant help wondering what other awesome stuff I can do that I wasnt told about! XP
Thanks for the help guys! Have a good christmas everyone!
As was noted, the GLOBAL memory feature is in place, and pace Denealus, it is fully and correctly functional. (Finally!) In order for everyone to experience the same thing, however, there must be a program running in the room that checks said memory state and delivers the desired result, but until someone refreshes the page, clicks a page link, or posts something, any changes to that status WILL NOT be visible to that player.
OK. I've written a page (there's not that much to it really is there?) But I'm nervous about writing a tutorial for something I haven't done myself. It's asking for mistakes really isn't it? So here's my first draft if anybody would like to look over it and give it the thumbs up.
====== Memories VIII - Thanks for the Memories ======
So far, we've used memories that work separately for each guest. Each guest has their own separate money supply. Each guest's visits are counted separately. Sometimes though you want a memory that works for everybody. One person pulls the lever and the lights come on for everybody. This is catered for. Simply name your memory GLOBAL://name// just like that, GLOBAL all in upper case then a colon and then the name of your memory as usual.
All the previous available tricks and techniques work equally well and global memories can be added to private memories and vice versa.
Bare in mind that your guests won't see anything happen straight away, only when they refresh their page by clicking on a link or saying something in commentary or similar.
WARNING!!! The author of this page has not done this himself!!! While he's reasonably confident that he's got it right, anybody who's ever perused manuals to any extenet will have come across pages written by people without personal experience and where the Chinese Whispers effect has occured, so - fingers crossed. If you have used this page and found it all works fine, then please come back and edit away this note.
[[places:memtutvii|Return to previous tutorial.]]\\
[[places:memorytutcontents|Return to memory tutorials contents page.]]\\
[[places:memtuti|Return to memories introduction page.]]\\
[[places:start|Return to Places overview]]
If everybody thinks that that's OK then I'll put it in and sort out the cross links.
It looks fine. I guess we'll see if people get confused.
Whoops, I'd forgotten all about this.
Yes. Writing the thing isn't good enough. I have to actually put it in the wiki!
OK. Done now.
The Improbable Island Enquirer - Forum