<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>Kaiochao's site</title>
        <link>http://www.byond.com/members/Kaiochao</link>
        <description></description>
        <lastBuildDate>Mon, 20 May 2013 05:26:50 +0000</lastBuildDate>
        <language>en-us</language>
    
                <item>
            <title>DM Reference - dir var (atom)</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1201509</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1201509</guid>
            <pubDate>Sun, 17 Mar 2013 20:49:33 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1201509#comments</comments>
            
            <description>&lt;b&gt;Code:&lt;/b&gt;&lt;br&gt;
&lt;div class=&quot;dmcode&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot;&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre class=&quot;dmcode&quot;&gt;
mob&lt;br&gt;    Login()&lt;br&gt;        ..()&lt;br&gt;        &lt;span class=&quot;dmkeyword&quot;&gt;for&lt;/span&gt;(&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/n &lt;span class=&quot;dmkeyword&quot;&gt;in&lt;/span&gt; 1 &lt;span class=&quot;dmkeyword&quot;&gt;to&lt;/span&gt; 1.#INF)&lt;br&gt;            dir = n % 2 ? 1 : 5&lt;br&gt;            sleep world.tick_lag
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Problem description:&lt;/b&gt;&lt;br&gt;
&lt;span class=&quot;comment_quote_header&quot;&gt;DM Reference wrote:&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;comment_quote&quot;&gt;An icon file with only four (cardinal) directions makes the choice of orientation ambiguous when the true direction is a diagonal. In that case, of the two possibilities, the one closest to the previous orientation is displayed. Sounds complicated, but it's what one would naturally expect.&lt;/blockquote&gt;
&lt;br&gt;
What actually happens is that I flicker back and forth between the NORTH and EAST directions. The DM Reference claims that since my previous orientation was NORTH, and it's changing to NORTHEAST, it should stay NORTH.&lt;br&gt;
&lt;br&gt;
Is this a bug? It would be nice if it happened as it's written.</description>
        </item>
                <item>
            <title>win</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1162934</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1162934</guid>
            <pubDate>Sat, 16 Feb 2013 19:04:51 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1162934#comments</comments>
            
            <description>&lt;img src=&quot;http://puu.sh/23ysU/92adb33b88&quot;&gt;&lt;br&gt;
&lt;img src=&quot;http://puu.sh/23yve/3ea3d509b3%3E&quot;&gt;</description>
        </item>
                <item>
            <title>Hazordhu</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1158930</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1158930</guid>
            <pubDate>Wed, 13 Feb 2013 04:05:37 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1158930#comments</comments>
            
            <description>Hi, everyone!&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.byond.com/games/F0lak/Hazordhu&quot;&gt;Hazordhu II&lt;/a&gt; is a role-playing game with a medieval fantasy setting. Players have the option of playing the role of a human or an orc.&lt;br&gt;
&lt;br&gt;
There's adventure, exploration, combat with wild creatures, controlled (role-played) player fights, gathering, crafting, building.&lt;br&gt;
&lt;br&gt;
There are currently zero classes and no skill levels to spend time training. Just hop in with your buds and have some fun making progress in the world!&lt;br&gt;
&lt;br&gt;
Anyone can work hard and become the head of a large kingdom, as long as there's a community to lead. There's a particular learning curve in the beginning, but everyone's willing to help people with figuring out the game and some crafting techniques. Buildings you find in the world of Hazordhu have been made by players like you!&lt;br&gt;
&lt;br&gt;
Currently, only subscribers can create groups. Some items and buildings require a group of at least three members to be made; this is only to encourage teamwork!&lt;br&gt;
&lt;br&gt;
What are you waiting for? &lt;a href=&quot;byond://F0lak.Hazordhu##remote&quot;&gt;Join now!&lt;/a&gt;</description>
        </item>
                <item>
            <title>Suggestion: client.has_key(k)</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1147337</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1147337</guid>
            <pubDate>Sun, 03 Feb 2013 06:27:51 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1147337#comments</comments>
            
            <description>&lt;div class=&quot;dmcode&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot;&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre class=&quot;dmcode&quot;&gt;
client&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;proc&lt;/span&gt;/has_key(k)&lt;br&gt;        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(istype(keys))&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;return&lt;/span&gt; keys[k]
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
This proc returns the state of k.&lt;br&gt;
The istype() check is necessary because I've experienced a &quot;bad index&quot; runtime error from trying to access client.keys while it was still a text string. It just checks if client.keys is a list before trying to read it.&lt;br&gt;
&lt;br&gt;
It would also serve useful for the Pixel Movement and Sidescroller libraries, which rely on this. I've also experienced the runtime error in those libraries.</description>
        </item>
                <item>
            <title>A night's boredom</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1144059</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1144059</guid>
            <pubDate>Thu, 31 Jan 2013 00:30:59 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1144059#comments</comments>
            
            <description>&lt;a href=&quot;https://dl.dropbox.com/u/18273518/rotating%20view.zip&quot;&gt;Download&lt;/a&gt;&lt;br&gt;
&lt;img src=&quot;http://puu.sh/1V71E/c2dbd55f1d&quot;&gt;&lt;br&gt;
&lt;img src=&quot;http://puu.sh/1V72q/fed27baa82&quot;&gt;&lt;br&gt;
&lt;img src=&quot;http://puu.sh/1V73r/67efcb2f9a&quot;&gt;</description>
        </item>
                <item>
            <title>proc/derived_from(child, parent)</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1142802</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1142802</guid>
            <pubDate>Tue, 29 Jan 2013 18:08:14 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1142802#comments</comments>
            
            <description>&lt;div class=&quot;dmcode&quot;&gt;
&lt;table width=&quot;100%&quot; border=&quot;0&quot;&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre class=&quot;dmcode&quot;&gt;
&lt;span class=&quot;dmkeyword&quot;&gt;proc&lt;/span&gt;&lt;br&gt;    derived_from(child, parent)&lt;br&gt;        &lt;span class=&quot;dmkeyword&quot;&gt;return&lt;/span&gt; (child &lt;span class=&quot;dmkeyword&quot;&gt;in&lt;/span&gt; typesof(parent)) ? 1 : 0
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
Two things unnecessary with this:
&lt;ol&gt;

&lt;li&gt;&quot;A in B&quot; returns a boolean value already, so the ternary operation is redundant.&lt;/li&gt;
&lt;li&gt;This proc already exist as the built-in ispath(child, parent).&lt;/li&gt;
&lt;/ol&gt;</description>
        </item>
                <item>
            <title>Facebook Page</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1112341</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1112341</guid>
            <pubDate>Fri, 04 Jan 2013 22:09:13 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1112341#comments</comments>
            
            <description>I created a Facebook page for Hazordhu.&lt;br&gt;
&lt;br&gt;
Find it &lt;a href=&quot;http://Facebook.com/Hazordhu&quot;&gt;here&lt;/a&gt;.</description>
        </item>
                <item>
            <title>Standalone client [updated]</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1112206</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1112206</guid>
            <pubDate>Fri, 04 Jan 2013 20:08:48 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1112206#comments</comments>
            
            <description>&lt;a target=&quot;_blank&quot; href=&quot;http://files.byondhome.com/Kaiochao/Hazordhu%20II.exe&quot;&gt;Hazordhu II Standalone Launcher&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;img src=&quot;http://puu.sh/1JvYe/b6b43d6edcae116cf757927f393d88b6&quot;&gt;&lt;br&gt;
&lt;br&gt;
No viruses, I promise! If anyone knows how to get it to not look malicious, or any other tips related to CSS and this magical tool, I'd be glad to hear it.&lt;br&gt;
&lt;br&gt;
I started work on it last night. I don't yet know where to stick this (especially since it appears malicious to everything), but I hope I can redistribute this properly and successfully.</description>
        </item>
                <item>
            <title>v6011</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1110147</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1110147</guid>
            <pubDate>Thu, 03 Jan 2013 06:26:05 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1110147#comments</comments>
            
            <description>Out of boredom, I've put spontaneous effort into this project again.&lt;br&gt;
&lt;br&gt;
Summary of changes:&lt;br&gt;
&lt;ul&gt;

&lt;li&gt;The usual bug fixes (see the bug tracker if you're interested).&lt;/li&gt;
&lt;li&gt;Starter towns have been removed by a unanimous vote.&lt;/li&gt;
&lt;li&gt;Interface was slightly tweaked.&lt;/li&gt;
&lt;li&gt;Controls for combat and interactions have been slightly tweaked:&lt;br&gt;
&lt;ul&gt;

&lt;li&gt;You can now interact with some objects directly with the mouse instead of the &quot;interact with objects ahead of you&quot; system. For example, picking up items is now a simple left-click.&lt;/li&gt;
&lt;li&gt;Combat has been made smoother. Instead of holding Ctrl to enter combat mode, you can now toggle it with Tab.&lt;/li&gt;

&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
You'll probably notice a couple changes as soon as you log in.&lt;br&gt;
&lt;br&gt;
So. Log in.&lt;br&gt;
&lt;br&gt;
&lt;img width=&quot;544&quot; height=&quot;544&quot; src=&quot;http://www.byond.com/members/Kaiochao/files/Hazordhu%20II%20%286011%29%20Official%20Roleplay%20Server%202013-01-03%20025153.png&quot;&gt;</description>
        </item>
                <item>
            <title>Byond Tech</title>
            <link>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1068359</link>
            <guid>http://www.byond.com/members/Kaiochao?command=view_post&amp;post=1068359</guid>
            <pubDate>Wed, 28 Nov 2012 13:23:13 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Kaiochao?command=view_comments&amp;post=1068359#comments</comments>
            
            <description>&lt;a href=&quot;http://www.byondtech.com/&quot;&gt;http://www.byondtech.com/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
I totally want a smartphone and tablet with a &quot;BYOND&quot; label.</description>
        </item>
            
    </channel>
</rss>

