Griatch
891dcbbf9c
Changed mux-login to email-login since the old system didn't actually have anything to do with MUX as I erroneously assumed.
2012-08-13 20:55:46 +02:00
Griatch
bc34a76173
Changed default login from email+password to the more familiar username+password.
...
The old system has been moved to contrib/mux-login.py.
This change was done due to the need for an email seems counterintuitive to
many new developers, giving the impression that it is actually required by
django (it is not, rather it was supposedly similar to MUX).
2012-08-13 20:25:46 +02:00
Griatch
da0598bcc3
Contrib: Barter system. This is a full-fledged barter system for handling goods exchange between two parties in a controlled way. Both sides may change their offers and argue both free-form and as part of decisions. Once both agree, goods automatically changes hands.
2012-08-12 10:48:07 +02:00
Griatch
2a2b3b5ce6
Contrib: Dice-roller module. This has an easy interface and supports normal dice nomenclature as well as modifiers and conditionals. An in-game command "dice" (or "roll") is also supplied.
2012-08-09 20:13:01 +02:00
Griatch
d50d28f960
Another fix to the extended room, a bug that caused some parsings not to happen.
2012-06-28 23:08:40 +02:00
Griatch
f54e6b22c1
Further fix to extended room.
2012-06-28 21:51:41 +02:00
Griatch
55634de123
A fix to extended_room, for when used as default mixed with other room types.
2012-06-28 21:39:13 +02:00
Griatch
43f16094c1
Contrib: Added a "time" command for viewing the time info on ExtendedRooms. Also added more listing functionality to the Extended @desc command.
2012-06-26 09:13:23 +02:00
Griatch
5a1642ab32
Small fix to seasonal rotation in extended room contrib.
2012-06-26 01:40:52 +02:00
Griatch
0e9b27cc01
Contrib: Extended Room typeclass, with time-dependent desc slots (season and time-of-day), as well as a "details" system for adding visual interest or clues to the room wihout having to create new database objects. The extended room is supported by expanded "look" and "@desc" commands.
2012-06-26 01:33:30 +02:00
Griatch
dfa0ced4e5
Some further cleanup of readmes.
2012-06-13 01:07:09 +02:00
lagos
1c4c3a4217
chargen.py uses managers instead of db_objects.
2012-06-12 08:09:15 +00:00
lagos
2729369027
Fixes two typos in sample code for evlang.
2012-06-12 07:35:50 +00:00
Griatch
58e20e2cf1
Added contrib "evlang", an experimental highly restricted Python code environment. It's intended to be used by untrusted users to add custom code e.g. to their crafted objects and similar. Please heed the warnings in the README file - this is experimental still and more people need to play with it and try to break it.
...
The system uses a hybrid blacklisting/whitelisting and AST-traversal approach to both remove dangerous builtins as well as disallow potentially exploitable python structures alltogether. Examples are while structures and attribute allocation. All advanced functionality is accessed through a set of "safe" methods on a holder object. You can extend this with your own safe methods in order to add more functionality befitting your game.
The system comes with a host of examples, a few scriptable objects and complete commands for adding code to objects. At this point it's not guaranteed that all systems are safe against meddling however - notably Attributes have no locks defined on them by default (although this system does properly check Attribute lock types should they exixt).
Please test and try to break - and report problems to the Issue tracker/forum as usual.
2012-06-10 22:16:46 +02:00
Griatch
5a2228763f
Fixed a lingering bug with @set that made it not work when assigning normal strings without quotes. Changed so that proper Python constructs (lists, dicts etc) now requires you to entering proper Python syntax (since this is parsed).
2012-04-15 23:09:56 +02:00
Griatch
ca32950d90
Fixed headers on contribs, they were still referring to the old base*.py -style files under gamesrc.
2012-04-01 22:23:47 +02:00
Griatch
00c4f8a60d
Added implementation plan for testing game.
2012-04-01 13:15:49 +02:00
Griatch
75cc8bf1ad
Added an initial brainstorm for a more fully-featured tutorial multiplayer game "Battle for Evennia". The idea is to use this as a basis for a series of tutorials on building a relatively complete game in Evennia. The details will probably change, so putting it up for comments from the community.
2012-03-31 21:10:34 +02:00
Griatch
551a91caef
Editing the ev.py API, removing db_* manager shortcuts in favour of a 'managers' container holding them all. It makes the API slightly less "flat", but makes for a cleaner interface.
2012-03-31 16:50:53 +02:00
Griatch
b2f45a7cf4
Fixed an inconsistent API name. (db_serverconfs -> db_serverconfigs)
2012-03-25 18:21:22 +02:00
Griatch
93a1646ea7
Moved contribs to use the new API. Added the system command keys to a property syscmdkeys, for easy access from ev.py.
2012-03-25 18:11:14 +02:00
Griatch
d3ea942ac8
Fixed tutorial_world to use ev API.
2012-03-25 17:39:45 +02:00
Griatch
abb5384dd1
Removed strange echo of all players (including yourself) in the tutorial's hanging bridge room.
2012-03-13 22:15:03 +01:00
Griatch
7818ca077a
Fixed some spurious bugs.
2012-02-29 21:58:08 +01:00
Griatch
7e146eae11
Added some fixes to tutorial world.
2012-02-29 19:29:56 +01:00
Griatch
a12f7b9c32
Added a desc to the tutorial entrance.
2012-02-29 18:21:39 +01:00
Griatch
9660dd6656
Added caching to some more object properties.
2012-02-26 12:43:16 +01:00
Griatch
001a39c3b9
Minor fixes in tutorial_world build.
2012-02-21 08:11:16 +01:00
Griatch
641d829154
Added inlineCallback operator for cmdhandler, allowing the system to yield more often.
2012-02-20 21:40:28 +01:00
Griatch
c4f2c493d9
Updated ReST docs, fixed some things in Swedish translation.
2012-02-19 10:49:59 +01:00
Griatch
11e61255da
Went through the Tutorial_world batch file with a spell checker and cleaned up the build code a bit.
2012-02-18 21:55:09 +01:00
Griatch
a32aebaa0e
OBS- need to run migrations! Refactored attributes to use a slightly different internal storage format for faster access. Also set up caching of all attribute data, so subsequent reads of an attribute will not hit the database anymore, and writes will re-cache.
2012-02-14 23:40:16 +01:00
Griatch
1d40f688e5
Added the @ban and @unban commands to the default command sets, allowing an admin to filter access from users without outright deleting their accounts. The ban list is stored in the database, but the checking is not hard-coded in the server/portal, but done in the normal login command(s), meaning it can be customized easily. Also contrib/menu_login has been updated to check for banned connections.
2012-01-27 23:53:03 +01:00
Griatch
1f3de48182
Removing some of the instruction of contrib.chargen which might, correctly written, cause problems if one misses a step.
2011-11-14 19:16:41 +01:00
Griatch
71dddf008a
Updated contrib README.
2011-11-14 11:51:32 +01:00
Griatch
88c1b0601f
Added a minor fix in the instructions to chargen.
2011-11-13 18:58:10 +01:00
Griatch
ffb73cdb31
Fixing the documentation for the latest contrib models.
2011-11-07 16:49:02 +01:00
Griatch
3e8b43d222
More fixes and cleanup in wake of ic/ooc changes.
2011-11-06 23:55:24 +01:00
Griatch
86f76d0d08
Contrib: Added chargen module, showing a simple example of creating a character from inside the game.
2011-11-06 22:28:24 +01:00
Griatch
703accdd60
Added an error_check_python_modules function to evennia.py. This basically imports a host of critical modules and quits with tracebacks if there are problems. This catches pure python-syntax errors (i.e. cases where the source-file itself is malformed), something which is hard to properly handle in the running server (where there's also an issue as to how to best report it). Best they fail out already at an early stage.
2011-11-06 21:32:00 +01:00
Griatch
e379816866
Fixed some bugs, added an example connection screen for the menu-login system.
2011-11-06 19:16:34 +01:00
Griatch
c4d353ee01
Contrib: Added the contrib/menu_login module.
2011-11-06 18:54:08 +01:00
Griatch
55f6f5b713
Contrib: Added a new, alternative login system, using menus. Also edited the ways unlogged commands are started by the engine, by using a standardized system command name (it does not need to be "look" anymore).
2011-11-06 18:53:10 +01:00
Griatch
2b2d27ed39
Changed the way unloggedin commands work. Rather than the cmdhander having a special state for unlogged-in commands, the session itself simply stores the cmdset from settings.CMDSET_UNLOGGEDIN. Clean and efficient and also gives a lot more freedom for creating custom login mechanisms (notably it opens the door to using menu systems).
2011-11-06 17:38:29 +01:00
Griatch
b6303808ec
Added a simple quell command to contrib/ for showing how to use a command to launch other commands (in this case with a lower permission than you normally do (including bypassing superuser status).
2011-11-03 18:23:45 +01:00
Sergi Reyner
f954e99822
Fixed the tutorial_world Mob so it moves and announces its arrival.
2011-09-19 19:08:11 +01:00
Griatch
f13e8cdf7c
Trunk: Merged griatch-branch. This implements a new reload mechanism - splitting Evennia into two processes: Server and Portal with different tasks. Also cleans and fixes several bugs in script systems as well as introduces i18n (courtesy of raydeejay).
2011-09-03 10:22:19 +00:00
Griatch
6cb2b8b745
Working on cleaning some strange behavior when trying to submitting faulty typeclasses to script system. Also fixing bugs here and there.
2011-07-03 21:01:06 +00:00
Griatch
919800eb12
Tutorialworld: Made mob somewhat less deadly.
2011-06-28 18:48:14 +00:00
Griatch
a0d391900c
Tutorial_world: forgot to lock antechamber against mob entering.
2011-06-27 07:35:14 +00:00