<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>Ruben7's site</title>
        <link>http://www.byond.com/members/Ruben7</link>
        <description></description>
        <lastBuildDate>Fri, 10 Feb 2012 19:17:14 +0000</lastBuildDate>
        <language>en-us</language>
    
                <item>
            <title>Icon Editor color delete</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=132616</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=132616</guid>
            <pubDate>Mon, 15 Feb 2010 17:29:28 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=132616#comments</comments>
            
            <description>Deleting a color from the &quot;Colors&amp;gt;Edit&quot; menu in the icon editor; removes that color from the entire icon.</description>
        </item>
                <item>
            <title>window loses focus; up-key macros trigger</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=132636</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=132636</guid>
            <pubDate>Sun, 31 Jan 2010 05:12:51 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=132636#comments</comments>
            
            <description>&quot;When Dream Seeker loses focus to another application, keys that are held down are considered released and trigger the appropriate up-key macros&quot;&lt;br&gt;
&lt;br&gt;
This doesn't apply for the default input/alert windows. Not sure if it's a bug, Lummox gets pissy when I post bugs that aren't bugs in the Report-a-Bug section (hehe &amp;lt;.&amp;lt;)</description>
        </item>
                <item>
            <title>455.1043 private build</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=181721</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=181721</guid>
            <pubDate>Wed, 28 Oct 2009 22:39:36 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=181721#comments</comments>
            
            <description>The icon size option from the map editor has been removed. Is it temporary or will this feature be gone for good within the next few updates?</description>
        </item>
                <item>
            <title>Var tracking :D?</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=132971</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=132971</guid>
            <pubDate>Sun, 12 Jul 2009 05:12:21 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=132971#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;
Var_Accessed(var_name,atom/Src) &lt;span class=&quot;dmcomment&quot;&gt;// Src is the owner of the var, if available (would be null for global vars and stuff)&lt;/span&gt;&lt;br&gt; world&amp;lt;&amp;lt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[var name]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt; accessed!&amp;quot;&lt;/span&gt;&lt;br&gt; &lt;span class=&quot;dmkeyword&quot;&gt;switch&lt;/span&gt;(var_name)&lt;br&gt;  &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;h_pee&amp;quot;&lt;/span&gt;)&lt;br&gt;   &lt;span class=&quot;dmkeyword&quot;&gt;if&lt;/span&gt;(ismob(Src))Src:UpdateHP()&lt;br&gt;&lt;br&gt;mob/&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/h_pee=1337&lt;br&gt;mob/&lt;span class=&quot;dmkeyword&quot;&gt;verb&lt;/span&gt;/ChangeHP(a &lt;span class=&quot;dmkeyword&quot;&gt;as&lt;/span&gt; num)&lt;br&gt; usr.h_pee=a &lt;span class=&quot;dmcomment&quot;&gt;// the var has been accessed! Var_Accessed() would be called.&lt;/span&gt;&lt;br&gt;mob/&lt;span class=&quot;dmkeyword&quot;&gt;proc&lt;/span&gt;/UpdateHP()&lt;br&gt; winset(w.e)
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
Gets called whenever a var is accessed. This would simplify certain things so much. Instead of tracking every single var change by ourselves, just override that prawk.&lt;br&gt;
&lt;br&gt;
(Turn vars into procs ftw? Is it possible?)</description>
        </item>
                <item>
            <title>Improved GetScores()</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=133037</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=133037</guid>
            <pubDate>Sat, 30 May 2009 16:25:56 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=133037#comments</comments>
            
            <description>This has probably been suggested before, I'm just reminding you guys so maybe you could throw it in v441.&lt;br&gt;
&lt;br&gt;
GetScores(null,&quot;field name&quot;) to return an ordered list, from highest to lowest value of the field name.</description>
        </item>
                <item>
            <title>New Mouse Control Feature</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=133165</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=133165</guid>
            <pubDate>Sat, 21 Feb 2009 20:06:15 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=133165#comments</comments>
            
            <description>I've read &lt;a href=&quot;http://www.byond.com/developer/forum/?id=688849&quot;&gt;this post&lt;/a&gt; and thought it wasn't a bad idea to make a feature request.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;u&gt;Details:&lt;/u&gt;&lt;/b&gt;&lt;br&gt;
Basically, a simple proc, GetMouseLoc() (name doesn't matter), that returns a list with the following values:&lt;br&gt;
&lt;br&gt;
under_object&lt;br&gt;
icon-x&lt;br&gt;
icon-y&lt;br&gt;
under_location&lt;br&gt;
under_window (would be useful)&lt;br&gt;
&lt;br&gt;
This would get the above values without us having to use the mouse at all. This would be very useful for many games, specially shooters, where you would have to hold down the mouse to keep shooting.&lt;br&gt;
&lt;br&gt;
Andre-G1 and I have tried to come up with workarounds, but with no luck. Here's a quick example:&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;
client&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;&lt;br&gt;        mousepx=0&lt;br&gt;        mousepy=0&lt;br&gt;        mousex=0&lt;br&gt;        mousey=0&lt;br&gt;        mouse_isdown=0&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;proc&lt;/span&gt;&lt;br&gt;        Shoot()&lt;br&gt;            spawn &lt;span class=&quot;dmkeyword&quot;&gt;while&lt;/span&gt;(mouse_isdown)&lt;br&gt;                world&amp;lt;&amp;lt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;you shoot (&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[mousex]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[mousey]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;)(&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[mousepx]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[mousepy]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;)!&amp;quot;&lt;/span&gt;&lt;br&gt;                sleep(1)&lt;br&gt;        UpdateMouseLoc(plist,loc)&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/Plist[]=params2list(plist)&lt;br&gt;            src.mousepx=Plist[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;icon-x&amp;quot;&lt;/span&gt;]&lt;br&gt;            src.mousepy=Plist[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;icon-y&amp;quot;&lt;/span&gt;]&lt;br&gt;            src.mousex=loc:x&lt;br&gt;            src.mousey=loc:y&lt;br&gt;    MouseDrag(src_object,over_object,src_location,over_location,src_control,over_control,params)&lt;br&gt;        src.UpdateMouseLoc(params,src_location)&lt;br&gt;        ..()&lt;br&gt;    MouseEntered(object,location,control,params)&lt;br&gt;        src.UpdateMouseLoc(params,location)&lt;br&gt;        ..()&lt;br&gt;    MouseExited(object,location,control,params)&lt;br&gt;        src.UpdateMouseLoc(params,location)&lt;br&gt;        ..()&lt;br&gt;    MouseDown(object,location,control,params)&lt;br&gt;        mouse_isdown=1&lt;br&gt;        src.UpdateMouseLoc(params,location)&lt;br&gt;        src.Shoot()&lt;br&gt;        ..()&lt;br&gt;    MouseUp()&lt;br&gt;        mouse_isdown=0&lt;br&gt;        ..()
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
Unfortunately, MouseDown() is the only proc that calls UpdateMouseLoc(), the other procs are not called while the mouse is down.&lt;br&gt;
&lt;br&gt;
Thanks, and hope you consider.&lt;br&gt;
&lt;br&gt;
Also if anyone has any tips on how to make this work, feel free to help out!</description>
        </item>
                <item>
            <title>client.screen</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=133301</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=133301</guid>
            <pubDate>Mon, 01 Dec 2008 21:14:07 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=133301#comments</comments>
            
            <description>Will big icons, over 32x32, support ever be considered? It would save a lot of hassle.</description>
        </item>
                <item>
            <title>outside bot program</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=160702</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=160702</guid>
            <pubDate>Thu, 31 Jul 2008 15:34:02 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=160702#comments</comments>
            
            <description>When a verb is used, is there any way to check if it was the client that put his mouse over the verb and actually clicked it himself/ used a macro, or if he used another method? There is this Bot program that has been released to the public. I won't post a link because it could screw over a lot of games, but any BYOND moderator contact me and I'll provide the link, since I have no idea how to contact you guys.</description>
        </item>
                <item>
            <title>Export()</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=142198</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=142198</guid>
            <pubDate>Sun, 27 Jul 2008 05:17:57 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=142198#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;    &lt;span class=&quot;dmkeyword&quot;&gt;proc&lt;/span&gt;&lt;br&gt;        CharacterSave()&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/savefile/F=&lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[src.ckey]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;)&lt;br&gt;            F[&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;M&amp;quot;&lt;/span&gt;]&amp;lt;&amp;lt;src.money&lt;br&gt;            &lt;span class=&quot;dmcomment&quot;&gt;//etc&lt;/span&gt;&lt;br&gt;            client.Export(F)&lt;br&gt;        CharacterLoad()&lt;br&gt;            &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/savefile/F=&lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[src.ckey]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;&lt;/span&gt;)&lt;br&gt;            client.Import(F)&lt;br&gt;            &lt;span class=&quot;dmcomment&quot;&gt;//check stuff, etc&lt;/span&gt;
&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; This isn't saving the save file on the client's pc. I've been looking over and over at the DM Guide and I think I used Import and Export right. o.o&lt;br&gt;
Any help is appreciated.</description>
        </item>
                <item>
            <title>Stat()</title>
            <link>http://www.byond.com/members/Ruben7?command=view_post&amp;post=160769</link>
            <guid>http://www.byond.com/members/Ruben7?command=view_post&amp;post=160769</guid>
            <pubDate>Fri, 25 Jul 2008 02:31:50 +0000</pubDate>
            
            <comments>http://www.byond.com/members/Ruben7?command=view_comments&amp;post=160769#comments</comments>
            
            <description>I've ran a profile on Dream Daemon to try and find some lag causing procs, and Stat is on top of all with:&lt;br&gt;
&lt;br&gt;
Self CPU: 20.702&lt;br&gt;
Total CPU: 20.702&lt;br&gt;
Real Time: 20.700&lt;br&gt;
Calls: 1541&lt;br&gt;
&lt;br&gt;
This is just a 20 second run. Is it normal? For such a short period of time it looks like it's taking a lot of CPU. Is there any way of maybe reducing the update frequency without using tick_lag?&lt;br&gt;
&lt;br&gt;
Any help is appreciated.</description>
        </item>
            
    </channel>
</rss>


