Commit graph

2352 commits

Author SHA1 Message Date
Michael King
86e9a8292c * added skeletons for commands_comsys.py (has all of the MUX2 commands I
* could remember) and functions_comsys.py (has a couple of ideas for
* useful functions).
2007-05-04 18:02:49 +00:00
Michael King
e8674f1848 * Created INSTALL; moved initial installation instructions from README
* to INSTALL
2007-05-04 16:58:56 +00:00
Greg Taylor
cd70495f47 Was looking for an excuse to nab revision 100 :) Updated some stuff to reflect our new Google project/code pages. 2007-04-30 20:02:11 +00:00
Greg Taylor
a1bc2375ef Finish up single-character aliases for pose, say, and pose/nospace. 2007-04-30 19:49:30 +00:00
Greg Taylor
4f67efb70a Implemented page history, meaning you don't need to provide your victim's name/alias and the equal sign after the initial page. TODO: Allow paging multiple people at once, ala MUX. 2007-04-30 18:39:41 +00:00
Greg Taylor
c4597f41a1 WHO alignment fix. Whoops. 2007-04-30 18:19:06 +00:00
Greg Taylor
4fd5a20e2c Added a @reload command to reload most of the modules. This currently only seems to work for the stuff outside of the apps directory, and doesn't include the server, session_mgr, or events modules, as they have variables in them that we can't have reset. So basically, changes to the functions_ and commands_ modules can be applied with @reload, but little else. Hopefully this will improve with time. Also fixed a bug with @name'ing players but not updating their account's username to reflect it. 2007-04-30 17:51:55 +00:00
Greg Taylor
81b1797144 Finished moving error trapping to cmdhandler.py. No need to do any exception handling on a per-command basis anymore. 2007-04-30 14:33:22 +00:00
Greg Taylor
98e9175582 Addition of a player_search() function in functions_db. This first searches for alias matches (exact, no case-sensitivity). If it finds none, it does a normal local_and_global_search() limited by object type PLAYER. Also did some more code cleanup and commenting. 2007-04-30 14:21:48 +00:00
Greg Taylor
6d52103359 Fix paging to take multi-word victims. Also updated messages to match MUX2. 2007-04-30 13:29:36 +00:00
Michael King
cb05b23b5b * changed the message to be a tail slice of the eq_args instead of just the second element.
* changed the emit_to() on the target object to use join to turn the message into a string.
2007-04-29 20:52:19 +00:00
Michael King
26c6dd109a * Re-implemented page using @teleport's protocol. Still can't get spaces in names working out of the box, but I'm looking into squashing that. (tsal) 2007-04-29 13:58:58 +00:00
Michael King
6355ed2298 * Found all my stupid bugs, and remembered that django's Model#get() will raise an exception if it cannot find any matching objects. Used that to determine "no such user". 2007-04-28 14:53:13 +00:00
Michael King
21a03fc07c * After review of the codebase some more, discovered better methods for most of what I was trying to do.
* Before this change, it was no longer dumping the connection, but was always claiming that the target player was not online, when they were.
* Back to the drawing board on cmd_page for now.
2007-04-28 14:26:28 +00:00
Michael King
3054d1233f * Fixed interpolation statements to have tuples instead of a string 2007-04-28 13:44:33 +00:00
Michael King
d017ff0d39 * Added cmd_page. I think I'm running into SQLite problems, as when the command runs, it simply dumps the session.
I tried to test this on MySQL, but I can't get syncdb to work, either. (tsalaroth mking@arikel.net)
2007-04-26 23:35:37 +00:00
Greg Taylor
ec4ab1e913 Never mind, no dice. 2007-04-26 20:33:53 +00:00
Greg Taylor
1435c06633 not sure if this'll work, we'll see. 2007-04-26 20:33:20 +00:00
Greg Taylor
7012960a70 Remove get_ansiname() by condensing functionality into get_name(). Removed session debug statements I had in for testing. 2007-04-26 20:32:56 +00:00
Greg Taylor
a73a3523af Unintentionally committed a change to startup.sh, reversing. 2007-04-26 19:33:15 +00:00
Greg Taylor
c54f9f15e4 Renaming the default database file to evennia.db3 instead of evennia.sql, which is often used to signify text-based SQL dumps. Remember to re-name your database file and adjust your settings.py accordingly if you want to follow suite. Existing installs should theoretically be unaffected. 2007-04-26 19:32:26 +00:00
Greg Taylor
22bccd294f Minor update. 2007-04-26 02:19:49 +00:00
Greg Taylor
192ef521a2 Adding a session validity check in hopes of eventually expiring timed out connections. 2007-04-25 20:11:29 +00:00
Greg Taylor
0fc89247aa No longer need to distribute a database file. Each user will run their syncdb script and start with a clean slate. Updated installation instructions in README. 2007-04-25 19:39:15 +00:00
Greg Taylor
eda1753740 Move the server log to a 'logs' directory so as not to add even more clutter to server root. 2007-04-25 15:17:08 +00:00
Greg Taylor
b63f69eed0 New startup.sh file with configurable start modes. Eventually we'll do this via command line arguments, but for now it'll do. 2007-04-25 15:14:45 +00:00
Greg Taylor
3292405fcb Adding initial data via Django's syncdb facility. We will no longer distribute a SQLite DB in the near future in favor of this cross-platform alternative. Also in this commit is a crash fix for @dig with SQLite. 2007-04-25 14:47:33 +00:00
Greg Taylor
26a354204c Movin the TODO list to the google code group page. 2007-04-23 15:57:34 +00:00
Greg Taylor
02126b2434 Finished logging in with email address instead of username, forgot to yank this from the TODO list. 2007-04-23 15:37:48 +00:00
Greg Taylor
9e587bd4e3 Important update: Fixed two crash bugs in attribute getting/setting. Less importantly, the money value shown in 'inventory' now pluralizes properly. 2007-04-23 15:22:40 +00:00
Greg Taylor
9335adc03a More command sanitizing checks, renamed startup script to startup.sh. 2007-04-03 20:15:54 +00:00
Greg Taylor
81a13d873f Updating TODO to reflect our handling of multi-word names. 2007-04-03 19:15:29 +00:00
Greg Taylor
1ac4d31bdb Ignore settings.py, this is for the local game. 2007-04-03 19:11:57 +00:00
Greg Taylor
50b17b3626 Changing the user login command to use the player's email address instead of username. Also Require quotes around the username with the character creation command regardless of whether it's two words or one. 2007-04-03 15:17:46 +00:00
Greg Taylor
5a48c2e30b Finalizing layout. 2007-04-03 13:43:49 +00:00
Greg Taylor
5421ab7f6e Re-organization. 2007-04-03 13:42:51 +00:00
Greg Taylor
5db3ae2933 Fixing the return substitution. 2007-02-19 13:16:51 +00:00
Greg Taylor
2c85fe3be5 New player registrations are once again working. Shored up some vulnerable spots too. 2007-01-04 01:55:01 +00:00
Greg Taylor
95e645246e Fixed some issues with @dest'ing player objects that don't have a matching account (should never really happen but just in case.) 2007-01-04 01:36:22 +00:00
Greg Taylor
cf0fa701ef A few minor cleaning things. 2007-01-02 07:05:39 +00:00
Greg Taylor
6f52e75725 Beginnings of our permissions system. 2007-01-02 06:20:32 +00:00
Greg Taylor
0e1e2ed1b0 We now have get/drop and a vastly improved object searching function. Some misc. improvements to other utility tfunctions as well. 2007-01-02 05:21:59 +00:00
Greg Taylor
18994e4ca0 We're calling @-prefixed commands privileged commands instead of staff commands. 2007-01-02 04:25:44 +00:00
Greg Taylor
4641aa8a4e Some more @list work and help system cleanup. 2007-01-02 04:19:53 +00:00
Greg Taylor
18cf29b0cf Some minor performance enhancements and an experimental profiler. 2007-01-02 01:14:07 +00:00
Greg Taylor
c5975f522f Applying some polish to the admin interface. 2007-01-02 00:20:20 +00:00
Greg Taylor
c3ce3451b3 Fixed a really obnoxious path/namespace problem. Hooray. 2007-01-02 00:05:29 +00:00
Greg Taylor
0adfd4d45c Finally found and fixed the problem with editing objects in the admin interface. 2007-01-01 23:38:59 +00:00
Greg Taylor
f6de21be13 Adding example apache config. 2007-01-01 22:55:48 +00:00
Greg Taylor
dcb7d3e792 Changing some of the setup procedure. 2007-01-01 22:46:52 +00:00