Giter VIP home page Giter VIP logo

m-mf's Introduction

m&mf

m&mf is an AI system for Lusternia, an online MUD. It has advanced and adaptable curing capabilities, defence raising, name highlighting, influencing, and other features. It is the free and open-source version of what used to be m&m.

Downloading

To download the system for use, see here.

Documentation

Documentation for m&mf can be found here

Contributing

To code in the system itself, follow instructions below on how to set it up. See also the [developer readme](Developer readme.md) for more useful information.

If you're looking for something to do, have a look at the existing issues/features list, and have a look at the wiki on information about the project.

License

m&mf is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. You must read the license before using m&mf source code.

Setup

  1. Obtain m&mf source code. Either clone using Git (which will allow you to easily update the m&mf code and contribute back) or a zip snapshot (which doesn't require knowledge of Git).

  2. Uninstall m&mf/m&m you currently have installed. This is necessary to run the developer version of the system.

  3. Install Lua, LuaFileSystem, LuaRocks, Penlight, and 7zip.

    1. Windows: download and install latest LuaForWindows, which all the Lua components indluded. Install 7zip from here.
    2. Ubuntu: install Lua, LuaFileSystem, LuaRocks, Penlight, and 7zip.
    3. OSX: install Homebrew.
      1. Using Brew from your Terminal: brew install lua and brew install p7zip.
        1. Afterwards, make sure to brew install lua5.1.
      2. Using LuaRocks from your Terminal: luarocks install luafilesystem and luarocks install penlight
  4. Open the command-line and navigate to the m&mf folder, and run:

    On Ubuntu:
    ./generate.lua -o <your class>
    
    In Windows:
    generate.lua -o <your class>
    
    On OSX:
    lua5.1 generate.lua -o <your class>
    
  5. Replace <m&mf Git location> with the path to the XML files, and then run this command in Mudlet.

     lua installModule([[<m&mf Git location>/m&m (carriontracker).xml]]) installModule([[<m&mf Git location>/m&m (demesne).xml]]) installModule([[<m&mf Git location>/m&m (harvester).xml]]) installModule([[<m&mf Git location>/m&m (healing).xml]]) installModule([[<m&mf Git location>/m&m (import me).xml]]) installModule([[<m&mf Git location>/m&m (influencer).xml]]) installModule([[<m&mf Git location>/m&m (meldtracker).xml]]) installModule([[<m&mf Git location>/m&m (namedb).xml]]) installModule([[<m&mf Git location>/m&m (obey).xml]]) installModule([[<m&mf Git location>/m&m (peopletracker).xml]]) installModule([[<m&mf Git location>/m&m (plsorter).xml]])
    
  6. When prompted to find the m&mf folder location, select the <m&mf Git location>/own m&mf folder

  7. Go to Toolbox > Module Manager and tick all 'don't sync' boxes, so they become 'sync', for all m&mf XML files.

All set!

Editing

Code in m&mf comes from two places - Mudlet and the Lua files. In order to make a change in Mudlet (alias/trigger/script), edit in Mudlet directly, then hit Save Profile. Since you've installed the xml files as modules with the sync option, changes will be written back to the XML file automatically, and you'll see your Git client instantly show what you've changed. In order to make a change in the Lua files, edit the raw-* files directly (not the ones in the bin/ folder), save, rebuild m&mf (using generate.lua -o <your class> above) and reload it (by restarting your profile or Mudlet).

Authors

2010-2015, Vadim Peretokin.

m-mf's People

Contributors

aeldra avatar keneanung avatar m-mf-machine-account avatar mikepmanning avatar shedrin avatar vadi2 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.