<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Mob Wars Helper (version 0.2)</title>
	<atom:link href="http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/feed/" rel="self" type="application/rss+xml" />
	<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/</link>
	<description>Different thoughts by different people</description>
	<lastBuildDate>Sat, 16 Jul 2011 12:45:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-34740</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 23 May 2009 16:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-34740</guid>
		<description>how do u work this script?</description>
		<content:encoded><![CDATA[<p>how do u work this script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcbhntz</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33612</link>
		<dc:creator>jcbhntz</dc:creator>
		<pubDate>Thu, 24 Jul 2008 03:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33612</guid>
		<description>I haven&#039;t noticed a change in base price at all.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t noticed a change in base price at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33606</link>
		<dc:creator>George</dc:creator>
		<pubDate>Wed, 23 Jul 2008 19:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33606</guid>
		<description>Hi guys, just a heads up. The facebook layout has changed. They made the new layout for all of facebook. On the apps server, they obviously set it up under another subdomain, apps.new.facebook.com. If all of a sudden your script isn&#039;t working and you&#039;re on the new layout, you need to revert to the old one with the button on the top right to get it working again.

Looks like v0.3 is just around the corner, eh? :D</description>
		<content:encoded><![CDATA[<p>Hi guys, just a heads up. The facebook layout has changed. They made the new layout for all of facebook. On the apps server, they obviously set it up under another subdomain, apps.new.facebook.com. If all of a sudden your script isn&#8217;t working and you&#8217;re on the new layout, you need to revert to the old one with the button on the top right to get it working again.</p>
<p>Looks like v0.3 is just around the corner, eh? <img src='http://karwasz.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr P. Karwasz</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33605</link>
		<dc:creator>Piotr P. Karwasz</dc:creator>
		<pubDate>Wed, 23 Jul 2008 18:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33605</guid>
		<description>&lt;strong&gt;jcbhntz&lt;/strong&gt;: Sorry, I meant how often the base prices change? Do the developers update the prices regularly every week or so or they are stable?

[For me the base price is the following: real_price = base_price * (1 + 0.1 * owned_buildings)]</description>
		<content:encoded><![CDATA[<p><strong>jcbhntz</strong>: Sorry, I meant how often the base prices change? Do the developers update the prices regularly every week or so or they are stable?</p>
<p>[For me the base price is the following: real_price = base_price * (1 + 0.1 * owned_buildings)]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcbhntz</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33604</link>
		<dc:creator>jcbhntz</dc:creator>
		<pubDate>Wed, 23 Jul 2008 18:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33604</guid>
		<description>The price changes every time you make a purchase.
The following is an &quot;investment calculator&quot; that some one has created.  You can play with it to know the amount it increases with each purchase. It is in Excel format.

http://www.savefile.com/files/1669396</description>
		<content:encoded><![CDATA[<p>The price changes every time you make a purchase.<br />
The following is an &#8220;investment calculator&#8221; that some one has created.  You can play with it to know the amount it increases with each purchase. It is in Excel format.</p>
<p><a href="http://www.savefile.com/files/1669396" rel="nofollow">http://www.savefile.com/files/1669396</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr P. Karwasz</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33602</link>
		<dc:creator>Piotr P. Karwasz</dc:creator>
		<pubDate>Wed, 23 Jul 2008 16:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33602</guid>
		<description>&lt;strong&gt;jcbhntz&lt;/strong&gt;: Thanks. If you have played for a while can you tell me whether the prices change often or we can assume that they are static?</description>
		<content:encoded><![CDATA[<p><strong>jcbhntz</strong>: Thanks. If you have played for a while can you tell me whether the prices change often or we can assume that they are static?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcbhntz</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33581</link>
		<dc:creator>jcbhntz</dc:creator>
		<pubDate>Fri, 18 Jul 2008 23:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33581</guid>
		<description>Static list for City:
Level 1:
Land:
     Empty Lot 
     City Block 
     Downtown Square 

Establishment:
     Villa 
     Restaurant 
     Apartment 
     Hotel 
     Office 
     Casino 

Level 15:

Land:
     Beachfront Lot
     Container Yard

Establishment:
     Beachfront Lot</description>
		<content:encoded><![CDATA[<p>Static list for City:<br />
Level 1:<br />
Land:<br />
     Empty Lot<br />
     City Block<br />
     Downtown Square </p>
<p>Establishment:<br />
     Villa<br />
     Restaurant<br />
     Apartment<br />
     Hotel<br />
     Office<br />
     Casino </p>
<p>Level 15:</p>
<p>Land:<br />
     Beachfront Lot<br />
     Container Yard</p>
<p>Establishment:<br />
     Beachfront Lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr P. Karwasz</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33575</link>
		<dc:creator>Piotr P. Karwasz</dc:creator>
		<pubDate>Thu, 17 Jul 2008 21:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33575</guid>
		<description>&lt;strong&gt;George&lt;/strong&gt;: Yes, the new version was out before I read your comment :-)

For linearizing the buying/selling options, something like this should work:

&lt;pre&gt;
if (Page.c_page == &#039;city&#039; &#124;&#124; Page.c_page == &#039;stockpile&#039;) {
  var result = Utils.getElementsByXPath(&#039;//form[contains(@action,&quot;do.php&quot;)]/select&#039;);
  for (var i = 0; i &lt; result.length; i++) {
    var input = document.createElement(&#039;input&#039;);
    input.name = &#039;qty&#039;;
    input.type = &#039;text&#039;;
    input.setAttribute(&#039;maxlength&#039;, &#039;3&#039;);
    input.setAttribute(&#039;size&#039;, &#039;3&#039;);
    input.value = &#039;1&#039;;
    result[i].parentNode.insertBefore(input, result[i]);
    result[i].parentNode.removeChild(result[i]);
  }
}
&lt;/pre&gt;

should do the work. Be aware that you can not buy more than 10 buildings from the city (otherwise you could make money out of thin air :-) ), I already tried. I am putting this code into a module that will display various data for each page (e.g. your attack/defense points);&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><strong>George</strong>: Yes, the new version was out before I read your comment <img src='http://karwasz.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>For linearizing the buying/selling options, something like this should work:</p>
<pre>
if (Page.c_page == 'city' || Page.c_page == 'stockpile') {
  var result = Utils.getElementsByXPath('//form[contains(@action,"do.php")]/select');
  for (var i = 0; i < result.length; i++) {
    var input = document.createElement('input');
    input.name = 'qty';
    input.type = 'text';
    input.setAttribute('maxlength', '3');
    input.setAttribute('size', '3');
    input.value = '1';
    result[i].parentNode.insertBefore(input, result[i]);
    result[i].parentNode.removeChild(result[i]);
  }
}
</pre>
<p>should do the work. Be aware that you can not buy more than 10 buildings from the city (otherwise you could make money out of thin air <img src='http://karwasz.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ), I already tried. I am putting this code into a module that will display various data for each page (e.g. your attack/defense points);</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr P. Karwasz</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33574</link>
		<dc:creator>Piotr P. Karwasz</dc:creator>
		<pubDate>Thu, 17 Jul 2008 20:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33574</guid>
		<description>&lt;strong&gt;jcbhntz&lt;/strong&gt;: I fully understand the indignation of the Mob Wars developer against &lt;a href=&quot;http://www.mobwarstoolkit.com/&quot; rel=&quot;nofollow&quot;&gt;Mob Wars Toolkit&lt;/a&gt;: he wrote a wonderful game and the other one tries to make money with it (the toolkit is not free). And automated bot account also disrupt the playing experience for all other users: imagine you are targeted by a bot every time you come out of the hospital. You&#039;ll probably drop the game.

From a technical point of view my script does not differ from normal user interaction (i.e. it does exactly the same things a player would do) with the little difference that everything is perfectly on time. I can add some random delay for every action if you wish so, but my advise is: don&#039;t abuse the script.

If you have almost no money, the banking feature comes very handy, but if you have plenty just disable it and allow some poorer users to take some money from you. Anyway the bank is not very efficient with high incomes (10% of charges, whereas you lose at most 100k$ for every attack).

&lt;strong&gt;Note:&lt;/strong&gt; If the application developers wish to complain about my script, they are welcome to contact me.

&lt;strong&gt;propag&lt;/strong&gt;: You can use the &lt;a href=&quot;http://extensions.geckozone.org/AdblockPlus/&quot; rel=&quot;nofollow&quot;&gt;Adblock Plus&lt;/a&gt; extension to block the ads on every site or search &lt;a href=&quot;http://userscripts.org&quot; rel=&quot;nofollow&quot;&gt;Userscripts.org&lt;/a&gt; for the proper userscript. Reloading the hitlist seems fine to me if the delay is reasonable (I&#039;ll probably make it configurable with a minimum of 10 seconds).</description>
		<content:encoded><![CDATA[<p><strong>jcbhntz</strong>: I fully understand the indignation of the Mob Wars developer against <a href="http://www.mobwarstoolkit.com/" rel="nofollow">Mob Wars Toolkit</a>: he wrote a wonderful game and the other one tries to make money with it (the toolkit is not free). And automated bot account also disrupt the playing experience for all other users: imagine you are targeted by a bot every time you come out of the hospital. You&#8217;ll probably drop the game.</p>
<p>From a technical point of view my script does not differ from normal user interaction (i.e. it does exactly the same things a player would do) with the little difference that everything is perfectly on time. I can add some random delay for every action if you wish so, but my advise is: don&#8217;t abuse the script.</p>
<p>If you have almost no money, the banking feature comes very handy, but if you have plenty just disable it and allow some poorer users to take some money from you. Anyway the bank is not very efficient with high incomes (10% of charges, whereas you lose at most 100k$ for every attack).</p>
<p><strong>Note:</strong> If the application developers wish to complain about my script, they are welcome to contact me.</p>
<p><strong>propag</strong>: You can use the <a href="http://extensions.geckozone.org/AdblockPlus/" rel="nofollow">Adblock Plus</a> extension to block the ads on every site or search <a href="http://userscripts.org" rel="nofollow">Userscripts.org</a> for the proper userscript. Reloading the hitlist seems fine to me if the delay is reasonable (I&#8217;ll probably make it configurable with a minimum of 10 seconds).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://karwasz.org/blog/2008/07/16/mob-wars-helper-version-02/#comment-33573</link>
		<dc:creator>George</dc:creator>
		<pubDate>Thu, 17 Jul 2008 20:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://karwasz.org/blog/?p=75#comment-33573</guid>
		<description>Hey thanks for reading my comment. That image is on my server, it&#039;s on my home PC so it&#039;s &#039;Unlimited&#039; ;) I tried a solid white background with CSS but it didn&#039;t seem to work. I have updated to the latest version, same thing with the text coming through. Setting a higher Z-index and that white image worked sweet. This is an awesome script, I&#039;m developing something now that will rewrite the values/options of the select lists for properties and weapons so that you can choose from 1-100 instead of 1, 5, 10. Got it working standalone but getting it to work under greasemonkey is another story :&#124;</description>
		<content:encoded><![CDATA[<p>Hey thanks for reading my comment. That image is on my server, it&#8217;s on my home PC so it&#8217;s &#8216;Unlimited&#8217; <img src='http://karwasz.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I tried a solid white background with CSS but it didn&#8217;t seem to work. I have updated to the latest version, same thing with the text coming through. Setting a higher Z-index and that white image worked sweet. This is an awesome script, I&#8217;m developing something now that will rewrite the values/options of the select lists for properties and weapons so that you can choose from 1-100 instead of 1, 5, 10. Got it working standalone but getting it to work under greasemonkey is another story <img src='http://karwasz.org/blog/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

