partmedia
f87de491cd
Split deposit box code into separate functions.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18855 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:25:23 +00:00
partmedia
a11526d65f
Clean up unused variables and comment the rest.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18854 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:25:07 +00:00
partmedia
2f7bd9cc2d
Whitespace and formatting changes.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18853 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:24:54 +00:00
partmedia
f4ce687d13
Remove executable flag.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18849 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-29 03:04:17 +00:00
ryo_saeba
f6e102ee42
Change employee dialog. Part of patch #333 : Attitude change to IPO employees, by Kevin Zheng.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18741 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-06-23 10:01:26 +00:00
ryo_saeba
533b711d5a
Adjust mailscroll price. Part of patch #333 : Attitude change to IPO employees, by Kevin Zheng.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18740 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-06-23 09:54:26 +00:00
akirschbaum
5e430c833f
Remove trailing whitespace.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18703 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-05-09 11:08:11 +00:00
ryo_saeba
0b5409171d
Fix bug #3573119 : IPO help truncated in client. Merge lines for output.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18466 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-10-01 19:55:17 +00:00
ryo_saeba
fd7f3fb07a
Don't redirect output.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18253 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-06-17 10:31:19 +00:00
alestan
ca4950618c
improves banking
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13601 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-08-15 01:02:41 +00:00
anmaster
fc2ac59b2c
The exchange code in /python/IPO/banksay.py was missing a cast to integer, this resulted in a traceback on Python 3.x.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11477 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-14 17:09:40 +00:00
anmaster
60b5e31445
Replace deprecated string.split() calls in /python/IPO/*.py.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11448 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-11 21:08:00 +00:00
anmaster
499b7f770d
Fix a case of "TabError: inconsistent use of tabs and spaces in indentation" in /python/IPO/receive.py
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11444 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-11 18:55:51 +00:00
anmaster
540ad17f62
Fix a case of "TabError: inconsistent use of tabs and spaces in indentation" in /python/IPO/say.py
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11443 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-11 18:42:54 +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
anmaster
bded519fea
Fix wrong price of objects in help for IPO.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@9136 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-05-22 21:26:18 +00:00
ryo_saeba
c011e3cc99
Fix bugs #1958325 and #1958326 .
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@8903 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-05-07 18:25:12 +00:00
gros
f57f3a6895
Corrected a glitch in IPO Colette's answer.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7532 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-18 18:52:50 +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
c20242d682
Improve IPO help, give prices and max weight. Clean code some.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6782 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-07-16 22:15:30 +00:00
aaron_baugher
2c48a84283
New package arch and image for IPO
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5476 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-11 03:56:14 +00:00
aaron_baugher
704b698a20
New carton arch and images for IPO
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5411 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-09 01:11:34 +00:00
aaron_baugher
1abd8198b4
Improved look of IPO package system
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5409 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-02-09 00:18:23 +00:00
qal21
3370818173
Remove tabs from multi-line string in python/IPO/banksay.py. Fixes bug #1551381 .
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@4971 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-24 15:38:00 +00:00
ryo_saeba
488f56d370
Patch #1550744 (Python scripts should not hardcode timezones) courtesy Mark Kidder
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4861 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-09-02 14:26:26 +00:00
akirschbaum
8faeb88028
Properly set plural names of delivered objects.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4060 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-28 21:12:03 +00:00
akirschbaum
35c3d0fc93
Make it work with with new Python plugin; remove debug output; make source-code formatting consistent.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4028 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 22:20:56 +00:00
akirschbaum
a4251b7005
Bug fixes: make it work with with new Python plugin, do not make it talk to itself, prevent abuse with out of range amounts; make source-code formatting consistent.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4026 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 21:41:28 +00:00
akirschbaum
82aeffd187
Bug fixes: make it work with with new Python plugin, add 'yes' for help message, do not make it talk to itself.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4025 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 20:16:27 +00:00
akirschbaum
0a48aa8c1e
Lots of bug fixes: make it work with new Python plugin, fix truncated help message, set plural names of created objects, reword messages, prevent re-use of already sent packets, add safeguards for array-access; make source-code formatting consistent.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4024 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 19:28:00 +00:00
akirschbaum
528fe2e638
Fix spelling errors.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4022 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-10 19:17:44 +00:00
akirschbaum
b69e3f48d4
Fix misnamed method names; fix looping over inventories.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3999 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-06 20:45:49 +00:00
ryo_saeba
60cc3fa85d
Fix case
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3981 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-11-05 10:40:24 +00:00
gros
3b77421609
Update of the maps for CFPython version 2.0.
...
Update of the IPO-related scripts.
Gros - 18/10/2005
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3899 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-18 18:13:28 +00:00
ryo_saeba
6f459478b5
Improved post office, can now send/receive items
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3742 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-09-30 20:00:30 +00:00
akirschbaum
849cba5a48
Fix spelling errors.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3192 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-04-09 12:00:30 +00:00
ryo_saeba
d1d8b472f0
Applied patch #1145089 (cavesomething) to add region support
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3142 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-03-15 21:44:56 +00:00
akirschbaum
148649ceac
Fix deposit option.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3121 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-03-09 22:24:47 +00:00
akirschbaum
61a317db6b
Fix spelling error.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3110 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-03-09 20:12:45 +00:00
temitchell
32e9cfab2c
- remove item scripts long ago moved into items
...
- update scripts to remove path (init script does it for us)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3003 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:48:06 +00:00
temitchell
ebb8e5dbe8
- fix help message - add info command which dumps the record.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2917 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-09-19 05:56:52 +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
16d1e0224e
- change path finding to use os.path - hopefully this will fix these
...
scripts for the (new) windows server
- CFgetPaths is now dead and will be removed - change your scripts if
you use it.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2891 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-08-28 00:19:39 +00:00
temitchell
55d9353f1c
- fixed issue with slotmachines where items created reset number of
...
existing items in the same space.
(using itemborker to set number of items add or remove as a safer way to
manage this.)
- touched up bank dialogue (and incorporated itembroker code)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2413 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-10-25 02:20:08 +00:00
temitchell
10663a71db
- oops forgot the decimal that made the serbice charges work.
...
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2386 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-10-09 04:28:09 +00:00
temitchell
7ad3e359d6
-fix banksay.py (was a small issue with a missing =)
...
-add reusable script for adding/removing items
-add two new slotmachines
-add an insult generator
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2376 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-10-06 03:41:36 +00:00
temitchell
3f638c3192
- minor change to allow multiple bank databases
...
(not advising that happen, but the bank class should be as
modular as possible IMHO) and so I did it.
Added README from unlinked with changes
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2357 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-09-28 21:49:46 +00:00
temitchell
1c179567fc
- touchups for banking system
...
Bank now uses imperials (1000 gold) for withdrawls and can do enchanges
of currency to platinum. Added a cleanup routine in the
python_remove script to delete account when players quit.
A transaction fee was implemented for deposits (default 5%)
requires use of new arch "imperial" (bank notes with no
intrinsic value)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2350 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-09-28 16:49:09 +00:00
temitchell
f20666f7fc
- add in DM check so that seen script gives DM the last IP used by the
...
player they are asking about.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@2277 282e977c-c81d-0410-88c4-b93c2d0d6712
2003-08-01 02:24:28 +00:00