un-redirecting stdout and stderr
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13623 282e977c-c81d-0410-88c4-b93c2d0d6712master
							parent
							
								
									e0e54c995b
								
							
						
					
					
						commit
						c41bb9c8df
					
				|  | @ -1,5 +1,4 @@ | |||
| import Crossfire,sys | ||||
| sys.stderr=open('/tmp/output.log','w') | ||||
| Params=Crossfire.ScriptParameters() | ||||
| whoami=Crossfire.WhoAmI() | ||||
| Arch=None | ||||
|  |  | |||
|  | @ -1,5 +1,4 @@ | |||
| import Crossfire,random,math,sys | ||||
| sys.stdout=sys.stderr=open('/tmp/Ice.out','a') | ||||
| import CFDataBase | ||||
| CFDB=CFDataBase.CFDataBase("PShop") | ||||
| 
 | ||||
|  | @ -148,7 +147,8 @@ elif Params=="PuddleDeath": | |||
| 	for i in range(Fogs): | ||||
| 		 | ||||
| 		z=whoami.CreateObject("temp_fog") | ||||
| 		z.Weight=(3+random.randint(1,10+int(math.sqrt(FogsTmp)))) | ||||
| 		z.Speed+=0.3 | ||||
| 		z.Weight=(3+random.randint(1,10+int(math.sqrt(FogsTmp))))*3 | ||||
| 		Rand=random.randint(1,2+int(FogsTmp/10)) | ||||
| 		z.Speed*=Rand | ||||
| 		z.Weight*=int(Rand/10)+1 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue