summaryrefslogtreecommitdiff
path: root/tools/vs9-to-vs8.php
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 00:26:36 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 00:26:36 +0000
commitbfb15e68b763800587fa57727fc4baaa0e5e2800 (patch)
treecc8f52cc370b811d5662c6c69fcabb1c94a1207f /tools/vs9-to-vs8.php
parent9c8991447ced838c88037dbbf76cf04a970e25dd (diff)
downloadhercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.tar.gz
hercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.tar.bz2
hercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.tar.xz
hercules-bfb15e68b763800587fa57727fc4baaa0e5e2800.zip
- Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);
- Merged @killmonster2 with @killmonster tid:73632; - Fixed bugreport:6764, auction code was misplaced; - Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix; - Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy; - Fixed bugreport:6837, some code was duplicated; - Fixed bugreport:6768, removed some leftovers from TXT removal; - Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map; - Fixed wrong bit field on ai field in mob_data structure. Credits to Ind. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'tools/vs9-to-vs8.php')
-rw-r--r--tools/vs9-to-vs8.php46
1 files changed, 0 insertions, 46 deletions
diff --git a/tools/vs9-to-vs8.php b/tools/vs9-to-vs8.php
deleted file mode 100644
index 9cc05fb76..000000000
--- a/tools/vs9-to-vs8.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
- // Visual Studio 9 to Visual Studio 8 project file converter
- // author : theultramage
- // version: 16. august 2008
-?>
-<?php
- fwrite(STDERR, "VS9 to VS8 project file converter".PHP_EOL);
- fwrite(STDERR, "---------------------------------".PHP_EOL);
- if( @$_SERVER["argc"] < 2 )
- {
- fwrite(STDERR, "Usage: {$_SERVER["argv"][0]} file.vcproj".PHP_EOL);
- exit();
- }
-
- $input = @$_SERVER["argv"][1];
- $data = file($input);
- if( $data === FALSE )
- die("invalid input file '".$input."'");
-
- fwrite(STDERR, "Converting {$input}...".PHP_EOL);
-
- $eol = ( strstr($data[0], "\r\n") !== FALSE ) ? "\r\n" : "\n";
- define("EOL", $eol);
-
- foreach( $data as $line )
- {
- if( strstr($line,'Version="9,00"') !== FALSE )
- fwrite(STDOUT, "\t".'Version="8,00"'.EOL);
- else
- if( strstr($line,'Version="9.00"') !== FALSE )
- fwrite(STDOUT, "\t".'Version="8.00"'.EOL);
- else
- if( strstr($line,'TargetFrameworkVersion') !== FALSE )
- ;
- else
- if( strstr($line,'RandomizedBaseAddress') !== FALSE )
- ;
- else
- if( strstr($line,'DataExecutionPrevention') !== FALSE )
- ;
- else // default
- fwrite(STDOUT, $line);
- }
-
- fwrite(STDERR, "done.".PHP_EOL);
-?>