Commit graph

365 commits

Author SHA1 Message Date
Greg Taylor
f6ee697e04 Move away from fixtures in favor of src/initial_setup.py, which makes it a little easier to change stuff like this. It also avoids over-writing stuff when syncdb is ran. This commit features database layout changes to ConnectScreen and CommChannel. It is recommended that you drop your database and re-sync. If this is not acceptable, talk to me about a migration plan. We will be investigating schema evolution down the road. 2009-01-18 04:22:58 +00:00
Greg Taylor
c0ebbc3967 Part 1 of initial database population re-factor, along with a comsys model change. DO NOT UPDATE TO THIS IN PRODUCTION ENVIRONMENTS YET! Wait for the all-clear. 2009-01-18 03:14:52 +00:00
Greg Taylor
8ebea8c22e Add MUX-style @chzone. 2009-01-18 02:40:57 +00:00
Greg Taylor
1a3942edac MUX-style @chown implemented. 2009-01-18 02:34:50 +00:00
Greg Taylor
462628ab55 Builders start seeing dbrefs for the most part. 2009-01-15 16:24:52 +00:00
Greg Taylor
8b89a4db2f Don't show dbrefs in get/drop notifications. May add a show_dbrefs flag down the road. 2009-01-15 16:01:23 +00:00
Greg Taylor
c622632654 Paging with aliases should be good to go once more. 2009-01-15 15:38:07 +00:00
Greg Taylor
d0c6723928 Paging once again can be used without a target when LASTPAGED is present. 2009-01-15 15:34:43 +00:00
Greg Taylor
21e4df0c91 More work on the page command. Slightly closer to MUX2 behavior, although there's still a way to go. 2009-01-15 15:28:44 +00:00
Greg Taylor
f5ba11e7e7 Clean up imports, done messing with this for a while. Please help test it. 2009-01-15 15:12:31 +00:00
Greg Taylor
f4b784cfa9 Use os.kill for shutting down the game instead of getting it through Popen. 2009-01-15 15:11:32 +00:00
Greg Taylor
2d746f617b Catch keyboard interrupts so they don't throw an error. 2009-01-15 15:07:06 +00:00
Greg Taylor
e1e974c196 This may actually knock out our settings problem for good. 2009-01-15 15:03:18 +00:00
Greg Taylor
a2254c2d22 Fix the alignment of the WHO list. 2009-01-15 05:36:03 +00:00
Greg Taylor
5bce1e0ec2 Don't error when @name without an argument. 2009-01-15 05:23:29 +00:00
Greg Taylor
3ec9f167d4 Protect against the User object getting out of sync with the respective Object's name. 2009-01-15 05:21:59 +00:00
Greg Taylor
914628d385 Fixed an issue with Object manager's is_dbref. Paging should be a lot more sound now too. 2009-01-15 05:11:55 +00:00
Greg Taylor
9246ce684f Fix double emitting on exit traversal. 2009-01-15 05:05:39 +00:00
Greg Taylor
156e409bda Fix channel history to yank the broadcasting of 'last', also added a "To be implemented" notice to @reload. 2009-01-15 04:18:23 +00:00
Greg Taylor
8a8891f63d Protect against a really weird emit problem. 2009-01-15 03:55:48 +00:00
Greg Taylor
6d93c4114f Latest iteration of the new cross-platform startup script, please test! 2009-01-15 03:50:47 +00:00
Greg Taylor
51a648ddab Fixes a few more command errors in commands without args. Create from the login screen now works without errors again. 2009-01-15 03:48:42 +00:00
Greg Taylor
59e5f60e34 Whoops, forgot to protect against no arguments. Silly me. 2009-01-15 03:25:27 +00:00
Greg Taylor
800e84a15e This should fix the comsys channels not behaving well. 2009-01-15 03:22:29 +00:00
Greg Taylor
5bf1461d75 This should get all of the web stuff working peachy again. 2009-01-15 02:46:38 +00:00
Greg Taylor
1e1752bdf3 Silly fix for cmdhandler. Should eliminate all those huh?'s. 2009-01-15 02:39:11 +00:00
Greg Taylor
abe17a2965 Re-designed the startup script to be more cross platform and robust. 2009-01-13 17:06:03 +00:00
Michael King
4cb2617324 Added extrapolated "name_exists" function.
Note that this can move, I just put it where it made
the most sense.

Code that checks for account names and aliases can
now be replaced with (assuming this is imported):

functions_user.name_exists("username")

If there is an alias match or an account match, it
will return True.
2009-01-13 07:21:41 +00:00
Michael King
86010b6ea4 Removed "finally" keyword that breaks python 2.4 compatibility.
This should work as expected without the "finally", as the exception will raise after the log message.
2009-01-13 06:34:28 +00:00
Greg Taylor
e0668e3573 Easy Python 2.4 compatibility tweak. Don't think the 'finally' keyword existed in Python 2.4 2009-01-13 01:42:39 +00:00
Greg Taylor
b05fa3112f Provide at least some feedback when stopping a daemon-mode server. 2009-01-12 18:03:14 +00:00
Greg Taylor
e6d3d9395d Previously, the global command table was being filled with entries from other tables due to some funky globalization of the ctable instance variable. Fixed that and yanked the conditionals on a few of the logged out commands that check for logged in status. 2009-01-12 18:01:35 +00:00
Greg Taylor
0b533b984d Fix interactive mode to actually show the output in the foreground session, rather than to a log file. 2009-01-12 18:00:27 +00:00
jamesvclemence
d89f85cb98 Corrected comment for the ingame check on 'create' command 2009-01-12 16:29:13 +00:00
jamesvclemence
623f6bea5a Disabled the use of 'create' and 'connect' ingame 2009-01-12 16:26:07 +00:00
jamesvclemence
d80d93b250 cmd_connect improved to fail gracefully if no argument is provided. 2009-01-12 08:49:19 +00:00
jamesvclemence
da505f3bf5 cmd_create improved to fail gracefully if no argument is provided. 2009-01-11 23:06:16 +00:00
Ozan Turkyilmaz
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

next thing to do is use subprogress.

Ozan
2008-12-18 22:31:22 +00:00
Greg Taylor
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.
NOTE: This update adds a field, delete your evennia.db3 or manually add a NOT NULL 'script_link' charfield(255).
2008-12-16 04:28:57 +00:00
Greg Taylor
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. 2008-12-16 03:36:49 +00:00
Greg Taylor
18e2eca2c5 Removed some retarded uses of 'server' reference variables. 2008-12-16 03:17:45 +00:00
Greg Taylor
62d0be532b Remove reference to the non-existant test game from the README. 2008-12-16 03:12:20 +00:00
Greg Taylor
a517f833b5 Updated installation instructions slightly. 2008-12-16 03:11:49 +00:00
Greg Taylor
7b77b936ca Fixing startup script. 2008-12-15 16:26:37 +00:00
Greg Taylor
f0f31a9a69 Finish cleaning up the script stuff. Added a README to the base parents directory warning not to modify the classes there. 2008-12-15 05:58:32 +00:00
Greg Taylor
122bf4e3ff Splitting the scripted parent system out into the gamesrc directory. There will be more explanation of this later. 2008-12-15 05:55:04 +00:00
Greg Taylor
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.
Also get ready to start separating things out into the new game directory.
2008-12-15 04:56:47 +00:00
Greg Taylor
714804e253 Web stuff is once again working with the development server. This is mostly useful for the admin interface. 2008-12-15 04:43:48 +00:00
Greg Taylor
5249f27074 Things should be working again, minus the web stuff. 2008-12-15 04:35:00 +00:00
Greg Taylor
322c626295 Silly me, forgetting these __init__.py files. 2008-12-15 04:06:59 +00:00