Commit graph

488 commits

Author SHA1 Message Date
Greg Taylor
418ab7e30f Update last_login on disconnect too. 2007-06-06 14:06:25 +00:00
Greg Taylor
fad87ae759 One more ignore. 2007-06-06 13:50:31 +00:00
Greg Taylor
72ebe9cc7b Finished the Players content block on the default main page. Yay. http://sandbox.evennia.com is the front page for the test site. None of the links work yet, just working on the front page. 2007-06-06 13:49:52 +00:00
Greg Taylor
6b8c3f137c Updating some svn:ignore properties to ignore .pyc files. 2007-06-06 13:39:11 +00:00
Greg Taylor
e2cc754441 Lots of goodies in this one. More work on the default web front page, a few extra utility functions for functions_db as well. Some cleanup in the session code to use some of the new abstraction I added a while back. Player's last login time is now also set on the User object. Issue 28: Forward slashes causing crashes, found by Kuros, fixed by me. 2007-06-06 13:38:13 +00:00
Greg Taylor
270db06820 Making get_configvalue a bit more informative if a config value can't be found. Also actually populating the webcontext's game_name via get_configvalue. 2007-06-06 12:37:34 +00:00
Greg Taylor
f68e686fd9 Missing parenthesis, whoops. 2007-06-06 12:26:50 +00:00
Greg Taylor
e80fa61d03 News app. 2007-06-05 20:07:19 +00:00
Greg Taylor
1e13d94b20 Beginnings of the integrated front-end website. 2007-06-05 20:06:21 +00:00
Greg Taylor
bb6905c1ca Small fix for certain versions of Python and some simplification of the settings.py file. 2007-06-05 18:07:47 +00:00
Greg Taylor
94ceec3719 Scripting support is now in! See cmd_look (the end of it), scripthandler.py, and scripts/basicobject.py for very brief examples. I'm not sure how well this is going to scale, I had to kludge the import a bit due to some oddities with __import__. There has to be a better way to do this, hopefully I'll be able to figure it out. In any case, expect basicobject to start fleshing out. You'll be able to use it directly or sub-class it with your own stuff. 2007-06-04 20:01:03 +00:00
Greg Taylor
27c0e7a873 Really basic proof-of-concept scripthandler.py for review and discussion. This should illustrate my basic idea about script support. I think this will be a very elegant solution to the scripting situation. This will be filled out in the coming days and will hopefully make more and more sense as I tie it in. Database changes are likely, make sure to keep an eye on the commit logs. Also edited some svn:ignore props and added a placeholder for the basicobject script. 2007-06-04 17:33:31 +00:00
Greg Taylor
e6d7c51771 On second thought, let's move os.name to gameconf. 2007-06-04 15:11:15 +00:00
Greg Taylor
8cc9abfa94 Whoops, forgot a file. 2007-06-04 04:00:08 +00:00
Greg Taylor
bc2ea1780b Fixed an issue with @list that broke Windows compatibilty. We simply won't be able to let the user '@list process' under Windows, as the Python API lacks the needed modules and functions to do so. So everyone doesn't have to go through the head-scratching I did to figure out how to get Evennia running on Windows, I have included a startup.bat file for anyone wanting to develop under Windows. If someone would like me to post instructions on running under Windows, send a mail to the list stating the fact and I'll outline the process. 2007-06-04 03:54:33 +00:00
Greg Taylor
15d80f4c9a I'm going to start tinkering with possible scripting system solutions. Here's the directory structure the standard scripts are going to use. 2007-05-29 03:49:40 +00:00
Greg Taylor
0e9732d49c Big re-organization of command functions. Introduced the commands directory to hold command modules. This will make it easier to sub-divide stuff as we pile on more commands, and for dropping in new optional command modules. 2007-05-29 03:32:48 +00:00
Greg Taylor
a10df7ec6b Update the INSTALL file to include a notice about referring to the web-based documentation. Yes, I'm looking for an excuse to test the commit log :) 2007-05-27 23:20:44 +00:00
Greg Taylor
2e6d4f5a00 Moving the port configuration to the settings.py file and out of the database. 2007-05-27 22:09:06 +00:00
Greg Taylor
7d869dff18 Moving the game port selection to settings.py for simplicity and security. 2007-05-27 22:06:12 +00:00
Greg Taylor
92165ade01 Mention mysql_old in settings.py.dist. We'll document this in the install docs. 2007-05-27 21:59:16 +00:00
Greg Taylor
543a9cfe26 Fix for MySQL sillyness. 2007-05-27 21:56:40 +00:00
Greg Taylor
f7d58f16ae Possible MySQL fix. 2007-05-27 20:45:40 +00:00
Greg Taylor
972604f156 Add -f to the mv for evennia.log. This is a stupid little commit for me to test forwarding commit messages to the Google group. 2007-05-27 16:59:41 +00:00
Greg Taylor
62ed2560e4 Fix for @desc target validation. 2007-05-27 16:47:18 +00:00
Greg Taylor
5d066a7839 @description? wtf was I thinking? It's supposed to be @describe. Fixing. Existing games will need to update their alias lists. 2007-05-27 16:43:16 +00:00
Michael King
b821bf77f0 Initial skeleton (pass) for cmd_alias 2007-05-25 20:13:43 +00:00
Greg Taylor
7f42ff445f We definitely need the fix from the branch to the attribute deletion method, but we'll keep the existing @wipe implementation. Sorry for the confusion. 2007-05-25 18:24:24 +00:00
Michael King
d2115991f8 * Merged in wipe-command branch into trunk (mking) 2007-05-25 17:31:29 +00:00
Greg Taylor
e94601dd7b Fix to paging with aliases. 2007-05-25 15:06:22 +00:00
Greg Taylor
e7f8b901ce Connection recovery is now in. You can only have one session active per account. This is just the safest and cleanest way to do things. Also made some misc. other changes that will probably go unnoticed. 2007-05-25 15:02:16 +00:00
Greg Taylor
f57ef16912 Function optimization. 2007-05-25 14:27:40 +00:00
Greg Taylor
e91b584219 More attribute-related fixes from our db restructuring. 2007-05-25 14:18:07 +00:00
Greg Taylor
5384bed052 More graceful handling of session creation/destruction. 2007-05-25 13:55:38 +00:00
Greg Taylor
152271132d Make get_session_list() default to not returning sessions that aren't logged in. 2007-05-25 13:45:20 +00:00
Greg Taylor
cd79aa6a8f Fixing character creaction bug. 2007-05-25 13:32:08 +00:00
Greg Taylor
5d75db95ed I guess we should probably limit channel history messages returned. TODO: Move this to a server config directive. 2007-05-25 13:15:59 +00:00
Greg Taylor
c7f32f904d Lots of re-arranging of the comsys and near completion of comsys player commands. I'm going to halt further progres on this long enough for me to take a second look at my code and re-factor some things, then go on to work on some of the lesser-used commands. New in this revision: on, off, last, who for channels (pub who, etc.). Make sure you nuke all of your comsys-related tables and re-sync. 2007-05-25 03:24:23 +00:00
Greg Taylor
49b6a0ba57 Minor fix to accomodate some database re-organization. 2007-05-25 00:21:08 +00:00
Greg Taylor
51301d3e3b Start moving log files again. 2007-05-24 23:46:14 +00:00
Greg Taylor
e1dbdba951 We don't really need a members field on the channel object. 2007-05-24 20:20:00 +00:00
Greg Taylor
485204e979 Create a Public channel by default, make a channel's name and ansi_name the same thing on initial creation. 2007-05-24 19:53:36 +00:00
Greg Taylor
bfafdbf9c9 Adding @stats. We're just going to assume the equivalent of /all on MUX since it's a lot more informative. 2007-05-24 18:33:02 +00:00
Greg Taylor
bb0ff9f6ff Implement @wipe as per MUX. NOTE: THIS REVISION REQUIRES YOU TO RE-SYNC YOUR objects_attribute TABLE. The best way to do this is to drop your attribute table and your comsys tables, then re-sync via syncdb. This was needed due to some conflicts in namespace that I didn't want to get around with disorganized work-arounds. 2007-05-24 17:44:17 +00:00
Greg Taylor
9457e19787 logs/evennia.log is now writing once more. Also fixed a stupid indentation error. 2007-05-24 14:49:05 +00:00
Greg Taylor
b6c869b076 Abstraction of generic player object searches, as should've been case from the beginning. Bad me for letting this get out of hand! In any case, this eliminated a lot of code and makes pretty much all of the commands that interact with objects a lot neater, readable, and consistent. 2007-05-24 14:22:11 +00:00
Greg Taylor
b47d0d2b07 Use Twisted's logging facilities. 2007-05-24 03:36:58 +00:00
Greg Taylor
f9f24f6616 Don't return attribute matches if said attribute is in the hidden attribute list. 2007-05-24 03:22:11 +00:00
Greg Taylor
39b640e948 Add the ability to examine obj/attr with wildcards. 2007-05-24 02:58:59 +00:00
Greg Taylor
88dcdc95eb Some documentation fixups that I noticed off-hand. 2007-05-23 19:52:55 +00:00