- Timestamp:
- 06/12/08 00:09:35 (14 years ago)
- Location:
- dev/common/includes
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.kill.php
r326 r327 202 202 $mail .= substr(str_replace('-', '.' , $this->getTimeStamp()), 0, 16)."\r\n\r\n"; 203 203 $mail .= "Victim: ".$this->getVictimName()."\r\n"; 204 $mail .= "Corp: ".$this->getVictimCorpName()."\r\n"; 204 205 $mail .= "Alliance: ".$this->getVictimAllianceName()."\r\n"; 205 $mail .= " Corp: ".$this->getVictimCorpName()."\r\n";206 $mail .= "Faction: NONE\r\n"; 206 207 $ship = $this->getVictimShip(); 207 208 $mail .= "Destroyed: ".$ship->getName()."\r\n"; … … 239 240 { 240 241 $mail .= "Security: ".$inv->getSecStatus()."\r\n"; 242 $mail .= "Corp: ".$corp->getName()."\r\n"; 241 243 $mail .= "Alliance: ".$alliance->getName()."\r\n"; 242 $mail .= " Corp: ".$corp->getName()."\r\n";244 $mail .= "Faction: NONE\r\n"; 243 245 $mail .= "Ship: ".$ship->getName()."\r\n"; 244 246 $mail .= "Weapon: ".$weapon->getName()."\r\n"; -
dev/common/includes/class.parser.php
r325 r327 103 103 $dmgtaken = trim($matches[1]); 104 104 $this->dmgtaken = $dmgtaken; 105 } 106 $empyrean = false; 107 if (preg_match("/Faction: (.*)/", $header, $matches)) 108 { 109 $empyrean = true; 105 110 } 106 111 … … 256 261 else 257 262 { 258 preg_match("/Alliance: (.*)/", $involved[$i + 2], $matches); 259 $ianame = $matches[1]; 260 261 preg_match("/Corp: (.*)/", $involved[$i + 3], $matches); 262 $icname = $matches[1]; 263 264 preg_match("/Ship: (.*)/", $involved[$i + 4], $matches); 265 $isname = $matches[1]; 266 267 preg_match("/Weapon: (.*)/", $involved[$i + 5], $matches); 268 $iwname = $matches[1]; 269 $i += 6; 263 if ($empyrean) 264 { 265 preg_match("/Corp: (.*)/", $involved[$i + 2], $matches); 266 $icname = $matches[1]; 267 268 preg_match("/Alliance: (.*)/", $involved[$i + 3], $matches); 269 $ianame = $matches[1]; 270 271 preg_match("/Ship: (.*)/", $involved[$i + 5], $matches); 272 $isname = $matches[1]; 273 274 preg_match("/Weapon: (.*)/", $involved[$i + 6], $matches); 275 $iwname = $matches[1]; 276 $i += 7; 277 } 278 else 279 { 280 preg_match("/Alliance: (.*)/", $involved[$i + 2], $matches); 281 $ianame = $matches[1]; 282 283 preg_match("/Corp: (.*)/", $involved[$i + 3], $matches); 284 $icname = $matches[1]; 285 286 preg_match("/Ship: (.*)/", $involved[$i + 4], $matches); 287 $isname = $matches[1]; 288 289 preg_match("/Weapon: (.*)/", $involved[$i + 5], $matches); 290 $iwname = $matches[1]; 291 $i += 6; 292 } 293 270 294 if ($dmgtaken) 271 295 {