<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>Zaltron's site</title>
        <link>http://www.byond.com/members/Zaltron</link>
        <description></description>
        <lastBuildDate>Fri, 10 Feb 2012 22:03:42 +0000</lastBuildDate>
        <language>en-us</language>
    
                <item>
            <title>Is it bad to run a game in trusted mode?</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=151278</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=151278</guid>
            <pubDate>Sat, 12 Nov 2011 04:47:14 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=151278#comments</comments>
            
            <description>I've been working on a project that requires you to run the game in trusted mode to be able to find a specific folder and save to it on your computer. If it's not on trusted you get spammed with confirmation alerts. Is there a problem with hosted a game as trusted if that's all you're doing?</description>
        </item>
                <item>
            <title>Replying to the Wrong Post</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=181034</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=181034</guid>
            <pubDate>Sat, 29 Oct 2011 18:50:12 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=181034#comments</comments>
            
            <description>I hope I'm not the only one that's noticed but people are replying to the wrong posts. For example, if you look at the post here: &lt;a href=&quot;http://www.byond.com/forum/?post=794183&quot;&gt;ID:794183&lt;/a&gt; you can see that at least 2 posts have replied to the wrong post. I see this all over the place. When you reply to the wrong post the Author of the thread does not get notified of your post. I just thought I'd point that out.</description>
        </item>
                <item>
            <title>Closing DD, via code, when it stops hosting</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=154960</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=154960</guid>
            <pubDate>Wed, 26 Oct 2011 05:28:56 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=154960#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;
mob/&lt;span class=&quot;dmkeyword&quot;&gt;verb&lt;/span&gt;/test()&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/Addr = startup(file(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;./Sectors/Sectors.dmb&amp;quot;&lt;/span&gt;), 4444, &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;-once&amp;quot;&lt;/span&gt;)&lt;br&gt;    shutdown(Addr,1)
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
[EDIT]&lt;br&gt;
Further digging has lead me to this post: &lt;a href=&quot;http://www.byond.com/forum/?post=597782&quot;&gt;ID:597782&lt;/a&gt; which makes me think this bug was never fixed.&lt;br&gt;
[/EDIT]&lt;br&gt;
&lt;br&gt;
How do I make Dream Daemon terminate after it has stopped being hosted? Also, how do I check to see if a port is open or not so I can't host a new project on the same port causing it to fail to host.&lt;br&gt;
&lt;br&gt;
I've figured out how to close a window when it's open but not when it's minimized the the tray. This is the code for closing it when it's open but I need to to work for when it's minimized to the tray as well.&lt;br&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;
    shell(&lt;span class=&quot;dmstring&quot;&gt;{&amp;quot;taskkill /FI &amp;quot;WINDOWTITLE eq Dream Daemon&amp;quot; /F&amp;quot;}&lt;/span&gt;)
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;</description>
        </item>
                <item>
            <title>The Sky is Falling - iPhone [Need Testers]</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=181040</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=181040</guid>
            <pubDate>Sat, 22 Oct 2011 07:51:35 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=181040#comments</comments>
            
            <description>Hello,&lt;br&gt;
&lt;br&gt;
My twin, Sonder, and I have been working with iPhone apps for awhile now. Our current project is The Sky is Falling. If you have an iPhone/iTouch and would like to be a tester go to &lt;a href=&quot;http://testflightapp.com&quot;&gt;http://testflightapp.com&lt;/a&gt; and follow the directions to set up an account. When you get your iPhone/iTouch registered on there and the TestFlight app on your device send me an email to &quot;zaltron via gmail&quot;(email@gmail.com email being &quot;zaltron&quot;) with the email you used for the testflightapp site and &quot;BYOND&quot; as the subject. At that point I will add your device to my testing list and I'll be able to send you test builds which you will gain access to through the testflight app on your device. I hope to get feedback and bug reports from your testing. Thanks in advance. All of this is &lt;b&gt;&lt;font color=&quot;red&quot;&gt;FREE&lt;/font&gt;&lt;/b&gt; to do.&lt;br&gt;
&lt;br&gt;
- Zaltron</description>
        </item>
                <item>
            <title>turf.list thinks it's an obj</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=138856</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=138856</guid>
            <pubDate>Sat, 15 Oct 2011 22:26:54 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=138856#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;
[Code...]&lt;br&gt;&lt;br&gt;turf&lt;br&gt;    icon = &lt;span class=&quot;dmstring&quot;&gt;'Sectors.dmi'&lt;/span&gt;;&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/contains[0]&lt;br&gt;    New()&lt;br&gt;        ..()&lt;br&gt;        contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;1&amp;quot;&lt;/span&gt;] = list()&lt;br&gt;        contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;2&amp;quot;&lt;/span&gt;] = list()&lt;br&gt;&lt;br&gt;        [Code...]&lt;br&gt;&lt;br&gt;    [Code...]&lt;br&gt;&lt;br&gt;    Entered(obj/units/A, atom/B)&lt;br&gt;        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(!istype(A, /obj/units))&lt;span class=&quot;dmkeyword&quot;&gt;return&lt;/span&gt; 1&lt;br&gt;        contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[A.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] += A&lt;span class=&quot;dmcomment&quot;&gt;//***************LINE: 119***************/&lt;/span&gt;&lt;br&gt;        world&amp;lt;&amp;lt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Debug: &lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[contains[1]]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[contains[2]]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[A.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(A.prev_loc)&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/turf/t = A.prev_loc&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/list/L = t.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[A.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;]&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(L == null)&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/turf/r = locate(x, y, z)&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;/c &lt;span class=&quot;dmkeyword&quot;&gt;in&lt;/span&gt; colors_in_use)r.contains[c] = list()&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;/obj/units/o &lt;span class=&quot;dmkeyword&quot;&gt;in&lt;/span&gt; r)&lt;br&gt;                    world&amp;lt;&amp;lt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Debug: &lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[r.contains[1]]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[r.contains[2]]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[o.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;                    r.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[o.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] += o&lt;span class=&quot;dmcomment&quot;&gt;//***************LINE: 129***************/&lt;/span&gt;&lt;br&gt;                &lt;span class=&quot;dmcomment&quot;&gt;//world&amp;lt;&amp;lt;&amp;quot;NULL!&amp;quot;&lt;/span&gt;&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;return&lt;/span&gt; 1&lt;br&gt;            L -= A&lt;span class=&quot;dmcomment&quot;&gt;//***************LINE: 132***************/&lt;/span&gt;&lt;br&gt;            t.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[A.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] = L&lt;br&gt;        &lt;span class=&quot;dmcomment&quot;&gt;//else world&amp;lt;&amp;lt;&amp;quot;ADGGAD&amp;quot;&lt;/span&gt;&lt;br&gt;        A.prev_loc = src&lt;br&gt;        ..()
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
ideally turf/Entered() would look like this:&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;
    Entered(obj/units/A, atom/B)&lt;br&gt;        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(!istype(A, /obj/units))&lt;span class=&quot;dmkeyword&quot;&gt;return&lt;/span&gt; 1&lt;br&gt;        contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[A.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] += A&lt;br&gt;        A.prev_loc.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[A.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] -= A&lt;br&gt;        A.prev_loc = src
&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;br&gt;
This code works most of the time but every now and again it gets an error that makes the list think it's an obj/unit1 obj.&lt;br&gt;
It happens in a few places. I've tried everything I can think of to fix it. I even remake the lists just above line 129.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Here are the errors:&lt;br&gt;
&lt;br&gt;
runtime error: type mismatch: the unit1 (/obj/units/unit1) += the unit1 (/obj/units/unit1)&lt;br&gt;
proc name: Entered (/turf/Entered)&lt;br&gt;
source file: Sectors.dm,119&lt;br&gt;
usr: 0&lt;br&gt;
src: the turf (6,7,1) (/turf)&lt;br&gt;
call stack:&lt;br&gt;
the turf (6,7,1) (/turf): Entered(the unit1 (/obj/units/unit1), the turf (7,7,1) (/turf))&lt;br&gt;
gameTimer()&lt;br&gt;
: New()&lt;br&gt;
runtime error: type mismatch: the unit1 (/obj/units/unit1) -= the unit1 (/obj/units/unit1)&lt;br&gt;
proc name: Entered (/turf/Entered)&lt;br&gt;
source file: Sectors.dm,132&lt;br&gt;
usr: 0&lt;br&gt;
src: the turf (6,9,1) (/turf)&lt;br&gt;
call stack:&lt;br&gt;
the turf (6,9,1) (/turf): Entered(the unit1 (/obj/units/unit1), the turf (6,8,1) (/turf))&lt;br&gt;
gameTimer()&lt;br&gt;
: New()&lt;br&gt;
runtime error: type mismatch: the unit1 (/obj/units/unit1) += the unit1 (/obj/units/unit1)&lt;br&gt;
proc name: Entered (/turf/Entered)&lt;br&gt;
source file: Sectors.dm,129&lt;br&gt;
usr: 0&lt;br&gt;
src: the turf (6,7,1) (/turf)&lt;br&gt;
call stack:&lt;br&gt;
the turf (6,7,1) (/turf): Entered(the unit1 (/obj/units/unit1), the turf (7,7,1) (/turf))&lt;br&gt;
gameTimer()&lt;br&gt;
: New()&lt;br&gt;
&lt;br&gt;
Here is some code that is called when I create a new units using turf.MouseDown():&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;
                [Code...]&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(rand(1, 2) == 1)&lt;br&gt;                    o.icon_state = &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Unit1&amp;quot;&lt;/span&gt;&lt;br&gt;                    o.color = 1&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;else&lt;/span&gt;&lt;br&gt;                    o.color = 2&lt;br&gt;                    o.icon_state = &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Unit2&amp;quot;&lt;/span&gt;&lt;br&gt;                o.loc = locate(x, y, z)&lt;br&gt;                o.prev_loc = src&lt;br&gt;                o.destination = null&lt;br&gt;                o.step_x = rand(10, 54)&lt;br&gt;                o.step_y = rand(10, 54)&lt;br&gt;                usr.units += o&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/turf/t = locate(x, y, z)&lt;br&gt;                t.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[o.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] += o
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
When I remove lines 264 through 286 from GameTimer I don't get any of those errors. I need those lines for units to be able to combat each other. I don't see how those lines are messing things up.&lt;br&gt;
&lt;br&gt;
Here is GameTimer, it is called once when the games starts:&lt;br&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;
&lt;span class=&quot;dmkeyword&quot;&gt;proc&lt;/span&gt;/gameTimer()&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;set&lt;/span&gt; background = 1&lt;br&gt;    &lt;span class=&quot;dmcomment&quot;&gt;//var/count = 0&lt;/span&gt;&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;while&lt;/span&gt;(1)&lt;br&gt;        &lt;span class=&quot;dmcomment&quot;&gt;//count++&lt;/span&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;/obj/units/o &lt;span class=&quot;dmkeyword&quot;&gt;in&lt;/span&gt; active_units)&lt;br&gt;            &lt;span class=&quot;dmcomment&quot;&gt;//if(count % 10 == 0)o.direction = pick(NORTH, EAST, SOUTH, WEST, NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST)&lt;/span&gt;&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.destination)&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.loc == o.destination)&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/list/dirs = list()&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_y &amp;gt; 32)&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;gt; 10)dirs += SOUTHWEST&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;lt; 54)dirs += SOUTHEAST&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;gt; 10 &amp;amp;&amp;amp; o.step_x &amp;lt; 54)dirs += SOUTH&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_y &amp;lt; 32)&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;gt; 10)dirs += NORTHWEST&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;lt; 54)dirs += NORTHEAST&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;gt; 10 &amp;amp;&amp;amp; o.step_x &amp;lt; 54)dirs += NORTH&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;gt; 32)&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_y &amp;gt; 10 &amp;amp;&amp;amp; o.step_y &amp;lt; 54)dirs += WEST&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_x &amp;lt; 32)&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.step_y &amp;gt; 10 &amp;amp;&amp;amp; o.step_y &amp;lt; 54)dirs += EAST&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(dirs.len &amp;gt; 0)&lt;br&gt;                        o.direction = pick(dirs)&lt;br&gt;                        o.destination = null&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;else&lt;/span&gt; step_towards(o, o.destination, rand(o.spd - 1, o.spd + 1))&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;else&lt;/span&gt;&lt;br&gt;                step(o, o.direction, o.spd)&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/move_on = FALSE&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;/c &lt;span class=&quot;dmkeyword&quot;&gt;in&lt;/span&gt; colors_in_use)&lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[o.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt; != c)&lt;span class=&quot;dmcomment&quot;&gt;//***************Line: 264******************/&lt;/span&gt;&lt;br&gt;                &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(move_on)&lt;span class=&quot;dmkeyword&quot;&gt;break&lt;/span&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;/obj/units/A &lt;span class=&quot;dmkeyword&quot;&gt;in&lt;/span&gt; o.prev_loc.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[c]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;])&lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.color &amp;gt; 0 &amp;amp;&amp;amp; A.color &amp;gt; 0 &amp;amp;&amp;amp; o.color != A.color)&lt;br&gt;                    o.hp -= A.atk&lt;br&gt;                    A.hp -= o.atk&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(A.hp &amp;lt;= 0)&lt;br&gt;                        A.prev_loc.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[A.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] -= A&lt;br&gt;                        A.color = 0&lt;br&gt;                        A.icon_state = &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(A.owner)&lt;br&gt;                            A.owner.units -= A&lt;br&gt;                            A.owner = null&lt;br&gt;                        inactive_units += A&lt;br&gt;                        active_units -= A&lt;br&gt;                    &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.hp &amp;lt;= 0)&lt;br&gt;                        o.prev_loc.contains[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[o.color]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;] -= o&lt;br&gt;                        o.icon_state = &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;br&gt;                        o.color = 0&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(o.owner)&lt;br&gt;                            o.owner.units -= o&lt;br&gt;                            o.owner = null&lt;br&gt;                        inactive_units += o&lt;br&gt;                        active_units -= o&lt;br&gt;                        move_on = TRUE&lt;br&gt;                        &lt;span class=&quot;dmkeyword&quot;&gt;break&lt;/span&gt;&lt;span class=&quot;dmcomment&quot;&gt;//***************Line: 289******************/&lt;/span&gt;&lt;br&gt;        sleep(5)
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;</description>
        </item>
                <item>
            <title>C# Server and BYOND?</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155033</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155033</guid>
            <pubDate>Wed, 05 Oct 2011 21:26:51 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=155033#comments</comments>
            
            <description>How would I go about communicating with a C# server and receiving message in BYOND through world/Topic()? Also, if I have a C# client connect to a DD server could I send messages to the clients through sockets and receive them through Topic()?</description>
        </item>
                <item>
            <title>Setting and icon to 100x100 programatically</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155201</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155201</guid>
            <pubDate>Sat, 20 Aug 2011 21:50:14 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=155201#comments</comments>
            
            <description>I wasn't sure what to search for to find an answer for this. I'm setting an icon of an object, during run time, to an icon that is 100x100 but it's stretching the icon to 32x32. How can I get it to keep the size 100x100?</description>
        </item>
                <item>
            <title>Saving an icon_state as a png using fcopy</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155532</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155532</guid>
            <pubDate>Wed, 08 Jun 2011 06:21:48 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=155532#comments</comments>
            
            <description>I'm trying to grab every icon_state from an icon file and save them as individual png files using fcopy.&lt;br&gt;
&lt;br&gt;
I've tried many different ways, one being:&lt;br&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;span class=&quot;dmkeyword&quot;&gt;verb&lt;/span&gt;/test()&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;&lt;br&gt;        icon/i = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;&lt;br&gt;    i.Insert(icon(&lt;span class=&quot;dmstring&quot;&gt;'Test.dmi'&lt;/span&gt;, &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Blue&amp;quot;&lt;/span&gt;))&lt;br&gt;    fcopy(i, &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;temp.png&amp;quot;&lt;/span&gt;)
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
I've also tried icon/i = new(&quot;blah.dmi&quot;), it has to be an actual icon or it throws an error. Still doesn't work, even with new('blah.dmi').&lt;br&gt;
&lt;br&gt;
temp.png always result with an alert saying unable to read.&lt;br&gt;
&lt;br&gt;
I also tried:&lt;br&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;
fcopy(icon(&lt;span class=&quot;dmstring&quot;&gt;'Test.dmi'&lt;/span&gt;, &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Blue&amp;quot;&lt;/span&gt;), &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;temp.png&amp;quot;&lt;/span&gt;)
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
Which would be the easiest way if it actually worked.&lt;br&gt;
&lt;br&gt;
Any help on how to do this would be greatly appreciated.</description>
        </item>
                <item>
            <title>Derivative, Antiderivative and Partials of both</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155623</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=155623</guid>
            <pubDate>Sun, 01 May 2011 22:01:57 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=155623#comments</comments>
            
            <description>Has anyone made these function on BYOND? If not what would be the most efficient way to go about making them?</description>
        </item>
                <item>
            <title>Japan Just Got Hit by an 8.9 Magnitude Earthquake.</title>
            <link>http://www.byond.com/members/Zaltron?command=view_post&amp;post=181226</link>
            <guid>http://www.byond.com/members/Zaltron?command=view_post&amp;post=181226</guid>
            <pubDate>Fri, 11 Mar 2011 07:48:21 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Zaltron?command=view_comments&amp;post=181226#comments</comments>
            
            <description>An aftershock that is 6.?(I think 6.8) hit at the center of Tokyo. Tsunamis are threatening all countries around there. There is a lot lot of flooding in Japan, it's crazy over there.</description>
        </item>
            
    </channel>
</rss>


