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
bcf214ee0d
Changed so object.move_to() traverses exits by default - i.e. you will no longer end up INSIDE the exit object if you move_to the exit, but instead you will go to the exits destination. This should be the most common use. The use_destination keyword to object.move_to can be used to change this behaviour. Also @teleport (which uses move_to()) has gotten a new flag to allow for teleporting into exits if so specifically desired. Resolves issue 224.
2012-04-15 22:04:15 +02:00
Griatch
464aa8ca9e
Added the ability to clear an object from the global cache. This is rarely
...
needed (and can be potentially dangerous if the object depends on certain
startup methods to run and/or holds temporary attributes on themselves -
these will all be lost due to a new instance being created. It is hoever
necessary when it comes to renaming Exits - since the Command on the exit
must then change name too, recaching the Exit will also update the command.
Resolves issue 223.
2012-04-15 21:46:43 +02:00
Griatch
91ec33b9a7
Fixed a spurious error happening with mud clients not properly implementing TTYPE negotiating (sending strings instead of numbers to identify their abilities).
2012-04-15 19:53:03 +02:00
Griatch
6501f30cbc
Fixed an elusive bug in utils.get_variable_from_module() that caused the connection screen to sometimes not load properly, due to the imported modules being erroneously extracted and used.
2012-04-15 19:05:50 +02:00
Griatch
5264dc85bb
@set now supports all forms of nested dicts and lists under Python 2.6. Python2.5 still depends on the old recursive solution that does not support nesting. Maybe time to up the python dependency number? Fixes Issue 225.
2012-04-14 10:55:56 +02:00
Griatch
9475fbd0d9
Fixing a bug happening if connecting with plain telnet caused by the TTYPE handshake not being properly handled. Also made color default for telnet, hopefully all terminals should handle color by now?
2012-04-12 23:39:22 +02:00
Griatch
4977153de2
Fixed a formatting error in the twisted setup string for Windows.
2012-04-02 00:27:14 +02:00
Griatch
4b56d5a3a4
Fixed a bug that caused the webclient input line to suddenly reset every three minutes. Thanks to use "lusid" for supplying the hint on fixing this one! Also added a more consistent way of parsing the incoming address.
2012-04-01 22:52:12 +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
ad63abee39
Admin-media symlinking sometimes fail under virtualenv. Catching the error and giving a warning instead.
2012-04-01 19:07:34 +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
fcc338c027
Minor clarifications in ev.py.
2012-03-31 17:06:31 +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
c728524c72
Made get_and_merge_cmdsets visible to default cmds.
2012-03-31 16:13:01 +02:00
Griatch
d44dd92b5f
Continuing to make more methods _private to simplify API.
2012-03-31 16:09:48 +02:00
Griatch
c8df141e89
Further cleanup of source; making class methods _private for clarity in the API.
2012-03-31 15:09:22 +02:00
Griatch
fc156b5a54
Continuing work on API, making local-use class properties _private to make things easier to explore.
2012-03-31 13:06:29 +02:00
Griatch
1ce5c6b84a
Changed SECRET_KEY to be randomly generated by manage.py when settings.py is first created, rather than to rely on people manually changing the default from settings_default when first starting the server.
2012-03-31 11:32:26 +02:00
Griatch
45c5be8468
More whitespace cleanup.
2012-03-30 23:57:04 +02:00
Griatch
c0322c9eae
Cleaning some unnecessary whitespace, overall cleanup of various source codes.
2012-03-30 23:47:22 +02:00
Griatch
d4c97d7df8
Fixed a caching issue with TypedAttributes.
2012-03-29 20:30:35 +02:00
Griatch
82a10903d1
Added more comments to help exploration through the ev interface.
2012-03-29 19:42:08 +02:00
Griatch
e6aab74ee2
Fixing new STATIC_URL setting to work and be backwards compatible with Django versions before 1.4.
2012-03-29 01:15:01 +02:00
Doug Miller
c67b949a4e
updated deprecated setting in settings_default.py
2012-03-28 21:59:45 +00:00
Griatch
897be724f5
Fixed some deprecated settings changed for django1.4.
2012-03-28 22:01:59 +02:00
Griatch
06566c3e8f
Changed the way server reports logged-in/unlogged-in sessions to the log file.
2012-03-28 21:42:06 +02:00
Griatch
da51cb063f
ev-API cleanups. ev can now be imported also from a non-django initiated python interpreter (it initiates itself). Gave some more info text and made sure wrapped db_ methods correctly forward their doc strings for introspection.
2012-03-27 09:59:11 +02:00
Griatch
9409f835bc
Fixing an error with the @reload resulting from removing the conf/ modules.
2012-03-25 22:35:33 +02:00
Griatch
b9c6c4a6c2
Killing a bug that caused issues with migrations.
2012-03-25 22:30:51 +02:00
Griatch
a713ad16d3
Migrate! Fixes some more objects to the new API.
2012-03-25 21:53:24 +02:00
Griatch
81980605b4
OBS! Run Migrations! Converts old API cmdsets and typeclass paths to new system for already existing objects.
2012-03-25 20:30:05 +02:00
Griatch
7c4e0213ce
Fixed a bug since CmdCreate changed name to CmdUnloggedinCreate (to avoid name clashes in API)
2012-03-25 19:59:53 +02:00
Griatch
734edbb761
Fixing a lingering bug with removing the conf modules.
2012-03-25 19:57:08 +02:00
Griatch
e042366f31
Removed the conf/ modules, putting them into conf/examples instead, in line with other API changes. The gamesrc/ folder is now completely empty and all new modules have to be added explicitly.
2012-03-25 19:52:51 +02:00
Griatch
bdb5ab0123
Removed @ps command, it is superceded by @serverload and was just a placeholder anyway.
2012-03-25 18:47:31 +02:00
Griatch
07a17ac15e
Added ev API support to @py command.
2012-03-25 18:36:23 +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
e7869ed830
Removed the old base* start files from game/gamesrc. This is in line with the new API usage. Unfortunately this will likely lead to some collisions for people.
2012-03-25 17:23:10 +02:00
Griatch
b2d91d9bb5
Switched settings_default to use src/ base modules instead of modules in game/gamesrc/ as default (these will be removed)
2012-03-25 17:13:39 +02:00
Griatch
b43fb3156a
Added create_* and search_* helper methods directly in the API.
2012-03-25 17:01:27 +02:00
Griatch
4398d42360
Added new templates to gamesrc/*/examples. The old base* modules still in place. Some cleanup of the API.
2012-03-25 16:35:22 +02:00
Griatch
3408f3ca3f
Added alternative function names to create module, for consistency with the search module. This means you can do create.objects() now too.
2012-03-25 14:01:51 +02:00
Griatch
88c0087fbd
Updated game/ for the ev API. There will likely be some changes happening in the game/folder, in the way new objects are inherited. This should use the API rather than inherit from the basecommand/baseobject modules (these will probably into the example folders as vanilla templates instead).
2012-03-25 13:09:17 +02:00
Griatch
3466e406f6
Exposing some more utils modules to API.
2012-03-24 23:24:54 +01:00
Griatch
cdbdbe6928
API fix; the default_commands ended up in the wrong layer
2012-03-24 23:19:44 +01:00
Griatch
0d01462077
Adding a new API system to Evennia. This centralizes all access of the evennia driver through a single module "ev". Importing ev one should be able to access (and also importantly, easily explore) Evennia's API much easier. This API goes a long way to "flatten" the structure so that one doesn't need to remember how to find some method in a deeply nested subdirectory.
...
As part of this work, I have also written full listings of all available properties on Typeclassed objects (including those inherited in various ways). Should hopefully make things easier to find.
One can of course still import things directly from src/ as before. But this is a first step towards removing the "base" objects in game/gamesrc and instead making those accessible through the core API.
2012-03-24 23:02:45 +01:00