faf3b3b81e 
								
							
								 
							
						 
						
							
							
								
								Improve package sending help text in the IPO  
							
							... 
							
							
							
							Submitted by:   DraugTheWhopper (patch #391 )
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@22048 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2021-03-30 05:50:25 +00:00  
				
					
						
							
							
								 
						
							
							
								038a2e966e 
								
							
								 
							
						 
						
							
							
								
								@ add conversion computations, and a description of existing coins.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20807 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2019-05-16 18:25:03 +00:00  
				
					
						
							
							
								 
						
							
							
								b6f456c365 
								
							
								 
							
						 
						
							
							
								
								Move deposit box code to separate file  
							
							... 
							
							
							
							Give deposit boxes their own script and update all the banks.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20450 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2017-07-27 06:35:26 +00:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								da5bba2708 
								
							
								 
							
						 
						
							
							
								
								Abolish bank fees  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20419 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2017-07-10 05:30:53 +00:00  
				
					
						
							
							
								 
						
							
							
								e35d5a504d 
								
							
								 
							
						 
						
							
							
								
								Python cleanup  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19887 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2015-04-04 21:08:09 +00:00  
				
					
						
							
							
								 
						
							
							
								22ff65025f 
								
							
								 
							
						 
						
							
							
								
								Change name of sent mail scrolls  
							
							... 
							
							
							
							This prevents sent mail from being sent again, thus working around the
issue in Bug #803 .
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19852 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2015-03-18 21:43:01 +00:00  
				
					
						
							
							
								 
						
							
							
								6ab5d4865e 
								
							
								 
							
						 
						
							
							
								
								Various style and functional cleanups  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19798 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2015-02-23 02:16:02 +00:00  
				
					
						
							
							
								 
						
							
							
								e504a2c8f9 
								
							
								 
							
						 
						
							
							
								
								Remove checking  
							
							... 
							
							
							
							Checks are cumbersome, underutilized, and only marginally useful. They
can only be used to pay other players, and it is easy to write a check
without having enough money to cover it.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19797 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2015-02-23 02:15:57 +00:00  
				
					
						
							
							
								 
						
							
							
								3c68ec9441 
								
							
								 
							
						 
						
							
							
								
								Fix bank deposit boxes  
							
							... 
							
							
							
							Deposit boxes are now truly deposit boxes rather than ATMs. When closed,
they only deposit the value of items placed inside.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19796 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2015-02-23 02:15:47 +00:00  
				
					
						
							
							
								 
						
							
							
								2d1dbf9876 
								
							
								 
							
						 
						
							
							
								
								Use new player bank account functions  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19795 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2015-02-23 02:15:37 +00:00  
				
					
						
							
							
								 
						
							
							
								41e103699d 
								
							
								 
							
						 
						
							
							
								
								Attitude change from bank employees.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18890 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-05 03:10:07 +00:00  
				
					
						
							
							
								 
						
							
							
								acd83e3f0d 
								
							
								 
							
						 
						
							
							
								
								Implement check depositing.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18889 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-05 03:09:56 +00:00  
				
					
						
							
							
								 
						
							
							
								bc33ca3fde 
								
							
								 
							
						 
						
							
							
								
								Create checks instead of template-making them.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18887 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-04 12:56:28 +00:00  
				
					
						
							
							
								 
						
							
							
								e9217fa751 
								
							
								 
							
						 
						
							
							
								
								Fix checking by adding template to IPO storage.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18886 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-04 12:56:15 +00:00  
				
					
						
							
							
								 
						
							
							
								206c0842b3 
								
							
								 
							
						 
						
							
							
								
								Re-implement strAmount() as a wrapper to standard function.  
							
							... 
							
							
							
							Thanks to Nicholas for pointing this out!
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18882 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-04 10:35:05 +00:00  
				
					
						
							
							
								 
						
							
							
								98b82a1de2 
								
							
								 
							
						 
						
							
							
								
								Do not display the decimal point if it is not necessary.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18875 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:28:50 +00:00  
				
					
						
							
							
								 
						
							
							
								84764f325b 
								
							
								 
							
						 
						
							
							
								
								Implement and use new silver-to-string function.  
							
							... 
							
							
							
							Also take this opportunity to fix the bank profit calculations.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18874 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:28:40 +00:00  
				
					
						
							
							
								 
						
							
							
								eba15f3400 
								
							
								 
							
						 
						
							
							
								
								Update messages and TODOs.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18873 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:28:30 +00:00  
				
					
						
							
							
								 
						
							
							
								04d5b13678 
								
							
								 
							
						 
						
							
							
								
								Temporarily disable the broken ATMs.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18871 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:28:11 +00:00  
				
					
						
							
							
								 
						
							
							
								c5ae44f735 
								
							
								 
							
						 
						
							
							
								
								Attempt to fix 'checks' command.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18870 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:28:02 +00:00  
				
					
						
							
							
								 
						
							
							
								d32cc6b138 
								
							
								 
							
						 
						
							
							
								
								Improve deposit command.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18869 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:27:52 +00:00  
				
					
						
							
							
								 
						
							
							
								d929037033 
								
							
								 
							
						 
						
							
							
								
								Reimplement depositing money.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18868 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:27:40 +00:00  
				
					
						
							
							
								 
						
							
							
								b1c420da44 
								
							
								 
							
						 
						
							
							
								
								Rename profit resetting command to make more sense.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18867 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:27:30 +00:00  
				
					
						
							
							
								 
						
							
							
								611bfca465 
								
							
								 
							
						 
						
							
							
								
								Add TODOs.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18866 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:27:21 +00:00  
				
					
						
							
							
								 
						
							
							
								584da84ab8 
								
							
								 
							
						 
						
							
							
								
								Improve 'balance' output.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18865 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:27:10 +00:00  
				
					
						
							
							
								 
						
							
							
								a33156dfca 
								
							
								 
							
						 
						
							
							
								
								Finish moving commands to separate functions.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18864 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:27:00 +00:00  
				
					
						
							
							
								 
						
							
							
								c0f1d72783 
								
							
								 
							
						 
						
							
							
								
								Implement common utility methods.  
							
							... 
							
							
							
							Reimplment 'balance' and 'withdraw' using the new utility methods. Move
'deposit' into its own function but don't touch it yet.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18863 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:26:50 +00:00  
				
					
						
							
							
								 
						
							
							
								0528e6f203 
								
							
								 
							
						 
						
							
							
								
								Correctly close bank and fix 'profits' display.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18862 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:26:39 +00:00  
				
					
						
							
							
								 
						
							
							
								0c76ba7826 
								
							
								 
							
						 
						
							
							
								
								Implement new withdrawal command.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18858 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:26:00 +00:00  
				
					
						
							
							
								 
						
							
							
								342ac2430a 
								
							
								 
							
						 
						
							
							
								
								Offload trivial commands to their separate functions.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18857 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:25:47 +00:00  
				
					
						
							
							
								 
						
							
							
								75a5fcd61c 
								
							
								 
							
						 
						
							
							
								
								Stick help message in separate function.  
							
							... 
							
							
							
							git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18856 282e977c-c81d-0410-88c4-b93c2d0d6712 
							
						 
						
							2013-08-03 00:25:37 +00:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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