<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
	<title>Latest Topics Channel</title>
	<description>Channel containing the latest topics posted on the forums</description>
	<link>http://www.codeforums.org/forum_beta/index.php</link>
	<pubDate>Fri, 16 Apr 2010 15:32:34 +0000</pubDate>
	<ttl>30</ttl>
	<item>
		<title>Character Transer</title>
		<link>http://www.codeforums.org/forum_beta/index.php?showtopic=8105</link>
		<description><![CDATA[Hey there guys,<br />
<br />
I just noticed that my previous Blizzlike server UnderWoW has gone offline.<br />
So I was looking for another one and I ended up here. I was wondering if I could still transfer my characters from UnderWoW to Codeserver...<br />
Atleast, I was hoping so.<br />
<br />
Regards,<br />
<br />
Jasper]]></description>
		<pubDate>Fri, 16 Apr 2010 15:32:34 +0000</pubDate>
		<guid>http://www.codeforums.org/forum_beta/index.php?showtopic=8105</guid>
	</item>
	<item>
		<title>Time To Move On</title>
		<link>http://www.codeforums.org/forum_beta/index.php?showtopic=8104</link>
		<description>Players of this server since this server ain got any population its time to move on to another one, i dont about you guys but im leavin to a different server, i hope that you think right and leave this server.</description>
		<pubDate>Sun, 04 Apr 2010 20:22:24 +0000</pubDate>
		<guid>http://www.codeforums.org/forum_beta/index.php?showtopic=8104</guid>
	</item>
	<item>
		<title>Inactivity</title>
		<link>http://www.codeforums.org/forum_beta/index.php?showtopic=8103</link>
		<description><![CDATA[Whats with the inactivity around here <img src='http://www.codeforums.org/forum_beta/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /> ? There's nobody online anymore and there hasn't been an update to the core in almost 2 months]]></description>
		<pubDate>Sun, 28 Mar 2010 19:45:46 +0000</pubDate>
		<guid>http://www.codeforums.org/forum_beta/index.php?showtopic=8103</guid>
	</item>
	<item>
		<title><![CDATA[[Fix] Shattrath Guards]]></title>
		<link>http://www.codeforums.org/forum_beta/index.php?showtopic=8102</link>
		<description><![CDATA[I went to shattrath today and the guards weren't scripted so I decided to make another script ( I could make better scripts if the server offered a little documentation or source code <img src='http://www.codeforums.org/forum_beta/public/style_emoticons/default/tongue.gif' class='bbc_emoticon' alt=':P' /> )<br />
<br />
You will need to add a few things to GossipDefines<br />
Here's what I added and their values:<br />
<pre class='prettyprint'>
GOSSIP_TEXT_WORLDSEND = "World's End Tavern",
GOSSIP_TEXT_MANALOOM = "Mana Loom",
GOSSIP_TEXT_GEMMERCHANT = "Gem Merchant",
GOSSIP_TEXT_ALDORBANK = "Aldor Bank",
GOSSIP_TEXT_SCRYERBANK = "Scryers Bank",
GOSSIP_TEXT_ALDORINN = "Aldor Inn",
GOSSIP_TEXT_SCRYERINN = "Scryers Inn",
GOSSIP_TEXT_ALDORSTABLE = "Aldor Stable",
GOSSIP_TEXT_SCRYERSTABLE = "Scryers Stable",
GOSSIP_TEXT_ALLIMASTER "Alliance Battlemasters",
GOSSIP_TEXT_HORDEMASTER = "Horde Battlemasters",
GOSSIP_TEXT_ARENAMASTER = "Arena Battlemasters",
GOSSIP_TEXT_ALDORGEM = "Aldor Gem Merchant",
GOSSIP_TEXT_SCRYERGEM = "Scryers Gem Merchant"
</pre><br />
<br />
and here is the script:<br />
<pre class='prettyprint'>
using System;
using System.Collections.Generic;
using System.Text;

using Extension;
using Extension.Interfaces;
using Extension.Implementations;

/// &lt;summary&gt;
/// Script for guardgossiper, provides basic guard interaction at/for shattrath.
/// Created by Froid
/// &lt;/summary&gt;
public class ShattrathGuard : GossipDefines, IGossip
{
	public void GossipHello(IScriptPlayer gossiper, IScriptCreature sender)
	{
		// IDK what the icons are supposed to be
	    gossiper.GossipAdd( GOSSIP_TEXT_WORLDSEND     , (GossipIcons) 6,  ACTION_DEFAULT_1  +  1);
	    gossiper.GossipAdd( GOSSIP_TEXT_BANK	      , (GossipIcons) 6,  ACTION_DEFAULT_1  +  2);
	    gossiper.GossipAdd( GOSSIP_TEXT_INN           , (GossipIcons) 1,  ACTION_DEFAULT_1  +  3);
	    gossiper.GossipAdd( GOSSIP_TEXT_WINDRIDER     , (GossipIcons) 2,  ACTION_DEFAULT_1  +  4);
	    gossiper.GossipAdd( GOSSIP_TEXT_MAILBOX       , (GossipIcons) 4,  ACTION_DEFAULT_1  +  5);
	    gossiper.GossipAdd( GOSSIP_TEXT_STABLEMASTER  , (GossipIcons) 5,  ACTION_DEFAULT_1  +  6);
	    gossiper.GossipAdd( GOSSIP_TEXT_BATTLEMASTER  , (GossipIcons) 8,  ACTION_DEFAULT_1  +  7);
	    gossiper.GossipAdd( GOSSIP_TEXT_MANALOOM	  , (GossipIcons) 8,  ACTION_DEFAULT_1  +  8);
	    gossiper.GossipAdd( GOSSIP_TEXT_ALCHEMYLAB	  , (GossipIcons) 8,  ACTION_DEFAULT_1  +  9);
	    gossiper.GossipAdd( GOSSIP_TEXT_GEMMERCHANT   , (GossipIcons) 3,  ACTION_DEFAULT_1  +  10);
	    gossiper.GossipAdd( GOSSIP_TEXT_PROFTRAINER   , (GossipIcons) 3,  ACTION_DEFAULT_1  +  11);
	    gossiper.GossipFlush(sender, 10321);
	
	}

	#region DEFAULT GOSSIP
	public void DefaultGossip(IScriptPlayer gossiper, IScriptCreature sender, int option)
	{
	    if (option == ACTION_DEFAULT_1 + 1)//tavern
	    {
	        gossiper.GossipPOI(-1760.4f, 5166.9f, "World's End Tavern");
	        gossiper.GossipFlush(sender, 10394);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 2)//bank menu
	    {
	        gossiper.GossipAdd( GOSSIP_TEXT_ALDORBANK       , (GossipIcons) 8,  ACTION_DEFAULT_4  +  1);
			gossiper.GossipAdd( GOSSIP_TEXT_SCRYERBANK       , (GossipIcons) 8,  ACTION_DEFAULT_4  +  2);
	        gossiper.GossipFlush(sender, 10379);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 3)//inns
	    {
	        gossiper.GossipAdd( GOSSIP_TEXT_ALDORINN      , (GossipIcons) 8,  ACTION_DEFAULT_4  +  3);
			gossiper.GossipAdd( GOSSIP_TEXT_SCRYERINN       , (GossipIcons) 8,  ACTION_DEFAULT_4  +  4);
	        gossiper.GossipFlush(sender, 10382);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 4)//Wind Rider
	    {
	        gossiper.GossipPOI(-1832f, 5299f, "Flight Master");
	        gossiper.GossipFlush(sender, 10385);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 5)//mailbox
	    {
	        gossiper.GossipAdd( GOSSIP_TEXT_ALDORBANK        , (GossipIcons) 8,  ACTION_DEFAULT_4  +  1);
			gossiper.GossipAdd( GOSSIP_TEXT_ALDORINN         , (GossipIcons) 8,  ACTION_DEFAULT_4  +  3);
			gossiper.GossipAdd( GOSSIP_TEXT_SCRYERBANK       , (GossipIcons) 8,  ACTION_DEFAULT_4  +  2);
			gossiper.GossipAdd( GOSSIP_TEXT_SCRYERINN        , (GossipIcons) 8,  ACTION_DEFAULT_4  +  4);
	        gossiper.GossipFlush(sender, 10386);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 6)//stable master
	    {
	        gossiper.GossipAdd( GOSSIP_TEXT_ALDORSTABLE       , (GossipIcons) 8,  ACTION_DEFAULT_4  +  5);
			gossiper.GossipAdd( GOSSIP_TEXT_SCRYERSTABLE      , (GossipIcons) 8,  ACTION_DEFAULT_4  +  6);
	        gossiper.GossipFlush(sender, 10387);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 7)//battle master
	    {
	        gossiper.GossipAdd( GOSSIP_TEXT_ALLIMASTER         , (GossipIcons) 8,  ACTION_DEFAULT_5  +  1);
			gossiper.GossipAdd( GOSSIP_TEXT_HORDEMASTER        , (GossipIcons) 8,  ACTION_DEFAULT_5  +  2);
			gossiper.GossipAdd( GOSSIP_TEXT_ARENAMASTER        , (GossipIcons) 8,  ACTION_DEFAULT_5  +  3);
	        gossiper.GossipFlush(sender, 10388);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 8)//mana loom
	    {
	        gossiper.GossipPOI(-2070f, 5265.5f, "Mana Loom");
	        gossiper.GossipFlush(sender, 10503);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 9)//alchemy lab
	    {
	        gossiper.GossipPOI(-1648.5f, 5540f, "Alchemy Lab");
	        gossiper.GossipFlush(sender, 10321);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 10)//gem merchant
	    {
	        gossiper.GossipAdd( GOSSIP_TEXT_ALDORGEM       , (GossipIcons) 8,  ACTION_DEFAULT_4  +  7);
			gossiper.GossipAdd( GOSSIP_TEXT_SCRYERGEM      , (GossipIcons) 8,  ACTION_DEFAULT_4  +  8);
	        gossiper.GossipFlush(sender, 10697);
	    }
	
	    if (option == ACTION_DEFAULT_1 + 11)//profession trainer
	    {
	        gossiper.GossipAdd( GOSSIP_TEXT_ALCHEMY              , (GossipIcons) 3,  ACTION_DEFAULT_3  +  1);
	        gossiper.GossipAdd( GOSSIP_TEXT_BLACKSMITHING        , (GossipIcons) 3,  ACTION_DEFAULT_3  +  2);
	        gossiper.GossipAdd( GOSSIP_TEXT_COOKING              , (GossipIcons) 3,  ACTION_DEFAULT_3  +  3);
	        gossiper.GossipAdd( GOSSIP_TEXT_ENCHANTING           , (GossipIcons) 3,  ACTION_DEFAULT_3  +  4);
	        gossiper.GossipAdd( GOSSIP_TEXT_FIRSTAID             , (GossipIcons) 3,  ACTION_DEFAULT_3  +  5);
	        gossiper.GossipAdd( GOSSIP_TEXT_JEWELCRAFTING        , (GossipIcons) 3,  ACTION_DEFAULT_3  +  6);
	        gossiper.GossipAdd( GOSSIP_TEXT_LEATHERWORKING       , (GossipIcons) 3,  ACTION_DEFAULT_3  +  7);
	        gossiper.GossipAdd( GOSSIP_TEXT_SKINNING             , (GossipIcons) 3,  ACTION_DEFAULT_3  +  8);
	        gossiper.GossipFlush(sender, 10391);
	    }
	
	}
	#endregion

	#region ALDOR AND SCRYERS GOSSIP
	public void AldorScryerGossip(IScriptPlayer gossiper, IScriptCreature sender, int option)
	{
	
	    if (option == ACTION_DEFAULT_4 + 1)//Aldor bank
	    {
	        gossiper.GossipPOI(-1730.8f, 5166.9f, "Aldor Bank");
	        gossiper.GossipFlush(sender, 10380);
	    }
	
	    if (option == ACTION_DEFAULT_4 + 2)//Scryer bank
	    {
	        gossiper.GossipPOI(-1999.6f, 5362.2f, "Scryers Bank");
	        gossiper.GossipFlush(sender, 10381);
	    }
	
	    if (option == ACTION_DEFAULT_4 + 3)//Aldor inn
	    {
	        gossiper.GossipPOI(-1895f, 5767f, "Aldor Inn");
	        gossiper.GossipFlush(sender, 10383);
	    }
		
		if (option == ACTION_DEFAULT_4 + 4)//Scryers inn
		{
			gossiper.GossipPOI(-2178f, 5405f, "Scryers Inn");
			gossiper.GossipFlush(sender, 10384);
		}
		
		if (option == ACTION_DEFAULT_4 + 5) // aldor stable
		{
			gossiper.GossipPOI(-1888.5f, 5761f, "Aldor Stable");
			gossiper.GossipFlush(sender, 10321);
		}
		
		if (option == ACTION_DEFAULT_4 + 6) // scryer stable
		{
			gossiper.GossipPOI(-2170f, 5404f, "Scryers Stable");
			gossiper.GossipFlush(sender, 10321);
		}
		
		if (option == ACTION_DEFAULT_4 + 7) // aldor gem merchant
		{
			gossiper.GossipPOI(-1645f, 5669.5f, "Aldor Gem Merchant");
			gossiper.GossipFlush(sender, 10698);
		}
		
		if (option == ACTION_DEFAULT_4 + 8) // scryer gem merchant
		{
			gossiper.GossipPOI(-2193f, 5424.5f, "Scryers Gem Merchant");
			gossiper.GossipFlush(sender, 10699);
		}
	}
	#endregion

	#region Battlemaster GOSSIP
	public void BattleMasterGossip(IScriptPlayer gossiper, IScriptCreature sender, int option)
	{
		if (option == ACTION_DEFAULT_5 + 1) // alliance master
		{
			gossiper.GossipPOI(-1774f, 5251f, "Alliance Battlemasters");
			gossiper.GossipFlush(sender, 10389);
		}
		
		if (option == ACTION_DEFAULT_5 + 2) // horde master
		{
			gossiper.GossipPOI(-1963f, 5263f, "Horde Battlemasters");
			gossiper.GossipFlush(sender, 10390);
		}
		
		if (option == ACTION_DEFAULT_5 + 3) // arena master
		{
			gossiper.GossipPOI(-1960f, 5175f, "Arena Battlemasters");
			gossiper.GossipFlush(sender, 12510);
		}
	}
	#endregion

	#region PROFESSION TRAINER GOSSIP
	public void ProfessionTrainerGossip(IScriptPlayer gossiper, IScriptCreature sender, int option)
	{
	
	    if (option == ACTION_DEFAULT_3 + 1)//Alchemy
	    {
	        gossiper.GossipPOI(-1648.5f, 5534f, "Lorokeem");
	        gossiper.GossipFlush(sender, 10392);
	    }
	
	    if (option == ACTION_DEFAULT_3 + 2)//Blacksmithing
	    {
	        gossiper.GossipPOI(-1847f, 5222f, "Kradu Grimblade and Zula Slagfury");
	        gossiper.GossipFlush(sender, 10400);
	    }
	
	    if (option == ACTION_DEFAULT_3 + 3)//Cooking
	    {
	        gossiper.GossipPOI(-2067.4f, 5316.5f, "Jack Trapper");
	        gossiper.GossipFlush(sender, 10393);
	    }
	
	    if (option == ACTION_DEFAULT_3 + 4)//Enchanting
	    {
	        gossiper.GossipPOI(-2263.5f, 5563.5f, "High Enchanter Bardolan");
	        gossiper.GossipFlush(sender, 10395);
	    }
	
	    if (option == ACTION_DEFAULT_3 + 5)//First Aid
	    {
	        gossiper.GossipPOI(-1591f, 5265.5f, "Mildred Fletcher");
	        gossiper.GossipFlush(sender, 10396);
	    }
	
	    if (option == ACTION_DEFAULT_3 + 6)//jewelcrafting
	    {
	        gossiper.GossipPOI(-1654f, 5667.5f, "Hamanar");
	        gossiper.GossipFlush(sender, 10397);
	    }
	
	    if (option == ACTION_DEFAULT_3 + 7)//Leatherworking
	    {
	        gossiper.GossipPOI(-2060.5f, 5256.5f, "Darmari");
	        gossiper.GossipFlush(sender, 10399);
	    }
	
	    if (option == ACTION_DEFAULT_3 + 8)//Skinning
	    {
	        gossiper.GossipPOI(-2048f, 5300f, "Seymour");
	        gossiper.GossipFlush(sender, 10398);
	    }

	}
	#endregion

	public void GossipSelect(IScriptPlayer gossiper, IScriptCreature sender, int option)
	{
		DefaultGossip(gossiper, sender, option);
		AldorScryerGossip(gossiper, sender, option);
		ProfessionTrainerGossip(gossiper, sender, option);
		BattleMasterGossip(gossiper, sender, option);
	}
}

</pre><br />
<br />
edit: In your database this goes to NPC #'s 19687,18568,18549]]></description>
		<pubDate>Wed, 03 Mar 2010 01:58:04 +0000</pubDate>
		<guid>http://www.codeforums.org/forum_beta/index.php?showtopic=8102</guid>
	</item>
	<item>
		<title>Xfire</title>
		<link>http://www.codeforums.org/forum_beta/index.php?showtopic=8101</link>
		<description><![CDATA[Here you can put youre Xfire <br />
<br />
This is mine: arvitoz]]></description>
		<pubDate>Sat, 27 Feb 2010 18:34:04 +0000</pubDate>
		<guid>http://www.codeforums.org/forum_beta/index.php?showtopic=8101</guid>
	</item>
</channel>
</rss>