Culper |
 |
Wednesday, December 23 2015 @ 07:34 PM UTC (Read 3070 times) |
|
|

Newbie
Status: offline
Registered: 07/28/15
Posts: 4
|
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?
|
|
|
|
Hairy Mary |
 |
Wednesday, December 23 2015 @ 09:34 PM UTC |
|
|

Improbable Badass
Status: offline
Registered: 08/17/08
Posts: 1083
|
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?
|
|
|
|
Denealus |
 |
Thursday, December 24 2015 @ 03:14 AM UTC |
|
|

Contender
Status: offline
Registered: 01/10/13
Posts: 58
|
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.
|
|
|
|
Culper |
 |
Thursday, December 24 2015 @ 09:07 AM UTC |
|
|

Newbie
Status: offline
Registered: 07/28/15
Posts: 4
|
Oh, cool!
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!
|
|
|
|
Dirk Vanderhuge |
 |
Saturday, December 26 2015 @ 05:03 PM UTC |
|
|

Contestant
Status: offline
Registered: 08/14/10
Posts: 21
|
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.
|
|
|
|
Hairy Mary |
 |
Sunday, December 27 2015 @ 03:56 PM UTC |
|
|

Improbable Badass
Status: offline
Registered: 08/17/08
Posts: 1083
|
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.
Cheers.
----
[[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.
|
|
|
|
Dirk Vanderhuge |
 |
Saturday, January 02 2016 @ 10:24 PM UTC |
|
|

Contestant
Status: offline
Registered: 08/14/10
Posts: 21
|
It looks fine. I guess we'll see if people get confused.
|
|
|
|
Hairy Mary |
 |
Sunday, January 03 2016 @ 12:24 AM UTC |
|
|

Improbable Badass
Status: offline
Registered: 08/17/08
Posts: 1083
|
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.
|
|
|
|