Kevin Zheng
5f115dcda0
Adjust mail login message
2024-03-21 20:15:27 -07:00
Kevin Zheng
6a26ab0f07
Convert CFMail to sqlite3
2024-03-21 20:14:53 -07:00
Kevin Zheng
376dd8683e
Convert CFBank to sqlite3
2024-03-21 13:22:44 -07:00
Kevin Zheng
9838c555ed
Disable CFReptuation by default
...
Reputation currently doesn't have a very noticable in-game impact, but
currently causes a pretty big performance hit when killing a lot of
monsters.
2024-03-19 11:11:43 -07:00
Nicolas Weeger
7615c2b723
Fix broken weapon check
2022-05-29 12:24:37 +02:00
Nicolas Weeger
24a5af3fa9
Fix comment
2022-05-28 16:30:31 +02:00
Nicolas Weeger
b1bcbca9e2
Don't check all inventory, use killer.CurrentWeapon
...
Requires server 64cace0e7a1900b21aae7cb16f7c26e8054318f2 or later
2022-05-28 16:15:15 +02:00
Kevin Zheng
e79633565f
Remove unused python_event.py
2022-05-21 10:18:45 -07:00
Nicolas Weeger
e0338dc2b2
Register 'autojail' and 'disinfect' as DM-only
2022-01-30 09:41:07 +01:00
ryo_saeba
f07e438d1b
Fix type error by converting explicitely to int.
...
Display message only if the wielder is a player.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@22059 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-04-07 18:35:48 +00:00
partmedia
59f89d8acc
Add 'report' command to report issues in-game
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21706 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-01-02 23:47:28 +00:00
silvernexus
b5943ff60b
Fix handling in autojail when a player is killed by starvation.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21519 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-10-20 18:37:10 +00:00
silvernexus
f254fc82a0
Update sword of Souls python code to reflect movement of handling exp scaling to caller in r21461
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21462 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-09-28 00:28:48 +00:00
silvernexus
647022710c
Adjust weapon of Souls python code to use TotalExp field instead of PermExp
...
Requires server r21321, recommended to use server r21326 with this change. Some builds produce a barfing cfpython plugin in r21321, while some don't. All should work in r21326.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21327 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-09-02 01:32:14 +00:00
silvernexus
f7c5f34c40
Add scripts for \(weapon\) of Souls. Depends on r21252 and r21253.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21254 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-07 04:13:52 +00:00
partmedia
cc14782398
Initialize Python commands in one file
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21186 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-03-21 00:29:14 +00:00
partmedia
10da0ef45b
Add 'dip' command
...
Dipping allows players to fill empty bottles from fountains.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21185 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-03-21 00:29:10 +00:00
ryo_saeba
31d8ee0e8e
- remove obsolete file.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20808 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-05-16 18:26:17 +00:00
silvernexus
13cb877bf4
Comment out bell.py event, since it is now its own plugin.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20619 282e977c-c81d-0410-88c4-b93c2d0d6712
2018-12-24 20:43:49 +00:00
partmedia
d77739aad0
Add initial reputation support
...
As reputation support is experimental and still under development, the
database is being kept in memory and is lost after every server restart.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20493 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-08-15 22:49:01 +00:00
partmedia
739ca3508b
Restore original CFBank API
...
Moving accounts to player files added unnecessary complexity. Restore
original API and add code to migrate accounts back from player files.
While here, wrap CFBank with a context manager so it can be used with
the Python 'with' statement.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20449 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-27 06:35:06 +00:00
silvernexus
7875896cc4
Tweak documentation to match the actual file name.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19940 282e977c-c81d-0410-88c4-b93c2d0d6712
2015-05-18 15:53:34 +00:00
ryo_saeba
25b8d7adb4
Don't log the bell, it works.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18001 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-04-22 14:10:25 +00:00
ryo_saeba
68094029af
Add autojailing scripts for PK, activated by DMs.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14535 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-06-09 22:20:06 +00:00
ryo_saeba
43041fec06
Add 'disinfect' command for DMs, removing diseases on the current map.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14525 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-06-09 18:57:10 +00:00
alestan
a616cc15fd
removing no longer needed init script
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13610 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-08-15 07:48:42 +00:00
alestan
cd77c8646c
added script to build dict of face numbers to names
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13584 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-08-13 04:09:03 +00:00
ryo_saeba
7c9522f35a
Improve temple's bells.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13540 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-08-01 09:01:49 +00:00
ryo_saeba
c8f185bb3b
Let's ring some bells, it'll make it funnier for players to hear those :)
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13515 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-07-25 18:18:57 +00:00
anmaster
a1b802da6d
Avoid features in the python scripts that are removed from python 3.0. This is confirmed to still work on at least python 2.5 and as far as I understand the docs also python 2.4
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11284 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-01-30 01:32:19 +00:00
anmaster
fdbcb1b6ff
Run whitespace cleanup script in maps/python.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11283 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-01-30 01:22:22 +00:00
gros
6573ac0db9
Add support for the "give" command, that allows a player to show an item to an NPC.
...
Useful when coupled with scripts to write "bring me back something" quests.
Add support for the "give" command to the Mad Mage, with a generic "show me and
I'll talk" kind of system.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@8018 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-12-23 01:19:42 +00:00
tchize
d0f032623a
Modified all print of script to calls to Crossfire.Log(Crossfire.Log(Debug|Error|Info|Monster),message)
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7496 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-08 23:36:22 +00:00
ryo_saeba
98637096b5
Remove obsolete files
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4398 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-15 14:56:48 +00:00
ryo_saeba
2ec3b7dc93
Check if path exists to not display an error message
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4316 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-08 10:21:47 +00:00
ryo_saeba
0839462784
Remove obsolete files
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4315 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-08 09:31:39 +00:00
ryo_saeba
d8108b3fa3
Split event files, make subdirs.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4311 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-01-07 23:44:05 +00:00
bbotbuilder
fbb05257b8
Prevent more warnings
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3910 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-19 20:45:03 +00:00
bbotbuilder
bac5af7626
Adding to prevent the server from giving a warning about it being
...
missing, which was resulting in lots of spam to the console.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3909 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-19 20:12:15 +00:00
gros
044d3851de
Update of the Global Events scripts to the new 2.0 CFPython.
...
Update of the Guild-related scripts to the new 2.0 CFPython.
Update of the remaining scripts to the new 2.0 CFPython.
Gros - 18/10/2005
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3901 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-18 18:53:37 +00:00
ryo_saeba
f294079e74
Log, then check mail - if mail fails, log is still written.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3498 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-07-22 19:32:16 +00:00
temitchell
7cf2013a82
- remove python path bootstrapping - init script not appends module path
...
for us.
- add guild functions to init and remove scripts
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3001 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:42:58 +00:00
akirschbaum
7836fd619b
Add script for bootstrapping code. The script runs right after the python plugin is loaded.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2971 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-10-21 18:57:42 +00:00
temitchell
d185c2a08a
- fix tiny bug where player logging in has no record gets a record
...
made.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2903 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-09-01 03:08:04 +00:00
temitchell
6a517e7fe6
- add new CF module - classes CFDataFile and CFData
...
- replace crossfirelog shelf with plain text datafile (less efficient
but more accessable) - add logging for kick and muzzle
- add more dm commands for seen (chicken oracle, guy in goths...)
- make sure you make a datafiles dir in var/crossfire or have make
install do it for you.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2902 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-09-01 02:03:26 +00:00
temitchell
4dda2986e3
- oops fix long stnading error preventing bank accounts being deleted
...
when player quits.. (blush)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2868 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-08-03 02:02:27 +00:00
temitchell
4b57ac9506
- move event scripts into their own directory
...
- add README
- add disguise script (warning usage still subject to bug 878949)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2867 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-08-02 23:38:50 +00:00