<?xml version="1.0"?>
<rss version="2.0">








<channel>
<title>FishEye on /</title>
<link>http://www.swgemu.com/fisheye/user/XarothBrook</link>
<description>Recent activity in "" under directory /</description>















    

    
        
            

<item>
<title>SWGEMU-375: comment by Xaroth Brook &#034;You are very much correct&#034;</title>
<pubDate>Wed, 10 Oct 2012 14:34:21 -0600</pubDate>
<author>Xaroth Brook</author>
<link>http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c861</link>
<guid isPermaLink="false">http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c861</guid>
<description>
<![CDATA[
            <table width="100%" cellpadding="5px">
                        <tr>
                            <td>
                                <a class="user avatar userorcommitter-parent" style='background-image:url(http://www.swgemu.com/fisheye/avatar/XarothBrook?s=16);padding-left:20px;background-repeat: no-repeat; background-position: 0 0;' href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                                
                                    
                                        <a href="http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c861">replied</a> to
                                        <span title="OK.  I just realized you have a link to a patch...">
                                            <a class="user  userorcommitter-parent"  href="/fisheye/user/elpete"  title=""><span class="linkText">elpete</span></a>
                                        </span>
                                        in
                                    
                                    
                                
                                <span class=" crulinkspan"><a class="drop-review reviewClosed" href="/fisheye/cru/SWGEMU-375">SWGEMU-375<input type="hidden" class="permaId" value="SWGEMU-375"></a></span>

                            </td>
                        </tr>
                        <tr>
                            <td style="border-top: 1px solid #CCC; border-bottom: 1px solid #CCC">
                                <p>You are very much correct</p>
                            </td>
                        </tr>
                    </table>
]]>
</description>
</item>


        
        
    




















    

    
        
            

<item>
<title>SWGEMU-375: comment by Xaroth Brook &#034;well, if you check for rank 1, you do the same ...&#034;</title>
<pubDate>Wed, 10 Oct 2012 11:26:38 -0600</pubDate>
<author>Xaroth Brook</author>
<link>http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c858</link>
<guid isPermaLink="false">http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c858</guid>
<description>
<![CDATA[
            <table width="100%" cellpadding="5px">
                        <tr>
                            <td>
                                <a class="user avatar userorcommitter-parent" style='background-image:url(http://www.swgemu.com/fisheye/avatar/XarothBrook?s=16);padding-left:20px;background-repeat: no-repeat; background-position: 0 0;' href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                                
                                    
                                        <a href="http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c858">replied</a> to
                                        <span title="I &#039;think&#039; that this is also called when placing...">
                                            <a class="user  userorcommitter-parent"  href="/fisheye/user/elpete"  title=""><span class="linkText">elpete</span></a>
                                        </span>
                                        in
                                    
                                    
                                
                                <span class=" crulinkspan"><a class="drop-review reviewClosed" href="/fisheye/cru/SWGEMU-375">SWGEMU-375<input type="hidden" class="permaId" value="SWGEMU-375"></a></span>

                            </td>
                        </tr>
                        <tr>
                            <td style="border-top: 1px solid #CCC; border-bottom: 1px solid #CCC">
                                <p>well, if you check for rank 1, you do the same check as the max-city check did, as <em>every</em> town will be either rank 1 or higher...</p>
                            </td>
                        </tr>
                    </table>
]]>
</description>
</item>


        
        
    




















    

    
        
            

<item>
<title>SWGEMU-375: comment by Xaroth Brook &#034;Actually, my statement about your version is fl...&#034;</title>
<pubDate>Tue, 09 Oct 2012 05:59:27 -0600</pubDate>
<author>Xaroth Brook</author>
<link>http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c855</link>
<guid isPermaLink="false">http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c855</guid>
<description>
<![CDATA[
            <table width="100%" cellpadding="5px">
                        <tr>
                            <td>
                                <a class="user avatar userorcommitter-parent" style='background-image:url(http://www.swgemu.com/fisheye/avatar/XarothBrook?s=16);padding-left:20px;background-repeat: no-repeat; background-position: 0 0;' href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                                
                                    
                                        <a href="http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c855">replied</a> to
                                        <span title="I think you missed out my reasoning, as per the...">
                                            <a class="user  userorcommitter-parent"  href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                                        </span>
                                        in
                                    
                                    
                                
                                <span class=" crulinkspan"><a class="drop-review reviewClosed" href="/fisheye/cru/SWGEMU-375">SWGEMU-375<input type="hidden" class="permaId" value="SWGEMU-375"></a></span>

                            </td>
                        </tr>
                        <tr>
                            <td style="border-top: 1px solid #CCC; border-bottom: 1px solid #CCC">
                                <p>Actually, my statement about your version is flawed, i should stop typing when I just wake up... <br> <br>Take this case: <br> <br>planet x has a cap of 50/50/30/20/20 <br>if there are 20 towns at rank 5, none are able to progres from 3 to 4, in your test, this fails, as there are 0 rank 4 towns, and that code would allow progression. <br>If there are 20 towns at rank 5 still, and 10 at rank 3, none should be allowed to upgrade from 2 to 3, again, your code would not catch this. <br> <br>I hope this clears it up even more.</p>
                            </td>
                        </tr>
                    </table>
]]>
</description>
</item>


        
        
    




















    

    
        
            

<item>
<title>SWGEMU-375: comment by Xaroth Brook &#034;I think you missed out my reasoning, as per the...&#034;</title>
<pubDate>Tue, 09 Oct 2012 00:07:17 -0600</pubDate>
<author>Xaroth Brook</author>
<link>http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c854</link>
<guid isPermaLink="false">http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c854</guid>
<description>
<![CDATA[
            <table width="100%" cellpadding="5px">
                        <tr>
                            <td>
                                <a class="user avatar userorcommitter-parent" style='background-image:url(http://www.swgemu.com/fisheye/avatar/XarothBrook?s=16);padding-left:20px;background-repeat: no-repeat; background-position: 0 0;' href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                                
                                    
                                        <a href="http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c854">replied</a> to
                                        <span title="My original patch has been tested, and while yo...">
                                            <a class="user  userorcommitter-parent"  href="/fisheye/user/Cebot"  title=""><span class="linkText">Cebot</span></a>
                                        </span>
                                        in
                                    
                                    
                                
                                <span class=" crulinkspan"><a class="drop-review reviewClosed" href="/fisheye/cru/SWGEMU-375">SWGEMU-375<input type="hidden" class="permaId" value="SWGEMU-375"></a></span>

                            </td>
                        </tr>
                        <tr>
                            <td style="border-top: 1px solid #CCC; border-bottom: 1px solid #CCC">
                                <p>I think you missed out my reasoning, as per the scrapbook: <br> <br>--<del>start quote</del>-- <br>The number of player cities that can be placed is capped. The 3 main worlds of Corellia, Naboo, and Tatooine are able to hold 20 and the moons and adventure worlds of Talus, Rori, Dantooine, and Lok can hold up to 50 cities. It is important to note that there is also a cap on the number of cities that can achieve a certain rank. While the core worlds of Corellia, Naboo, and Tatooine can have a total of 20 cities, only 15 can be rank 3 or above and only 10 can be rank 4 or above. The moons/adventure planets of Talus, Rori, Dantooine, and Lok can have 30 cities above rank 3 and 20 above rank 4 <br>--<del>end quote</del>-- <br> <br>it clearly states, only 15 can be <em>rank 3 or above</em>, and only 10 <em>can be rank 4 or above</em>. <br>Your test only tests at the current rank, which is flawed, as when there are 10 rank 4(or 5) cities, none are allowed to progress from rank 3 to 4, while a rank 4 is able to progress to 5 <br> <br>With your method we would be able to have a total of 100+ cities on a planet, as 1) there is no limit being calculated, and 2) you could have 10 rank 4 cities AND 10 rank 5 cities. <br> <br>Sources:  <br><a href="http://www.swgemu.com/archive/scrapbookv51/data/20070127193144/index.html">http://www.swgemu.com/archive/scrapbookv51/data/20070127193144/index.html</a> <br><a href="http://www.swgemu.com/archive/scrapbookv51/data/20070127193158/index.html">http://www.swgemu.com/archive/scrapbookv51/data/20070127193158/index.html</a> <br><a href="http://swg.wikia.com/wiki/Player_city#Player_city_rank">http://swg.wikia.com/wiki/Player_city#Player_city_rank</a></p>
                            </td>
                        </tr>
                    </table>
]]>
</description>
</item>


        
        
    




















    

    
        
            

<item>
<title>SWGEMU-375: comment by Xaroth Brook &#034;Right, re-did this with the information I could...&#034;</title>
<pubDate>Mon, 08 Oct 2012 15:03:08 -0600</pubDate>
<author>Xaroth Brook</author>
<link>http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c850</link>
<guid isPermaLink="false">http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c850</guid>
<description>
<![CDATA[
            <table width="100%" cellpadding="5px">
                        <tr>
                            <td>
                                <a class="user avatar userorcommitter-parent" style='background-image:url(http://www.swgemu.com/fisheye/avatar/XarothBrook?s=16);padding-left:20px;background-repeat: no-repeat; background-position: 0 0;' href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                                
                                    
                                    
                                        <a href="http://www.swgemu.com/fisheye/cru/SWGEMU-375/#c850">commented</a> on
                                    
                                
                                <span class=" crulinkspan"><a class="drop-review reviewClosed" href="/fisheye/cru/SWGEMU-375">SWGEMU-375<input type="hidden" class="permaId" value="SWGEMU-375"></a></span>

                            </td>
                        </tr>
                        <tr>
                            <td style="border-top: 1px solid #CCC; border-bottom: 1px solid #CCC">
                                <p>Right, re-did this with the information I could grab from the scrapbook <br> <br>due to not being able to upload files, the patch, pasted last <br> <br>As per the scrapbook: <br> <br>The number of player cities that can be placed is capped. The 3 main worlds of Corellia, Naboo, and Tatooine are able to hold 20 and the moons and adventure worlds of Talus, Rori, Dantooine, and Lok can hold up to 50 cities. It is important to note that there is also a cap on the number of cities that can achieve a certain rank. While the core worlds of Corellia, Naboo, and Tatooine can have a total of 20 cities, only 15 can be rank 3 or above and only 10 can be rank 4 or above. The moons/adventure planets of Talus, Rori, Dantooine, and Lok can have 30 cities above rank 3 and 20 above rank 4. <br> <br>To accomplish this: <br></p>
<ul class="alternate" type="square">
	<li>Scrap the check for max cities, at all point we&#39;re checking for the rank at hand, which is equal or lower than the planet limit anyhow.</li>
	<li>Check for cities of equal or greater rank than being checked, as per the scrapbook.</li>
	<li>Double-check at the end.</li>
</ul>

<p> <br> <br> <br>The patch: (note, NEEDS TESTING, I don&#39;t have a full dev env running atm, so cannot do full testing.......) <br>Downloadable: <a href="http://rawr.xaroth.nl/xar/CityManagerImplementation.cpp.patch">http://rawr.xaroth.nl/xar/CityManagerImplementation.cpp.patch</a> <br> <br> <br>Index: MMOCoreORB/src/server/zone/managers/city/CityManagerImplementation.cpp <br>=================================================================== <br>&#8212; MMOCoreORB/src/server/zone/managers/city/CityManagerImplementation.cpp  (revision 5901) <br>+++ MMOCoreORB/src/server/zone/managers/city/CityManagerImplementation.cpp      (working copy) <br>@@ -186,9 +186,9 @@ <br>  <br> bool CityManagerImplementation::isCityRankCapped(const String&amp; planetName, byte rank) { <br>        Vector&lt;byte&gt;* citiesAllowed = &amp;citiesAllowedPerRank.get(planetName);</p>
<ul class="alternate" type="square">
	<li>byte maxCities = citiesAllowed-&gt;get(0); <br>        byte maxAtRank = citiesAllowed-&gt;get(rank - 1);</li>
	<li>byte totalCities = 0; <br>+       // <a href="http://www.swgemu.com/archive/scrapbookv51/data/20070127193144/index.html">http://www.swgemu.com/archive/scrapbookv51/data/20070127193144/index.html</a>  for information <br>+       byte totalAtRank = 0;</li>
</ul>

<p>  <br>        Locker _lock(_this.get()); <br>  <br>@@ <del>200,12 +200,14 @@ <br>                if (cityZone == NULL || cityZone</del>&gt;getZoneName() != planetName) <br>                        continue; <br> </p>
<ul class="alternate" type="square">
	<li>if (++totalCities &gt; maxCities || totalCities &gt; maxAtRank) {</li>
	<li>return true; <br>+               if (city-&gt;getCityRank() &gt;= rank) 
<div class="error"><span class="error">Unknown macro: {+			if (++totalAtRank &gt;= maxAtRank) <div class="error"><span class="error">Unknown macro: {
+				return true;
+			}</span> </div> 		}</span> </div>
<p>        } <br>-</p></li>
	<li>return false; <br>+        <br>+       return (totalAtRank &gt;= maxAtRank); <br> }</li>
</ul>

<p>  <br> bool CityManagerImplementation::validateCityInRange(CreatureObject* creature, Zone* zone, float x, float y) {</p>
                            </td>
                        </tr>
                    </table>
]]>
</description>
</item>


        
        
    

























    
        
        

<item>
<title>SWGEMU-375: reviewers joined  City Advancement</title>
<pubDate>Mon, 08 Oct 2012 15:00:52 -0600</pubDate>
<author></author>
<link>http://www.swgemu.com/fisheye/cru/SWGEMU-375</link>
<guid isPermaLink="false">http://www.swgemu.com/fisheye/cru/SWGEMU-375</guid>
<description>
<![CDATA[
            <table width="100%" cellpadding="5px">
                    <tr>
                        <td>
                            
                                
                                    
                                        <a class="user avatar userorcommitter-parent" style='background-image:url(http://www.swgemu.com/fisheye/avatar/XarothBrook?s=16);padding-left:20px;background-repeat: no-repeat; background-position: 0 0;' href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                                        
                                    
                                
                                
                            
                            joined
                            <span class=" crulinkspan"><a class="drop-review reviewClosed" href="/fisheye/cru/SWGEMU-375">SWGEMU-375<input type="hidden" class="permaId" value="SWGEMU-375"></a></span>

                        </td>
                    </tr>
                    <tr>
                        <td style="border-top: 1px solid #CCC; border-bottom: 1px solid #CCC">
                            City Advancement
                        </td>
                    </tr>
                </table>
]]>
</description>
</item>


    
    















    
    
    
    
        
        
    
    
    
    



    
        

<item>
<title>SWGEMU-390: Pending Approval by Xaroth Brook</title>
<pubDate>Thu, 06 Sep 2012 13:17:52 -0600</pubDate>
<author>Xaroth Brook</author>
<link>http://www.swgemu.com/fisheye/cru/SWGEMU-390</link>
<guid isPermaLink="false">http://www.swgemu.com/fisheye/cru/SWGEMU-390</guid>
<description>
<![CDATA[
            <table width="100%" cellpadding="5px">
                    <tr>
                        <td>
                            <a class="user avatar userorcommitter-parent" style='background-image:url(http://www.swgemu.com/fisheye/avatar/XarothBrook?s=16);padding-left:20px;background-repeat: no-repeat; background-position: 0 0;' href="/fisheye/user/XarothBrook"  title=""><span class="linkText">Xaroth Brook</span></a>
                            submitted for moderator approval
                            <span class=" crulinkspan"><a class="drop-review reviewOpen" href="/fisheye/cru/SWGEMU-390">SWGEMU-390<input type="hidden" class="permaId" value="SWGEMU-390"></a></span>

                        </td>
                    </tr>
                    
                </table>
]]>
</description>
</item>


    
    












</channel>







</rss>
