BlauFeuer
ecb82a2a23
MXP text/command simple double quote escape
...
Escape simple double quote characters when used in MXP text/command text
2016-10-22 14:43:32 -04:00
BlauFeuer
fd0f765ad5
MXP tags to use double quote instead of single
...
This works around the problem of having to escape single quotes (apostrophes) in MXP commands or texts, but then requires (simple) double quotes to be escaped.
2016-10-22 14:06:19 -04:00
Griatch
6a7431d784
Add startnode_input kwarg to EvMenu for sending input text to the startnode as if coming from a virtual previous node. This is used by the persistent save mechanism, to re-run the last node with exactly the same input. Resolves #969 .
2016-10-22 18:31:22 +02:00
Griatch
f423771423
Added some more noisy=False to other factories as per #1107 .
2016-10-22 16:02:32 +02:00
Tehom
5b07a8bd2c
Remove ampfactory start/stop messages from portal log for every connection.
2016-10-22 09:01:15 -04:00
Tehom
242fb0e747
Removed kwarg, now have align check for whether there's only a single whitespace.
2016-10-21 05:12:17 -04:00
Tehom
5f5ffe4324
Added 'justify' kwarg, so base functionality is unchanged
2016-10-20 19:23:49 -04:00
Tehom
c9a9f145c7
Have evtable align arg strip out whitespace along the border that it is aligned with, so that the text is justified.
2016-10-20 19:11:46 -04:00
Griatch
44e4ff4c1d
Change to use the subscriptionhandler in distribute_message to support both players and objects subscribing to channels.
2016-10-20 08:08:55 +02:00
Tehom
fcc8a7d3c2
Added in missing whitespace that made the unit test fail.
2016-10-20 08:08:55 +02:00
Tehom
c32920999b
Fixed missing variable in formatting of disconnect string in delcom, made display of @channels more legible and display when someone is Muted rather than not subscribed. Refactored the 'who' list for channels to now be a property of the channel that returns a string of all the subscribers separated by commas, with those who are actively listening (not muted) in bold, and made both '@cwho' and 'allcom who' call to it.
2016-10-20 08:08:55 +02:00
Tehom
951cd60a6d
Okay, next try! I added 'on' and 'off' as arguments for the base channel command in channelhandler which allows you to unmute or mute the channel respectively, and added the mute and unmute methods to ChannelDB. distribute_message now checks for a subscriber being muted before passing along the message. Reverted the changes to the channel cmdset. Added the 'all' switch to delcom to allow for the deletion of aliases, otherwise it keeps the aliases intact for when they next join the channel.
2016-10-20 08:08:55 +02:00
Tehom
441b081e55
allow for channel commands without a current subscription, so that players can use channelcommands such as <channelname>/history
2016-10-20 08:08:55 +02:00
Tehom
024a476355
get tag from list returned by get_tag
2016-10-19 23:50:30 +02:00
Greg Taylor
654b32a0b3
Remove gamedir_client backwards compat shim.
...
You'll want to make sure to use egi_client instead. See egi_client/README.md
for instructions.
2016-10-18 20:57:56 -07:00
Greg Taylor
1781a5acda
Add syntax hilighting in egi_client/README.md.
2016-10-18 20:57:00 -07:00
Griatch
8561e3de23
Cleaned up the menu_system.py contrib docstring a little.
2016-10-18 23:32:32 +02:00
Tehom
d4ee0e487a
Added missing import for subscriptionhandler.remove()
2016-10-18 23:10:27 +02:00
Griatch
2d02c06a11
Add clarification to nick command docstring.
2016-10-17 22:10:11 +02:00
Griatch
6e3fa4aea2
Fix nick deletion by index. Resolves #1099 .
2016-10-17 22:09:45 +02:00
Griatch
cd9c11f6a8
Fix edge cases in channelhandler and make unittests work.
2016-10-16 19:04:05 +02:00
Griatch
e39e1bdd45
Fix some regressions in the tutorial world.
2016-10-16 01:07:46 +02:00
Griatch
1d6873eef4
Fix caching error in new cmdset merge regime. Removed debug messages.
2016-10-15 23:22:33 +02:00
Griatch
a61a33e87d
Refactor ChannelHandler. Fix issues with new cmdset merge procedures.
2016-10-15 22:48:38 +02:00
Griatch
196f1ad270
Change so typeclass equality is not only based on dbid but also on model.
2016-10-15 22:48:38 +02:00
Griatch
1981f8073f
Lots of debug messages.
2016-10-15 22:48:38 +02:00
Griatch
cc76de348e
Changed how duplicates is passed down the cmdset merge stack.
2016-10-15 22:48:38 +02:00
Griatch
edacd58eab
Refactor get_and_merge_cmdsets to merge all cmdsets in one place rather than sub-merging them separately on each object first. See #1087 . Also changes the names of the auto-added _exitset to ExitCmdSet and _channelset to ChannelCmdSet. Allow Channel cmdsets to also be identified on Objects.
2016-10-15 22:48:38 +02:00
Griatch
bac6c7f234
Continue adding unit tests to cmdhandler.get_and_merge_cmdsets function. Not finished yet, unclear how to propagate the options correctly.
2016-10-15 22:48:38 +02:00
Griatch
40e1c67f88
Change how cmdset options are merged by priority - this is now a straight priority order, where the option from the higher prio goes. Also add unit tests for cmdset mergers.
2016-10-15 22:48:38 +02:00
Griatch
300758b2dd
Testing a new variation on cmdset merging, as per #1087 .
2016-10-15 22:48:37 +02:00
Griatch
c7b689c1d8
Fix unittests and a lingering error in the solution to #1073 .
2016-10-13 22:10:49 +02:00
Griatch
f59c9fd573
Fix bugs in alias-searching for objects. Resolves #1048 .
2016-10-13 21:53:54 +02:00
Griatch
fb96b44324
Fix searching from a ContribRPObject. Resolves #1073 .
2016-10-13 20:34:09 +02:00
Griatch
d32e7a8282
Make examine represent Session id's in a less confusing way, as exemplified by #1075 .
2016-10-13 20:25:52 +02:00
Griatch
a467d2984e
Make TestCommand unittest base handle non-text outputfuncs from msg() calls. This is done by primarily using text, and if that is None, by converting the entirety of the alternative kwargs to strings. Implements #1091."
2016-10-13 20:13:13 +02:00
Griatch
95aa505b45
Add the evennia.utils.gamtime.reset_gametime() function, for restarting gametime from a later time than the server creation time.
2016-10-12 20:27:21 +02:00
Griatch
070e4924e9
Refactored the talking_npc a little, made the contributed changes work.
2016-10-11 22:12:18 +02:00
grungies1138
849f4bde71
Update talking_npc.py
2016-10-11 22:12:18 +02:00
grungies1138
eb4be28d88
Update talking_npc.py
...
updating talking_npc to use the current Menu system
2016-10-11 22:12:18 +02:00
Tehom
3ff9eac86c
Have lockshandler fail gracefully rather than cause a server crash
2016-10-07 10:06:49 +02:00
Tehom
ae5848dd0b
Overload the 'last', 'first', and 'count' queryset methods to work for the TypedObjectManager.
2016-10-07 10:04:20 +02:00
hatetank
23e658acf9
minor typos updated
2016-10-07 10:01:26 +02:00
Griatch
e2e6f35d11
Let EvMenu accept arbitrary kwargs as initialization properties (available through caller.ndb._menutree).
2016-10-04 18:16:00 +02:00
Griatch
40a985c791
Make some docstring updates.
2016-10-02 21:59:19 +02:00
Griatch
00c64b10bb
Make sure msg(text=None) means that text should not be used (None must be converted to a string to send). Resolves #1077 .
2016-10-02 21:51:15 +02:00
Griatch
2b35140fe3
Implement a more throughough cache-flush mechanism. This makes sure to flush foreignkey cache relations for objects not affected by flushing (normally objects with an NAttribute stored in them). Without ForeignKey flushing, the location of such objects would remain cached and drift out of sync, leading to content caches in turn desyncing. Resolves #1064 .
2016-10-02 20:52:05 +02:00
Griatch
15025c0586
Added at_idmapper_flush to allow objects more control of their flush characteristics.
2016-10-02 20:52:05 +02:00
Griatch
cd616caf29
Debug tests for trying to catch the flushmem bug #1064 .
2016-10-02 20:52:05 +02:00
Griatch
589d6737db
Make channelhandler easier to import at different stages without a circular import problem.
2016-10-02 15:54:57 +02:00