Commit Graph

18 Commits (84813f777d8aa869d8c1f039e835c46150e7ca26)

Author SHA1 Message Date
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