Code Monkey home page Code Monkey logo

hexagon's People

Contributors

neverbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hexagon's Issues

restore_object not working since the new DGD version

Our own version of the restore_object function is not working, and do not write anything (even removes the .o file when doing save_object after a failed restore_object).

The install script (install.sh) automatically modifies some code in the DGD codebase before compiling, commenting some lines, and since the last DGD version this is done on the wrong lines.

Allow opening binary connections

Investigate a little about how to allow binary connections in DGD, and start the work for the future implementations of httpd, ftpd, etc.

Review every communications action

Actions to send messages to other players:

  • tell
  • say
  • whisper
  • shout
  • emote
  • channel actions (send message, open/close channels, etc)
  • mail cmd

About languages:

  • speak
  • read

Convert to cmds:

  • move speak to a cmd
  • move read to a cmd (so not every item in the game has the read action)

npcs in demo game not using the right languages handler

With the multigame feature, different games uses their own handlers and tables instead of the generic ones in /lib/handlers. When created, the npcs are using the right handler to learn languages, when speaking they try to use the generic one (where their languages might not exist).

It is probably an error with the efuns defined in /lib/core/efuns/games.c.

Review admin commands

Full review and translation of the admin commands:

  • ban
  • clonein
  • dirs
  • domain
  • domainwho
  • donde
  • echoall
  • fds
  • findfile
  • fsearch
  • guildwho
  • ident
  • in
  • ll
  • memory
  • memtree
  • money_info
  • netstat
  • people
  • qatt
  • qc
  • qpeople
  • register
  • resolve
  • rotate
  • shutdown
  • singletons
  • snetstat
  • snoopers
  • sockets
  • stats
  • status
  • su
  • suspend
  • terms
  • unicos
  • whois
  • xdate
  • xfinger

armed combat

Review the objects from ccmudlib:

  • weapon.c, add to the repository
  • shield.c, add to the repository
  • armour.c

Test armed combat.

Product Identity

Ideally:

  • New logos for the project and the organization (maldorne).
  • Banner image for the readme.md file

Review quest system

Most of the code is already in the repository, but it won't be reviewed or improved until version 2.2 Edoras.

Reconnecting does not use the same user object

On disconnecting and reconnecting,

  • the player object is destroyed and removed from the players handler, but
  • the livings handler still stores a nil reference (fix!), and
  • the users handler still stores the original user object (as it should do), but is not used on reconnecting, so we have unused user objects stored (fix!)

Review and improve skill system

  • Review /lib/living/feats.c, move feats to skills.
  • Move old cmd search to skill.
  • Move old feat hide to skill.
  • orientation skill, use it in the forest in demo-fantasy.

review file encodings

Some of the files in the repository use UTF-8, while others use iso-8859-1. Take a look to this and unify criteria.

Review coder commands

Full review and translation of the coder commands:

  • actions
  • armaduras armours
  • backup
  • cat
  • clone
  • compare
  • cp
  • cplines
  • discard
  • du
  • exec
  • exits
  • ftpwho (moved to ftpd package)
  • goto
  • grep
  • head
  • home
  • invisible
  • ioulist
  • load
  • ls
  • mail (postponed to v2.1 Daggerfall, #23)
  • malloc
  • man (postponed to v2.1 Daggerfall, #7)
  • mkdir
  • more
  • mudlist (moved to intermud package)
  • multi
  • mv
  • nls
  • paz peace
  • resistencias resistances
  • restore
  • rm
  • rmdir
  • sar
  • tail
  • uptime
  • visible

fix query_verb()

The current verb is not persistent between call_outs, we need to give it the same treatment as the initiator objects to be sure we will never lose the original verb/command.

Avoid updating important handlers once created

Make it impossible to update/reload/etc every handler:

  • /lib/core/heart_beats.c
  • /lib/core/mudos.c
  • /lib/core/objects.c (empty for now)
  • /lib/core/singletons.c
  • /lib/core/users.c
  • /lib/core/livings.c

And also anticloning:

  • /lib/core/heart_beats.c
  • /lib/core/mudos.c
  • /lib/core/objects.c (empty for now)
  • /lib/core/singletons.c
  • /lib/core/users.c
  • /lib/core/livings.c

And

  • Move /lib/handlers/livings.c to /lib/core/livings.c

could not create account

// create the user object
_user->set_user_name(user_name);
_user->set_password(password)
set_password doesn't work and when create an account the account doesn't have password so it can't login

Review /docs contents

The contents of the /docs directory are outdated, mostly copied from old muds, using the concepts of efun/lfun from mudos. They have to be cleaned.

  • Check duplicities with languages, now we have /docs/en and /docs/es and maybe the languages are not correct. Look for original english doc if we only have a translated one.
  • Removed outdated files from older muds.
  • Mix lfun/efun contents if needed.
  • Update installation instructions.
  • Review help cmd.
  • Review man cmd.

fix find_match with singular and plurals

find_match with a singular id like "sword", returns a list of every item that matches that id, instead of just the first.

Take a look to the efun present, it also does the identification with sword 2. See if both efuns are necessary and where are they called from.

Review player commands

Full review and translation of the player commands:

  • ausente away
  • enterrar bury
  • calendar (move to game cmd in v2.1 Daggerfall, #27)
  • comandos commands
  • combates combats
  • estado condition
  • configuracion configuration
  • considerar consider
  • coste cost
  • diplomacy (postponed for now)
  • carga encumbrance
  • equipo equipment
  • glance
  • grope
  • group (postponed for now)
  • informar inform
  • inventory
  • kill
  • look
  • map
  • dinero money
  • past
  • apuntador pov
  • prompt
  • quests (postponed to v2.2 Edoras, #26)
  • ranking (postponed for now)
  • retirar retire
  • score
  • buscar search (moved to skill in v2.1 Daggerfall, #25)
  • sheet
  • detener stop
  • time
  • cabalgar travel
  • modo verbose
  • whoami
  • cobardia wimpy

enable translating the action that inits cmds

Now every command in /lib/cmds (commands by user category: player, coder, admin, etc) are launched by its file name and allow synonyms in a _CMD_ALIASES file.

We need to use something like set_command_names( ({ "something", "other something" }); in every cmd, that can be automatically translated using the #include <language.h> system. And to remove every _CMD_ALIASES file.

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.