Don't redirect output.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18253 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2012-06-17 10:31:19 +00:00
parent 2abce25eb2
commit fd7f3fb07a
2 changed files with 0 additions and 8 deletions

View File

@ -34,8 +34,6 @@ Skuds="Imperial-Bank-Of-Skud"+str("Imperial-Bank-Of-Skud".__hash__()) #account t
activator = Crossfire.WhoIsActivator()
activatorname = activator.Name
whoami = Crossfire.WhoAmI()
import sys
sys.stdout=sys.stderr=open('/tmp/checks.log','w')
x = activator.X
y = activator.Y
CoinTypes={"SILVER":1,"GOLD":10,"PLATINUM":50,"JADE":5000,"AMBERIUM":500000, "IMPERIAL NOTE":10000,"10 IMPERIAL NOTE":100000,"100 IMPERIAL NOTE":1000000}
@ -233,8 +231,6 @@ if (whoami.Name != "Deposit Box"):
message="The Imperial Bank of Skud has made "+str(bank.getbalance(Skuds)*0.029394968)+" pounds sterling in profit to date."
elif text[0] == 'deposit':
import sys
sys.stderr=open('/tmp/output.log','w')
if len(text)==2:
if text[1]=='check':
whoami.Say('x')

View File

@ -4,8 +4,6 @@ import Crossfire,sys,datetime
whoami=Crossfire.WhoAmI()
activator=Crossfire.WhoIsActivator()
import CFDataBase,CFBank
#sys.stderr=open("/tmp/output.log",'a')
sys.stderr=sys.stdout=open("/tmp/output.log2",'a')
#for i in dir(CFDataBase):
#print i
#print CFDataBase.__file__
@ -19,7 +17,6 @@ pshop=whoami.Map.Path.replace("/","_")
print CFDB.get(pshop)
print pshop
sys.stdout.flush()
@ -173,7 +170,6 @@ if whoami.Name.find("Store")>-1:
t.Title="Python"
t.Slaying="/python/pshop/Ice.py"
GlassReplica.Speed=0.0010000000475
sys.stderr=open('/tmp/output.log', 'w')
GlassReplica.Face=(str(Item.Face))
#GlassReplica.Material=(96,'ice')