<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>Green Lime's site</title>
        <link>http://www.byond.com/members/GreenLime</link>
        <description></description>
        <lastBuildDate>Sat, 11 Feb 2012 03:29:25 +0000</lastBuildDate>
        <language>en-us</language>
    
                <item>
            <title>Need help selecting a video card.</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=278272</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=278272</guid>
            <pubDate>Sun, 27 Dec 2009 14:21:07 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=278272#comments</comments>
            
            <description>I recently received a computer game for christmas which requires a video card. I looked around the internet for one that would meet all the requirements of the game and thanks to google found some. Sadly upon further investigation I don't think these video cards are compatible with my comp. According to Wikipedia video cards require certain volt or wattage and something how I guess a bus is large enough or something. Yea, I am not good with hardware.&lt;br&gt;
&lt;br&gt;
If any one can lend any information or possibly select a card that would work correctly with my comp I would be much appreciative.&lt;br&gt;
&lt;br&gt;
The Details&lt;br&gt;
&lt;br&gt;
Video Card:&lt;br&gt;
The game requires a DirectX 9 compliant, 128MB video RAM, and Shader Model 1.1 or higher.&lt;br&gt;
&lt;br&gt;
Comp:&lt;br&gt;
see this website for any information about my comp.&lt;br&gt;
&lt;a href=&quot;http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00571922&amp;tmp_task=prodinfoCategory&amp;lc=en&amp;dlc=en&amp;cc=us&amp;lang=en&amp;product=1815823&quot;&gt;http://h10025.www1.hp.com/ewfrf/wc/ document?docname=c00571922&amp;tmp_task=prodinfoCategory&amp;lc=en&amp;d lc=en&amp;cc=us&amp;lang=en&amp;product=1815823&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If you require any more information please just say so and I will try and provide it to my fullest ability.&lt;br&gt;
&lt;br&gt;
Thanks again guys&amp;gals.</description>
        </item>
                <item>
            <title>Cannot read null.client ???</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=264482</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=264482</guid>
            <pubDate>Tue, 21 Jul 2009 22:56:36 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=264482#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;var&lt;/span&gt;&lt;br&gt;        image/Box = null&lt;br&gt;&lt;br&gt;mob/&lt;span class=&quot;dmkeyword&quot;&gt;verb&lt;/span&gt;&lt;br&gt;    ShowImage()&lt;br&gt;        &lt;span class=&quot;dmcomment&quot;&gt;// Show an image and place it over src.&lt;/span&gt;&lt;br&gt;        &lt;span class=&quot;dmcomment&quot;&gt;// See if it changes direction and flicks motion.&lt;/span&gt;&lt;br&gt;        src.Box = image (&lt;span class=&quot;dmstring&quot;&gt;'mobimage.dmi'&lt;/span&gt;, src)&lt;br&gt;        src &amp;lt;&amp;lt; src.Box&lt;br&gt;&lt;br&gt;    DeleteImage()&lt;br&gt;        world &amp;lt;&amp;lt; &lt;span class=&quot;dmstring&quot;&gt;&amp;quot;Box is &amp;quot;&lt;/span&gt; &amp;lt;&amp;lt; src.Box&lt;br&gt;        &lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/client/C = src.client       &lt;span class=&quot;dmcomment&quot;&gt;// This is the error line!&lt;/span&gt;&lt;br&gt;        C.images -= src.Box&lt;br&gt;&lt;br&gt;&lt;br&gt;turf&lt;br&gt;    icon=&lt;span class=&quot;dmstring&quot;&gt;'turf.dmi'&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;&lt;br&gt;
&lt;br&gt;
ShowImage verb works fine. But when I click the DeleteImage verb I get this runtime error.&lt;br&gt;
&lt;br&gt;
runtime error: Cannot read null.client&lt;br&gt;
proc name: DeleteImage (/mob/verb/DeleteImage)&lt;br&gt;
source file: testdemo.dm,14&lt;br&gt;
usr: Guest-1649440025 (/mob)&lt;br&gt;
src: Guest-1649440025 (/mob)&lt;br&gt;
call stack:&lt;br&gt;
Guest-1649440025 (/mob): DeleteImage()&lt;br&gt;
&lt;br&gt;
The thing that I don't get is it says right in the error message that src = /mob (me). Can some one please explain why this is happening?</description>
        </item>
                <item>
            <title>Game doesn't even appear when run?</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=264465</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=264465</guid>
            <pubDate>Thu, 09 Jul 2009 20:34:12 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=264465#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;
&lt;span class=&quot;dmcomment&quot;&gt;/* Generated list at compile time.&lt;br&gt;   Screen Width: 11*/&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/list/ListOfRaysAngles = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;NORTH&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;120,114.545,109.091,103.636,98.1818,92.7273,87.2727,81.8182,76.3636,70.9091,65.4546,60,54.5455),&lt;br&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;NORTHEAST&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;75,69.5455,64.0909,58.6364,53.1818,47.7273,42.2727,36.8182,31.3636,25.9091,20.4546,15,9.54546),&lt;br&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;EAST&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;30,24.5455,19.0909,13.6364,8.18182,2.72727,357.273,351.818,346.364,340.909,335.455,330),&lt;br&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;SOUTHEAST&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;345,339.545,334.091,328.636,323.182,317.727,312.273,306.818,301.364,295.909,290.454,285),&lt;br&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;SOUTH&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;300,294.545,289.091,283.636,278.182,272.727,267.273,261.818,256.364,250.909,245.454,240),&lt;br&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;SOUTHWEST&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;255,249.545,244.091,238.636,233.182,227.727,222.273,216.818,211.364,205.909,200.455,195,189.545),&lt;br&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;WEST&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;210,204.545,199.091,193.636,188.182,182.727,177.273,171.818,166.364,160.909,155.455,150,144.545),&lt;br&gt;&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;NORTHWEST&amp;quot;&lt;/span&gt; = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;/list(&lt;br&gt;165,159.545,154.091,148.636,143.182,137.727,132.273,126.818,121.364,115.909,110.455,105,99.5455))&lt;br&gt;&lt;br&gt;mob/Login()&lt;br&gt;&lt;br&gt;    &lt;span class=&quot;dmkeyword&quot;&gt;return&lt;/span&gt; ..()&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define X_Screen_Left       src.x-5&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define X_Screen_LeftEnd    src.x-1&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define X_Screen_Right      src.x+1&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define X_Screen_RightEnd   src.x+5&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define Y_Screen_Down       src.y-5&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define Y_Screen_DownEnd    src.y-1&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define Y_Screen_Up     src.y+1&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define Y_Screen_UpEnd      src.y+5&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define tan(angle) sin(angle)/cos(angle)&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/distanceToPlane = 11/2 / (tan(60/2))&lt;br&gt;mob/&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/screen[11]&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmpreprocessor&quot;&gt;#define ceil(x) (-round(-(x)))&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/screen_height = 11
&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;
The problem is dreamseeker. It's not loading the interface or any thing when I run it from dreemmaker. I looked at the Win Task Manager and it said dreemseeker was running at 99% CPU and 200 something MB of memory.&lt;br&gt;
&lt;br&gt;
So I think it either has something to do with what happens when I first login or the global variables that I am declaring. I have given the Login() procedure along with all of my global variables that I am declaring. If any of you see any thing that could be causing the problem and can give me a solution, I would be very grateful.&lt;br&gt;
&lt;br&gt;
Other than that, the objects on the map are loaded but... there is nothing special about the objects on the map.&lt;br&gt;
&lt;br&gt;
To be honest nothing like this has happened to me before so I am really stumped.</description>
        </item>
                <item>
            <title>Can't Find Book on COM or ATL</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=278134</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=278134</guid>
            <pubDate>Mon, 29 Jun 2009 23:15:18 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=278134#comments</comments>
            
            <description>Let me start first with my current experience with the subject. I have read several online tutorials on COM and a sort of introduction to ATL. From what I read, I think, ATL just encapsulates COM code to reduce its redundancy.&lt;br&gt;
&lt;br&gt;
What am I looking for in the book(s)?&lt;br&gt;
&lt;br&gt;
I started to learn COM and thus ATL thanks to MSDN's documentation, because I wanted to learn how to program IE add-ons. I have read the MSDN documentation, some what, but I'm stuck on how to deal with a certain specific part of IE add-ons. I would like details on how to handle event sinks or the Idispatch interface. More specifically, I want a book(s) which will explain how to handle Javascript events being cast by HTML elements. For example, an onclick() event being cast when you click on an
&lt;pre&gt;
&lt;img&gt;
&lt;/pre&gt;
element. In the MSDN documentation they talk about using a map sink with the Browser object and the documentComplete event but not how to handle element events. Not only that, I also would like to know how to handle multiple element's events.&lt;br&gt;
&lt;br&gt;
If any one can give a book with the above or just the basics of COM &amp; ATL along with concepts on event sinks, I would greatly appreciate it.</description>
        </item>
                <item>
            <title>Pascal's triangle Help</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=277970</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=277970</guid>
            <pubDate>Fri, 17 Oct 2008 16:25:29 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=277970#comments</comments>
            
            <description>I need to recall a certain formula for Pascal's triangle which allows you to get a number in a certain row, column using the row and column you need along with other information I can't remember. Yea I know I am specific huh :P&lt;br&gt;
&lt;br&gt;
Any way I would appreciate some help on this. I have looked around google for some page describing some formula but kept coming up with nothing.</description>
        </item>
                <item>
            <title>Hosting DMCGI Problem</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=271824</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=271824</guid>
            <pubDate>Sun, 18 Nov 2007 18:07:59 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=271824#comments</comments>
            
            <description>OS: Ubuntu&lt;br&gt;
Problem: I am unable to access my dmcgi page, which is being hosted by an apache web server, from another computer. Yet using localhost on the server runs the dmb just fine.&lt;br&gt;
&lt;br&gt;
I'm not sure what information I should provide to help fix my problem or what could be wrong. As far as I know, I do not have a firewall up.&lt;br&gt;
&lt;br&gt;
Thanks for any help.&lt;br&gt;</description>
        </item>
                <item>
            <title>DreamDaemon error on linux</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=277693</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=277693</guid>
            <pubDate>Sun, 11 Nov 2007 15:43:09 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=277693#comments</comments>
            
            <description>I just installed Ubuntu on my computer and have been trying to install byond. I followed the readme.txt and make instructions but it still doesn't seem to be working.&lt;br&gt;
I wanted to do a personal install so I,&lt;br&gt;
1.) make here&lt;br&gt;
(at /home/bwilkins/byond)&lt;br&gt;
2.) source /home/bwilkins/byond/bin/byondsetup&lt;br&gt;
(in terminal)&lt;br&gt;
3.) source /home/bwilkins/byond/bin/byondsetup&lt;br&gt;
(in etc/profile which is the startup script it talks about right?)&lt;br&gt;
&lt;br&gt;
But then when I try to run the statement, &quot;bwilkins@dekstop:~/byond$ DreamDaemon host/host.dmb&quot; it gives me the following.&lt;br&gt;
DreamDaemon: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory&lt;br&gt;
&lt;br&gt;
In searching the forums I came across a post of Mike H's so maybe the details of it will help figure out my problem.&lt;br&gt;
&lt;br&gt;
echo $LD_LIBRARY_PATH&lt;br&gt;
/home/bwilkins/byond/bin:&lt;br&gt;
echo $BYOND_SYSTEM&lt;br&gt;
/home/bwilkins/byond&lt;br&gt;
ldd /home/bwilkins/byond/bin/DreamDaemon&lt;br&gt;
linux-gate.so.1 =&amp;gt; (0xffffe000&lt;br&gt;
libbyond.so =&amp;gt; /home/bwilkins/byond/bin/libbyond.so (0xb7c5f000)&lt;br&gt;
libpng.so =&amp;gt; /home/bwilkins/byond/bin/libpng.so (0xb7c3f000)&lt;br&gt;
libzip.so =&amp;gt; /home/bwilkins/byond/bin/libzip.so (0xb7c2e000)&lt;br&gt;
libstdc++.so.5 =&amp;gt; not found&lt;br&gt;
libm.so.6 =&amp;gt; /lib/tls/i686/cmov/libm.so.6 (0xb7bff000)&lt;br&gt;
libgcc_s.so.1 =&amp;gt; /lib/libgcc_s.so.1 (0xb7bf4000)&lt;br&gt;
libc.so.6 =&amp;gt; /lib/tls/i686/cmov/libc.so.6 (0xb7aaa000)&lt;br&gt;
libdl.so.2 =&amp;gt; /lib/tls/i686/cmov/libdl.so.2 (0xb7aa5000)&lt;br&gt;
/lib/ld-linux.so.2 (0xb7fcd000)&lt;br&gt;
libstdc++.so.5 =&amp;gt; not found&lt;br&gt;
libstdc++.so.5 =&amp;gt; not found&lt;br&gt;
libstdc++.so.5 =&amp;gt; not found&lt;br&gt;
which DreamDaemon&lt;br&gt;
/home/bwilkins/byond/bin/DreamDaemon&lt;br&gt;
&lt;br&gt;
From another post in the past of a person missing libstdc++.so.5. Mike H posted a link to another post about adding libstdc++-libc6.2-2.so.3 to the same folder that byondlib.so or something like that was in. But after adding that file to the bin folder where the byondlib.so is located it still doesn't run right.&lt;br&gt;
&lt;br&gt;
Thanks for any help. I wanted to move to linux but if linux woun't load byond I hate it :(</description>
        </item>
                <item>
            <title>Outputting to file using dm.exe &amp; shell wont work?</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=263785</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=263785</guid>
            <pubDate>Tue, 06 Nov 2007 21:18:27 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=263785#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;
&lt;span class=&quot;dmcomment&quot;&gt;// Took directly from ref.&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmkeyword&quot;&gt;verb&lt;/span&gt;/direction(Path &lt;span class=&quot;dmkeyword&quot;&gt;as&lt;/span&gt; text)&lt;br&gt;    shell(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;dir &lt;/span&gt;&lt;span class=&quot;dmbrace&quot;&gt;[Path]&lt;/span&gt;&lt;span class=&quot;dmstring&quot;&gt; &amp;gt; dir.out&amp;quot;&lt;/span&gt;)&lt;br&gt;    usr &amp;lt;&amp;lt; file2text(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;dir.out&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;
&lt;b&gt;Problem description:&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
That is from the ref. but the output '&amp;gt;' doesn't seem to be working. Anyone know why?&lt;br&gt;
&lt;br&gt;
I was looking around and found something called ANSI escape sequences or something like that. I wanted to send ANSI escape sequences to a telnet user from byond. Anyone know if this is possible?&lt;br&gt;
&lt;br&gt;
I managed a work around in ds but it allows for too little security. In order to display the ANSI you open a command prompt and then enter the escape sequences. But the command prompt also has the potential to delete your files.&lt;br&gt;
&lt;br&gt;
In order to manage the work around I had to fool with the shell command, of course. Well I came along something interesting that could be useful in my RealTimeEditor, but I am not sure if I should use it because of the whole delete file thing.&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;
text2file(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;..\\dm telnetdemo &amp;gt; dir2.out&amp;quot;&lt;/span&gt;,&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;dir.in&amp;quot;&lt;/span&gt;)&lt;br&gt;shell(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;command.com &amp;lt; dir.in &amp;gt; dir.out&amp;quot;&lt;/span&gt;)&lt;br&gt;usr &amp;lt;&amp;lt; file2text(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;dir.out&amp;quot;&lt;/span&gt;) &lt;span class=&quot;dmcomment&quot;&gt;// dir.out holds only the command line information.&lt;/span&gt;&lt;br&gt;usr &amp;lt;&amp;lt; file2text(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;dir2.out&amp;quot;&lt;/span&gt;) &lt;span class=&quot;dmcomment&quot;&gt;// Only holds the returned results of the command in dir.in&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
It allows the results of compiling to be transmitted to a file by using the command.com as the. Actually, I have no idea what is going on. Can anyone fill me in?&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;</description>
        </item>
                <item>
            <title>Tiny map = Big map</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=265778</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=265778</guid>
            <pubDate>Fri, 05 Oct 2007 01:32:59 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=265778#comments</comments>
            
            <description>I remember a question from a past post that asked how one could create a map that could be composed of multiple map areas. Meaning, you would have an area of 50 by 50 tiles that would be represented as one tile on a zoomed out map. However, this would not be the only zoomed out map. There would be another and another. Eventually you end up representing a large amount of area with a little amount of space. After a long wait, I may have come up with a solution to this question using the new features of 4.0.&lt;br&gt;
&lt;br&gt;
The un zoomed map would be like any normal one. In order to get a zoomed out effect you would use two new features. The new scale() procedure for the icon object and the icon-size parameter for a map in the skin. Using the icon-size you could shrink the map's apparent size while the tiles would remain the same. Normal size objects would seem to shrink along with everything on that map. You could then use the client or worlds' view variable to change the number of tiles being viewed. Next, you use the new scale() procedure to enlarge an icon of a mob or object so that it takes up multiple tiles. With these two added effects in place you could have both small people on small maps and big people on big maps.&lt;br&gt;
&lt;br&gt;
Is this actually possible? The ability to have both little and big people contained in the same map.&lt;br&gt;</description>
        </item>
                <item>
            <title>Multiple Pngs into a single dmi</title>
            <link>http://www.byond.com/members/GreenLime?command=view_post&amp;post=271658</link>
            <guid>http://www.byond.com/members/GreenLime?command=view_post&amp;post=271658</guid>
            <pubDate>Mon, 27 Aug 2007 13:54:15 +0000</pubDate>
            
            <comments>http://www.byond.com/members/GreenLime?command=view_comments&amp;post=271658#comments</comments>
            
            <description>How would you go about loading multiple png image files into a single dmi file and giving each png its own icon_state?&lt;br&gt;
&lt;br&gt;
I would assume it would have to do with using the /icon object but I am not sure how it can be done.&lt;br&gt;
&lt;br&gt;
Thanks for any help.&lt;br&gt;
&lt;br&gt;
[Solved]&lt;br&gt;
1. First create a blank icon object.&lt;br&gt;
2. Edit and insert your png files.&lt;br&gt;
3. Output new icon object to an icon variable.&lt;br&gt;
4. Output the icon variable to a new dmi file.&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;dmcomment&quot;&gt;// Empty icon object.&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;dmkeyword&quot;&gt;var&lt;/span&gt;/icon/I = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;(&lt;span class=&quot;dmstring&quot;&gt;'empty.dmi'&lt;/span&gt;)&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmcomment&quot;&gt;// Add your png files with their own icon_states.&lt;/span&gt;&lt;br&gt;J = &lt;span class=&quot;dmkeyword&quot;&gt;new&lt;/span&gt;(&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;images/file.png&amp;quot;&lt;/span&gt;)&lt;br&gt;I.Insert(J,&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;file Icon_state!&amp;quot;&lt;/span&gt;)&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmcomment&quot;&gt;// Output to icon variable&lt;/span&gt;&lt;br&gt;src.icon = I&lt;br&gt;&lt;br&gt;&lt;span class=&quot;dmcomment&quot;&gt;// Output to .dmi file.&lt;/span&gt;&lt;br&gt;fcopy(src.icon,&lt;span class=&quot;dmstring&quot;&gt;&amp;quot;pnged_dmi.dmi&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;
If any one else has a better way. Please share.</description>
        </item>
            
    </channel>
</rss>


