Telnet is Poop
-
@faraday said in Telnet is Poop:
Having explored it a little in the past, I think that game-to-wiki is going to be tough.
Whoever coded Brave New World managed it with Mediawiki. Logged scenes would transfer to the wiki somehow.
-
Whoever coded Brave New World managed it with Mediawiki. Logged scenes would transfer to the wiki somehow.
I don't know how hard that is in a traditional MUSH server, but in principle that direction is not all that difficult I believe - taking a data table and storing it in a wiki-formatted page is just a matter of filling a template on a form the wiki understands.
The other direction, wiki-> relevant game data feels trickier.
.
Griatch -
@TNP said in Telnet is Poop:
Whoever coded Brave New World managed it with Mediawiki. Logged scenes would transfer to the wiki somehow.
Be curious to know how they did it.
-
@surreality said in Telnet is Poop:
It's pulling things from/pushing things to the game that's been... not something that happens much. The news files are written on the wiki and pulled over to the game, which makes edits/quick changes/additions far easier. I'd love to have similar functionality for more complex things, but we don't have that (at the moment, honestly @Thenomain worked a miracle just getting us that far as it is).
This wiki news and help interface system was 100% @Chime. I followed in her footsteps, maybe cleaned up some features, maybe figured out how to add one or two more, but it was her ability and persistence that made even the most basic part of it possible. Compared to her, I'm absolutely a poser.
@faraday said in Telnet is Poop:
@TNP said in Telnet is Poop:
Whoever coded Brave New World managed it with Mediawiki. Logged scenes would transfer to the wiki somehow.
Be curious to know how they did it.
Once you know how MediaWiki puts things together, it's not that hard. Easier to read than write, of course, but if they already did the hard work then I want to see their code too.
For the curious: The way MW stores its tables is sometimes kind of stupid. You can see the legacy going on, but hey, it works.
-
No idea how it's done. The game had code where you could start a log in any room and join it. The game then logged everything till you ended it. It ended up on the wiki in a table of sorts if I recall right with each pose on its own line. You then had to hit a button to convert that into a log.
-
Isn't the game-to-wiki logging SceneSys?
-
@Thenomain said in Telnet is Poop:
Once you know how MediaWiki puts things together, it's not that hard. Easier to read than write, of course, but if they already did the hard work then I want to see their code too.
Using the API? Or chucking stuff directly into their tables? The documentation for the former had be twitching so I eventually gave up. For the latter, I never messed with Penn's SQL stuff enough to know if that's even possible.
-
Throwing things directly into the tables. I never looked at the API because I imagined it was difficult to trigger from TinyMUX.
Addendum: I imagine the risk of inserting directly into a MediaWiki table to be pretty high, tho, since sometimes they change them or plug-ins change them for fun. But what the hell, right?