inventrix: (Default)
2017-10-16 04:08 pm
Entry tags:

Federating a MU* system, Part 1

The simplest way to approach it would be for each server to exist as "worlds" or "realms" - not in the segregated-copy sense that most MMOs use it these days, but more in the sense of a fantasy story with alternate universes, each with their own history, rules, etc. Much in the same way an instance in the fediverse has its own location and rules and internal data - themes, software version, so forth - each of the federated MU* realms would have its own map, rules, characters, NPCs, and so forth.

But so far, that's the same as any two MU* games running on different servers. In order to allow players to travel and interact between different realms, you need a basic framework for the realms to share between each other. This basic framework would by necessity be tied into the structure and design of the federating protocol - and, ideally, would be extendable, allowing different realms to build greater complexity in their systems that would, however, still federate the information. (A good example of how handling differences in mechanics and features should work is federating custom emoji in mastodon; instances that have it pull in and display the custom emoji, and instances that don't receive and display the shortcodes as text.)

That brings you to the question of what information needs to be federated, and what should be handled by the realm server. There are some basic ideas that are obvious as to-federate, but here is, I think, a comprehensive list:


  • Basic account information: character name, description, statistics, inventory, account ID and home realm.
    • The first three fields should ideally be treated as a single entity when federating, with parsing out the parts of it done server-side - much like a single status post in OStatus or AP. That would allow individual realms to divide them up to support different types of features or systems. Examples:
      • Description combining the default appearance/personality/history sections into one freeform description, or have the description generated entirely by in-game functions and features (wearing items, character race, et al.)

      • Creating a Title system, allowing your character to earn a title that gets added to their name.

      • Using entirely different systems of ability or skill scores. (This gets complicated; I think I'm going to write up a whole post about it later.)

    • Account ID and home realm would act similarly to account information in AP and OStatus, so it shouldn't need to be extendable and in fact messing with it should probably break federation.

  • ​Basic location information: room description, exit locations.
    • Much like character description, room description should be designed to allow individual realms to increase or decrease complexity (down to a single entity or removal) without breaking federation. A good default would be: room name, room description, list of interactable items/NPCs.

    • Which takes us to...

  • Basic item information: items, objects, equipment, NPCs?
    • Items need a unique identifier per type of item, a display name for the item, and a description of the item, at minimum. Additional stats and numerical information should be packaged into the description field for purposes of federation - the display name possibly should be as well.

    • NPCs could count, for purposes of federation, the same as items. It is an entity that a player can interact with, after all; the complexity of how it response and if it's scripted to do things is all entirely server-side. However, NPCs are involved in...

  • Basic communication: in-room speech, private messages, DMing, NPC dialogue
    • This should work fairly similarly to AP social media federation, except simplified to text-only and the publicity defined by location rather than follow status. Examples:

      • Single room range - /say

      • Multi-room or realm-wide range - /shout

      • Single-person range - /whisper [name]

    • And speaking of...

  • Command responses: this is fairly obvious
    • If you're visiting another realm from your realm, your commands should be federated to the realm you're visiting and you should get the appropriate responses.

    • NPC dialogue may in fact count in this category, but it gets complicated, because NPC dialogue and communication should look mostly the same as player communication.


If you can send those pieces of information reliably between two realm servers and have them each able to consistently process it, then you have the basis of a federating MU* all set. And as it happens, a lot of these things are similar to the things federating social media already handles, so you don't even have to start from scratch. For example, basic account/character information is really the same as social media account information, just processed for a slightly different purpose. Player communication? like sending statuses. Items are like custom emoji, and so forth.

I have more thoughts on the information-processing side of this but I think I'll separate that into another post.
inventrix: (soul-eater leo)
2017-09-15 04:03 pm
Entry tags:

Fic exchange for Lyn

They strolled through the halls, Disguised as nondescript maintenance workers while Leo murmured Workings; shifting suspicion to disinterest, bending light away from the security cameras.

They were finally in the last climb of the current arc and it was putting Leo on edge. It'd been building for weeks, starting from a small gang's sudden rise in the local criminal underground and following from there along a chain of suspicious people and businesses - of intrigue, power-hungry corruption, and an illegitimate flow of funds leading, finally, to here.

Read more... )
inventrix: (kenshin leo)
2017-05-09 03:30 pm
Entry tags:

a snippet

Luke was back at Addergoole. Just for a couple of days, so far, but it was the official mark of his advisorial role being temporarily over. Leo had mined him for all the thoughts and information he could, before Luke had to leave - not because he needed it, but because it was stupid to waste valuable resources. Even if they weren't in this case his resources, exactly.

Read more... )
inventrix: (Default)
2017-03-28 09:06 pm
Entry tags:

Of the Law, Of the Gods...

A snippet of conversation relevant to the recent RP Lyn and I are in the middle of.

Lyn, you may or may not want to wait to read until after Cya and Leo talk. ;)



Read more... )
inventrix: (kenshin leo)
2017-03-27 11:26 am

Faking it

In case you were wondering what, exactly, had gotten poor Carew in trouble.


Read more... )
inventrix: (Default)
2017-03-26 06:18 pm
Entry tags:

But Why

It took two weeks of it - of Belonging to Leofric Lightning-Blade, of living in his house in Cloverleaf - before Jeska finally couldn't take it anymore.

"Sir?" They were in the living room, with his owner watching what he'd explained to Jeska as "anime" on the "television" while Jeska sat nearby and, usually, stayed quiet.

"Yes, Jeska?" The blond man looked over, seeming mildly but genuinely interested.

"Sir." Jeska took a deep breath and tried to keep his ears from tilting back in nerves. "What am I doing here?"

Read more... )
inventrix: (prof inazuma)
2017-03-26 05:26 pm

tohohoho

"It might've been more useful, thinking you were a Toho movie character instead."

It wasn't often that you encountered an actual real-life spittake, but it was only quick reflexes that kept Leo from spitting beer all over the coffee table.

"I-- what?" He stared at Cya, who was blushing a bright red and looking like she wanted to hide under the table.

Read more... )
inventrix: (leo by djinni)
2017-03-25 12:06 pm

A Child Named Thistle

Continuing the super non-canon AU of death and torment!

Start here first,
then second,
then third,

and this is fourth.



Read more... )
inventrix: (leo by djinni)
2017-03-24 10:08 pm

Don't Just Survive

a response to this - read first, and heed the posted content warnings




Read more... )
inventrix: (Default)
2017-03-23 05:38 pm

Rescue Kept: Settling In (part 1)

Their "ride" was not in fact anything that a person could ride at all, it turned out, but rather a slim young man who seemed none too thrilled at being out in the wilderness in the middle of the night. Jeska's owner - took the man's hand and--

--they were in front of a house, in a quiet city neighborhood.

Jeska stared, barely even registering his owner conversing with the man - who had somehow instantly transported them here. The ride was not a ride; going to Cloverleaf hadn't involved being dragged through the streets for everyone to see; his owner had given him a shirt and apologized.

Read more... )
inventrix: (kenshin leo)
2017-03-20 06:27 pm
Entry tags:

A Rescue: Part Final

Part 1
Part 2


"You can move now."

Jeska bolted upright, gasping for air as he pushed down the surge of panic. He'd felt the injuries healing and the perpetual dull aches from old injuries come back, so he knew his new owner had to be near, but that was right in his ear and there was nobody-- oh.

"Easy now, you're okay." The blond halfbreed suddenly appeared next to him, sight, smells and all, and put a hand on his shoulder. It was surprisingly warm and pleasant; Jeska wouldn't have dared pull away from his owner anyway, but he found himself not wanting to, which was... new.

Read more... )
inventrix: (kenshin leo)
2017-03-20 12:33 pm
Entry tags:

A Rescue: Part 2

previous

this is turning into a bloody saga


Leofric sat, waiting and watching, and the only thing keeping him from pacing nervously - or worse, charging the camp single-handedly - were decades of martial self-discipline. He'd sat down, worked out the whole plan in advance, made absolutely sure it would work, and yet... And yet. The younger man - Jeska, he'd said - was his, now; Leo was responsible for him. And he'd just sent him back into a pack of Nedetakaei, to get himself grabbed by a wild monster and hauled off.

It wouldn't be that bad, Leo reassured himself for the dozenth time. He'd turned off his new Kept's ability to feel pain, for the moment, and he'd heal him as soon as the others were sufficiently convinced he'd been killed, but it was still... uncomfortable.

He was never, ever, going to tell Cya how he'd done this.

Read more... )
inventrix: (kenshin leo)
2017-03-20 09:57 am
Entry tags:

A Rescue

The woods were quiet as Jeska sat in his hiding spot, waiting. He was responsible for getting food for dinner that night, and to that end he'd been camping out waiting for something to pass by. His hiding place had the bonus of being out of the way of the rest of the pack, giving him a few precious hours to himself. And those few hours would be even more valuable if he kept having so little luck. There'd been a deer, but something had startled it just as he'd taken the shot and he hadn't even wounded the damn thing.

Just as he was thinking it might be best to cut his losses and head back to camp, there was a whisper of a presence behind him - and before his hand could reach the hilt of his knife, let alone he could turn around, there was a press of sharp, cold steel against his throat.

Read more... )
inventrix: (Default)
2017-03-15 10:36 pm

thanks lyn

woo got all my day's words out of this prompt

Read more... )

next