Commit graph

2178 commits

Author SHA1 Message Date
Griatch
6441859e61 Still hounded by chicken-and-egg situation where the evennia __init__ is not loaded at the time it is needed 2015-01-08 17:17:45 +01:00
Griatch
f15e05c247 Working on bugs with getting system to go through initialization sanely. 2015-01-08 16:54:50 +01:00
Griatch
33a42d06c5 Fixed many path-related issues, getting closing to getting the server to boot. 2015-01-08 16:00:22 +01:00
Griatch
0c9bf08c5a Refactored and fixed a lot of bugs. Creates the database but still does not properly load the settings file. 2015-01-08 01:25:32 +01:00
Griatch
c96c5a1fc7 Updated the game template, renaming subdir typeclasses rather than types since the latter collides with the python library module of the same name. 2015-01-08 00:04:18 +01:00
Griatch
3fbc9acc51 Some more work to get modules to load in the right order. 2015-01-07 20:10:03 +01:00
Griatch
baae24b26f Renamed runner to evennia_runner 2015-01-07 20:06:46 +01:00
Griatch
82d583f1e7 Reworked the runner program. 2015-01-07 20:04:15 +01:00
Griatch
c2e15f33a3 Added serversession configurability and some other cleanup. 2015-01-07 18:37:27 +01:00
Griatch
2c46ede247 Added more overloading modules and cleaned up the template some more. 2015-01-07 18:21:28 +01:00
Griatch
ad3f19896c Changed all src/ and ev references to evennia 2015-01-07 15:36:32 +01:00
Griatch
3ff937a6fd Updated commands to use new evennia path. 2015-01-07 14:31:35 +01:00
Griatch
6a8e57b2a1 Added correct test of the evennia module import in launcher. 2015-01-07 14:14:23 +01:00
Griatch
096c9a6276 Removed ev.py - merged it into evennia.__init__.py. 2015-01-07 13:53:11 +01:00
Griatch
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
Griatch
829e7493b1 Further updates to the initialization. 2015-01-06 16:36:08 +01:00
Griatch
a3a3081cde Fixed some calls in the main program. 2015-01-06 15:12:39 +01:00
Griatch
f1457d13f8 imported the lib dir as evennia and src for backwards compatability. 2015-01-06 14:54:46 +01:00
Griatch
2b3a32e447 Reshuffling the Evennia package into the new template paradigm. 2015-01-06 14:53:45 +01:00
Griatch
2846e64833 Mayor first overhaul of the evennia.py launcher. Not tested yet. 2015-01-06 14:39:10 +01:00
Griatch
84483b7842 Merged manage.py into evennia.py. 2015-01-04 14:48:49 +01:00
Griatch
4e4d8484d4 Made sure to re-cache the superuser bypass correctly. 2015-01-03 18:44:21 +01:00
Griatch
2e3a19840e Made tutorialworld install cleanly again. 2015-01-03 17:48:32 +01:00
Griatch
bb5b2b6fd8 Fixed bug in class_import 2015-01-03 15:22:27 +01:00
Griatch
2782e03478 Made unittest suite finish without errors using new proxy system. 2015-01-03 15:08:06 +01:00
Griatch
71b6600d87 Changed .typename to properly handle proxy classes. 2015-01-02 21:41:29 +01:00
Griatch
70da53569d Removed .typeclass and .dbobj references in codebase. 2015-01-02 20:48:34 +01:00
Griatch
1130dc5757 Started to go through the unittest errors, fixing player creation. 2015-01-02 19:01:09 +01:00
Griatch
0b01df1fcc Fixed creation function that caused entities to be wrong-named in certain circumstances. Server now starts and shutsdown without tracebacks. 2015-01-01 21:13:36 +01:00
Griatch
3d557f6bf9 Can log in, still errors all over the place due to missing .typeclass/.dbobj 2014-12-28 20:00:31 +01:00
Griatch
b839614259 Fixed the entire first_init script process with the new typeclass system. 2014-12-26 13:31:23 +01:00
Griatch
11449f3d62 Fixed some errors in channel loading. 2014-12-25 18:58:11 +01:00
Griatch
dd20740e73 Added Channels to new proxy system. 2014-12-25 17:08:12 +01:00
Griatch
9af9f94fa0 Moved Players over to the new proxy system, made the start-hook called by the save-signal system into at_first_save() 2014-12-25 14:43:43 +01:00
Griatch
db512cbbf5 Moved object methods up from ObjectDB and mainly onto the typeclass. In the process of converting players in the same way. 2014-12-24 01:24:26 +01:00
Griatch
302f5bdd81 Refactored the typeclass base, moved Attributes/Tags into separate modules and the django-proxy patch to its on module too. Lots of other cleanups. 2014-12-23 22:25:39 +01:00
Griatch
24764743ff Made a new version of create_object function, and made Objects creatable using o=Object(). 2014-12-23 21:33:03 +01:00
Griatch
969b947ba0 One needs to turn off all imports of typeclasses in __init__ or django will create migrations for them. This might be interesting for the future but not for development. 2014-12-23 11:53:32 +01:00
Griatch
749715a193 Server can be connected to, not yet get to a command line; may need to work on different app_labels. 2014-12-22 23:03:00 +01:00
Griatch
0b5e2b94ff Starting the move of typeclass methods off *DB models and onto the typeclasses. 2014-12-22 22:46:58 +01:00
Griatch
9321573c23 Fixed a typeclass call. 2014-12-22 22:14:23 +01:00
Griatch
c6c91c7a0b Removing some more .typeclass properties. 2014-12-22 22:04:52 +01:00
Griatch
a93d318121 Starting to remove obj.typeclass references. Server now starts and stops cleanly, but not yet tested with actual gameplay. 2014-12-22 21:46:52 +01:00
Griatch
e214c036c8 Resolved the setting of __dbclass__ which happened in the wrong order. 2014-12-22 21:27:32 +01:00
Griatch
2cc4315941 Removed stale remnant of PlayerChannelConnection from comm manager. 2014-12-22 16:30:06 +01:00
Griatch
c73e013459 Fixed bug in taghandler that stopped tags.get from working correctly with unset categories. 2014-12-22 14:34:02 +01:00
Griatch
14086e3b3d General database operations works with reworked, proxy-based typeclass system. 2014-12-22 14:14:21 +01:00
Griatch
1be49e7bea Fixed a bug in object manager. 2014-12-22 09:01:40 +01:00
Griatch
2ee9e62336 Fixed correct and separate handling of database model bases as compared to its proxy classes using different managers for each type (e.g. ObjectDB.objects.all() will return all ObjectDB instances(including proxy instances) whereas Object.objects.all() will only return Objects) 2014-12-22 08:54:53 +01:00
Griatch
554d1b9834 Fixed the *_family manager methods to correctly return typeclasses subclassed at any depth. 2014-12-21 23:08:20 +01:00