Commit graph

3538 commits

Author SHA1 Message Date
CloudKeeper1
86e67a299c Suggested changes.
Expanded the argument documentation and removed nick replacement.
2017-01-18 18:55:47 +11:00
Tablet-PC\cloud
e62418fd11 Bots use inputfunc 2017-01-18 12:26:42 +11:00
Griatch
55d956a799 In Evmenu, make sure to not assign the Session from the Command until the caller has been correctly identified. 2017-01-16 18:12:18 +01:00
Griatch
89cbb6c30e Fix buggy case sensitivity not switching on xterm-256 support for the XTERM terminal type, pertains to #1165. 2017-01-16 07:16:18 +01:00
Griatch
edbc8afca4 Fix reversed order of arguments to isinstance. 2017-01-15 20:44:03 +01:00
Griatch
052e1845a2 Fix error in MonitorHandler recovering a saved Session across a reload. This probably affected the TickerHandler as well. Add a new hook to the server object that gets called once the portal has synced, and run the monitorhandler/tickerhandler restores there. Also some changes to the serialization of Sessions. Resolves #1164. 2017-01-15 19:55:51 +01:00
Griatch
b46bc9b2aa Update naming scheme in search for the sake of the API. 2017-01-14 22:34:39 +01:00
Griatch
506c5c6d39 Refactor some names to make api cleaner to read. 2017-01-14 22:21:12 +01:00
Griatch
f7936df104 Make EvMenu nodes-options' 'exec' callbacks able to return a string for dynamic goto replacement. 2017-01-14 18:49:29 +01:00
Griatch
a403cc9576 Change ingoing message path to reroute through serversession.data_in before calling the inputfuncs. This allows users to view all incoming data in one place if they want to do eventual pre-processing. Resolves #1163. 2017-01-14 12:28:07 +01:00
Griatch
44bd403cc8 Add session-awareness to EvMenu through parsing the command (making it persistent-safe). Also accept an optional session keyword for the very first output. This is only really important if caller is a player and multisession_mode>2. Made as an alternative to #1162." 2017-01-14 12:06:23 +01:00
Griatch
7a3b3ceb76 Fix the get_value inputfunc to return both name and value. 2017-01-13 13:02:53 +01:00
Griatch
1b92c036a1 Make CmdHelp's choice of Commands to offer help on easier to override. 2017-01-12 22:18:22 +01:00
Griatch
50e523e4f9 Update contrib readme to mention mail system contrib. 2017-01-12 22:08:46 +01:00
Griatch
19e8528b04 Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153. 2017-01-11 23:42:09 +01:00
Griatch
99c4042fbc Make the lock command force-update Exits to handle cmd-type locks without a reload; as per #1142. 2017-01-11 21:49:23 +01:00
Griatch
b57b807da6 Make lockwarning log file name settable; turn off if not set. Resolves #1161. 2017-01-11 21:37:32 +01:00
Griatch
9e505b9b72 Clean up spurious whitespace. 2017-01-11 21:22:03 +01:00
Simon Vermeersch
a0cd61df27 Send an OOB message to the client once a player logs in. 2017-01-10 22:40:45 +01:00
Griatch
9d714a9c55 Refactor to use list comprehension instead of filter() for future py3 compatibility. 2017-01-10 18:31:45 +01:00
Simon Vermeersch
5a4dbea3bb Return an empty list when searching for a script by #dbref and there is
no such script.
2017-01-10 18:31:45 +01:00
John Steensen
4be45a6295 Update building.py
Removed extra colon from E-Mail label. Fixed capitalization.
2017-01-10 18:23:05 +01:00
John Steensen
c1921be469 Update format_output on CmdExamine
Updated format_output on CmdExamine to add a check for email attribute. If true, it displays the email address.
2017-01-10 18:23:05 +01:00
CloudKeeper1
495db52f75 Changed example use of _menutree
Docstring left out ndb reference.
2017-01-10 18:17:23 +01:00
Simon Vermeersch
c31e9fc613 Fixes error messages on the boot command 2017-01-10 18:15:56 +01:00
Griatch
0da4945c92 Reformatted with markdown syntax and some cleanup. 2017-01-10 18:04:52 +01:00
John Steensen
cc5e09a916 Updated rpsystem.py with install instructions.
Added the following to the docstring:

Verbose Installation Instructions:
    1. In typeclasses/character.py:
       Import the ContribRPCharacter class: 
           "from evennia.contrib.rpsystem import ContribRPCharacter"
       Inherit ContribRPCharacter:
           Change "class Character(DefaultCharacter):" to 
           "class Character(ContribRPCharacter):"
       If you have any overriden calls in at_object_creation(self): 
           Add "super(Character,self).at_object_creation()" as the top line.
    2. In typeclasses/rooms.py:
           Import the ContribRPRoom class: 
           "from evennia.contrib.rpsystem import ContribRPRoom"
       Inherit ContribRPRoom:
           Change "class Character(DefaultRoom):" to 
           "class Character(ContribRPRoom):"
    3. In typeclasses/objects.py
           Import the ContribRPObject class: 
           "from evennia.contrib.rpsystem import ContribRPObject"
       Inherit ContribRPObject:
           Change "class Character(DefaultObject):" to 
           "class Character(ContribRPObject):"
    4. Reload the server (@reload or from console: "evennia reload") 
    5. Force typeclass updates as required: 
       Example for your character: "@type/reset/force me = 
       typeclasses.characters.Character"
2017-01-10 18:04:52 +01:00
Phayte
a239ddcdeb Fix an issues were exit aliases weren't being check when interating over them even though None is the default. 2017-01-10 17:56:51 +01:00
Griatch
5e8c5109dd Remove some unused variables from mail contrib. 2017-01-10 17:44:03 +01:00
Tehom
cbbca99ef8 fix evmore sending messages to stale session object 2017-01-10 17:39:09 +01:00
Torild Lidman
4a69d871c2 Add viewport meta tag 2017-01-10 17:18:13 +01:00
Torild Lidman
ec048e5371 Add custom CSS with some tweaks for mobile use 2017-01-10 17:18:13 +01:00
Torild Lidman
18e4d72444 Link to custom CSS 2017-01-10 17:18:13 +01:00
Griatch
69551f88a1 Add some minor input validation and fix a typo in mail contrib. 2017-01-10 17:09:41 +01:00
grungies1138
b0ad1c06f4 Update mail.py 2016-12-30 09:04:30 -06:00
grungies1138
ddd3cd0888 Update mail.py 2016-12-20 11:53:37 -06:00
grungies1138
c2cc063a78 mail.py
In-game mail system.
2016-12-20 09:52:06 -06:00
Griatch
744cf4dd08 Change IN_GAME_ERRORS setting to True by default. This should make it easier to handle debugging for newcomers (although some errors will still have to only go to the log, such as critical reload errors). Note that this should be turned off in production for security reasons. 2016-12-18 09:21:42 +01:00
trinsic
31096331d9 Fixing reference to potentially uninitialized variable 2016-12-17 17:49:18 +01:00
trinsic
cc8be09d5e Removing the /port switch on @boot and replacing it with the /sid switch to allow booting someone by their session id 2016-12-17 17:49:17 +01:00
trinsic
7ac777e0bf cmdboot trying to reference pobj as a player before pobj is set as a player. changed to use the player name search failed on. 2016-12-17 17:49:17 +01:00
Griatch
d101a7d058 Add ability to add aliases to help entries via the command and create_helpentry utility. 2016-12-17 17:15:50 +01:00
trinsic
f568b51ebe Adding aliases to help entries 2016-12-16 19:05:16 -05:00
Tehom
e82799fb13 set the from_obj for CmdSay and CmdPose, so they can be used properly 2016-12-13 20:20:51 -05:00
Griatch
2d30e6cf95 Slight rewording of maxlen warning. 2016-12-13 21:02:13 +01:00
Tehom
b41053dd38 Default value for MAX_CHAR_LIMIT and convert to int to catch early errors 2016-12-13 07:22:50 -05:00
Tehom
760c5b41fc Put in check for maximum character size in input strings that can be set with settings.MAX_CHAR_LIMIT. 2016-12-13 06:53:35 -05:00
Griatch
619a9cee57 Expanded the property overload of dig and create by moving the entire lockstring into the property for easier overloading, pertaining to #1135. 2016-12-12 23:29:05 +01:00
Trinsic
26bee8c751 Moving the default permission set on an object created with @create or a room created with @dig into an attribute of the command so it can be easily overridden without having to override the entire func call 2016-12-12 23:28:39 +01:00
Griatch
958b333a59 Small refactoring. 2016-12-11 22:07:38 +01:00