Commit graph

  • cc3c54b3fe start-up stript in python. for stoping the server on nt we have to use win32 api which i have no idea. if it does not work, let me now Ozan Turkyilmaz 2008-12-18 22:31:22 +00:00
  • 9a166ba024 Moving script_parent to a field on the object model. This is critical enough to warrant it being there instead of in an attribute. Minor changes here and there. Greg Taylor 2008-12-16 04:28:57 +00:00
  • bd3d195d5b Beginnings of @parent, the in-game tie-in for the scripting system. Can now list the currently cached scripts via @parent/showcache, and clear the cache via @parent/clearcache. Greg Taylor 2008-12-16 03:36:49 +00:00
  • 18e2eca2c5 Removed some retarded uses of 'server' reference variables. Greg Taylor 2008-12-16 03:17:45 +00:00
  • 62d0be532b Remove reference to the non-existant test game from the README. Greg Taylor 2008-12-16 03:12:20 +00:00
  • a517f833b5 Updated installation instructions slightly. Greg Taylor 2008-12-16 03:11:49 +00:00
  • 7b77b936ca Fixing startup script. Greg Taylor 2008-12-15 16:26:37 +00:00
  • f0f31a9a69 Finish cleaning up the script stuff. Added a README to the base parents directory warning not to modify the classes there. Greg Taylor 2008-12-15 05:58:32 +00:00
  • 122bf4e3ff Splitting the scripted parent system out into the gamesrc directory. There will be more explanation of this later. Greg Taylor 2008-12-15 05:55:04 +00:00
  • 00297d336a Big change here is that you now either need to run manage.py (with or without arguments) in order to create your settings.py file when doing initial setup. Or creating it works too. Greg Taylor 2008-12-15 04:56:47 +00:00
  • 714804e253 Web stuff is once again working with the development server. This is mostly useful for the admin interface. Greg Taylor 2008-12-15 04:43:48 +00:00
  • 5249f27074 Things should be working again, minus the web stuff. Greg Taylor 2008-12-15 04:35:00 +00:00
  • 322c626295 Silly me, forgetting these __init__.py files. Greg Taylor 2008-12-15 04:06:59 +00:00
  • f22c982cbe Should be done moving stuff around, now to get it working again. Greg Taylor 2008-12-15 04:04:53 +00:00
  • f45aa57751 Greg Taylor 2008-12-15 04:03:49 +00:00
  • 98b32580b5 Greg Taylor 2008-12-15 04:01:58 +00:00
  • 837f1152c6 Starting here, trunk is broken pending re-organizations. Check out the previous revision if you'd like to tinker. Greg Taylor 2008-12-15 04:00:25 +00:00
  • 4b25a08597 Tweak property to hide journaled db3 files. Greg Taylor 2008-12-15 03:40:23 +00:00
  • 01db5700e8 More re-arranging to make things more closely resemble MUX/MUSH directory structure. Reason we're doing this is to begin the emergence of a separation of server code from game-specific stuff (called a driver by some codebases like LPMud). Greg Taylor 2008-12-15 03:37:30 +00:00
  • 66a529ba84 The command handler has been completely overhauled and is actually readable now. It -might- be a little faster as well. It's not really that point in development to start micro-optimizing, so I haven't ran any benchmarks. Greg Taylor 2008-12-15 01:10:26 +00:00
  • d58f4eb517 Looking through our command code after a long hiatus, I realized that it was pretty much awful. So here's part 1 of the command interpreter overhaul. Greg Taylor 2008-12-14 20:21:02 +00:00
  • 37d66093cc Addition of a re-usable CommandTable class. We still have two global command tables that are now instances of this class. Game developers will use methods on CommandTable to add their own commands without modifying the base server code. Greg Taylor 2008-12-14 01:49:37 +00:00
  • d38f2bd2f8 Greg Taylor 2008-12-14 01:12:43 +00:00
  • 90cdc6573d Making comments consistent across both Windows and Linux/Unix startup scripts. Added some elaboration about Twisted Command Prompt in startup.bat. Greg Taylor 2008-12-14 00:06:59 +00:00
  • e3c58aeb6d Fixed startup.bat to work again since the creation of the 'src' folder. Forgot to update the path. Also updated Windows 'Getting Started' guide on evennia.com to be more verbose. Greg Taylor 2008-12-14 00:02:11 +00:00
  • 7b53efac69 added stop fonctionaly into the script as it is useful for daemon mode. Ozan Turkyilmaz 2008-12-12 13:49:58 +00:00
  • c8e460e668 Forgot to update the INSTALL file with the new local_settings.py stuff. Greg Taylor 2008-12-11 17:00:43 +00:00
  • 2e6a74760f Important change! Removed settings.py.dist and settings_common.py in favor of a local_settings.py file. This will make changes to the settings file much easier. You will need to create local_settings.py. Copy-paste any variables you'd like to change from settings.py to local_settings.py. Anything appearing in local_settings.py over-rides settings.py. For those that have been following the codebase and have a settings.py file of their own, you'll need to either delete it or move it to a file name other than settings.py so that the new default settings.py file from the repository may be downloaded. Greg Taylor 2008-12-11 16:53:04 +00:00
  • b1cf3f4af0 Courtesy of Ozan Türkyılmaz, startup.sh now takes flags for interactive and daemon mode. If no arguments are provided, default to daemon mode. Greg Taylor 2008-12-08 20:43:43 +00:00
  • 3041684ba3 Django admin functionality restored. Greg Taylor 2008-11-05 18:17:59 +00:00
  • 75c38ada19 Evennia once again runs on the latest trunk. Admin interface is still broken pending transition to newforms-admins stuff. Greg Taylor 2008-11-05 18:08:51 +00:00
  • 72df223b3a Fix the os_path reference, should be os.path. Greg Taylor 2008-10-21 20:10:34 +00:00
  • 51a911d048 We now access the scriptlink by calling object.scriptlink instead of get_scriptlink. Shortens the typage a little and allows for some less complex fun possibilities down the road. Greg Taylor 2008-06-21 02:05:44 +00:00
  • e6e5a889f5 I am reminded that having to mess with config files sucks. Try to derive BASE_PATH on our own so admins don't have to. Greg Taylor 2008-06-21 01:29:55 +00:00
  • 3e57f49395 New way of working with scriptlinks. loki77 2008-06-18 04:36:23 +00:00
  • 6d1a8b8250 Fixed a bug with scriptlink that caused an error for players. Basically it split on ., which I believe used to be the seperator, but it is now /. loki77 2008-06-17 01:37:11 +00:00
  • 186dcc17c5 Fixed bad indentation. loki77 2008-06-17 00:38:59 +00:00
  • 6b1662f370 One more consistency nit-pick before I take a rest for a while. Greg Taylor 2008-06-15 21:33:17 +00:00
  • cf18029be1 Moving some of the login tasks out of sessions.py and into the BasicPlayer script parent. Also, added seconds to the 'time' command, which I apparently forgot. Greg Taylor 2008-06-15 21:29:27 +00:00
  • b12ba45cc7 Moving constants over to the new flags module. Greg Taylor 2008-06-15 20:41:58 +00:00
  • e89a30f511 Woohoo, got rid of some delayed imports due to the circular import cases no longer existing. Greg Taylor 2008-06-15 20:34:09 +00:00
  • a954069776 Finished moving stuff around, things should be in mostly working order now. Greg Taylor 2008-06-15 20:31:25 +00:00
  • fd264667b8 Whoops. Broken for a few minutes. Greg Taylor 2008-06-15 20:19:08 +00:00
  • ff98ede98f Moving the logging system to src/ Greg Taylor 2008-06-15 20:15:12 +00:00
  • 5064d0cacc Moved defines_globals to src/ Greg Taylor 2008-06-15 20:04:06 +00:00
  • e6e84c2ee5 Quick PEP 8 related change. Greg Taylor 2008-06-15 19:55:38 +00:00
  • 811016867b Comsys moved to src/ Greg Taylor 2008-06-15 19:41:27 +00:00
  • 4bb00013ae Even more death and destruction. A lot more stuff moved to src/. A lot more bugs probably introduced. Greg Taylor 2008-06-15 19:38:39 +00:00
  • d3808c1ea2 Committin a 'working' checkpoint before I break more stuff. Greg Taylor 2008-06-15 19:06:31 +00:00
  • ccf078b5c8 Getting rid of functions_help in favor of the new manager. Removed an un-needed import from commands/general. Greg Taylor 2008-06-15 17:30:42 +00:00
  • d620f3b1f0 The first of many re-arrangements. Eliminated gameconf in favor of using the manager on ConfigValue. Moved some commands while I was at it. There are going to be crash bugs that need to be found and worked out. Greg Taylor 2008-06-15 17:21:02 +00:00
  • 8a1204ce76 One more prop setting. Greg Taylor 2008-06-15 05:31:35 +00:00
  • a525bf4134 Whoops, forgot one. Greg Taylor 2008-06-15 04:42:54 +00:00
  • ed1510c4a7 Splitting web stuff off into a separate apps directory. This stuff will end up being replaced/re-written, it's ancient and really badly done. Greg Taylor 2008-06-15 04:40:14 +00:00
  • 75b39ada13 Adding a coding style document. A lot of the code doesn't follow this right now, we'll need to fix that! :) Greg Taylor 2008-06-15 03:14:56 +00:00
  • 652c7d57a5 whoops, forgot one, plus updating props. Greg Taylor 2008-06-15 03:03:30 +00:00
  • 43f0ae6af6 Outlining managers. I know some of these managers sub-modules only have one file in them, but let's keep the convention for consistency. Greg Taylor 2008-06-15 03:01:58 +00:00
  • 8ba1a93eeb Fix the interactive mode line in here to actually be interactive. We'll need a cross-platform startup script soon, or at least one that takes an argument for interactive mode. Greg Taylor 2008-06-15 02:51:56 +00:00
  • 7f895133ec This still mentioned asynchat, updated now that we're using Twisted. Greg Taylor 2008-06-15 02:48:21 +00:00
  • 3ad6a78281 Show current revision on the 'version' command. Once we go to releases, this will be different, but for now it's informative for developers and early adopters. Assumes they have Subversion installed, otherwise the version is Unknown. Greg Taylor 2008-06-14 04:37:33 +00:00
  • 82f35f3b84 As is in Penn (I think), we'll use two underscores to denote a hidden server attribute. Finished up moving the two hidden attributes that I know need to be hidden and read-only over to the double underscore names as per Issue 27. Greg Taylor 2008-06-14 04:24:53 +00:00
  • 131f6410d4 Fix some formatting affected by the space conversion. IMPORTANT: Channel list attributes are now stored via Django's bundled version of simplejson instead of cPickle/pickle. Pickle isn't unicode-capable in 2.5 and lower, plus JSON is going to be a lot more accessible for web-stuff. Greg Taylor 2008-06-14 04:18:20 +00:00
  • ffe9a563e0 Removing mixins.py, as it's not in use. We now have a separate ConnectScreen model under the config app to store connect screens. ConfigValue's value fields are now CharFields instead of TextFields for the sake of efficiency and sanity. It is strongly recommended that you reset your config app and syncdb to load the fixture. Greg Taylor 2008-06-14 03:15:41 +00:00
  • f1760e6521 I guess it helps if I actually add the file. Greg Taylor 2008-06-14 02:26:40 +00:00
  • 813c50652e Splitting some of the stuff out of settings.py into settings_common.py (new file) to hold directives that need to be versioned. It sucks having to tell people to re-build their settings.py file from settings.py.dist when changes are made. Greg Taylor 2008-06-14 02:26:14 +00:00
  • 3fe644ef17 Indentation change 3-4 spaces. loki77 2008-06-13 19:52:29 +00:00
  • 740d715c72 Modified for 4 space indentation. loki77 2008-06-13 19:41:23 +00:00
  • ad009e20ab basicobject.py --------------- - Checks for NULL description on objects- if Null, it doesn't print the extra line any more. - Made the checks for contents a little less ambiguous loki77 2008-06-13 18:15:54 +00:00
  • 87fb121427 Make Evennia start correctly on the latest version of Twisted. There is a logging snafu that exists with the latest Twisted, and it was only dumb luck that the server started on previous versions of the framework. The ticket detailing this problem is at: http://twistedmatrix.com/trac/ticket/3289 Greg Taylor 2008-06-10 20:46:17 +00:00
  • 38f8225a37 Moving application initial data over to JSON and fixtures. This is much better than using those raw SQL files that might not work with all RDBMs. The Objects app needs to be converted to use fixtures as well, but I've got something bad data in there that's causing some issues (which I'm working on hunting down). Greg Taylor 2008-02-09 02:49:03 +00:00
  • ea88ace9fa Updating some models to use max_length instead of the deprecated maxlength. Greg Taylor 2008-02-09 02:35:28 +00:00
  • 57d7a8f41a Trying to see if this will ignore changes to startup.sh so I don't keep accidentally committing new ones. Greg Taylor 2007-10-27 03:26:51 +00:00
  • 20e4c29747 Whoops, accidentally committed a change to startup.sh Greg Taylor 2007-10-27 03:26:03 +00:00
  • 4d94132c54 Moved the connect screen to the connect_screen config directive. Made the conf_value field on the configvalue model a TextField so we're not getting truncated at 255 as with a CharField. This means you'll need to delete your config tables and re-sync. Greg Taylor 2007-10-27 03:25:42 +00:00
  • f3b4422990 Re-tabbed managers.py under reload (was set to 4 spaces) Michael King 2007-09-14 17:17:19 +00:00
  • 3ae3bd6884 Bad logic for object recycling. Boo me. Adjusted create_object() and @nextfree. Greg Taylor 2007-09-14 16:32:38 +00:00
  • 74a3a01429 Moved object and exit clearing to the destroy method instead of the delete method. This may change later, but for simplicity's sake, this is how we're doing it for now. Michael King 2007-09-14 14:09:25 +00:00
  • 26beacb419 Added handling of django's unicode insistance. Michael King 2007-09-14 13:59:04 +00:00
  • 9c3ba7f025 Updated some broken urls in the settings.py.dist file. Thanks to marcos for reporting. Greg Taylor 2007-09-14 03:33:15 +00:00
  • 02ffa832f6 Did some work on the reload manager, as well as removed the rollback importer from server.py Michael King 2007-09-06 14:58:18 +00:00
  • 5ecbff32f6 Renamed callback to a more sensible name. Michael King 2007-09-06 13:24:09 +00:00
  • 94b449466a Added mixins for reload development Michael King 2007-09-05 16:52:09 +00:00
  • 4ab9258bbc Ignoring git repository for local branching Michael King 2007-09-05 14:22:56 +00:00
  • 7e7f164c71 Moved @boot to a more sensible place. Michael King 2007-08-09 13:12:49 +00:00
  • 684ae521b7 Added @boot. Michael King 2007-08-07 19:19:31 +00:00
  • 3fe64c1f34 Cleaned up the revision information for aesthetics. Michael King 2007-08-07 17:30:35 +00:00
  • 6a172edb03 Finalized EVENNIA_VERSION to include svn revision Michael King 2007-08-07 17:24:25 +00:00
  • 02b19ee4b0 Ooops. Forgot the trailing $ in the SVN keyword. Michael King 2007-08-07 17:22:28 +00:00
  • 2abc0adff9 Moved Revision outside of VERSION global for clean up Michael King 2007-08-07 17:20:54 +00:00
  • c88a89bce1 Added Revision keyword to defines_global, and set svn:keywords property on defines_global.py Michael King 2007-08-07 17:18:45 +00:00
  • 7f3a8870f0 I learned something I didn't know about Django: Apparently, if you retrieve the same model instance with two different references, they don't equate with is or ==, you need to compare the id's. I could be misreading the symptoms, but this is what I had to do to get it to recognize that the home of the object in question was its current (going away) location, and act appropriately. Michael King 2007-08-07 17:08:31 +00:00
  • 13b19b9a16 Removed DEFAULT_HOME reference from defines_global Michael King 2007-08-07 16:53:26 +00:00
  • 0c2648edaa Removed DEFAULT_HOME from settings.py into a server configuration directive via the confg app. Changed clear_objects to reflect default home changes. Michael King 2007-08-07 16:52:47 +00:00
  • 8b8099a9db Added DEFAULT_HOME value of 2 to settings.py.dist Added import of DEFAULT_HOME from settings into defines_global Removed clear_players() Removed clear_things() Created a more general clear_objects(): * obj.clear_objects() * Everything with obj as its location will be moved to its home. * If the home is the obj, then said objects will be moved to DEFAULT_HOME, if it exists. * If the said objects do not have a home, they will also be moved to DEFAULT_HOME. Michael King 2007-08-07 16:28:22 +00:00
  • 5f962b69a0 Added clear_things, clear_players and clear_exits to Object class. * obj.clear_things() relocates all things contained by obj * obj.clear_players() relocates all players contained by obj * obj.clear_exits() destroys all exits to and from obj Michael King 2007-08-06 20:00:41 +00:00
  • d2136ec135 Adjusted startup.sh to use the BASE_PATH from settings.py Michael King 2007-08-06 18:53:06 +00:00
  • c5208656f8 Fixed missing quote on line 158. Michael King 2007-08-06 18:14:37 +00:00
  • 2e397df4d5 We now have user authentication via the web interface. @whee. Greg Taylor 2007-08-02 19:37:16 +00:00
  • be4e0069a6 Adding comments. Greg Taylor 2007-07-31 19:32:03 +00:00
  • edfae1349a Eh, we don't really need a staff link on the codebase example. We'll leave that for each game to worry about, as their staff situation may differ. Greg Taylor 2007-07-31 19:25:32 +00:00