<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Graal Forums</title>
		<link>http://forums.graalonline.com/forums/</link>
		<description>Graalonline Forums</description>
		<language>en</language>
		<lastBuildDate>Fri, 18 May 2012 23:32:39 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.graalonline.com/forums/images/misc/rss.jpg</url>
			<title>Graal Forums</title>
			<link>http://forums.graalonline.com/forums/</link>
		</image>
		<item>
			<title>teh crono</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266474&amp;goto=newpost</link>
			<pubDate>Fri, 18 May 2012 05:08:36 GMT</pubDate>
			<description><![CDATA[i know all of us lat's have one more classic level collab left in us.]]></description>
			<content:encoded><![CDATA[<div>i know all of us lat's have one more classic level collab left in us.</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=195">Your opinion</category>
			<dc:creator>Imperialistic</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266474</guid>
		</item>
		<item>
			<title>Empty PMs linked to hacking incident.</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266472&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 22:05:56 GMT</pubDate>
			<description><![CDATA[Players on UN have been receiving empty PM's from various different players. We've done some snooping and found that the PM's aren't actually empty, and contain the following HTML code. 
 
<img src="http://surgecraft.org/log.php?a=#a&b=.jpg> 
 
The fact that the php file is named log isn't very...]]></description>
			<content:encoded><![CDATA[<div>Players on UN have been receiving empty PM's from various different players. We've done some snooping and found that the PM's aren't actually empty, and contain the following HTML code.<br />
<br />
&lt;img src=&quot;http://surgecraft.org/log.php?a=#a&amp;b=.jpg&gt;<br />
<br />
The fact that the php file is named log isn't very comforting. I don't actually know how to tackle the issue apart other than not open your PM's for the time being, which isn't very practical X_X</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=15">PlayerWorlds Main Forum</category>
			<dc:creator>Emera</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266472</guid>
		</item>
		<item>
			<title>Sleep/Timer help</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266470&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 16:33:32 GMT</pubDate>
			<description><![CDATA[I am trying to have an image I have made, rotate slightly, then rotate back. 
This is the only way I know how to do it. I am hoping someone can teach me the proper use of the 'sleep' function or perhaps advice me another way to write it. This does work, but I don't like how It's so long. and too...]]></description>
			<content:encoded><![CDATA[<div>I am trying to have an image I have made, rotate slightly, then rotate back.<br />
This is the only way I know how to do it. I am hoping someone can teach me the proper use of the 'sleep' function or perhaps advice me another way to write it. This does work, but I don't like how It's so long. and too many OnThis functions.<br />
<br />
btw, the 'OnRot' stands for 'on rotation.'<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="4" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				function onRot1()<br />
{<br />
  findImg(3).rotation -= 0.05;<br />
  scheduleEvent(0.3, &quot;onRot2&quot;);<br />
 }<br />
function onRot2()<br />
{<br />
  findImg(3).rotation -= 0.05;<br />
  scheduleEvent(0.3, &quot;onRot3&quot;);<br />
 }<br />
 function onRot3()<br />
{<br />
  findImg(3).rotation -= 0.05;<br />
  scheduleEvent(0.3, &quot;onRot4&quot;);<br />
 }<br />
  function onRot4()<br />
{<br />
  findImg(3).rotation -= 0.05;<br />
  scheduleEvent(0.3, &quot;onRot5&quot;);<br />
 }<br />
 function onRot5()<br />
{<br />
 findImg(3).rotation += 0.05;<br />
 scheduleEvent(0.03, &quot;onRot6&quot;);<br />
 }<br />
 function onRot6()<br />
{<br />
 findImg(3).rotation += 0.05;<br />
 scheduleEvent(0.03, &quot;onRot7&quot;);<br />
 } <br />
 function onRot7()<br />
{<br />
 findImg(3).rotation += 0.05;<br />
 scheduleEvent(0.03, &quot;onRot8&quot;);<br />
 }<br />
 function onRot8()<br />
{<br />
 findImg(3).rotation += 0.05;<br />
 scheduleEvent(0.03, &quot;onRot1&quot;);<br />
 }
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=8">NPC Scripting</category>
			<dc:creator>greggiles</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266470</guid>
		</item>
		<item>
			<title>Really now.</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266468&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 14:34:52 GMT</pubDate>
			<description><![CDATA[This could all be so easily prevented if we didn't have to use our ingame passwords on the forums. "Secure", ya right.]]></description>
			<content:encoded><![CDATA[<div>This could all be so easily prevented if we didn't have to use our ingame passwords on the forums. &quot;Secure&quot;, ya right.</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=195">Your opinion</category>
			<dc:creator>Crono</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266468</guid>
		</item>
		<item>
			<title>Sir Kwang (24)</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266449&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 16:19:45 GMT</pubDate>
			<description>hbd oldbie</description>
			<content:encoded><![CDATA[<div>hbd oldbie</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=106">Birthday Forum</category>
			<dc:creator>Crono</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266449</guid>
		</item>
		<item>
			<title>Kingdom Core June 2012</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266448&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 15:34:06 GMT</pubDate>
			<description>Hello everybody, 
 
we will have a great Kingdom Core on June 16th 2012, at 6 PM EST. 
Prize will be a brandnew item which will handed out to the winner Kingdom to event if off. 
 
I will talk within the next few days with the Kingdom Leaders to prepare for this Core. 
 
We will have 4 Rounds....</description>
			<content:encoded><![CDATA[<div>Hello everybody,<br />
<br />
we will have a great Kingdom Core on June 16th 2012, at 6 PM EST.<br />
Prize will be a brandnew item which will handed out to the winner Kingdom to event if off.<br />
<br />
I will talk within the next few days with the Kingdom Leaders to prepare for this Core.<br />
<br />
We will have 4 Rounds. Winner gets 1 Point each Round. <br />
The Kingdom with the most points wins the Core. If we have two Kingdoms with each 2 points after that 4 Rounds, we will do a Final Kingdome core where these 2 Kingdoms will Battle for the prize.<br />
<br />
<br />
Good Luck and see you soon.</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=75">Graal Kingdoms Events</category>
			<dc:creator>NicoX</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266448</guid>
		</item>
		<item>
			<title>Worlds Connected is Hiring! (Read For Info)</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266446&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 23:22:05 GMT</pubDate>
			<description>Worlds Connected is Hiring! 
 
 
We are Worlds Connected a Group of people doing the best to mix all different playstyles, from Classic to Modern, to even the Moon. 
 
*We are Hiring:* 
* 3-4 Scripters 
* 2 Graphics Team 
* 1 Gani Team</description>
			<content:encoded><![CDATA[<div><font size="7"><font color="DarkOrchid"><div align="center">Worlds Connected is Hiring!</div></font></font><br />
<br />
<font color="Black">We are Worlds Connected a Group of people doing the best to mix all different playstyles, from Classic to Modern, to even the Moon.</font><br />
<br />
<div align="left"><b><font color="Blue">We are Hiring:</font></b><ul><li>3-4 Scripters</li>
<li>2 Graphics Team</li>
<li>1 Gani Team</li>
</ul></div><br />
<font color="Indigo">-To apply for Gani Team, send us 3 of your best Ganis, Using all directions or all set to once.<br />
<br />
-For Graphics Team, send us your 3 of your best work, no recolors accepted!<br />
<br />
-As for the Scripters, please get online for more information about your apps.<br />
</font><br />
<br />
<b>All Apps must be sent to <a href="mailto:jesusxd96@gmail.com">jesusxd96@gmail.com</a></b><br />
<br />
<u>After you have sended the app we would need you to log on, for one of our interviewers or me to interview the people who passed the first trial.</u><br />
<br />
<u>Ask more if you need to.</u><br />
Hope you apply and to see you at our server.;)</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=113">Playerworld Staff Openings</category>
			<dc:creator>Jesusxd96</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266446</guid>
		</item>
		<item>
			<title>Sword/Gani Script - Help</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266444&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 19:39:23 GMT</pubDate>
			<description><![CDATA[I've got the whole Gani part working. Problem is, 
Once I equip and use the item, 
It doesn't allow me to un-equip? 
 
PHP: 
--------- 
//#CLIENTSIDE 
function onWeaponFired() { 
if (this.on = false) { 
this.on = true;]]></description>
			<content:encoded><![CDATA[<div>I've got the whole Gani part working. Problem is,<br />
Once I equip and use the item,<br />
It doesn't allow me to un-equip?<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">//#CLIENTSIDE<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">onWeaponFired</span><span style="color: #007700">()&nbsp;{<br />if&nbsp;(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">on&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{<br /></span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">on&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">setani</span><span style="color: #007700">(</span><span style="color: #DD0000">"Gani"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">replaceani</span><span style="color: #007700">(</span><span style="color: #DD0000">"idle"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Gani"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">replaceani</span><span style="color: #007700">(</span><span style="color: #DD0000">"walk"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Gani2"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">on&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />}else&nbsp;if&nbsp;(!</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">on</span><span style="color: #007700">){<br /></span><span style="color: #0000BB">setani</span><span style="color: #007700">(</span><span style="color: #DD0000">"idle"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">replaceani</span><span style="color: #007700">(</span><span style="color: #DD0000">"idle"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"idle"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">replaceani</span><span style="color: #007700">(</span><span style="color: #DD0000">"walk"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"walk"</span><span style="color: #007700">);<br />}<br />}&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div></div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=8">NPC Scripting</category>
			<dc:creator>Fysez</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266444</guid>
		</item>
		<item>
			<title>Feedback: Single player minimap</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266443&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 17:07:15 GMT</pubDate>
			<description><![CDATA[I've been playing around with a lot of areas within GScript that I've never properly looked at before such as SQLite storage methods and more advanced uses for maths. This task was more to do with using maths for more than just placing GUI controls across the screen, and took some thinking on my...]]></description>
			<content:encoded><![CDATA[<div>I've been playing around with a lot of areas within GScript that I've never properly looked at before such as SQLite storage methods and more advanced uses for maths. This task was more to do with using maths for more than just placing GUI controls across the screen, and took some thinking on my part.<br />
<br />
I've managed to script a simple minimap script that shows your player's position on the map. It works by taking how many levels your GMAP is made up of and finding how many tiles are in those levels added up. It then positions an image on the map image according to the player's location.<br />
<br />
It works, I know that, but I'm just curious as to if there's a simpler way to go about doing this. I looked briefly at Dusty's minimap script after finishing this, and his approach is somewhat different to mine.<br />
<br />
Any feedback, criticism and advice is welcome as long as it's constructive. Thank you.<br />
<br />
(I had to use pastebin.graalcenter.org since incapsula wouldn't let me post the code)<br />
<br />
<a href="http://pastebin.graalcenter.org/read.php?id=03510551081039" target="_blank">Minimap code (pastebin.graalcenter.org)</a></div>


	<br />
	<div style="padding:4px">

	
		<fieldset class="fieldset">
			<legend>Attached Thumbnails</legend>
			<div style="padding:2px">
			
<a href="http://forums.graalonline.com/forums/attachment.php?attachmentid=54635&amp;d=1337101453" rel="Lightbox_1694747" id="attachment54635" target="_blank"><img class="thumbnail" src="http://forums.graalonline.com/forums/attachment.php?attachmentid=54635&amp;stc=1&amp;thumb=1&amp;d=1337101453" border="0" alt="Click image for larger version

Name:	minimapimage.PNG
Views:	N/A
Size:	38.1 KB
ID:	54635" /></a>
&nbsp;

			</div>
		</fieldset>
	

	

	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=8">NPC Scripting</category>
			<dc:creator>Emera</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266443</guid>
		</item>
		<item>
			<title>Nostalgist Pictures</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266441&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 12:42:35 GMT</pubDate>
			<description>Please post at minimum 1-2 years old  
pictures that give you Nostalgia. :) 
Would anyone else like to share images of  
the old self, or former servers they missed? 
Please keep on topic and only post pictures 
or talk about the past, or past pictures. 
Thank you.</description>
			<content:encoded><![CDATA[<div><div align="center"><font size="5">Please post at minimum 1-2 years old <br />
pictures that give you Nostalgia. :)</font><br />
<font size="1">Would anyone else like to share images of <br />
the old self, or former servers they missed?<br />
Please keep on topic and only post pictures<br />
or talk about the past, or past pictures.<br />
Thank you.</font><br />
</div><br />
<br />
So, as I was going through some of my files trying to <br />
find four body pictures in each direction(0, 1, 2, 3), I <br />
came across some pictures, levels, images of the past <br />
that really excited me. <br />
<br />
It was hazy whether I was LAT on Shaded Legends or not, <br />
and apparently I was. Not for long of course, the anxiety or <br />
waiting for directions scared me into quitting. I was given <br />
one direction, finished it, 1-2 weeks later quit because no <br />
one told me what else to do. I'm the type that can't just <br />
do something, I have to be in the mood for it. Anyway, <br />
here are some past pictures.<br />
<br />
<div align="center"><br />
<font size="1">I could only do 10 pictures per post. </font><br />
08/11/04 &#8211; Babylon &#8211; Kuro<br />
When I became staff I received the last Kuro on Babylon, which died as GS2 hit.. <br />
This is what has inspired my own pet system. <br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/63e35700.png" border="0" alt="" /><br />
<br />
06/27/05 - Shaded Legends&#8211; Not sure what I&#8217;m doing<br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/86711202.png" border="0" alt="" /><br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/4486697d.png" border="0" alt="" /><br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/cbbd0ae8.png" border="0" alt="" /><br />
<br />
06/29/05 - Shaded Legends &#8211; Rusty is Strange<br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/be67b62c.png" border="0" alt="" /><br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/beadad8c.png" border="0" alt="" /><br />
<br />
07/01/05 Unsure - Shaded Legends and Babylon &#8211; Fixed the graphic for the house.<br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/a8c98139.png" border="0" alt="" /><br />
<br />
09/14/05 &#8211; Pirate Jester - Shaded Legends with Deathic<br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/a3b73298.png" border="0" alt="" /><br />
<br />
09/17/05 - <br />
<img src="http://img.photobucket.com/albums/v243/DarkJester2003/Graal/Old%20Graal%20Pictures/933f8ddf.png" border="0" alt="" /></div></div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=15">PlayerWorlds Main Forum</category>
			<dc:creator>Devil_Lord2</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266441</guid>
		</item>
		<item>
			<title>Uploading Levels Through the RC (on a Mac)</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266438&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 04:08:12 GMT</pubDate>
			<description><![CDATA[Recently, I have not been able to upload my levels through my RC. Everything else works perfectly. I can upload graphics without any problems, but when I try to add levels, it says it gets added, but really doesn't... I'll show a picture of it:  
*Before:* 
Attachment 54631...]]></description>
			<content:encoded><![CDATA[<div>Recently, I have not been able to upload my levels through my RC. Everything else works perfectly. I can upload graphics without any problems, but when I try to add levels, it says it gets added, but really doesn't... I'll show a picture of it: <br />
<div align="center"><b>Before:</b><br />
<a href="http://forums.graalonline.com/forums/attachment.php?attachmentid=54631" target="_blank">Attachment 54631</a><br />
<br />
<b>After:</b><br />
<a href="http://forums.graalonline.com/forums/attachment.php?attachmentid=54632" target="_blank">Attachment 54632</a><br />
<br />
</div>Does anyone know what's wrong/happening here? <br />
Thanks.</div>


	<br />
	<div style="padding:4px">

	
		<fieldset class="fieldset">
			<legend>Attached Thumbnails</legend>
			<div style="padding:2px">
			
<a href="http://forums.graalonline.com/forums/attachment.php?attachmentid=54631&amp;d=1337055187" rel="Lightbox_1694688" id="attachment54631" target="_blank"><img class="thumbnail" src="http://forums.graalonline.com/forums/attachment.php?attachmentid=54631&amp;stc=1&amp;thumb=1&amp;d=1337055187" border="0" alt="Click image for larger version

Name:	Screen shot 2012-05-14 at 9.06.09 PM.png
Views:	N/A
Size:	37.3 KB
ID:	54631" /></a>
&nbsp;

<a href="http://forums.graalonline.com/forums/attachment.php?attachmentid=54632&amp;d=1337054811" rel="Lightbox_1694688" id="attachment54632" target="_blank"><img class="thumbnail" src="http://forums.graalonline.com/forums/attachment.php?attachmentid=54632&amp;stc=1&amp;thumb=1&amp;d=1337054811" border="0" alt="Click image for larger version

Name:	Screen shot 2012-05-14 at 9.03.50 PM.png
Views:	N/A
Size:	46.4 KB
ID:	54632" /></a>
&nbsp;

			</div>
		</fieldset>
	

	

	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=7">Tech Support</category>
			<dc:creator>Marker0829</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266438</guid>
		</item>
		<item>
			<title>We all love Asteroids!</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266434&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 09:00:11 GMT</pubDate>
			<description><![CDATA[Well we do don't we? 
Anyway, I loved this game as a kid, so I decided to try and re-create it. 
My aim is to only use showimg's for rendering. 
I will be adding the default sound for shooting too. 
There is still a main issue, of the projectile system. 
But I have some form of it.  
Anyway here is...]]></description>
			<content:encoded><![CDATA[<div>Well we do don't we?<br />
Anyway, I loved this game as a kid, so I decided to try and re-create it.<br />
My aim is to only use showimg's for rendering.<br />
I will be adding the default sound for shooting too.<br />
There is still a main issue, of the projectile system.<br />
But I have some form of it. <br />
Anyway here is what I have so far, any suggestions/improvements are welcome.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">//#CLIENTSIDE<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">onCreated</span><span style="color: #007700">(){<br />&nbsp;&nbsp;const&nbsp;</span><span style="color: #0000BB">Fire_Rate&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//Fire&nbsp;rate/reload&nbsp;time&nbsp;in&nbsp;seconds<br />&nbsp;&nbsp;</span><span style="color: #007700">const&nbsp;</span><span style="color: #0000BB">Rotation_Speed&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0.12</span><span style="color: #007700">;&nbsp;&nbsp;</span><span style="color: #FF8000">//How&nbsp;fast&nbsp;you&nbsp;rotate<br />&nbsp;&nbsp;</span><span style="color: #007700">const&nbsp;</span><span style="color: #0000BB">Max_Stars&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">300</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">HideGUI</span><span style="color: #007700">();<br />&nbsp;&nbsp;</span><span style="color: #0000BB">DrawBackground</span><span style="color: #007700">();<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">started&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">menu&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">pressedspace&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />}<br />function&nbsp;</span><span style="color: #0000BB">onShowGUI</span><span style="color: #007700">(){<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">started&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">menu&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">250</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">251</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">252</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">253</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">Game_Close_Button</span><span style="color: #007700">.</span><span style="color: #0000BB">destroy</span><span style="color: #007700">();<br />&nbsp;&nbsp;</span><span style="color: #0000BB">enabledefmovement</span><span style="color: #007700">();<br />&nbsp;&nbsp;</span><span style="color: #0000BB">HideStars</span><span style="color: #007700">();<br />}<br />function&nbsp;</span><span style="color: #0000BB">HideGUI</span><span style="color: #007700">(){<br />&nbsp;&nbsp;</span><span style="color: #0000BB">disabledefmovement</span><span style="color: #007700">();<br />}<br />function&nbsp;</span><span style="color: #0000BB">DrawBackground</span><span style="color: #007700">(){<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">menu&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">with</span><span style="color: #007700">(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">250</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">polygon&nbsp;</span><span style="color: #007700">=&nbsp;{</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">};<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">red&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">blue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">green&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;}<br />&nbsp;&nbsp;</span><span style="color: #0000BB">GenerateStarMap</span><span style="color: #007700">();<br />&nbsp;&nbsp;</span><span style="color: #0000BB">with</span><span style="color: #007700">(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">251</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">text&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"Press&nbsp;space&nbsp;to&nbsp;start."</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">font&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"tempus&nbsp;sans"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">/</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">text</span><span style="color: #007700">.</span><span style="color: #0000BB">length</span><span style="color: #007700">()*</span><span style="color: #0000BB">3.5</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">red&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">green&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">blue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">;<br />&nbsp;&nbsp;}<br />&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">GuiTextCtrl</span><span style="color: #007700">(</span><span style="color: #DD0000">"Game_Close_Button"</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">useownprofile&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">profile</span><span style="color: #007700">.</span><span style="color: #0000BB">fontsize&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">20</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">profile</span><span style="color: #007700">.</span><span style="color: #0000BB">fontcolor&nbsp;</span><span style="color: #007700">=&nbsp;{</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">};<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">text&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"Exit"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">width&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">35</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">height&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">20</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">screenwidth&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">40</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">screenheight&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">25</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">thiso</span><span style="color: #007700">.</span><span style="color: #0000BB">catchevent</span><span style="color: #007700">(</span><span style="color: #0000BB">this</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"onMouseDown"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"onShowGUI"</span><span style="color: #007700">);<br />&nbsp;&nbsp;}<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">starting&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">FlickerText</span><span style="color: #007700">();<br />}<br />function&nbsp;</span><span style="color: #0000BB">FlickerText</span><span style="color: #007700">(){<br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">menu</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">flickermode&nbsp;</span><span style="color: #007700">=&nbsp;!</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">flickermode</span><span style="color: #007700">;<br />&nbsp;&nbsp;}<br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">flickermode</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;while(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">251</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">251</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">-=&nbsp;</span><span style="color: #0000BB">0.02</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">sleep</span><span style="color: #007700">(</span><span style="color: #0000BB">0.05</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;}else{<br />&nbsp;&nbsp;&nbsp;&nbsp;while(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">251</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">251</span><span style="color: #007700">).</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">+=&nbsp;</span><span style="color: #0000BB">0.02</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">sleep</span><span style="color: #007700">(</span><span style="color: #0000BB">0.05</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;}<br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">menu</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">FlickerText</span><span style="color: #007700">();<br />&nbsp;&nbsp;}<br />}<br />function&nbsp;</span><span style="color: #0000BB">onKeyPressed</span><span style="color: #007700">(</span><span style="color: #0000BB">code</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">key</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">scan</span><span style="color: #007700">){<br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">code&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">32</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">menu</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">flickermode&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">menu&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">with</span><span style="color: #007700">(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">251</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">text&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"Starting"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">/</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">text</span><span style="color: #007700">.</span><span style="color: #0000BB">length</span><span style="color: #007700">()*</span><span style="color: #0000BB">3</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">FlickerText</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">scheduleevent</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"StartGame"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;}<br />}<br />function&nbsp;</span><span style="color: #0000BB">onStartGame</span><span style="color: #007700">(){<br />&nbsp;&nbsp;</span><span style="color: #0000BB">with</span><span style="color: #007700">(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">252</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">text&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"V"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">rotation&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">3169.91</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">rotationcenter&nbsp;</span><span style="color: #007700">=&nbsp;{(</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;+</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;(</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">)};<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">red&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">blue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">green&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">style&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"c"</span><span style="color: #007700">;<br />&nbsp;&nbsp;}<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">started&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">onTimeout</span><span style="color: #007700">();<br />}<br />function&nbsp;</span><span style="color: #0000BB">onTimeout</span><span style="color: #007700">(){<br />&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">started</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">keydown2</span><span style="color: #007700">(</span><span style="color: #0000BB">37</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">252</span><span style="color: #007700">).</span><span style="color: #0000BB">rotation&nbsp;</span><span style="color: #007700">+=&nbsp;</span><span style="color: #0000BB">Rotation_Speed</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">keydown2</span><span style="color: #007700">(</span><span style="color: #0000BB">39</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">252</span><span style="color: #007700">).</span><span style="color: #0000BB">rotation&nbsp;</span><span style="color: #007700">-=&nbsp;</span><span style="color: #0000BB">Rotation_Speed</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">keydown2</span><span style="color: #007700">(</span><span style="color: #0000BB">32</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">pressedspace</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">pressedspace&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">lastshot</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">lastshot&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Fire_Rate</span><span style="color: #007700">*</span><span style="color: #0000BB">10</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">rot&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">252</span><span style="color: #007700">).</span><span style="color: #0000BB">rotation</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Shoot</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">lastshot&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">lastshot&nbsp;</span><span style="color: #007700">-=&nbsp;</span><span style="color: #0000BB">0.5</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">lastshot&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">lastshot&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">pressedspace</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">moved&nbsp;</span><span style="color: #007700">+=&nbsp;</span><span style="color: #0000BB">15</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">temp</span><span style="color: #007700">.</span><span style="color: #0000BB">sx&nbsp;</span><span style="color: #007700">=&nbsp;(</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">sin</span><span style="color: #007700">(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">rot</span><span style="color: #007700">)*</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">moved</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">temp</span><span style="color: #007700">.</span><span style="color: #0000BB">sy&nbsp;</span><span style="color: #007700">=&nbsp;(</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">cos</span><span style="color: #007700">(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">rot</span><span style="color: #007700">)*</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">moved</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">with</span><span style="color: #007700">(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">253</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">zoom&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">polygon&nbsp;</span><span style="color: #007700">=&nbsp;{</span><span style="color: #0000BB">sx</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sy</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sx</span><span style="color: #007700">+</span><span style="color: #0000BB">zoom</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sy</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sx</span><span style="color: #007700">+</span><span style="color: #0000BB">zoom</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sy</span><span style="color: #007700">+</span><span style="color: #0000BB">zoom</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sx</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sy</span><span style="color: #007700">+</span><span style="color: #0000BB">zoom</span><span style="color: #007700">};<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">blue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">green&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">red&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">settimer</span><span style="color: #007700">(</span><span style="color: #0000BB">0.05</span><span style="color: #007700">);<br />&nbsp;&nbsp;}<br />}<br />function&nbsp;</span><span style="color: #0000BB">Shoot</span><span style="color: #007700">(){<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">sx&nbsp;</span><span style="color: #007700">=&nbsp;(</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">sin</span><span style="color: #007700">(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">rot</span><span style="color: #007700">)*</span><span style="color: #0000BB">12</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">sy&nbsp;</span><span style="color: #007700">=&nbsp;(</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">/</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">cos</span><span style="color: #007700">(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">rot</span><span style="color: #007700">)*</span><span style="color: #0000BB">12</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">moved&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />}<br />function&nbsp;</span><span style="color: #0000BB">GenerateStarMap</span><span style="color: #007700">(){<br />&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">stars&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">;<br />&nbsp;&nbsp;while(</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">stars&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">Max_Stars</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">stars&nbsp;</span><span style="color: #007700">++;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">with</span><span style="color: #007700">(</span><span style="color: #0000BB">findimg</span><span style="color: #007700">(</span><span style="color: #0000BB">253</span><span style="color: #007700">+</span><span style="color: #0000BB">this</span><span style="color: #007700">.</span><span style="color: #0000BB">stars</span><span style="color: #007700">)){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">random</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">screenwidth</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">random</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">screenheight</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alpha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">random</span><span style="color: #007700">(</span><span style="color: #0000BB">0.5</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.8</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">zoom&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">random</span><span style="color: #007700">(</span><span style="color: #0000BB">0.03</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.5</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">text&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"*"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">layer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;}<br />}<br />function&nbsp;</span><span style="color: #0000BB">HideStars</span><span style="color: #007700">(){<br />&nbsp;&nbsp;for(</span><span style="color: #0000BB">temp</span><span style="color: #007700">.</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">temp</span><span style="color: #007700">.</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">253</span><span style="color: #007700">+</span><span style="color: #0000BB">Max_Stars</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">temp</span><span style="color: #007700">.</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">++){<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">findimg</span><span style="color: #007700">((@</span><span style="color: #0000BB">temp</span><span style="color: #007700">.</span><span style="color: #0000BB">i</span><span style="color: #007700">)).</span><span style="color: #0000BB">hide</span><span style="color: #007700">();<br />&nbsp;&nbsp;}<br />}&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div>Also in need of some help with findimg's.<br />
I have added a star map function but I can't hide them, probably a silly little error. anywho..<br />
And Max_Stars is set as a constant of 400 if it makes any difference..<br />
<br />
A video of this is attached in a zip folder.<br />
I would of uploaded the avi but it isn't in the allowed list..</div>


	<br />
	<div style="padding:4px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="2" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.graalonline.com/forums/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.graalonline.com/forums/attachment.php?attachmentid=54633&amp;d=1337062083">recording.zip</a> (606.8 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=8">NPC Scripting</category>
			<dc:creator>Gunderak</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266434</guid>
		</item>
		<item>
			<title>good idea to not announce an auction?</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266433&amp;goto=newpost</link>
			<pubDate>Sun, 13 May 2012 23:19:23 GMT</pubDate>
			<description><![CDATA[tim says he'll auction MoonWok with a 1 hour auction that he won't even announce. 
how are people interested supposed to buy it? there are 24hours in a day and most ppl don't even play 1/10 of that]]></description>
			<content:encoded><![CDATA[<div>tim says he'll auction MoonWok with a 1 hour auction that he won't even announce.<br />
how are people interested supposed to buy it? there are 24hours in a day and most ppl don't even play 1/10 of that</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=162">Era Main Forum</category>
			<dc:creator>bloodykiller</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266433</guid>
		</item>
		<item>
			<title>Nickname Changes</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266432&amp;goto=newpost</link>
			<pubDate>Sun, 13 May 2012 22:44:26 GMT</pubDate>
			<description><![CDATA[We've made a couple changes to how gangs and nicknames work on Era.  
 
Nicknames are now more reliable. When you use setnick (which you can use without waiting 10 seconds now!) to set your nick, the nick will remain even if you reconnect, or if your nick is changed in an event, or whatever. 
 
In...]]></description>
			<content:encoded><![CDATA[<div>We've made a couple changes to how gangs and nicknames work on Era. <br />
<br />
Nicknames are now more reliable. When you use setnick (which you can use without waiting 10 seconds now!) to set your nick, the nick will remain even if you reconnect, or if your nick is changed in an event, or whatever.<br />
<br />
In addition to that, gang tags are now permanently on for all gang members except in events and spars. We hope this will help make gangs more competitive and visible.<br />
<br />
To avoid long names with stuff like &quot;*Accomplice*&quot; in them, we've also removed ranks from gang tags. Ranks are still displayed in a players' profile. This means that you no longer have to deal with setting your nick, then /gangtag, etc. after events. It should be a lot easier since your nick is always set automatically.<br />
<br />
To change your nick, you can still just use &quot;setnick&quot;.<br />
<br />
Staff and business members: to take off your tag, just use &quot;setnick&quot; with no name. We'll probably add a more intuitive way to remove it in the future.<br />
<br />
If you've got any questions, I'll be happy to answer them. We're going to see how well this works for a day or two, and then get feedback from the server to see if we should keep it, adjust it, or revert back.<br />
<br />
Please hold your whining for at least a day and give this a chance. If the server doesn't like it, it won't be permanent.</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=162">Era Main Forum</category>
			<dc:creator>cbk1994</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266432</guid>
		</item>
		<item>
			<title>Kingdom Baning !?!?!?</title>
			<link>http://forums.graalonline.com/forums/showthread.php?t=134266431&amp;goto=newpost</link>
			<pubDate>Sun, 13 May 2012 17:49:32 GMT</pubDate>
			<description><![CDATA[Today i was wondering since when can a king arrange with other kings to "kingdom ban" a player for leaving a kingdom cause he doesnt like how it is. 
Many people have quit for that reason and i think its a reason of why gk has a low player count.]]></description>
			<content:encoded><![CDATA[<div>Today i was wondering since when can a king arrange with other kings to &quot;kingdom ban&quot; a player for leaving a kingdom cause he doesnt like how it is.<br />
Many people have quit for that reason and i think its a reason of why gk has a low player count.</div>

]]></content:encoded>
			<category domain="http://forums.graalonline.com/forums/forumdisplay.php?f=58">Graal Kingdoms</category>
			<dc:creator>biggiant</dc:creator>
			<guid isPermaLink="true">http://forums.graalonline.com/forums/showthread.php?t=134266431</guid>
		</item>
	</channel>
</rss>

