<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chris Valleriani&#039;s Blog</title>
	<atom:link href="http://chrisvall.com/feed" rel="self" type="application/rss+xml" />
	<link>http://chrisvall.com</link>
	<description>A small coding &#38; gaming blog for everything and anything</description>
	<lastBuildDate>Wed, 29 Jun 2011 00:15:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Mud Map Designer v1.02</title>
		<link>http://chrisvall.com/coding/mud-map-designer-v1-02</link>
		<comments>http://chrisvall.com/coding/mud-map-designer-v1-02#comments</comments>
		<pubDate>Wed, 29 Jun 2011 00:15:04 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Creator]]></category>
		<category><![CDATA[Designer]]></category>
		<category><![CDATA[Map]]></category>
		<category><![CDATA[Mud]]></category>
		<category><![CDATA[Mud Map Creator]]></category>
		<category><![CDATA[Mud Map Design]]></category>
		<category><![CDATA[MUSH]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=322</guid>
		<description><![CDATA[This is a project I did a few months back.. I didn&#8217;t see many mud map editors that I could use overall, alot of them were basic ASCII editors, or didn&#8217;t work on 64 bit processors because of the removal of support for 16 bit applications.  I tend to help out in a MUD based [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>This is a project I did a few months back.. I didn&#8217;t see many mud map editors that I could use overall, alot of them were basic ASCII editors, or didn&#8217;t work on 64 bit processors because of the removal of support for 16 bit applications.  I tend to help out in a MUD based games as well.</p>
<p><strong>REQUIRES .NET FRAMEWORK 3.5</strong> &lt;&#8211; Should come with Vista/Win 7.. If you need it, you can get it at the microsoft website <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;displaylang=en">here</a>.</p>
<p>My map designer should be pretty handy for builders and people who just like to plot out mud maps in general. I&#8217;ve made it so you can add and change the map icons it uses on the fly, so it is suitable for any game.. There are two current icon sets, &#8220;Kaos&#8221;, and &#8220;Basic&#8221;. Feel free to add more and post them! By default, the render screen is rendered in &#8220;Normal&#8221;, and the export map options is rendered in &#8220;High&#8221;. You can change both at any time in the options.</p>
<p><strong>Here are the features worth saying:</strong><br />
-You can save, load, or export maps. You can export maps into one of the following image types: PNG, GIF, JPG, BMP, or TIF.<br />
-Export &amp; Render Options to make the map stand out more with cleaner graphics/smoother design!<br />
-W/S/D/A keys for generic map placement.<br />
-Ability to make large maps. Use the right mouse to pan the screen.<br />
-Ability to resize current view from 35% to 150%.<br />
-Map different levels in the same map file! This means you can level something large, such as towers with multiple room levels or basements.<br />
-Swap specific levels around!<br />
-Add special room &#8216;auroras&#8217; to make a specific room stand out.<br />
-Add labels, color them, size them.<br />
-Add room locks (Using the SHIFT + W/S/D/A key)<br />
-You can disable/enable draw mode to move around without drawing!<br />
-Full use of mouse control.<br />
-Quick slot keys for icons! Set with Shift+NUMBER. Use with just selecting a number from 0-9. You can also use the scroll mouse or &lt; and &gt; keys to adjust current icon (Or just select it!)</p>
<p><strong>Screenshots&nbsp;</p>
<p></strong></p>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>In-Game Screenshot Design</strong></p>
<p style="text-align: center;"><a href="http://chrisvall.com/wp-content/uploads/2011/06/MapEditor.png" rel="lightbox[322]"><img class="size-full wp-image-327 aligncenter" title="MapEditor" src="http://chrisvall.com/wp-content/uploads/2011/06/MapEditor.png" alt="" width="560" height="350" /></a></p>
<p style="text-align: center;"><strong> Simple city export:</strong><a href="http://chrisvall.com/wp-content/uploads/2011/06/Terra.png" rel="lightbox[322]"><img class="size-full wp-image-326 aligncenter" title="Terra" src="http://chrisvall.com/wp-content/uploads/2011/06/Terra.png" alt="" width="441" height="698" /></a></p>
<p style="text-align: center;"><strong><br />
Use of  multilevel dungeons and different icon skins!</strong><a href="http://chrisvall.com/wp-content/uploads/2011/06/MapExample.png" rel="lightbox[322]"><img class="size-full wp-image-325 aligncenter" title="MapExample" src="http://chrisvall.com/wp-content/uploads/2011/06/MapExample.png" alt="" width="169" height="420" /></a></p>
<p style="text-align: center;"><strong>Keys:</strong><a href="http://chrisvall.com/wp-content/uploads/2011/06/Terra.png" rel="lightbox[322]"><br />
</a><a href="http://chrisvall.com/wp-content/uploads/2011/06/keys.png" rel="lightbox[322]"><img class="aligncenter size-full wp-image-324" title="keys" src="http://chrisvall.com/wp-content/uploads/2011/06/keys.png" alt="" width="414" height="563" /></a></p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><strong><font size=3>Download <a href="http://realmsofkaos.net/downloads/MapDesignerSetup.exe">HERE</a>!</font><br />
</strong>Please view the &#8216;keys&#8217; in the HELP area to know what you are doing!!!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fcoding%2Fmud-map-designer-v1-02&amp;title=Mud%20Map%20Designer%20v1.02"><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/coding/mud-map-designer-v1-02/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Modified: Solmetra Flash Uploader v1.02 (to multi-file uploader) &amp; A quick way to pass variables.</title>
		<link>http://chrisvall.com/coding/flash/modified-solmetra-flash-uploader-v1-02-multi-uploader-a-quick-way-to-pass-variables</link>
		<comments>http://chrisvall.com/coding/flash/modified-solmetra-flash-uploader-v1-02-multi-uploader-a-quick-way-to-pass-variables#comments</comments>
		<pubDate>Sun, 29 May 2011 11:05:31 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[changed]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[fixed]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[multi]]></category>
		<category><![CDATA[overall]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[solmetra]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[uploader]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=301</guid>
		<description><![CDATA[My boss was looking around for flash uploaders, and he had his mindset on the Solmetra Flash Uploader v1.02. This flash uploader is very nice, specially because it supports custom GUIs! The uploader overall has a nice/clean feel to it. There were some minor things that needed to be fixed, and some extra features I [...]


Related posts:<ol><li><a href='http://chrisvall.com/coding/visualbasicnet-csv-file-quotation-text-qualifier' rel='bookmark' title='Permanent Link: VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!'>VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>My boss was looking around for flash uploaders, and he had his mindset on the <a href="http://solmetra.com/en/disp.php/en_products/flash_uploader/uploader_intro">Solmetra Flash Uploader v1.02</a>. This flash uploader is very nice, specially because it supports custom GUIs! The uploader overall has a nice/clean feel to it.</p>
<p><img class="size-full wp-image-315 aligncenter" title="2flashuploader" src="http://chrisvall.com/wp-content/uploads/2011/05/2flashuploader.png" alt="" width="508" height="53" /></p>
<p>There were some minor things that needed to be fixed, and some extra features I really wanted it to do. Overall this would be my first time working with flash, and it wasn&#8217;t too bad overall. Please note, this isn&#8217;t a complete change yet, and was only aimed for changes I needed. If there is enough request for it, I&#8217;ll fix it all up to be toggable for some of the new settings I&#8217;ve added.</p>
<p>After finishing uploading file, it would not allow you to upload another until the page was refreshed. I wanted to base it more off a general uploader rather then a one time upload. So it was modified to handle this. The next big change was I made it handle multi-file uploads! Now you can add 10 or 20 files and have them upload all at once! Very handy!</p>
<p>One more problem I was having was sending a static variable to the page it processed. Because the flash application is calling the PHP page, it can&#8217;t use $_session variables from what I saw. A simple solution was to pass a $_GET variable through the defined &#8216;SolmetraUploader&#8217;. I&#8217;ve shown an example of this in demo3.php as well.</p>
<p>Some things that have been changed or fixed:<br />
-Fixed the demo files for examples, added a &#8216;special&#8217; demo that handles unzipping a zip file, and has a quick way to pass a variable.<br />
-Issue where it would ignore your file size specifications regardless of if you indicated it in the XML or not using PHP. There is now a toggle in the CONFIG if you want it to use PHPs limit, or your specified limit.<br />
-Fixed cancel button. After canceling you may upload again.<br />
-Changed the way the flash uploader &#8216;completes&#8217;. After 4 seconds of displaying &#8216;Done!&#8217;, it will reset it self, allowing you to reupload.<br />
-Some defaults have been changed. Again, I wanted a general multi-uploader, nothing more.</p>
<p>I&#8217;m pretty happy with how it turned overall so far. I may continue working on this if there is some requests to it. Here is a demo of the changes and the actual flash application, which allows multi uploads and shows some XML examples. Please note, it doesn&#8217;t actually upload to my server, it is just in DEMO MODE (5 seconds demo):</p>
<p><a href="http://chrisvall.com/examples/FlashUploader/demo/demo.php">Click here to view the demo!</a>!</p>
<p>Here are the downloads:<br />
<a href="http://chrisvall.com/examples/FlashUploader/flashuploader102m.zip">Main Download</a><br />
<a href="http://chrisvall.com/examples/FlashUploader/flashuploader102m-source.zip">Source</a></p>
<p>If you liked this product, you can check out the original product, or more products at <a href="http://www.spaweditor.com/">Solmetra</a>!</p>
<p>Hope this helps someone!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fcoding%2Fflash%2Fmodified-solmetra-flash-uploader-v1-02-multi-uploader-a-quick-way-to-pass-variables&amp;title=Modified%3A%20Solmetra%20Flash%20Uploader%20v1.02%20%28to%20multi-file%20uploader%29%20%26%23038%3B%20A%20quick%20way%20to%20pass%20variables."><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>Related posts:<ol><li><a href='http://chrisvall.com/coding/visualbasicnet-csv-file-quotation-text-qualifier' rel='bookmark' title='Permanent Link: VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!'>VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/coding/flash/modified-solmetra-flash-uploader-v1-02-multi-uploader-a-quick-way-to-pass-variables/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!</title>
		<link>http://chrisvall.com/coding/visualbasicnet-csv-file-quotation-text-qualifier</link>
		<comments>http://chrisvall.com/coding/visualbasicnet-csv-file-quotation-text-qualifier#comments</comments>
		<pubDate>Thu, 10 Feb 2011 19:21:27 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[double]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[handle]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[qualifiers]]></category>
		<category><![CDATA[quote]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[text qualifier]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=285</guid>
		<description><![CDATA[Text qualifiers are used to let a program know that anything between a certain character should be interpreted as it is (Normally text). If you don&#8217;t get what &#8216;adding double quote text qualifier in a csv file&#8217; means; In simple terms this will change a line like this: email,fname,lname,ipaddress to: &#8220;email&#8221;,&#8221;fname&#8221;,&#8221;lname&#8221;,&#8221;ipaddress&#8221;. Very simple. I recently [...]


Related posts:<ol><li><a href='http://chrisvall.com/coding/directx-trouble-with-double-values-rounding-offnot-returning-a-proper-precision-value-after-initializing-directx' rel='bookmark' title='Permanent Link: DirectX: Trouble with double values not returning a proper precision value after initializing DirectX?'>DirectX: Trouble with double values not returning a proper precision value after initializing DirectX?</a></li>
<li><a href='http://chrisvall.com/coding/php-randomizing-a-text-file-using-php-mysql-very-quickly-and-efficiently' rel='bookmark' title='Permanent Link: PHP: Randomizing a text file using PHP + MYSQL, quickly &#038; efficient'>PHP: Randomizing a text file using PHP + MYSQL, quickly &#038; efficient</a></li>
<li><a href='http://chrisvall.com/coding/php-easy-to-use-logging-class-for-your-scripts' rel='bookmark' title='Permanent Link: PHP: Easy to use logging class for your scripts.'>PHP: Easy to use logging class for your scripts.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Text qualifiers are used to let a program know that anything between a certain character should be interpreted as it is (Normally text). If you don&#8217;t get what &#8216;adding double quote text qualifier in a csv file&#8217; means; In simple terms this will change a line like this: <strong>email,fname,lname,ipaddress</strong> to: <strong>&#8220;email&#8221;,&#8221;fname&#8221;,&#8221;lname&#8221;,&#8221;ipaddress&#8221;</strong>. Very simple.</p>
<p>I recently found out one of my clients could not add double quotes to his CSV file that contained data he needed to upload. I looked around and the only actual thing I could find was a command prompt style replacer, which doesn&#8217;t suite a clients need for simplicity. Programs like Microsoft Excel seem to not want to add double quote text qualifiers in your CSV files, and in some cases will remove the automatically. The client did not have ACCESS, which can actually do this, so it was a problem for him. The download links will be below.</p>
<p><center><a href="http://chrisvall.com/wp-content/uploads/2011/02/process.png" rel="lightbox[285]"><img src="http://chrisvall.com/wp-content/uploads/2011/02/process.png" alt="" title="process" width="340" height="154" /></a></center></p>
<p>I quickly created my own little VB.NET program to handle adding double quote text qualifiers that is user friendly. It will add double quotes to the beginning, end, and between each delimiter you specify. Currently, there are only a set group of delimiters to pick from, and I didn&#8217;t want to get fancy (Custom delimiter) to confuse the customer. This program will in no way ever overwrite a existing file as well so it should be safe to handle with. If you specify the file &#8220;Test.csv&#8221;, the output file will be &#8220;Test-1.csv&#8221;, or &#8220;Test-2.csv&#8221;, etc, depending on what &#8216;number&#8217; is a free file. It will also handle VERY LARGE FILES because it processes per line rather then the traditional/stupid way of saving everything to an array. This means it is also very fast! I did not add a process bar however as I didn&#8217;t want to bother counting the lines before processing a file. More time wasted. Instead, it uses a simple label to display the status of where it is at.</p>
<p>I will provide the source so you can modify the program at will and make it even more fancier. This is very basic and I whipped it up in under 20 minutes. It should contain basic comments so you know what everything does. Hopefully this helps someone!</p>
<p>&#8212;</p>
<p><strong>Here is the executable which can be run in Windows 7/Windows Vista. Should work in XP as well: <a href=http://chrisvall.com/examples/QuoteAdder/QuoteAdder.zip>QuoteAdder v1</a><br />
Here is the source if you want to modify it or check it out: <a href=http://chrisvall.com/examples/QuoteAdder/QuoteAdder-Source.zip>QuoteAdder Source</a></strong></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fcoding%2Fvisualbasicnet-csv-file-quotation-text-qualifier&amp;title=VB.NET%2FCSV%20File%20%26%238211%3B%20How%20to%20add%20%26%238216%3BDouble%20quote%20text%20qualifiers%26%238217%3B%20quickly%20and%20easily%21"><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>Related posts:<ol><li><a href='http://chrisvall.com/coding/directx-trouble-with-double-values-rounding-offnot-returning-a-proper-precision-value-after-initializing-directx' rel='bookmark' title='Permanent Link: DirectX: Trouble with double values not returning a proper precision value after initializing DirectX?'>DirectX: Trouble with double values not returning a proper precision value after initializing DirectX?</a></li>
<li><a href='http://chrisvall.com/coding/php-randomizing-a-text-file-using-php-mysql-very-quickly-and-efficiently' rel='bookmark' title='Permanent Link: PHP: Randomizing a text file using PHP + MYSQL, quickly &#038; efficient'>PHP: Randomizing a text file using PHP + MYSQL, quickly &#038; efficient</a></li>
<li><a href='http://chrisvall.com/coding/php-easy-to-use-logging-class-for-your-scripts' rel='bookmark' title='Permanent Link: PHP: Easy to use logging class for your scripts.'>PHP: Easy to use logging class for your scripts.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/coding/visualbasicnet-csv-file-quotation-text-qualifier/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>X3: Terran Conflict Review</title>
		<link>http://chrisvall.com/games/reviews/x3-terran-conflict-review</link>
		<comments>http://chrisvall.com/games/reviews/x3-terran-conflict-review#comments</comments>
		<pubDate>Tue, 01 Feb 2011 10:29:54 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[simulation]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[Space Battle]]></category>
		<category><![CDATA[Spaceship]]></category>
		<category><![CDATA[X3: Terran Conflict]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=274</guid>
		<description><![CDATA[Been awhile since my last post, so here we go. I&#8217;ve had the above game for quite some time now, but I haven&#8217;t actually played it until recently. It&#8217;s a pretty interesting game, not for the storyline, but more for the sandbox gameplay. The first thing I saw with X3: Terran Conflict are the graphics; [...]


Related posts:<ol><li><a href='http://chrisvall.com/games/infinite-space-review-ds' rel='bookmark' title='Permanent Link: Infinite Space Review (DS)'>Infinite Space Review (DS)</a></li>
<li><a href='http://chrisvall.com/games/star-trek-online-review-pc' rel='bookmark' title='Permanent Link: Star Trek Online Review (PC)'>Star Trek Online Review (PC)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Been awhile since my last post, so here we go. I&#8217;ve had the above game for quite some time now, but I haven&#8217;t actually played it until recently. It&#8217;s a pretty interesting game, not for the storyline, but more for the sandbox gameplay. </p>
<p><center><a href="http://chrisvall.com/wp-content/uploads/2011/02/944742_20080825_screen010.jpg" rel="lightbox[274]"><img src="http://chrisvall.com/wp-content/uploads/2011/02/944742_20080825_screen010-300x240.jpg" alt="" title="944742_20080825_screen010" width="300" height="240" class="alignnone size-medium wp-image-279" /></a></center></p>
<p>The first thing I saw with X3: Terran Conflict are the graphics; the game is simply beautiful and stunning. Everything was very detailed, from the ships, to the planets, and simply the space around you. There is a ton of eye candy in this game.</p>
<p>The game is hard to learn at first, mainly due to there being so many features in the actual game and not enough tutorial lessons. It starts off like any game, you have a small ship with basic weapons, and you need to grow and become powerful. The storyline is really only there to unlock special areas and ships/weapons, but otherwise serves no purpose. Again, as stated above, the storyline is lacking and it&#8217;s often repetitive. The voices in the game for the storyline and a few other things are so pathetic, to the point where I&#8217;m bursting out laughing. Overall though you get used to it though, and it&#8217;s gone as fast as it came due to the short storyline.</p>
<p>The game vastly accelerates as a sandbox mode game, (as in a &#8216;do what you want&#8217; type game rather then &#8216;follow this story&#8217;). You can purchase ships ranging from &#8216;scout fighters&#8217; all the way up to &#8216;large carriers&#8217; which is very fun on it&#8217;s own, simply because most other games similar to this only allow the purchase only fighters. You can also have more then one ship of course, which means you&#8217;ll slowly build up a fleet, then a empire of ships, if everything goes well. Deciding what weapons and equipment to put on your ships also effect the outcome of your battles, you can go for something that breaks through larger ships more, or something more for fighter combat/defense. There are SEVERAL ships and weapons, well more then you&#8217;ll ever get in the game, which is great because it brings alot of choices to pick from. Normally you will start off doing simple missions until you can get a few freighters to haul around trading goods for cash, or enough to be able to take on larger combat missions.</p>
<p><center><a href="http://chrisvall.com/wp-content/uploads/2011/02/x3tc_screen_032.jpg" rel="lightbox[274]"><img src="http://chrisvall.com/wp-content/uploads/2011/02/x3tc_screen_032-300x168.jpg" alt="" title="x3tc_screen_032" width="300" height="168" class="alignnone size-medium wp-image-276" /></a></center></p>
<p>Eventually you&#8217;ll end up with a large fleet and you&#8217;ll begin to wonder what else you can do in the game. You&#8217;ll find out you can actually purchase stations ranging from headquarters to resource generating stations. You&#8217;ll need to mange the stations properly, and give them the proper resources to create goods (again which is best using freighters to import/export goods.). You&#8217;ll also need to protect your stations using your own ships or by purchasing weapon platforms, as losing a station can be a hard blow on your cash as you won&#8217;t see the money returned to you if that does happen. It can be difficult at first, but you get used to it pretty quickly.</p>
<p>Space combat is pretty well on it&#8217;s own, it takes a little bit to master when fighting the smaller/faster ships, as they can be hard to target, but it&#8217;s not super difficult. You&#8217;ll most likely end up dying the first few times you play, so make sure you save often! At the start, you&#8217;ll tend to fight a group called the Xenon, which is simply mechanical race of AI. You&#8217;ll meet with other races like the Kha&#8217;ak, Pirates, and several of the generic races. You can chose to be a hero or a pirate, depending on the actions you take, such as defending there sectors, or trying to steal there cargo. Each race has there own likes/hates towards you, so doing several things to one race won&#8217;t affect the outcome of how another race looks at you.</p>
<p><center><a href="http://chrisvall.com/wp-content/uploads/2011/02/x3screen00163.jpg" rel="lightbox[274]"><img src="http://chrisvall.com/wp-content/uploads/2011/02/x3screen00163-300x225.jpg" alt="" title="x3screen00163" width="300" height="225" class="alignnone size-medium wp-image-275" /></a></center></p>
<p>There are a few things that I&#8217;ll quickly mention, such as being able to capture ships using marines, having specific wings, using turrets, being able to upgrade speed/turning/cargo, equipment such as mining drills, navigation systems, and combat systems, and other fun things.</p>
<p>One thing that this game lacks is online play, it&#8217;s one major downfall that refrained me from playing this game until now. The game however, as a single player game, is still well on it&#8217;s own though. The great thing about this game is that you can script mods in game! There are several mods I would recommend, even before playing &#8216;vanilla&#8217; to help out with balance. The first three mods I would get right off the bat before playing even the vanilla mod would be <a href="http://forum.egosoft.com/viewtopic.php?t=271003">Ship Rebalance Mod</a>, the next would be <a href="http://www.thexuniverse.com/threads/20063-Combat-Mod-4:>Combat Mod 4</a> and the final one I would suggest is grabbing is <a href="http://forum.egosoft.com/viewtopic.php?t=269847">X-Tra Ship/Station Pack</a>. The above three mods will vastly help in balancing all the ships and making them unique, it is HIGHLY recommended to get! There are of course, several other different types of mods ranging from anything you can think up, which you can find most of them at the <a href="http://forum.egosoft.com/viewtopic.php?t=216690">Egosoft forums</a>. The mods themselves will help with aspects of the game, but it&#8217;s always highly recommended to get what &#8216;mods&#8217; you want first after trying the game out, as adding enough mods will most likely break your old game saves, so you&#8217;ll need to be careful. Most mods won&#8217;t do this however except major mods, like the ones I&#8217;ve posted above. </p>
<p>Just a note, if you &#8216;do&#8217; play the single player quest missions, expect that you won&#8217;t be able to complete it by going in a linear path through the whole storyline due to some of the missions requiring large ship destruction, which you simply won&#8217;t do with your tiny starter ship. Unfortunately, they don&#8217;t tell you this, so you often end up going to your doom. I would suggest doing a mission or two here and there, but solely focus on making your empire in the game before hand. There is also one mode, called &#8216;DEAD IS DEAD&#8217;, meaning if you die, you die permanently, overall it&#8217;s just a simple fun way of playing, but in no means would I suggest this mode unless you know what you are doing. Chances are you &#8216;WILL&#8217; die several times before you learn the game.</p>
<p><center><a href="http://chrisvall.com/wp-content/uploads/2011/02/X3_Terran_Conflict_PC_15.jpg" rel="lightbox[274]"><img src="http://chrisvall.com/wp-content/uploads/2011/02/X3_Terran_Conflict_PC_15-300x168.jpg" alt="" title="X3_Terran_Conflict_PC_15" width="300" height="168" class="alignnone size-medium wp-image-282" /></a></center></p>
<p>Overall the game is worth taking a look at if you have a bit of patience of learning, it will definitely be worth your time if you do. This game can suck up many hours of your life! But &#8212; don&#8217;t buy the game for a storyline, buy it for a sandbox style game that has many things to do!</p>
<p><p><strong class="rating">Rating:</strong>&nbsp;&#9733;&#9733;&#9733;&#9733;&#9734;&nbsp;</p> 4/5</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fgames%2Freviews%2Fx3-terran-conflict-review&amp;title=X3%3A%20Terran%20Conflict%20Review"><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>Related posts:<ol><li><a href='http://chrisvall.com/games/infinite-space-review-ds' rel='bookmark' title='Permanent Link: Infinite Space Review (DS)'>Infinite Space Review (DS)</a></li>
<li><a href='http://chrisvall.com/games/star-trek-online-review-pc' rel='bookmark' title='Permanent Link: Star Trek Online Review (PC)'>Star Trek Online Review (PC)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/games/reviews/x3-terran-conflict-review/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP: Easy to use logging class for your scripts.</title>
		<link>http://chrisvall.com/coding/php-easy-to-use-logging-class-for-your-scripts</link>
		<comments>http://chrisvall.com/coding/php-easy-to-use-logging-class-for-your-scripts#comments</comments>
		<pubDate>Wed, 22 Sep 2010 20:29:56 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[fp]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[handle]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[logfile]]></category>
		<category><![CDATA[logger]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[logging system]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=265</guid>
		<description><![CDATA[Often for my work I am always having to add logging to most of my scripts so I had to create a simple plug and play script that will simply things to do this for me. This script below is rather clean and easy to handle your logging needs. The class also handles timestamps when [...]


Related posts:<ol><li><a href='http://chrisvall.com/coding/php-how-to-get-a-random-image-to-display-from-a-specific-folder' rel='bookmark' title='Permanent Link: PHP: How to get a random image to display from a specific folder'>PHP: How to get a random image to display from a specific folder</a></li>
<li><a href='http://chrisvall.com/coding/php-gif-animation-splitter-split-any-gif-animiations-frame-by-frame-properly' rel='bookmark' title='Permanent Link: PHP: GIF animation splitter (Split any GIF animiations &#8211; frame by frame properly!)'>PHP: GIF animation splitter (Split any GIF animiations &#8211; frame by frame properly!)</a></li>
<li><a href='http://chrisvall.com/coding/visualbasicnet-csv-file-quotation-text-qualifier' rel='bookmark' title='Permanent Link: VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!'>VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Often for my work I am always having to add logging to most of my scripts so I had to create a simple plug and play script that will simply things to do this for me. This script below is rather clean and easy to handle your logging needs. The class also handles timestamps when submitting data to write to the logfile, and the logfile itself extends the actual date, so you get a new log file each day. Very clean and easy to manage!</p>
<p>The script:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p265code3'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2653"><td class="code" id="p265code3"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> Logger <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000088;">$lName</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>  
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000088;">$handle</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>  
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #000088;">$logName</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$logName</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">lName</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$logName</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Define Log Name!</span>
		<span style="color: #b1b100;">else</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">lName</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Log&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Default name</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">logOpen</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Begin logging.</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> __destruct<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	       <a href="http://www.php.net/fclose"><span style="color: #990000;">fclose</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">handle</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Close when php script ends (always better to be proper.)</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">//Open Logfile</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">function</span> logOpen<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
		<span style="color: #000088;">$today</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y-m-d'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Current Date</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">handle</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/fopen"><span style="color: #990000;">fopen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">lName</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'_'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$today</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'a'</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Can't open &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">lName</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;_&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$today</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Open log file for writing, if it does not exist, create it.</span>
  	<span style="color: #009900;">&#125;</span> 
&nbsp;
  	<span style="color: #666666; font-style: italic;">//Write Message to Logfile</span>
  	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> logWrite<span style="color: #009900;">&#40;</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
		<span style="color: #000088;">$time</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'m-d-Y @ H:i:s -'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Grab Time</span>
		<a href="http://www.php.net/fwrite"><span style="color: #990000;">fwrite</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">handle</span><span style="color: #339933;">,</span> <span style="color: #000088;">$time</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot; &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$message</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Output to logfile</span>
  	<span style="color: #009900;">&#125;</span>
&nbsp;
  	<span style="color: #666666; font-style: italic;">//Clear Logfile</span>
  	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> logClear<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>  
		<a href="http://www.php.net/ftruncate"><span style="color: #990000;">ftruncate</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">handle</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Often the idea is to add the above coding to a loggerclass.php script or something similar, and use <code>&lt;?php include "loggerclass.php" ?&gt;</code> at the top of your scripts to include the logger class into any of your scripts. You can also just copy paste this to your current script without using an include. A few things to note:</p>
<p>-You don&#8217;t need to define the log file name, if you don&#8217;t, the name will be &#8220;Log_DATE&#8221; by default.<br />
-There are two functions that you can use after the logger is defined, which is write to logfile, and truncate the logfile. The file is opened when you call the class and closed when the php script is complete, so you don&#8217;t need to handle this!<br />
-If the logfile exists, it will append to the bottom of the logfile,  you do not need to worry about it erasing automatically!<br />
-If you are getting permission issues, chmod the directory where the logs are kept to 0777!</p>
<p>So now, if you wanted to use the logger class, an example of using it would be:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p265code4'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2654"><td class="code" id="p265code4"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$log</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Logger<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;MyLog&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
<span style="color: #000088;">$log</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">logWrite</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;This is a test message!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>This would create a logfile named &#8220;MyLog_Date&#8221; if it doesn&#8217;t exist, and add the message &#8220;This is a test message!&#8221; to it, with the timestamp. It would look something like this in If you do want to clear the logfile for some reason, you can do this with <code>logClear()</code>, and it will truncate the logfile for you! So the resulting output in the logfile, which would be named <strong>&#8220;MyLog_09-22-2010&#8243;</strong> would be: <strong>&#8220;09-22-2010 @ 15:49:55 &#8211;  This is a test message!&#8221;</strong>&#8230; Simple, right?</p>
<p>This should handle your logging needs, and keeps your coding short and clean! One line to open and start logging, and one line per message, which includes the timestamp automatically, nice!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fcoding%2Fphp-easy-to-use-logging-class-for-your-scripts&amp;title=PHP%3A%20Easy%20to%20use%20logging%20class%20for%20your%20scripts."><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>Related posts:<ol><li><a href='http://chrisvall.com/coding/php-how-to-get-a-random-image-to-display-from-a-specific-folder' rel='bookmark' title='Permanent Link: PHP: How to get a random image to display from a specific folder'>PHP: How to get a random image to display from a specific folder</a></li>
<li><a href='http://chrisvall.com/coding/php-gif-animation-splitter-split-any-gif-animiations-frame-by-frame-properly' rel='bookmark' title='Permanent Link: PHP: GIF animation splitter (Split any GIF animiations &#8211; frame by frame properly!)'>PHP: GIF animation splitter (Split any GIF animiations &#8211; frame by frame properly!)</a></li>
<li><a href='http://chrisvall.com/coding/visualbasicnet-csv-file-quotation-text-qualifier' rel='bookmark' title='Permanent Link: VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!'>VB.NET/CSV File &#8211; How to add &#8216;Double quote text qualifiers&#8217; quickly and easily!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/coding/php-easy-to-use-logging-class-for-your-scripts/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Oil Spill Live Cam Feed</title>
		<link>http://chrisvall.com/world-news/oil-spill-live-cam-feed</link>
		<comments>http://chrisvall.com/world-news/oil-spill-live-cam-feed#comments</comments>
		<pubDate>Mon, 28 Jun 2010 14:20:52 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[World News]]></category>
		<category><![CDATA[60k]]></category>
		<category><![CDATA[alaska]]></category>
		<category><![CDATA[barrels]]></category>
		<category><![CDATA[BP]]></category>
		<category><![CDATA[day]]></category>
		<category><![CDATA[gulf]]></category>
		<category><![CDATA[gulf spill]]></category>
		<category><![CDATA[just]]></category>
		<category><![CDATA[litres]]></category>
		<category><![CDATA[Live cam]]></category>
		<category><![CDATA[oil]]></category>
		<category><![CDATA[oil spill]]></category>
		<category><![CDATA[Oil Spill Live Cam]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=255</guid>
		<description><![CDATA[This is the best cam I&#8217;ve seen to date that handles the oil spill. Since it&#8217;s not the main news anymore, it hasn&#8217;t been getting much attention, but just remember that the spill has been going on for over two months now, and it&#8217;s always good to come back and see how it is doing [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>This is the best cam I&#8217;ve seen to date that handles the oil spill. Since it&#8217;s not the main news anymore, it hasn&#8217;t been getting much attention, but just remember that the spill has been going on for over two months now, and it&#8217;s always good to come back and see how it is doing every now and then. Right now (June 28th) It looks like one of the dispersant tubes has been ripped apart from the force, I&#8217;m not positive on this though, but I defiantly do know it wasn&#8217;t like this around June 25th. Hopefully it is solved soon, looks like the tube is ripping apart. Click play to watch the live feed.</p>
<p><object id="utv128653" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid=4424524&amp;locale=en_US" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.ustream.tv/flash/live/1/4424524" /><param name="name" value="utv_n_719561" /><embed id="utv128653" type="application/x-shockwave-flash" width="400" height="320" src="http://www.ustream.tv/flash/live/1/4424524" name="utv_n_719561" allowscriptaccess="always" allowfullscreen="true" flashvars="autoplay=false&amp;brand=embed&amp;cid=4424524&amp;locale=en_US"></embed></object></p>
<p>Currently on June 28, there is still a large amount of oil being poured into the Gulf. Estimates are now up to 35k-60k barrels a day (<strong>4 107 171 to 7 040 865 liters</strong>), a huge off estimate from there originally 1k-5k barrels a day. For the most case, taking a average of specialists and people who have been stating it correctly from the start, I&#8217;d say it&#8217;s pouring about 60k barrels a day. Worse case is 100k barrels. (<strong>11 734 776.5 liters</strong>).</p>
<p>Honestly, what a shame. Hopefully the next couple things BP are doing will help, which should be coming within the following week or two. They estimate it will be able to capture about 60k barrels a day, so we&#8217;ll see. No matter what now, this is so much more worse then the Alaska incident. It will takes a very long time (high years) to get this fully cleaned up to what it is. Alaska, for example, you can still find oil on land with just a shovel and a couple digs down 20 years later. Check this video out about it:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/MbjC9SMKClE&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/MbjC9SMKClE&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Just remember, it&#8217;s affecting a huge amount of area, more then what they &#8216;post maps&#8217; about. Most of Florida water/beaches for example, is covered in oil.  What a fucking shame this who mess will end up being. It can get a whole lot worse since it is hurricane season, which means they would have to pull out during times of heavy storms/hurricanes/etc and allow free flow of the oil. Ugh.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fworld-news%2Foil-spill-live-cam-feed&amp;title=Oil%20Spill%20Live%20Cam%20Feed"><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/world-news/oil-spill-live-cam-feed/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Facebook Verification System &#8211; So many problems.</title>
		<link>http://chrisvall.com/random/facebook-verification-system-problems</link>
		<comments>http://chrisvall.com/random/facebook-verification-system-problems#comments</comments>
		<pubDate>Thu, 13 May 2010 20:46:11 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=250</guid>
		<description><![CDATA[Okay, so I have another Facebook account I used for testing a few certain things. This involved the standard gathering of people from multiple games, you know, becuase thats what happens once you play a game like Mafia Wars, that horrible game called Farmville. But I am not busting on the games itself, but what [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Okay, so I have another Facebook account I used for testing a few certain things. This involved the standard gathering of people from multiple games, you know, becuase thats what happens once you play a game like Mafia Wars, that horrible game called Farmville. But I am not busting on the games itself, but what happens when you login from a different IP other then your own. Sometimes I travel, so my IP changes here and there. </p>
<p>What ends up happening when you log from a different location is that Facebook will tell you it needs to &#8216;verify&#8217; that you are the real owners account, which is fine by me, but the questions are god awful. Originally, after the first time or two, you will not be able to verify using your email anymore, and it will ask you a series of questions. The questions involve it displaying a picture of one of your friends and then you have to figure out who it is. You cannot error on one question, otherwise, it will state you failed the verification test. The problem is, I&#8217;m sure you don&#8217;t browse peoples Facebook pictures constantly, and the verification system is just pathetic. So if this even happened on your main account, I&#8217;m sure you might have trouble with some of the pictures it tries to ask you to verify.</p>
<p>I seriously think this is a pathetic way to do things, specially when games are promoted to &#8216;get more friends&#8217;. If anything, I don&#8217;t even view everyones profile that I add, sometimes I just don&#8217;t care, other times, I just add because they asked too, and its Facebook, it&#8217;s what it is for.</p>
<p>I just don&#8217;t get how I&#8217;m supposed to get my account back when it asks me <strong>&#8216;WHO IS THIS?&#8217;</strong><br />
<a href="http://chrisvall.com/wp-content/uploads/2010/05/facebook5.jpg" rel="lightbox[250]"><img src="http://chrisvall.com/wp-content/uploads/2010/05/facebook5.jpg" alt="" title="facebook5" width="616" height="587" class="alignnone size-full wp-image-252" /></a></p>
<p>Seriously, even if it was on my main account, how am I supposed to know this? The issue is, you can only verify once every hour, as it blocks you for a security measure.. But it&#8217;s almost impossible to get 5 questions right simply because you get at least two of these every time you attempt to do this verification system to unblock your Facebook account.</p>
<p>Come on Facebook!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Frandom%2Ffacebook-verification-system-problems&amp;title=Facebook%20Verification%20System%20%26%238211%3B%20So%20many%20problems."><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/random/facebook-verification-system-problems/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP: GIF animation splitter (Split any GIF animiations &#8211; frame by frame properly!)</title>
		<link>http://chrisvall.com/coding/php-gif-animation-splitter-split-any-gif-animiations-frame-by-frame-properly</link>
		<comments>http://chrisvall.com/coding/php-gif-animation-splitter-split-any-gif-animiations-frame-by-frame-properly#comments</comments>
		<pubDate>Fri, 23 Apr 2010 21:35:17 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[animations]]></category>
		<category><![CDATA[coalesced]]></category>
		<category><![CDATA[frames]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[handle]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[split]]></category>
		<category><![CDATA[write]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=244</guid>
		<description><![CDATA[I have been looking for a GIF animation splitting script for quite awhile, but have not found any luck with any basic ones. There has been a couple but they do not process GIF animations properly anymore, because GIFs now are optimized etc You will end up getting frames that aren&#8217;t &#8216;complete&#8217; frames because they [...]


Related posts:<ol><li><a href='http://chrisvall.com/coding/php-easy-to-use-logging-class-for-your-scripts' rel='bookmark' title='Permanent Link: PHP: Easy to use logging class for your scripts.'>PHP: Easy to use logging class for your scripts.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have been looking for a GIF animation splitting script for quite awhile, but have not found any luck with any basic ones. There has been a couple but they do not process GIF animations properly anymore, because GIFs now are optimized etc You will end up getting frames that aren&#8217;t &#8216;complete&#8217; frames because they need to be coalesced. </p>
<p>I ended up finding a nice module for PHP called ImageMagick (requires PHP5.3+), which can be found here: <a href="http://www.imagemagick.org/">http://www.imagemagick.org/</a>.. You will need both the <a href="http://www.imagemagick.org/script/binary-releases.php">binary releases</a> and the <a href="http://valokuva.org/magick/">actual extension</a> for PHP 5. The extension also needs to be added to the php.ini file as well. There is a quick guide <a href="http://valokuva.org/?page_id=50">here</a> for windows based systems by Mikko, but you can follow something similar for Linux. You can also Google around to find out how to setup ImageMagick. It&#8217;s not hard at all though!</p>
<p>After you have it all setup and ready to go, this SIMPLE following code I created will split the frames very easily, and even handle coalesced type GIF animations. Virtually, any GIF animation should split up nicely here, and you can even do different format outputs, such as GIF, JPG, PNG, etc.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p244code6'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2446"><td class="code" id="p244code6"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> animationWriteFrames<span style="color: #009900;">&#40;</span><span style="color: #000088;">$filename</span><span style="color: #339933;">,</span> <span style="color: #000088;">$format</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;frame<span style="color: #009933; font-weight: bold;">%0d</span>.gif&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$destination</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	try
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$animation</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Imagick<span style="color: #009900;">&#40;</span><span style="color: #000088;">$filename</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$coalesced</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$animation</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">coalesceImages</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// total frames</span>
		<span style="color: #666666; font-style: italic;">// $total = $coalesced-&gt;getNumberImages();</span>
&nbsp;
		<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$coalesced</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$frame</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$index</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$frame</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getImageIndex</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$tofilename</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$destination</span> <span style="color: #339933;">.</span> <a href="http://www.php.net/sprintf"><span style="color: #990000;">sprintf</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$format</span><span style="color: #339933;">,</span> <span style="color: #000088;">$index</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #000088;">$frame</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">writeImage</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tofilename</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	catch<span style="color: #009900;">&#40;</span>Exception <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$e</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">GetMessage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>As you see, most of the handling is done via the PHP EXTENSION and the build files, making it pretty easy compared to most scripts that try to handle this (Most scripts are giant when handling this!). Now! To call it, here are three examples:</p>
<p><code>animationWriteFrames("sample.gif", "frame%05d.png", "./framesPNG/");</code><br />
<code>animationWriteFrames("sample.gif", "frame%05d.jpeg", "./framesJPG/");</code><br />
<code>animationWriteFrames("sample.gif", "frame%05d.gif", "./framesGIF/");</code></p>
<p>Simple right? Calling these will split the frames of the sample.gif animation into either PNG/JPEG/GIF in the examples, depending on which one you use. Basically animationWriteFrames takes three variables: <code>"Image to split, Output filenames/extension, Folder to place split images too"</code>. Super simple and can be called virtually anywhere! Any errors will be echoed, so you may want to handle that as well. </p>
<p>Splitting GIF animations is super simple! I&#8217;ll probably throw up an example sometime soon. Working on a special script using images themselves!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fcoding%2Fphp-gif-animation-splitter-split-any-gif-animiations-frame-by-frame-properly&amp;title=PHP%3A%20GIF%20animation%20splitter%20%28Split%20any%20GIF%20animiations%20%26%238211%3B%20frame%20by%20frame%20properly%21%29"><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>Related posts:<ol><li><a href='http://chrisvall.com/coding/php-easy-to-use-logging-class-for-your-scripts' rel='bookmark' title='Permanent Link: PHP: Easy to use logging class for your scripts.'>PHP: Easy to use logging class for your scripts.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/coding/php-gif-animation-splitter-split-any-gif-animiations-frame-by-frame-properly/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Opera pages loading very slow compared to other browsers such as Firefox/Chrome? Then look here for a fix!</title>
		<link>http://chrisvall.com/random/opera-pages-loading-slow-compared-to-other-browsers-such-as-firefoxchrome-then-look-here-for-a-fix</link>
		<comments>http://chrisvall.com/random/opera-pages-loading-slow-compared-to-other-browsers-such-as-firefoxchrome-then-look-here-for-a-fix#comments</comments>
		<pubDate>Thu, 15 Apr 2010 17:25:29 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[connections]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[Issues]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[Max Connections Total]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Server Connections Total]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[unchecked]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=238</guid>
		<description><![CDATA[After installing a bunch of &#8216;extensions/plugins&#8217; for Chrome, I found my Opera running super slow. It was loading pages very slowly compared to other browsers if I was using more then one window. The weird thing is, it was working fine just yesterday. After about half a day, I started to get pretty frustrated. If [...]


Related posts:<ol><li><a href='http://chrisvall.com/coding/opera-and-youtube-google-video-issue-as-of-april-14th-fix' rel='bookmark' title='Permanent Link: Opera and Youtube (Google) video playback issue (As of April 14th) &#8211; Fix'>Opera and Youtube (Google) video playback issue (As of April 14th) &#8211; Fix</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After installing a bunch of &#8216;extensions/plugins&#8217; for Chrome, I found my Opera running super slow. It was loading pages very slowly compared to other browsers if I was using more then one window. The weird thing is, it was working fine just yesterday. After about half a day, I started to get pretty frustrated. If I was playing a Youtube video for example, nothing else would load until the video was finished playing. This was highly frustrating and I was about to do a reinstall very shortly. However, I found out there are config options with opera. Before you remove Opera or use another browser as your main browser due to plain frustration, give this a try. (This has been a common these past few weeks apparently too.)</p>
<p>1. Open a new TAB/WINDOW. Type in <code>opera:config</code><br />
2. Find the Performance dropdown box, near the bottom. Click it to have it display a bunch of new options.<br />
3. Make sure the settings are as follows for standard performance:<br />
<code>Enable Pipeline - Checked<br />
HTTP Error Strategy - 2<br />
Max Connections Server - 16<br />
Max Connections Total - 64<br />
Network Buffer Size - 32<br />
No Connection Keepalive - Unchecked<br />
Non-Compliant Server 100 Continue - Unchecked<br />
Reduce Max Persistent HTTP Connections - Unchecked<br />
Synchronous DNS Lookup - Unchecked<br />
</code>4. Hit save. Restart browser. Done. With these settings you should be able to browse at optimal speed with Opera!  A suggestion would be to set the Network Buffer to 64 or 128 if you have a slow (Non DSL/CABLE) connection. This is also a small performance boost over the default settings.</p>
<p>The weird thing is, when I went to view these settings, Max connections total/Max connections server were set to <strong>1</strong>. Basically this means something was tampering with Opera&#8217;s settings. I am not sure if it WAS the extensions that I was installing, but something was defiantly modifying the settings without my consent in the past day, and I can&#8217;t point any fingers becuase I simply do not know. However, it does seem like a &#8216;browser modification&#8217; attempt to piss off the user. After changing these settings, Opera was happy again, and pages are blazing fast again.</p>
<p>So give these a try if recently you are having troubles with Opera pages loading slow. This should fix those speed issues!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Frandom%2Fopera-pages-loading-slow-compared-to-other-browsers-such-as-firefoxchrome-then-look-here-for-a-fix&amp;title=Opera%20pages%20loading%20very%20slow%20compared%20to%20other%20browsers%20such%20as%20Firefox%2FChrome%3F%20Then%20look%20here%20for%20a%20fix%21"><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>Related posts:<ol><li><a href='http://chrisvall.com/coding/opera-and-youtube-google-video-issue-as-of-april-14th-fix' rel='bookmark' title='Permanent Link: Opera and Youtube (Google) video playback issue (As of April 14th) &#8211; Fix'>Opera and Youtube (Google) video playback issue (As of April 14th) &#8211; Fix</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/random/opera-pages-loading-slow-compared-to-other-browsers-such-as-firefoxchrome-then-look-here-for-a-fix/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Opera and Youtube (Google) video playback issue (As of April 14th) &#8211; Fix</title>
		<link>http://chrisvall.com/coding/opera-and-youtube-google-video-issue-as-of-april-14th-fix</link>
		<comments>http://chrisvall.com/coding/opera-and-youtube-google-video-issue-as-of-april-14th-fix#comments</comments>
		<pubDate>Thu, 15 Apr 2010 07:45:29 +0000</pubDate>
		<dc:creator>Chris Valleriani</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[ev]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[youtube fix]]></category>

		<guid isPermaLink="false">http://chrisvall.com/?p=232</guid>
		<description><![CDATA[I do use Opera. For the most case, you love or hate the browser, but I&#8217;ve gotten to enjoy Opera for a bit now, specially the new Opera 10. Just yesterday, YouTube released a patch to attempt to prevent people from using adblockers and other tools that remove there ads/edit there content. The problem is, [...]


Related posts:<ol><li><a href='http://chrisvall.com/random/opera-pages-loading-slow-compared-to-other-browsers-such-as-firefoxchrome-then-look-here-for-a-fix' rel='bookmark' title='Permanent Link: Opera pages loading very slow compared to other browsers such as Firefox/Chrome? Then look here for a fix!'>Opera pages loading very slow compared to other browsers such as Firefox/Chrome? Then look here for a fix!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I do use Opera. For the most case, you love or hate the browser, but I&#8217;ve gotten to enjoy Opera for a bit now, specially the new Opera 10. Just yesterday, YouTube released a patch to attempt to prevent people from using adblockers and other tools that remove there ads/edit there content. The problem is, when this was added, you cannot view videos on Opera anymore. (And I am sure other some other non-generic browsers too.)</p>
<p>Now I&#8217;m not entirely sure if YouTube/Google knew that this was going to happen, but now that I think about it, you solve two birds with one stone &#8212; A. You get ads to display, B. Almost everyone watches YouTube, if you cannot, you will probably use another browser, for example, they promote Google Chrome. (Read alot of comments of people switching browsers for the time being until it is fixed.)</p>
<p>Now I&#8217;m not sure  wither to blame Opera for not being able to handle the coding, or blame Google for using coding that is far beyond normal standards, when it probably could be solved in a better method. From what I hear, some other non-standard browsers are also having troubles to. Seems shady to me. Even still, there is a solve for Opera that was found.</p>
<p>Here are the steps for a workaround that doesn&#8217;t involve you to load a page every time you first open a browser.</p>
<p>1. Open the menu, go to SETTINGS then PREFERENCES.<br />
2. Click the ADVANCE TAB. Find CONTENT on the left side, click that.<br />
3. Click JAVASCRIPT OPTIONS. Look at the bottom where it states USER JAVASCRIPT FOLDER. Is this blank? If so, click CHOOSE, then pick/create a folder where you want this &#8216;fix&#8217; to be in. If the folder already exists, figure out where the folder is. A simple way is just to copy the folder line and paste it into a address bar.<br />
4. Browse to this new folder or existing folder that you pointed the USER JAVASCRIPT FOLDER to. For me, I go to <strong>C:\Users\NiteHawk\AppData\Roaming\Opera\Opera\javascriptl</strong> becuase thats where I pointed USER JAVASCRIPT FOLDER too.<br />
5. Create a new file in the USER JAVASCRIPT FOLDER, name it something like &#8216;youtubefix.js&#8217; .. As long as it is a *.js file,  you will be fine. Open this file up in notepad. (Drag and drop it to notepad or click the .JS file an select NOTEPAD.<br />
6. Input this coding into notepad:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p232code8'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2328"><td class="code" id="p232code8"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// ==UserScript==</span>
<span style="color: #006600; font-style: italic;">// @name        YoutubeProtectionRemover</span>
<span style="color: #006600; font-style: italic;">// @include     http://www.youtube.com/*</span>
<span style="color: #006600; font-style: italic;">// @description Removes lame protection on YouTube</span>
<span style="color: #006600; font-style: italic;">// @copyright 2010, Snap</span>
<span style="color: #006600; font-style: italic;">// ==/UserScript==</span>
&nbsp;
window.<span style="color: #660066;">opera</span>.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#40;</span>
<span style="color: #3366CC;">'BeforeScript'</span><span style="color: #339933;">,</span>
<span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>ev<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
ev.<span style="color: #660066;">element</span>.<span style="color: #660066;">text</span> <span style="color: #339933;">=</span> ev.<span style="color: #660066;">element</span>.<span style="color: #660066;">text</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;yt.flash.update(swfConfig, forceUpdate);&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">//end</span></pre></td></tr></table></div>

<p><span style="font-size: xx-small;">Thanks to Snap100 for this fix!</span></p>
<p>Make sure you copy everything, including the //&#8217;s lines! It is all needed. SAVE THE FILE!</p>
<p>That should be it. As long as the USER JAVASCRIPT FOLDER is pointed to the folder that you specified with the .js file you just created it will bypass YouTubes changes for now. My recommendation would be to remove this when there is a fix on either YouTube or Operas side. For the most case, I would guess it would involve Opera changing something, nothing you can do when competing with the big guns.</p>
<p>You can download the JS file here and put it in your USER JAVASCRIPT FOLDER here if you are having troubles: <a href="http://chrisvall.com/examples/YouTubeFix/YouTubeFix.js">YouTubeFix.js</a></p>
<p>I hope this helps!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fchrisvall.com%2Fcoding%2Fopera-and-youtube-google-video-issue-as-of-april-14th-fix&amp;title=Opera%20and%20Youtube%20%28Google%29%20video%20playback%20issue%20%28As%20of%20April%2014th%29%20%26%238211%3B%20Fix"><img src="http://chrisvall.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>

<p>Related posts:<ol><li><a href='http://chrisvall.com/random/opera-pages-loading-slow-compared-to-other-browsers-such-as-firefoxchrome-then-look-here-for-a-fix' rel='bookmark' title='Permanent Link: Opera pages loading very slow compared to other browsers such as Firefox/Chrome? Then look here for a fix!'>Opera pages loading very slow compared to other browsers such as Firefox/Chrome? Then look here for a fix!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://chrisvall.com/coding/opera-and-youtube-google-video-issue-as-of-april-14th-fix/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

