Changed some configs, and changed the package.

This commit is contained in:
CodeForFame 2011-05-13 03:24:42 -05:00
parent 02fbddb261
commit ea668ae747
424 changed files with 2290 additions and 8953 deletions

View File

@ -1,4 +1,4 @@
<project name="GameServer" default="compile" basedir=".">
<project name="GameServer" default="build" basedir=".">
<property name="src" location="src" />
<property name="build" location="build" />
@ -8,7 +8,7 @@
<property name="settings" location="settings.ini" />
<property name="quests" location="conf/server/quests" />
<target name="compile">
<target name="build">
<delete file="${jar}" />
<delete dir="${build}" />
<mkdir dir="${build}" />
@ -31,88 +31,12 @@
</target>
<target name="doc" depends="compile">
<target name="doc" depends="build">
<javadoc sourcepath="${src}" destdir="${doc}" verbose="on" />
</target>
<target name="map">
<java classname="org.rscdaemon.server.util.MapGenerator" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<arg value="map.png" />
<arg value="${world}.conf" />
<classpath>
<pathelement location="${lib}/mina.jar" />
<pathelement location="${lib}/xpp3.jar" />
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/pircbot.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/mysql-connector.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement path="${jar}/" />
</classpath>
</java>
</target>
<target name="runls">
<java classname="rsca.ls.Server" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<arg value="ls.conf" />
<classpath>
<pathelement location="${lib}/mina.jar" />
<pathelement location="${lib}/xpp3.jar" />
<pathelement location="${lib}/pircbot.jar" />
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/mysql-connector.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement path="${jar}/" />
</classpath>
</java>
</target>
<target name="runls2">
<java classname="rsca.ls.Server" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<arg value="pets-ls.conf" />
<classpath>
<pathelement location="${lib}/mina.jar" />
<pathelement location="${lib}/xpp3.jar" />
<pathelement location="${lib}/pircbot.jar" />
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/mysql-connector.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement path="${jar}/" />
</classpath>
</java>
</target>
<target name="runp2p">
<java classname="rsca.gs.Server" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<arg value="world.xml" />
<arg value="p2p" />
<arg value="no" />
<classpath>
<pathelement location="${lib}/mysql-connector.jar" />
<pathelement location="${lib}/mina.jar" />
<pathelement location="${lib}/xpp3.jar" />
<pathelement location="${lib}/pircbot.jar"/>
<pathelement location="${lib}/bsh.jar" />
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement location="quests/" />
<pathelement path="${jar}/" />
</classpath>
</java>
</target>
<target name="runf2p">
<java classname="msc.gs.Server" fork="true">
<target name="runf2p" depends="build">
<java classname="org.moparscape.msc.gs.Server" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<arg value="world.xml" />
@ -132,58 +56,4 @@
</classpath>
</java>
</target>
<target name="runf2p2">
<java classname="rsca.gs.Server" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<arg value="pets-server.conf" />
<arg value="f2p" />
<arg value="no" />
<classpath>
<pathelement location="${lib}/mina.jar" />
<pathelement location="${lib}/xpp3.jar" />
<pathelement location="${lib}/bsh.jar" />
<pathelement location="${lib}/pircbot.jar"/>
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement location="quests/" />
<pathelement path="${jar}/" />
</classpath>
</java>
</target>
<target name="runclient">
<java classname="org.rscdaemon.client.mudclient" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<arg value="${settings}" />
<classpath>
<pathelement location="${lib}/mina.jar" />
<pathelement location="${lib}/xpp3.jar" />
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/mysql-connector.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement location="${lib}/jmf.jar" />
<pathelement path="${jar}/" />
</classpath>
</java>
</target>
<target name="runspriteeditor">
<java classname="org.rscdaemon.spriteeditor.SpriteEditor" fork="true">
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
<classpath>
<pathelement location="${lib}/mina.jar" />
<pathelement location="${lib}/xpp3.jar" />
<pathelement location="${lib}/slf4j.jar" />
<pathelement location="${lib}/pircbot.jar" />
<pathelement location="${lib}/xstream.jar" />
<pathelement location="${lib}/mysql-connector.jar" />
<pathelement location="${lib}/hex-string.jar" />
<pathelement path="${jar}/" />
</classpath>
</java>
</target>
</project>

View File

@ -3,36 +3,36 @@
<ids>
<int>1</int>
</ids>
<className>msc.ls.packethandler.frontend.Logout</className>
<className>org.moparscape.msc.ls.packethandler.frontend.Logout</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>2</int>
</ids>
<className>msc.ls.packethandler.frontend.Shutdown</className>
<className>org.moparscape.msc.ls.packethandler.frontend.Shutdown</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>3</int>
</ids>
<className>msc.ls.packethandler.frontend.Update</className>
<className>org.moparscape.msc.ls.packethandler.frontend.Update</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>5</int>
</ids>
<className>msc.ls.packethandler.frontend.Global</className>
<className>org.moparscape.msc.ls.packethandler.frontend.Global</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>6</int>
</ids>
<className>msc.ls.packethandler.frontend.Alert</className>
<className>org.moparscape.msc.ls.packethandler.frontend.Alert</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>7</int>
</ids>
<className>msc.ls.packethandler.frontend.ListPlayers</className>
<className>org.moparscape.msc.ls.packethandler.frontend.ListPlayers</className>
</PacketHandler>
</PacketHandler-array>

View File

@ -4,44 +4,44 @@
<int>1</int>
<int>2</int>
</ids>
<className>msc.ls.packethandler.loginserver.RegisterWorld</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.RegisterWorld</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>3</int>
</ids>
<className>msc.ls.packethandler.loginserver.KillHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.KillHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>4</int>
<int>5</int>
</ids>
<className>msc.ls.packethandler.loginserver.BanHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.BanHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>6</int>
</ids>
<className>msc.ls.packethandler.loginserver.PrivacySettingHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.PrivacySettingHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>7</int>
</ids>
<className>msc.ls.packethandler.loginserver.GameSettingHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.GameSettingHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>8</int>
</ids>
<className>msc.ls.packethandler.loginserver.PlayerInfoRequestHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.PlayerInfoRequestHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>9</int>
</ids>
<className>msc.ls.packethandler.loginserver.SaveProfilesRequestHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.SaveProfilesRequestHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
@ -51,42 +51,42 @@
<int>13</int>
<int>14</int>
</ids>
<className>msc.ls.packethandler.loginserver.FriendHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.FriendHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>15</int>
</ids>
<className>msc.ls.packethandler.loginserver.ReportHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.ReportHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>20</int>
</ids>
<className>msc.ls.packethandler.loginserver.PlayerSaveHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.PlayerSaveHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>30</int>
</ids>
<className>msc.ls.packethandler.loginserver.PlayerLogoutHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.PlayerLogoutHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>31</int>
</ids>
<className>msc.ls.packethandler.loginserver.PlayerLoginHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.PlayerLoginHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>32</int>
</ids>
<className>msc.ls.packethandler.loginserver.LogHandler</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.LogHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>33</int>
</ids>
<className>msc.ls.packethandler.loginserver.Tradelog</className>
<className>org.moparscape.msc.ls.packethandler.loginserver.Tradelog</className>
</PacketHandler>
</PacketHandler-array>

View File

@ -3,5 +3,5 @@
<properties>
<comment>Stores aliases for the XStream engine</comment>
<entry key="PacketHandler">msc.ls.packethandler.PacketHandlerDef</entry>
<entry key="PacketHandler">org.moparscape.msc.ls.packethandler.PacketHandlerDef</entry>
</properties>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>RSCD Config</comment>
<entry key="version">27</entry>
<entry key="ip">208.110.86.234</entry>
<entry key="port">43595</entry>
<entry key="name">msc</entry>
<entry key="location">London</entry>
<entry key="maxplayers">800</entry>
<entry key="servernum">1</entry>
<entry key="lsip">localhost</entry>
<entry key="lsport">34522</entry>
</properties>

View File

@ -3,73 +3,73 @@
<ids>
<int>1</int>
</ids>
<className>msc.gs.phandler.ls.StatRequestHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.StatRequestHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>2</int>
</ids>
<className>msc.gs.phandler.ls.PlayerListRequestHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.PlayerListRequestHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>3</int>
</ids>
<className>msc.gs.phandler.ls.ShutdownHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.ShutdownHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>4</int>
</ids>
<className>msc.gs.phandler.ls.UpdateHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.UpdateHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>5</int>
</ids>
<className>msc.gs.phandler.ls.GlobalHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.GlobalHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>6</int>
</ids>
<className>msc.gs.phandler.ls.AlertHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.AlertHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>7</int>
</ids>
<className>msc.gs.phandler.ls.ForceLogout</className>
<className>org.moparscape.msc.gs.phandler.ls.ForceLogout</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>8</int>
</ids>
<className>msc.gs.phandler.ls.ReportInfoRequestHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.ReportInfoRequestHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>9</int>
</ids>
<className>msc.gs.phandler.ls.PlayerInfoRequestHandler</className>
<className>org.moparscape.msc.gs.phandler.ls.PlayerInfoRequestHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>10</int>
</ids>
<className>msc.gs.phandler.ls.ReceivePM</className>
<className>org.moparscape.msc.gs.phandler.ls.ReceivePM</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>11</int>
</ids>
<className>msc.gs.phandler.ls.FriendLogin</className>
<className>org.moparscape.msc.gs.phandler.ls.FriendLogin</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>12</int>
<int>13</int>
</ids>
<className>msc.gs.phandler.ls.FriendLogout</className>
<className>org.moparscape.msc.gs.phandler.ls.FriendLogout</className>
</PacketHandler>
</PacketHandler-array>

View File

@ -9,50 +9,50 @@
<int>617</int>
<int>792</int>
</ids>
<className>msc.gs.npchandler.Bankers</className>
<className>org.moparscape.msc.gs.npchandler.Bankers</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>125</int>
</ids>
<className>msc.gs.npchandler.Aggie</className>
<className>org.moparscape.msc.gs.npchandler.Aggie</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>164</int>
</ids>
<className>msc.gs.npchandler.Bananas</className>
<className>org.moparscape.msc.gs.npchandler.Bananas</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>33</int>
</ids>
<className>msc.gs.npchandler.Apothecary</className>
<className>org.moparscape.msc.gs.npchandler.Apothecary</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>172</int>
</ids>
<className>msc.gs.npchandler.Tanner</className>
<className>org.moparscape.msc.gs.npchandler.Tanner</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>90</int>
</ids>
<className>msc.gs.npchandler.KebabSeller</className>
<className>org.moparscape.msc.gs.npchandler.KebabSeller</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>339</int>
</ids>
<className>msc.gs.npchandler.MakeOverMage</className>
<className>org.moparscape.msc.gs.npchandler.MakeOverMage</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>160</int>
</ids>
<className>msc.gs.npchandler.Thrander</className>
<className>org.moparscape.msc.gs.npchandler.Thrander</className>
</NpcHandler>
<NpcHandler>
<ids>
@ -133,7 +133,7 @@
<int>779</int>
<int>269</int>
</ids>
<className>msc.gs.npchandler.ShopKeeper</className>
<className>org.moparscape.msc.gs.npchandler.ShopKeeper</className>
</NpcHandler>
<NpcHandler>
<ids>
@ -155,19 +155,19 @@
<int>347</int>
</ids>
<className>msc.gs.npchandler.Certer</className>
<className>org.moparscape.msc.gs.npchandler.Certer</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>93</int>
</ids>
<className>msc.gs.npchandler.MonkHealer</className>
<className>org.moparscape.msc.gs.npchandler.MonkHealer</className>
</NpcHandler>
<NpcHandler>
<ids>
<int>212</int>
</ids>
<className>msc.gs.npchandler.EntranaMonks</className>
<className>org.moparscape.msc.gs.npchandler.EntranaMonks</className>
</NpcHandler>
</NpcHandler-array>

View File

@ -3,106 +3,106 @@
<ids>
<int>0</int>
</ids>
<className>msc.gs.phandler.client.DummyPacket</className>
<className>org.moparscape.msc.gs.phandler.client.DummyPacket</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>77</int>
</ids>
<className>msc.gs.phandler.client.PlayerLogin</className>
<className>org.moparscape.msc.gs.phandler.client.PlayerLogin</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>69</int>
</ids>
<className>msc.gs.phandler.client.BotHandler</className>
<className>org.moparscape.msc.gs.phandler.client.BotHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>32</int>
</ids>
<className>msc.gs.phandler.client.SessionRequest</className>
<className>org.moparscape.msc.gs.phandler.client.SessionRequest</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>129</int>
</ids>
<className>msc.gs.phandler.client.PlayerLogoutRequest</className>
<className>org.moparscape.msc.gs.phandler.client.PlayerLogoutRequest</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>39</int>
</ids>
<className>msc.gs.phandler.client.PlayerLogout</className>
<className>org.moparscape.msc.gs.phandler.client.PlayerLogout</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>5</int>
</ids>
<className>msc.gs.phandler.client.Ping</className>
<className>org.moparscape.msc.gs.phandler.client.Ping</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>3</int>
</ids>
<className>msc.gs.phandler.client.Trap</className>
<className>org.moparscape.msc.gs.phandler.client.Trap</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>246</int>
<int>132</int>
</ids>
<className>msc.gs.phandler.client.WalkRequest</className>
<className>org.moparscape.msc.gs.phandler.client.WalkRequest</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>145</int>
</ids>
<className>msc.gs.phandler.client.ChatHandler</className>
<className>org.moparscape.msc.gs.phandler.client.ChatHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>176</int>
</ids>
<className>msc.gs.phandler.client.PrivacySettingHandler</className>
<className>org.moparscape.msc.gs.phandler.client.PrivacySettingHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>157</int>
</ids>
<className>msc.gs.phandler.client.GameSettingHandler</className>
<className>org.moparscape.msc.gs.phandler.client.GameSettingHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>147</int>
</ids>
<className>msc.gs.phandler.client.DropHandler</className>
<className>org.moparscape.msc.gs.phandler.client.DropHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>56</int>
<int>248</int>
</ids>
<className>msc.gs.phandler.client.PrayerHandler</className>
<className>org.moparscape.msc.gs.phandler.client.PrayerHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>90</int>
</ids>
<className>msc.gs.phandler.client.CommandHandler</className>
<className>org.moparscape.msc.gs.phandler.client.CommandHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>181</int>
<int>92</int>
</ids>
<className>msc.gs.phandler.client.WieldHandler</className>
<className>org.moparscape.msc.gs.phandler.client.WieldHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>83</int>
</ids>
<className>msc.gs.phandler.client.PlayerAppearanceIDHandler</className>
<className>org.moparscape.msc.gs.phandler.client.PlayerAppearanceIDHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
@ -115,13 +115,13 @@
<int>104</int>
<int>232</int>
</ids>
<className>msc.gs.phandler.client.SpellHandler</className>
<className>org.moparscape.msc.gs.phandler.client.SpellHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>218</int>
</ids>
<className>msc.gs.phandler.client.PlayerAppearanceUpdater</className>
<className>org.moparscape.msc.gs.phandler.client.PlayerAppearanceUpdater</className>
</PacketHandler>
<PacketHandler>
<ids>
@ -131,7 +131,7 @@
<int>70</int>
<int>53</int>
</ids>
<className>msc.gs.phandler.client.TradeHandler</className>
<className>org.moparscape.msc.gs.phandler.client.TradeHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
@ -141,71 +141,71 @@
<int>108</int>
<int>254</int>
</ids>
<className>msc.gs.phandler.client.FriendHandler</className>
<className>org.moparscape.msc.gs.phandler.client.FriendHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>89</int>
</ids>
<className>msc.gs.phandler.client.InvActionHandler</className>
<className>org.moparscape.msc.gs.phandler.client.InvActionHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>16</int>
</ids>
<className>msc.gs.phandler.client.InvUseOnPlayer</className>
<className>org.moparscape.msc.gs.phandler.client.InvUseOnPlayer</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>245</int>
</ids>
<className>msc.gs.phandler.client.PickupItem</className>
<className>org.moparscape.msc.gs.phandler.client.PickupItem</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>40</int>
<int>51</int>
</ids>
<className>msc.gs.phandler.client.ObjectAction</className>
<className>org.moparscape.msc.gs.phandler.client.ObjectAction</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>235</int>
<int>126</int>
</ids>
<className>msc.gs.phandler.client.WallObjectAction</className>
<className>org.moparscape.msc.gs.phandler.client.WallObjectAction</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>7</int>
</ids>
<className>msc.gs.phandler.client.ReportHandler</className>
<className>org.moparscape.msc.gs.phandler.client.ReportHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>36</int>
<int>94</int>
</ids>
<className>msc.gs.phandler.client.InvUseOnObject</className>
<className>org.moparscape.msc.gs.phandler.client.InvUseOnObject</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>57</int>
<int>73</int>
</ids>
<className>msc.gs.phandler.client.AttackHandler</className>
<className>org.moparscape.msc.gs.phandler.client.AttackHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>42</int>
</ids>
<className>msc.gs.phandler.client.StyleHandler</className>
<className>org.moparscape.msc.gs.phandler.client.StyleHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>177</int>
</ids>
<className>msc.gs.phandler.client.TalkToNpcHandler</className>
<className>org.moparscape.msc.gs.phandler.client.TalkToNpcHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
@ -213,31 +213,31 @@
<int>183</int>
<int>198</int>
</ids>
<className>msc.gs.phandler.client.BankHandler</className>
<className>org.moparscape.msc.gs.phandler.client.BankHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>154</int>
</ids>
<className>msc.gs.phandler.client.MenuReplyHandler</className>
<className>org.moparscape.msc.gs.phandler.client.MenuReplyHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>156</int>
</ids>
<className>msc.gs.phandler.client.ExceptionHandler</className>
<className>org.moparscape.msc.gs.phandler.client.ExceptionHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>34</int>
</ids>
<className>msc.gs.phandler.client.InvUseOnGroundItem</className>
<className>org.moparscape.msc.gs.phandler.client.InvUseOnGroundItem</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>27</int>
</ids>
<className>msc.gs.phandler.client.InvUseOnItem</className>
<className>org.moparscape.msc.gs.phandler.client.InvUseOnItem</className>
</PacketHandler>
<PacketHandler>
<ids>
@ -245,19 +245,19 @@
<int>128</int>
<int>255</int>
</ids>
<className>msc.gs.phandler.client.ShopHandler</className>
<className>org.moparscape.msc.gs.phandler.client.ShopHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>142</int>
</ids>
<className>msc.gs.phandler.client.InvUseOnNpc</className>
<className>org.moparscape.msc.gs.phandler.client.InvUseOnNpc</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>68</int>
</ids>
<className>msc.gs.phandler.client.FollowRequest</className>
<className>org.moparscape.msc.gs.phandler.client.FollowRequest</className>
</PacketHandler>
<PacketHandler>
<ids>
@ -268,19 +268,19 @@
<int>225</int>
<int>252</int>
</ids>
<className>msc.gs.phandler.client.DuelHandler</className>
<className>org.moparscape.msc.gs.phandler.client.DuelHandler</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>74</int>
</ids>
<className>msc.gs.phandler.client.NpcCommand</className>
<className>org.moparscape.msc.gs.phandler.client.NpcCommand</className>
</PacketHandler>
<PacketHandler>
<ids>
<int>200</int>
</ids>
<className>msc.gs.phandler.client.Sleepword</className>
<className>org.moparscape.msc.gs.phandler.client.Sleepword</className>
</PacketHandler>
</PacketHandler-array>

View File

@ -3,50 +3,50 @@
<properties>
<comment>Stores aliases for the XStream engine</comment>
<entry key="PacketHandler">msc.gs.phandler.PacketHandlerDef</entry>
<entry key="NpcHandler">msc.gs.npchandler.NpcHandlerDef</entry>
<entry key="PacketHandler">org.moparscape.msc.gs.phandler.PacketHandlerDef</entry>
<entry key="NpcHandler">org.moparscape.msc.gs.npchandler.NpcHandlerDef</entry>
<entry key="Point">msc.gs.model.Point</entry>
<entry key="TelePoint">msc.gs.model.TelePoint</entry>
<entry key="Point">org.moparscape.msc.gs.model.Point</entry>
<entry key="TelePoint">org.moparscape.msc.gs.model.TelePoint</entry>
<entry key="Shop">msc.gs.model.Shop</entry>
<entry key="InvItem">msc.gs.model.InvItem</entry>
<entry key="Shop">org.moparscape.msc.gs.model.Shop</entry>
<entry key="InvItem">org.moparscape.msc.gs.model.InvItem</entry>
<entry key="CerterDef">msc.gs.external.CerterDef</entry>
<entry key="CertDef">msc.gs.external.CertDef</entry>
<entry key="CerterDef">org.moparscape.msc.gs.external.CerterDef</entry>
<entry key="CertDef">org.moparscape.msc.gs.external.CertDef</entry>
<entry key="GameObjectLoc">msc.gs.external.GameObjectLoc</entry>
<entry key="ItemLoc">msc.gs.external.ItemLoc</entry>
<entry key="NPCLoc">msc.gs.external.NPCLoc</entry>
<entry key="GameObjectLoc">org.moparscape.msc.gs.external.GameObjectLoc</entry>
<entry key="ItemLoc">org.moparscape.msc.gs.external.ItemLoc</entry>
<entry key="NPCLoc">org.moparscape.msc.gs.external.NPCLoc</entry>
<entry key="TileDef">msc.gs.external.TileDef</entry>
<entry key="GameObjectDef">msc.gs.external.GameObjectDef</entry>
<entry key="DoorDef">msc.gs.external.DoorDef</entry>
<entry key="ItemDef">msc.gs.external.ItemDef</entry>
<entry key="PrayerDef">msc.gs.external.PrayerDef</entry>
<entry key="SpellDef">msc.gs.external.SpellDef</entry>
<entry key="NPCDef">msc.gs.external.NPCDef</entry>
<entry key="TileDef">org.moparscape.msc.gs.external.TileDef</entry>
<entry key="GameObjectDef">org.moparscape.msc.gs.external.GameObjectDef</entry>
<entry key="DoorDef">org.moparscape.msc.gs.external.DoorDef</entry>
<entry key="ItemDef">org.moparscape.msc.gs.external.ItemDef</entry>
<entry key="PrayerDef">org.moparscape.msc.gs.external.PrayerDef</entry>
<entry key="SpellDef">org.moparscape.msc.gs.external.SpellDef</entry>
<entry key="NPCDef">org.moparscape.msc.gs.external.NPCDef</entry>
<entry key="ItemCraftingDef">msc.gs.external.ItemCraftingDef</entry>
<entry key="ItemHerbSecond">msc.gs.external.ItemHerbSecond</entry>
<entry key="ItemDartTipDef">msc.gs.external.ItemDartTipDef</entry>
<entry key="ItemGemDef">msc.gs.external.ItemGemDef</entry>
<entry key="ItemLogCutDef">msc.gs.external.ItemLogCutDef</entry>
<entry key="ItemBowStringDef">msc.gs.external.ItemBowStringDef</entry>
<entry key="ItemArrowHeadDef">msc.gs.external.ItemArrowHeadDef</entry>
<entry key="FiremakingDef">msc.gs.external.FiremakingDef</entry>
<entry key="ReqOreDef">msc.gs.external.ReqOreDef</entry>
<entry key="ItemWieldableDef">msc.gs.external.ItemWieldableDef</entry>
<entry key="ItemUnIdentHerbDef">msc.gs.external.ItemUnIdentHerbDef</entry>
<entry key="ItemHerbDef">msc.gs.external.ItemHerbDef</entry>
<entry key="ItemCookingDef">msc.gs.external.ItemCookingDef</entry>
<entry key="ItemSmeltingDef">msc.gs.external.ItemSmeltingDef</entry>
<entry key="ItemSmithingDef">msc.gs.external.ItemSmithingDef</entry>
<entry key="ObjectMiningDef">msc.gs.external.ObjectMiningDef</entry>
<entry key="ObjectWoodcuttingDef">msc.gs.external.ObjectWoodcuttingDef</entry>
<entry key="ObjectFishingDef">msc.gs.external.ObjectFishingDef</entry>
<entry key="ObjectFishDef">msc.gs.external.ObjectFishDef</entry>
<entry key="ItemDropDef">msc.gs.external.ItemDropDef</entry>
<entry key="AgilityDef">msc.gs.external.AgilityDef</entry>
<entry key="AgilityCourseDef">msc.gs.external.AgilityCourseDef</entry>
<entry key="ItemCraftingDef">org.moparscape.msc.gs.external.ItemCraftingDef</entry>
<entry key="ItemHerbSecond">org.moparscape.msc.gs.external.ItemHerbSecond</entry>
<entry key="ItemDartTipDef">org.moparscape.msc.gs.external.ItemDartTipDef</entry>
<entry key="ItemGemDef">org.moparscape.msc.gs.external.ItemGemDef</entry>
<entry key="ItemLogCutDef">org.moparscape.msc.gs.external.ItemLogCutDef</entry>
<entry key="ItemBowStringDef">org.moparscape.msc.gs.external.ItemBowStringDef</entry>
<entry key="ItemArrowHeadDef">org.moparscape.msc.gs.external.ItemArrowHeadDef</entry>
<entry key="FiremakingDef">org.moparscape.msc.gs.external.FiremakingDef</entry>
<entry key="ReqOreDef">org.moparscape.msc.gs.external.ReqOreDef</entry>
<entry key="ItemWieldableDef">org.moparscape.msc.gs.external.ItemWieldableDef</entry>
<entry key="ItemUnIdentHerbDef">org.moparscape.msc.gs.external.ItemUnIdentHerbDef</entry>
<entry key="ItemHerbDef">org.moparscape.msc.gs.external.ItemHerbDef</entry>
<entry key="ItemCookingDef">org.moparscape.msc.gs.external.ItemCookingDef</entry>
<entry key="ItemSmeltingDef">org.moparscape.msc.gs.external.ItemSmeltingDef</entry>
<entry key="ItemSmithingDef">org.moparscape.msc.gs.external.ItemSmithingDef</entry>
<entry key="ObjectMiningDef">org.moparscape.msc.gs.external.ObjectMiningDef</entry>
<entry key="ObjectWoodcuttingDef">org.moparscape.msc.gs.external.ObjectWoodcuttingDef</entry>
<entry key="ObjectFishingDef">org.moparscape.msc.gs.external.ObjectFishingDef</entry>
<entry key="ObjectFishDef">org.moparscape.msc.gs.external.ObjectFishDef</entry>
<entry key="ItemDropDef">org.moparscape.msc.gs.external.ItemDropDef</entry>
<entry key="AgilityDef">org.moparscape.msc.gs.external.AgilityDef</entry>
<entry key="AgilityCourseDef">org.moparscape.msc.gs.external.AgilityCourseDef</entry>
</properties>

View File

@ -6,7 +6,7 @@
<direction>2</direction>
<type>0</type>
</GameObjectLoc>
<GameObjectLoc> <!-- http://msc.org/dev/viewtopic.php?id=309 -->
<GameObjectLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=309 -->
<id>6</id>
<x>627</x>
<y>1705</y>

View File

@ -9,7 +9,7 @@
<maxY>456</maxY>
</NPCLoc>
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=593 | http://msc.org/dev/viewtopic.php?id=327 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=593 | http://org.moparscape.msc.org/dev/viewtopic.php?id=327 (added by derf13) -->
<id>661</id>
<startX>685</startX>
<startY>587</startY>
@ -17,9 +17,9 @@
<maxX>688</maxX>
<minY>587</minY>
<maxY>590</maxY>
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=593 | http://msc.org/dev/viewtopic.php?id=327 (added by derf13) -->
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=593 | http://org.moparscape.msc.org/dev/viewtopic.php?id=327 (added by derf13) -->
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=584 | http://msc.org/dev/viewtopic.php?id=330 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=584 | http://org.moparscape.msc.org/dev/viewtopic.php?id=330 (added by derf13) -->
<id>418</id>
<startX>613</startX>
<startY>1562</startY>
@ -45,9 +45,9 @@
<maxX>622</maxX>
<minY>1564</minY>
<maxY>1567</maxY>
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=584 | http://msc.org/dev/viewtopic.php?id=330 (added by derf13) -->
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=584 | http://org.moparscape.msc.org/dev/viewtopic.php?id=330 (added by derf13) -->
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=579 | http://msc.org/dev/viewtopic.php?id=331 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=579 | http://org.moparscape.msc.org/dev/viewtopic.php?id=331 (added by derf13) -->
<id>512</id>
<startX>606</startX>
<startY>599</startY>
@ -64,9 +64,9 @@
<maxX>609</maxX>
<minY>597</minY>
<maxY>609</maxY>
</NPCLoc><!-- END http://www.msc.org/bugzy/?bug=579 | http://msc.org/dev/viewtopic.php?id=331 (added by derf13) -->
</NPCLoc><!-- END http://www.msc.org/bugzy/?bug=579 | http://org.moparscape.msc.org/dev/viewtopic.php?id=331 (added by derf13) -->
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=578 | http://msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=578 | http://org.moparscape.msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<id>435</id>
<startX>584</startX>
<startY>592</startY>
@ -74,9 +74,9 @@
<maxX>587</maxX>
<minY>591</minY>
<maxY>595</maxY>
</NPCLoc><!-- END http://www.msc.org/bugzy/?bug=578 | http://msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
</NPCLoc><!-- END http://www.msc.org/bugzy/?bug=578 | http://org.moparscape.msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=577 | http://msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=577 | http://org.moparscape.msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<id>486</id>
<startX>584</startX>
<startY>586</startY>
@ -84,9 +84,9 @@
<maxX>587</maxX>
<minY>586</minY>
<maxY>589</maxY>
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=577 | http://msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=577 | http://org.moparscape.msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=574 | http://msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=574 | http://org.moparscape.msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<id>335</id>
<startX>556</startX>
<startY>579</startY>
@ -94,9 +94,9 @@
<maxX>559</maxX>
<minY>579</minY>
<maxY>582</maxY>
</NPCLoc> <!--END http://www.msc.org/bugzy/?bug=574 | http://msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
</NPCLoc> <!--END http://www.msc.org/bugzy/?bug=574 | http://org.moparscape.msc.org/dev/viewtopic.php?id=332 (added by derf13) -->
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=587 | http://msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=587 | http://org.moparscape.msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
<id>360</id>
<startX>615</startX>
<startY>585</startY>
@ -104,9 +104,9 @@
<maxX>618</maxX>
<minY>585</minY>
<maxY>588</maxY>
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=587 | http://msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=587 | http://org.moparscape.msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
<NPCLoc>
<!-- http://www.msc.org/bugzy/?bug=588 | http://msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
<!-- http://www.msc.org/bugzy/?bug=588 | http://org.moparscape.msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
<id>443</id>
<startX>629</startX>
<startY>588</startY>
@ -114,9 +114,9 @@
<maxX>632</maxX>
<minY>588</minY>
<maxY>591</maxY>
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=588 | http://msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
</NPCLoc> <!-- END http://www.msc.org/bugzy/?bug=588 | http://org.moparscape.msc.org/dev/viewtopic.php?id=329 (added by derf13) -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=576 -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=576 -->
<id>70</id>
<startX>594</startX>
<startY>620</startY>
@ -133,9 +133,9 @@
<maxX>597</maxX>
<minY>609</minY>
<maxY>618</maxY>
</NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=576 -->
</NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=576 -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=575 -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=575 -->
<id>243</id>
<startX>587</startX>
<startY>613</startY>
@ -143,9 +143,9 @@
<maxX>590</maxX>
<minY>613</minY>
<maxY>616</maxY>
</NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=575 -->
</NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=333 http://www.msc.org/bugzy/?bug=575 -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=326 Cows north of ardy -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=326 Cows north of ardy -->
<id>6</id>
<startX>546</startX>
<startY>560</startY>
@ -190,8 +190,8 @@
<minY>550</minY>
<maxY>563</maxY>
</NPCLoc>
<!-- End of http://msc.org/dev/viewtopic.php?id=326 -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=320 Chronozon in Edgeville Dungeon -->
<!-- End of http://org.moparscape.msc.org/dev/viewtopic.php?id=326 -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=320 Chronozon in Edgeville Dungeon -->
<id>315</id>
<startX>230</startX>
<startY>3246</startY>
@ -200,8 +200,8 @@
<minY>3243</minY>
<maxY>3250</maxY>
</NPCLoc>
<!-- End of http://msc.org/dev/viewtopic.php?id=320 -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=307 Lava Maze -->
<!-- End of http://org.moparscape.msc.org/dev/viewtopic.php?id=320 -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=307 Lava Maze -->
<id>291</id>
<startX>275</startX>
<startY>2998</startY>
@ -273,8 +273,8 @@
<minY>3002</minY>
<maxY>3017</maxY>
</NPCLoc>
<!-- End of http://msc.org/dev/viewtopic.php?id=307 -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=306 Two extra Lessers above KBD -->
<!-- End of http://org.moparscape.msc.org/dev/viewtopic.php?id=307 -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=306 Two extra Lessers above KBD -->
<id>22</id>
<startX>281</startX>
<startY>185</startY>
@ -292,8 +292,8 @@
<minY>184</minY>
<maxY>187</maxY>
</NPCLoc>
<!-- End of http://msc.org/dev/viewtopic.php?id=306 -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=310 Earth Warriors in Edge dungeon -->
<!-- End of http://org.moparscape.msc.org/dev/viewtopic.php?id=306 -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=310 Earth Warriors in Edge dungeon -->
<id>584</id>
<startX>208</startX>
<startY>3218</startY>
@ -366,7 +366,7 @@
<maxY>3220</maxY>
</NPCLoc>
<!-- End of Earth Warriors in Edge dungeon -->
<NPCLoc> <!-- http://msc.org/dev/viewtopic.php?id=308 Ogres in clock tower dungeon -->
<NPCLoc> <!-- http://org.moparscape.msc.org/dev/viewtopic.php?id=308 Ogres in clock tower dungeon -->
<id>312</id>
<startX>609</startX>
<startY>3482</startY>

View File

@ -1,15 +1,15 @@
import msc.gs.Instance; import msc.gs.model.ActiveTile;
import msc.gs.Instance; import msc.gs.model.InvItem;
import msc.gs.Instance; import msc.gs.model.Item;
import msc.gs.Instance; import msc.gs.model.Npc;
import msc.gs.Instance; import msc.gs.model.Player;
import msc.gs.Instance; import msc.gs.model.World;
import msc.gs.Instance; import msc.gs.quest.Quest;
import msc.gs.Instance; import msc.gs.quest.QuestAction;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.ActiveTile;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.InvItem;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Item;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.Quest;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.QuestAction;
import msc.gs.Instance; import msc.gs.external.EntityHandler;
import msc.gs.Instance; import msc.gs.external.ItemDropDef;
import msc.gs.Instance; import msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.external.EntityHandler;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.external.ItemDropDef;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.tools.DataConversions;
/**
* Quest: Christmas! (v1.0) 8/1/2009 Status: COMPLETE Start: Santa (id 798),

View File

@ -1,9 +1,9 @@
import msc.gs.Instance; import msc.gs.event.SingleEvent;
import msc.gs.Instance; import msc.gs.model.MenuHandler;
import msc.gs.Instance; import msc.gs.model.Npc;
import msc.gs.Instance; import msc.gs.model.Player;
import msc.gs.Instance; import msc.gs.quest.Quest;
import msc.gs.Instance; import msc.gs.quest.QuestAction;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.event.SingleEvent;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.MenuHandler;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.Quest;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.QuestAction;
/**
* Quest: Cook's Assistant (v1.0) Status: COMPLETE Start: Lumbridge cook (id 7)

View File

@ -1,11 +1,11 @@
import msc.gs.Instance; import msc.gs.event.SingleEvent;
import msc.gs.Instance; import msc.gs.external.EntityHandler;
import msc.gs.Instance; import msc.gs.model.InvItem;
import msc.gs.Instance; import msc.gs.model.MenuHandler;
import msc.gs.Instance; import msc.gs.model.Npc;
import msc.gs.Instance; import msc.gs.model.Player;
import msc.gs.Instance; import msc.gs.quest.Quest;
import msc.gs.Instance; import msc.gs.quest.QuestAction;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.event.SingleEvent;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.external.EntityHandler;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.InvItem;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.MenuHandler;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.Quest;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.QuestAction;
/**

View File

@ -1,10 +1,10 @@
import msc.gs.Instance; import msc.gs.event.SingleEvent;
import msc.gs.Instance; import msc.gs.model.InvItem;
import msc.gs.Instance; import msc.gs.model.MenuHandler;
import msc.gs.Instance; import msc.gs.model.Npc;
import msc.gs.Instance; import msc.gs.model.Player;
import msc.gs.Instance; import msc.gs.quest.Quest;
import msc.gs.Instance; import msc.gs.quest.QuestAction;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.event.SingleEvent;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.InvItem;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.MenuHandler;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.Quest;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.QuestAction;
/**
* Quest: Sheep Shearer (v1.0) Status: COMPLETE Start: Fred the farmer (id 77),

View File

@ -1,9 +1,9 @@
import msc.gs.Instance; import msc.gs.event.SingleEvent;
import msc.gs.Instance; import msc.gs.model.MenuHandler;
import msc.gs.Instance; import msc.gs.model.Npc;
import msc.gs.Instance; import msc.gs.model.Player;
import msc.gs.Instance; import msc.gs.quest.Quest;
import msc.gs.Instance; import msc.gs.quest.QuestAction;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.event.SingleEvent;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.MenuHandler;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.Quest;
import org.moparscape.msc.gs.Instance; import org.moparscape.msc.gs.quest.QuestAction;
/**
* Quest: Vampire Slayer (v1.0) 6/1/2009 Status: INCOMPLETE Start: Morgan (id

Binary file not shown.

View File

@ -1,7 +1,7 @@
/**
* ID 116 - Wyson the Gardener
*
* @author Ecko @msc
* @author Ecko @org.moparscape.msc
*/
NpcTalk("I am the gardener round here");
Wait(500);

View File

@ -1,7 +1,7 @@
/**
* ID 142 - Barmaid
*
* @author Ecko @msc
* @author Ecko @org.moparscape.msc
*/
PlayerTalk("Hi, what ales are you serving?");

View File

@ -1,6 +1,6 @@
/**
ID 176 - Brother Jered
Written by Hehasnoidea @ msc
Written by Hehasnoidea @ org.moparscape.msc
*/
option = PickOption("What can you do to help a bold adventurer like myself?", "Praise be to Saradomin");

View File

@ -1,7 +1,7 @@
/**
* ID 194 Ned the rope seller
*
* @author Divinity (R e n k o / Karma) @msc
* @author Divinity (R e n k o / Karma) @org.moparscape.msc
*/
NpcTalk("Why, hello there, lad.");
NpcTalk("Me friends call me Ned. I was a man of the sea, but it's past me now.");
@ -26,7 +26,7 @@
PlayerTalk("It seems i don't have enough money, i'll be back later!");
return;
}
NpcTalk("There you go. Finest rope in msc");
NpcTalk("There you go. Finest rope in org.moparscape.msc");
SendMessage("You hand Ned 15 coins. Ned gives you a coil of rope");
AddItem(237, 1);//rope id
}

View File

@ -1,7 +1,7 @@
/**
* ID 116 - Wyson the Gardener
*
* @author Ecko @msc
* @author Ecko @org.moparscape.msc
*/

View File

@ -1,7 +1,7 @@
/**
* ID 142 - Barmaid
*
* @author Ecko @msc
* @author Ecko @org.moparscape.msc
*/
PlayerTalk("Hi, what ales are you serving?");

View File

@ -1,6 +1,6 @@
/**
ID 176 - Brother Jered
Written by Hehasnoidea @ msc
Written by Hehasnoidea @ org.moparscape.msc
*/

View File

@ -1,12 +1,12 @@
/**
* ID 194 Ned the rope seller
*
* @author Divinity (R e n k o / Karma) @msc
* @author Divinity (R e n k o / Karma) @org.moparscape.msc
*/
if(player.getUsername().equalsIgnoreCase("Xent")) {
msc.gs.model.World.getWorld().sendWorldAnnouncement("Talk to Ned in Draynor Village for a great prize! -xEnt");
msc.gs.model.World.getWorld().sendWorldAnnouncement("This will last for 5 minutes, be fast.");
org.moparscape.msc.gs.model.World.getWorld().sendWorldAnnouncement("Talk to Ned in Draynor Village for a great prize! -xEnt");
org.moparscape.msc.gs.model.World.getWorld().sendWorldAnnouncement("This will last for 5 minutes, be fast.");
}
if(true) {
@ -52,7 +52,7 @@ NpcTalk("Never gonna tell a lie and hurt you");
PlayerTalk("It seems i don't have enough money, i'll be back later!");
return;
}
NpcTalk("There you go. Finest rope in msc");
NpcTalk("There you go. Finest rope in org.moparscape.msc");
SendMessage("You hand Ned 15 coins. Ned gives you a coil of rope");
AddItem(237, 1);//rope id
}

View File

@ -2,8 +2,8 @@
NpcTalk("Hello, I am the Community Instructor");
NpcTalk("Do you have any questions you would like to know about msc?");
option = PickOption("Where is everyone?", "What is there to do on this game?", "What is different from the original Classic?", "What are the goals of msc?", "What is a Subscriber?", "How do i contact a moderator?", "I'm off to start my journey now, goodbye!");
NpcTalk("Do you have any questions you would like to know about org.moparscape.msc?");
option = PickOption("Where is everyone?", "What is there to do on this game?", "What is different from the original Classic?", "What are the goals of org.moparscape.msc?", "What is a Subscriber?", "How do i contact a moderator?", "I'm off to start my journey now, goodbye!");
if(option == 1) {
NpcTalk("Split all across the server like a normal world :)");
NpcTalk("However Edgeville is a very popular place for players");
@ -27,7 +27,7 @@ if(option == 4) {
}
if(option == 5) {
NpcTalk("a Subscriber is a supporter of msc");
NpcTalk("a Subscriber is a supporter of org.moparscape.msc");
NpcTalk("More details on subscribing your account is at www.msc.org");
NpcTalk("Subscribers get a slight Experience boost, and the warm feeling of helping our server");
NpcTalk("Subscribing supports the funding of the server");

View File

@ -1,127 +0,0 @@
package msc.config;
import msc.gs.Instance;
/**
* Holds all important, commonly tweaked variables.
*
* @author xEnt
*
*/
public class Constants {
/**
* @category GameServer
*/
public static class GameServer {
/**
* Used throughout strings ingame, this is your Server's name.
*/
public static final String SERVER_NAME = "MoparScape Classic";
/**
* Set by runtime arguments. Is this World a Members/Subscriber (P2P)
* world?
*/
public static boolean MEMBER_WORLD = false;
/**
* Is this wilderness fully f2p (no p2p weapons, items etc)
*/
public static boolean F2P_WILDY = true;
/**
* Our World's Number, Gets set upon launch.
*/
public static int WORLD_NUMBER = 0;
/**
* Message of the Day (Seen as you log in)
*/
public static String MOTD = "";
/**
* Exp Rate multiplier per kill.
*/
public static final double EXP_RATE = 2.0;
/**
* Subscribed Exp Rate multiplier per kill.
*/
public static final double SUB_EXP_RATE = 3.0;
/**
* The amount of players on this server.
*/
public static int ONLINE_COUNT = Instance.getWorld().getPlayers().size();
/**
* Each time a connection is made to the server, this is incremented.
*/
public static int ACCEPTED_CONNECTIONS = 0;
/**
* Strikes, Bolts & Blast Spells.
*
* Remember, 30+ Magic damage gives you +1 damage, so these damages are
* -1 the absolute max. Level Requirement, Max Damage
*/
public static final int[][] SPELLS = { { 1, 1 }, { 4, 2 }, { 9, 2 }, { 13, 3 }, { 17, 3 }, { 23, 4 }, { 29, 4 }, { 35, 5 }, { 41, 5 }, { 47, 6 }, { 53, 6 }, { 59, 7 }, { 62, 8 }, { 65, 9 }, { 70, 10 }, { 75, 11 } };
/**k
* ID's of all Undead-type of NPC's. (Used for crumble undead & sounds)
*/
public static final int[] UNDEAD_NPCS = { 15, 53, 80, 178, 664, 41, 52, 68, 180, 214, 319, 40, 45, 46, 50, 179, 195 };
/**
* ID's of all ARMOR type NPC's. (Used for armor hitting sounds)
*/
public static final int[] ARMOR_NPCS = { 66, 102, 189, 277, 322, 401324, 323, 632, 633 };
/**
* Maximum hit for Crumble Undead (Magic) spell. (Against undead)
*/
public static final int CRUMBLE_UNDEAD_MAX = 12;
/**
* These NPCs are NPCs that are attackable, but do not run on low health
* such as Guards etc.
*/
public static final int[] NPCS_THAT_DONT_RETREAT = { 65, 102, 100, 127, 258 };
public static final String[] PMODS = {"There are currently no PMODS"
};
public static final String[] MODS = { "Mod Jake", "Mod Robert", "Mod x0x0", "Mod Andrew", "Mod Trauma", "Mod Andrew", "Mod Miku"};
public static final String[] ADMINS = { "Mod Necroth", "KO9" };
}
/**
* @category IRC
*/
public static class IRC {
/**
* to enable IRC integration or not.
*/
public static boolean USE_IRC = true;
/**
* Hosts of the IRC channels
*/
public static final String[] HOSTS = { "irc.shakeababy.net" };
/**
* Channels for the IRC bot to join Passwords in the second dimention
*/
public static final String[][] CHANNELS = { { "#msc.staff", "staffonly" } };
/**
* Channel for the IRC bot to join
*/
public static final String NICK = "msc_" + (GameServer.MEMBER_WORLD ? "P2P" : "F2P") + "_" + Formulae.Rand(0, 900);
/**
* the login/full name thing IRC wants. [NOT NICKNAME]
*/
public static final String USER = "msc";
/**
* Each person in here is their IRC name, if they are in here ALL
* Moderator in-game activities will be sent to them via PM.
*/
public static final String[] ADMINISTRATORS = { "KO9", "ollie", "Necroth", "Melshef" };
/**
* Banned words you don't want your IRCBot to say (Optional) {Banned
* word, new mask}
*/
public static final String[][] BANNED_WORDS = { { "stork", "msc" } };
}
/**
* @category LoginServer
*/
public static class LoginServer {
}
}

View File

@ -1,8 +0,0 @@
package msc.gs.npchandler;
import msc.gs.model.Npc;
import msc.gs.model.Player;
public interface NpcHandler {
public void handleNpc(final Npc npc, Player player) throws Exception;
}

View File

@ -1,5 +0,0 @@
package msc.gs.plugins.listeners;
public class ItemListener {
}

View File

@ -1,5 +0,0 @@
package msc.gs.plugins.listeners;
public class ItemOnItemListener {
}

View File

@ -1,5 +0,0 @@
package msc.gs.plugins.listeners;
public class ItemOnObjectListener {
}

View File

@ -1,5 +0,0 @@
package msc.gs.plugins.listeners;
public class NpcListener {
}

View File

@ -1,7 +0,0 @@
package msc.gs.util;
import msc.gs.model.Player;
public interface Processor {
public void process(Player p);
}

View File

@ -1,4 +1,4 @@
package msc.config;
package org.moparscape.msc.config;
/**
* A class to handle loading configuration from XML

View File

@ -0,0 +1,142 @@
package org.moparscape.msc.config;
import org.moparscape.msc.gs.Instance;
/**
* Holds all important, commonly tweaked variables.
*
* @author xEnt
*
*/
public class Constants {
/**
* @category GameServer
*/
public static class GameServer {
/**
* Used throughout strings ingame, this is your Server's name.
*/
public static final String SERVER_NAME = "MoparScape Classic";
/**
* Set by runtime arguments. Is this World a Members/Subscriber (P2P)
* world?
*/
public static boolean MEMBER_WORLD = false;
/**
* Is this wilderness fully f2p (no p2p weapons, items etc)
*/
public static boolean F2P_WILDY = true;
/**
* Our World's Number, Gets set upon launch.
*/
public static int WORLD_NUMBER = 0;
/**
* Message of the Day (Seen as you log in)
*/
public static String MOTD = "";
/**
* Exp Rate multiplier per kill.
*/
public static final double EXP_RATE = 3.0;
/**
* Subscribed Exp Rate multiplier per kill.
*/
public static final double SUB_EXP_RATE = 3.0;
/**
* The amount of players on this server.
*/
public static int ONLINE_COUNT = Instance.getWorld().getPlayers()
.size();
/**
* Each time a connection is made to the server, this is incremented.
*/
public static int ACCEPTED_CONNECTIONS = 0;
/**
* Strikes, Bolts & Blast Spells.
*
* Remember, 30+ Magic damage gives you +1 damage, so these damages are
* -1 the absolute max. Level Requirement, Max Damage
*/
public static final int[][] SPELLS = { { 1, 1 }, { 4, 2 }, { 9, 2 },
{ 13, 3 }, { 17, 3 }, { 23, 4 }, { 29, 4 }, { 35, 5 },
{ 41, 5 }, { 47, 6 }, { 53, 6 }, { 59, 7 }, { 62, 8 },
{ 65, 9 }, { 70, 10 }, { 75, 11 } };
/**
* k ID's of all Undead-type of NPC's. (Used for crumble undead &
* sounds)
*/
public static final int[] UNDEAD_NPCS = { 15, 53, 80, 178, 664, 41, 52,
68, 180, 214, 319, 40, 45, 46, 50, 179, 195 };
/**
* ID's of all ARMOR type NPC's. (Used for armor hitting sounds)
*/
public static final int[] ARMOR_NPCS = { 66, 102, 189, 277, 322,
401324, 323, 632, 633 };
/**
* Maximum hit for Crumble Undead (Magic) spell. (Against undead)
*/
public static final int CRUMBLE_UNDEAD_MAX = 12;
/**
* These NPCs are NPCs that are attackable, but do not run on low health
* such as Guards etc.
*/
public static final int[] NPCS_THAT_DONT_RETREAT = { 65, 102, 100, 127,
258 };
public static final String[] PMODS = { "There are currently no PMODS" };
public static final String[] MODS = { "Mod Jake", "Mod Robert",
"Mod x0x0", "Mod Andrew", "Mod Trauma", "Mod Andrew",
"Mod Miku" };
public static final String[] ADMINS = { "Mod Necroth", "KO9" };
}
/**
* @category IRC
*/
public static class IRC {
/**
* to enable IRC integration or not.
*/
public static boolean USE_IRC = false;
/**
* Hosts of the IRC channels
*/
public static final String[] HOSTS = { "irc.shakeababy.net" };
/**
* Channels for the IRC bot to join Passwords in the second dimention
*/
public static final String[][] CHANNELS = { {
"#org.moparscape.msc.staff", "staffonly" } };
/**
* Channel for the IRC bot to join
*/
public static final String NICK = "msc_"
+ (GameServer.MEMBER_WORLD ? "P2P" : "F2P") + "_"
+ Formulae.Rand(0, 900);
/**
* the login/full name thing IRC wants. [NOT NICKNAME]
*/
public static final String USER = "org.moparscape.msc";
/**
* Each person in here is their IRC name, if they are in here ALL
* Moderator in-game activities will be sent to them via PM.
*/
public static final String[] ADMINISTRATORS = { "KO9", "ollie",
"Necroth", "Melshef" };
/**
* Banned words you don't want your IRCBot to say (Optional) {Banned
* word, new mask}
*/
public static final String[][] BANNED_WORDS = { { "stork",
"org.moparscape.msc" } };
}
/**
* @category LoginServer
*/
public static class LoginServer {
}
}

View File

@ -1,27 +1,28 @@
package msc.config;
package org.moparscape.msc.config;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import msc.gs.external.EntityHandler;
import msc.gs.external.FiremakingDef;
import msc.gs.external.GameObjectLoc;
import msc.gs.external.ItemLoc;
import msc.gs.external.NPCLoc;
import msc.gs.external.ObjectFishDef;
import msc.gs.external.ObjectMiningDef;
import msc.gs.external.ObjectWoodcuttingDef;
import msc.gs.external.SpellDef;
import msc.gs.model.Entity;
import msc.gs.model.GameObject;
import msc.gs.model.InvItem;
import msc.gs.model.Mob;
import msc.gs.model.Npc;
import msc.gs.model.Player;
import msc.gs.model.Point;
import msc.gs.model.Shop;
import msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.external.EntityHandler;
import org.moparscape.msc.gs.external.FiremakingDef;
import org.moparscape.msc.gs.external.GameObjectLoc;
import org.moparscape.msc.gs.external.ItemLoc;
import org.moparscape.msc.gs.external.NPCLoc;
import org.moparscape.msc.gs.external.ObjectFishDef;
import org.moparscape.msc.gs.external.ObjectMiningDef;
import org.moparscape.msc.gs.external.ObjectWoodcuttingDef;
import org.moparscape.msc.gs.external.SpellDef;
import org.moparscape.msc.gs.model.Entity;
import org.moparscape.msc.gs.model.GameObject;
import org.moparscape.msc.gs.model.InvItem;
import org.moparscape.msc.gs.model.Mob;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.Point;
import org.moparscape.msc.gs.model.Shop;
import org.moparscape.msc.gs.tools.DataConversions;
public class Formulae {
public static final Point[] noremoveTiles = {new Point(341,487), new Point(343,581), new Point(92,649), new Point(434,682), new Point(660,551), new Point(196,3266), new Point(59,573), new Point(560,472), new Point(140,180), new Point(285,195), new Point(243,178), new Point(394,851), new Point(388,851), new Point(512,550)};

View File

@ -1,9 +1,10 @@
package msc.gs;
package org.moparscape.msc.gs;
import java.util.HashMap;
import msc.gs.model.mini.Cache;
import msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.model.mini.Cache;
import org.moparscape.msc.gs.tools.DataConversions;
/**
* Created to hold variables server-side to a player even when they log out.

View File

@ -1,11 +1,11 @@
package msc.gs;
package org.moparscape.msc.gs;
import msc.gs.core.DelayedEventHandler;
import msc.gs.db.DBConnection;
import msc.gs.db.ReportHandlerQueries;
import msc.gs.model.World;
import msc.gs.plugins.dependencies.PluginHandler;
import msc.irc.IRC;
import org.moparscape.msc.gs.core.DelayedEventHandler;
import org.moparscape.msc.gs.db.DBConnection;
import org.moparscape.msc.gs.db.ReportHandlerQueries;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.plugins.dependencies.PluginHandler;
import org.moparscape.msc.irc.IRC;
/**
* Holds instances to commonly used Objects.

View File

@ -1,4 +1,4 @@
package msc.gs;
package org.moparscape.msc.gs;
import java.io.File;
import java.io.IOException;
@ -11,17 +11,17 @@ import org.apache.mina.common.ThreadModel;
import org.apache.mina.transport.socket.nio.SocketAcceptor;
import org.apache.mina.transport.socket.nio.SocketAcceptorConfig;
import org.apache.mina.transport.socket.nio.SocketSessionConfig;
import org.moparscape.msc.config.Config;
import org.moparscape.msc.config.Constants;
import org.moparscape.msc.gs.connection.RSCConnectionHandler;
import org.moparscape.msc.gs.core.GameEngine;
import org.moparscape.msc.gs.core.LoginConnector;
import org.moparscape.msc.gs.event.DelayedEvent;
import org.moparscape.msc.gs.event.SingleEvent;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.util.Logger;
import org.moparscape.msc.irc.IRC;
import msc.config.Config;
import msc.config.Constants;
import msc.gs.connection.RSCConnectionHandler;
import msc.gs.core.GameEngine;
import msc.gs.core.LoginConnector;
import msc.gs.event.DelayedEvent;
import msc.gs.event.SingleEvent;
import msc.gs.model.World;
import msc.gs.util.Logger;
import msc.irc.IRC;
/**
* The entry point for RSC server.
@ -34,7 +34,7 @@ public class Server {
private static World world = null;
public static void main(String[] args) throws IOException {
String configFile = "conf/server/Conf.xml";
String configFile = "world.xml";
if (args.length > 0) {
File f = new File(args[0]);
if (f.exists()) {

View File

@ -1,12 +1,13 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.Collection;
import msc.gs.connection.RSCPacket;
import msc.gs.model.GameObject;
import msc.gs.model.Player;
import msc.gs.tools.DataConversions;
import msc.gs.util.StatefulEntityCollection;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.GameObject;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.StatefulEntityCollection;
public class GameObjectPositionPacketBuilder {
private Player playerToUpdate;

View File

@ -1,12 +1,13 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.Collection;
import msc.gs.connection.RSCPacket;
import msc.gs.model.Item;
import msc.gs.model.Player;
import msc.gs.tools.DataConversions;
import msc.gs.util.StatefulEntityCollection;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.Item;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.StatefulEntityCollection;
public class ItemPositionPacketBuilder {
private Player playerToUpdate;

View File

@ -1,9 +1,9 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import msc.gs.connection.LSPacket;
import msc.gs.core.LoginConnector;
import msc.gs.phandler.PacketHandler;
import msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.core.LoginConnector;
import org.moparscape.msc.gs.phandler.PacketHandler;
import org.moparscape.msc.gs.tools.DataConversions;
public class LSPacketBuilder extends StaticPacketBuilder {
/**

View File

@ -1,21 +1,22 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.ArrayList;
import java.util.List;
import java.util.Map.Entry;
import msc.config.Config;
import msc.config.Constants;
import msc.config.Formulae;
import msc.gs.Instance;
import msc.gs.connection.RSCPacket;
import msc.gs.core.GameEngine;
import msc.gs.model.Bank;
import msc.gs.model.InvItem;
import msc.gs.model.Player;
import msc.gs.model.Shop;
import msc.gs.model.World;
import msc.gs.quest.Quest;
import org.moparscape.msc.config.Config;
import org.moparscape.msc.config.Constants;
import org.moparscape.msc.config.Formulae;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.core.GameEngine;
import org.moparscape.msc.gs.model.Bank;
import org.moparscape.msc.gs.model.InvItem;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.Shop;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.quest.Quest;
public class MiscPacketBuilder {
/**

View File

@ -1,12 +1,13 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.Collection;
import msc.gs.connection.RSCPacket;
import msc.gs.model.Npc;
import msc.gs.model.Player;
import msc.gs.tools.DataConversions;
import msc.gs.util.StatefulEntityCollection;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.StatefulEntityCollection;
public class NpcPositionPacketBuilder {
private Player playerToUpdate;

View File

@ -1,12 +1,13 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.ConcurrentModificationException;
import java.util.List;
import msc.gs.connection.RSCPacket;
import msc.gs.model.ChatMessage;
import msc.gs.model.Npc;
import msc.gs.model.Player;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.ChatMessage;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Player;
public class NpcUpdatePacketBuilder {
private Player playerToUpdate;

View File

@ -1,11 +1,12 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.Collection;
import msc.gs.connection.RSCPacket;
import msc.gs.model.Player;
import msc.gs.tools.DataConversions;
import msc.gs.util.StatefulEntityCollection;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.StatefulEntityCollection;
public class PlayerPositionPacketBuilder {

View File

@ -1,15 +1,16 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.List;
import msc.gs.connection.RSCPacket;
import msc.gs.model.Bubble;
import msc.gs.model.ChatMessage;
import msc.gs.model.Entity;
import msc.gs.model.Npc;
import msc.gs.model.Player;
import msc.gs.model.PlayerAppearance;
import msc.gs.model.Projectile;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.Bubble;
import org.moparscape.msc.gs.model.ChatMessage;
import org.moparscape.msc.gs.model.Entity;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.PlayerAppearance;
import org.moparscape.msc.gs.model.Projectile;
public class PlayerUpdatePacketBuilder {

View File

@ -1,6 +1,6 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.connection.RSCPacket;
public class RSCPacketBuilder extends StaticPacketBuilder {
/**

View File

@ -1,7 +1,7 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import msc.gs.connection.Packet;
import msc.gs.util.Logger;
import org.moparscape.msc.gs.connection.Packet;
import org.moparscape.msc.gs.util.Logger;
/**
* A mutable sequence of bytes used to construct the immutable

View File

@ -1,12 +1,13 @@
package msc.gs.builders;
package org.moparscape.msc.gs.builders;
import java.util.Collection;
import msc.gs.connection.RSCPacket;
import msc.gs.model.GameObject;
import msc.gs.model.Player;
import msc.gs.tools.DataConversions;
import msc.gs.util.StatefulEntityCollection;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.GameObject;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.StatefulEntityCollection;
public class WallObjectPositionPacketBuilder {
private Player playerToUpdate;

View File

@ -1,8 +1,8 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.model.Player;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.model.Player;
public class GameSettingUpdatePacketBuilder {
/**

View File

@ -1,24 +1,24 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import java.util.ArrayList;
import java.util.List;
import org.apache.mina.common.IoSession;
import org.moparscape.msc.config.Config;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.connection.Packet;
import org.moparscape.msc.gs.core.LoginConnector;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.Point;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.phandler.PacketHandler;
import org.moparscape.msc.gs.phandler.PlayerLogin;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.EntityList;
import org.moparscape.msc.gs.util.Logger;
import msc.config.Config;
import msc.gs.Instance;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.connection.Packet;
import msc.gs.core.LoginConnector;
import msc.gs.model.Player;
import msc.gs.model.Point;
import msc.gs.model.World;
import msc.gs.phandler.PacketHandler;
import msc.gs.phandler.PlayerLogin;
import msc.gs.tools.DataConversions;
import msc.gs.util.EntityList;
import msc.gs.util.Logger;
public class MiscPacketBuilder {
/**

View File

@ -1,10 +1,10 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import msc.gs.Instance;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.model.Player;
import msc.gs.model.World;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
public class PlayerInfoRequestPacketBuilder {
/**

View File

@ -1,11 +1,11 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import msc.gs.Instance;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.model.Player;
import msc.gs.model.World;
import msc.gs.util.EntityList;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.util.EntityList;
public class PlayerListRequestPacketBuilder {
/**

View File

@ -1,8 +1,8 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.model.Player;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.model.Player;
public class PrivacySettingUpdatePacketBuilder {
/**

View File

@ -1,10 +1,10 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import msc.gs.Instance;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.model.Player;
import msc.gs.model.World;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
public class ReportInfoRequestPacketBuilder {
/**

View File

@ -1,13 +1,13 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.model.Bank;
import msc.gs.model.InvItem;
import msc.gs.model.Inventory;
import msc.gs.model.Player;
import msc.gs.model.PlayerAppearance;
import msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.model.Bank;
import org.moparscape.msc.gs.model.InvItem;
import org.moparscape.msc.gs.model.Inventory;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.PlayerAppearance;
import org.moparscape.msc.gs.tools.DataConversions;
public class SavePacketBuilder {
/**

View File

@ -1,10 +1,10 @@
package msc.gs.builders.ls;
package org.moparscape.msc.gs.builders.ls;
import msc.config.Config;
import msc.gs.Instance;
import msc.gs.builders.LSPacketBuilder;
import msc.gs.connection.LSPacket;
import msc.gs.model.World;
import org.moparscape.msc.config.Config;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.builders.LSPacketBuilder;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.model.World;
public class StatRequestPacketBuilder {
/**

View File

@ -1,4 +1,4 @@
package rsca.ls.codec;
package org.moparscape.msc.gs.connection;
import org.apache.mina.filter.codec.ProtocolCodecFactory;
import org.apache.mina.filter.codec.ProtocolDecoder;

View File

@ -1,14 +1,14 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.common.IdleStatus;
import org.apache.mina.common.IoHandler;
import org.apache.mina.common.IoSession;
import org.apache.mina.filter.codec.ProtocolCodecFilter;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.Server;
import org.moparscape.msc.gs.core.LoginConnector;
import org.moparscape.msc.gs.util.Logger;
import msc.gs.Instance;
import msc.gs.Server;
import msc.gs.core.LoginConnector;
import msc.gs.util.Logger;
/**
* Handles the protocol events fired from MINA.

View File

@ -1,4 +1,4 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.common.IoSession;

View File

@ -1,4 +1,4 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.common.ByteBuffer;
import org.apache.mina.common.IoSession;

View File

@ -1,11 +1,11 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.common.ByteBuffer;
import org.apache.mina.common.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoder;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;
import org.moparscape.msc.gs.util.Logger;
import msc.gs.util.Logger;
/**
* Encodes the high level <code>LSPacket</code> class into the proper protocol

View File

@ -1,10 +1,10 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import java.net.InetSocketAddress;
import org.apache.mina.common.IoSession;
import org.moparscape.msc.gs.util.Logger;
import msc.gs.util.Logger;
/**
* An immutable packet object.

View File

@ -1,4 +1,4 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.filter.codec.ProtocolCodecFactory;
import org.apache.mina.filter.codec.ProtocolDecoder;

View File

@ -1,4 +1,4 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import java.net.InetAddress;
import java.net.InetSocketAddress;
@ -8,13 +8,13 @@ import org.apache.mina.common.IdleStatus;
import org.apache.mina.common.IoHandler;
import org.apache.mina.common.IoSession;
import org.apache.mina.filter.codec.ProtocolCodecFilter;
import org.moparscape.msc.config.Constants;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.core.GameEngine;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.util.Logger;
import msc.config.Constants;
import msc.gs.Instance;
import msc.gs.core.GameEngine;
import msc.gs.model.Player;
import msc.gs.model.World;
import msc.gs.util.Logger;
/**
* Handles the protocol events fired from MINA.

View File

@ -1,4 +1,4 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.common.IoSession;

View File

@ -1,11 +1,11 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.common.ByteBuffer;
import org.apache.mina.common.IoSession;
import org.apache.mina.filter.codec.CumulativeProtocolDecoder;
import org.apache.mina.filter.codec.ProtocolDecoderOutput;
import org.moparscape.msc.gs.util.Logger;
import msc.gs.util.Logger;
/**
* A decoder for the RSC protocol. Parses the incoming data from an IoSession

View File

@ -1,12 +1,12 @@
package msc.gs.connection;
package org.moparscape.msc.gs.connection;
import org.apache.mina.common.ByteBuffer;
import org.apache.mina.common.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoder;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.util.Logger;
import msc.gs.model.Player;
import msc.gs.util.Logger;
/**
* Encodes the high level <code>RSCPacket</code> class into the proper protocol

View File

@ -1,27 +1,28 @@
package msc.gs.core;
package org.moparscape.msc.gs.core;
import java.util.ArrayList;
import java.util.List;
import msc.gs.Instance;
import msc.gs.builders.GameObjectPositionPacketBuilder;
import msc.gs.builders.ItemPositionPacketBuilder;
import msc.gs.builders.NpcPositionPacketBuilder;
import msc.gs.builders.NpcUpdatePacketBuilder;
import msc.gs.builders.PlayerPositionPacketBuilder;
import msc.gs.builders.PlayerUpdatePacketBuilder;
import msc.gs.builders.WallObjectPositionPacketBuilder;
import msc.gs.connection.RSCPacket;
import msc.gs.model.ChatMessage;
import msc.gs.model.Npc;
import msc.gs.model.Player;
import msc.gs.model.World;
import msc.gs.model.snapshot.Chatlog;
import msc.gs.tools.DataConversions;
import msc.gs.util.EntityList;
import msc.gs.util.Logger;
import msc.gs.util.Processor;
import msc.gs.util.WorkGroup;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.builders.GameObjectPositionPacketBuilder;
import org.moparscape.msc.gs.builders.ItemPositionPacketBuilder;
import org.moparscape.msc.gs.builders.NpcPositionPacketBuilder;
import org.moparscape.msc.gs.builders.NpcUpdatePacketBuilder;
import org.moparscape.msc.gs.builders.PlayerPositionPacketBuilder;
import org.moparscape.msc.gs.builders.PlayerUpdatePacketBuilder;
import org.moparscape.msc.gs.builders.WallObjectPositionPacketBuilder;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.model.ChatMessage;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.model.snapshot.Chatlog;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.EntityList;
import org.moparscape.msc.gs.util.Logger;
import org.moparscape.msc.gs.util.Processor;
import org.moparscape.msc.gs.util.WorkGroup;
public final class ClientUpdater implements Processor {
@ -171,7 +172,6 @@ public final class ClientUpdater implements Processor {
*/
public void updateCollections() {
updatingCollections = true;
System.out.println("Updating collections start");
for (Player p : players) {
if (p.isRemoved() && p.initialized()) {
world.unregisterPlayer(p);
@ -197,7 +197,6 @@ public final class ClientUpdater implements Processor {
n.resetSpriteChanged();
//n.setAppearnceChanged(false);
}
System.out.println("Updating collections end");
updatingCollections = false;
}

View File

@ -1,13 +1,14 @@
package msc.gs.core;
package org.moparscape.msc.gs.core;
import java.util.ArrayList;
import java.util.Iterator;
import msc.gs.Instance;
import msc.gs.event.DelayedEvent;
import msc.gs.model.Player;
import msc.gs.model.World;
import msc.gs.util.Logger;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.event.DelayedEvent;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.util.Logger;
public final class DelayedEventHandler {
private static World world = Instance.getWorld();

View File

@ -1,4 +1,4 @@
package msc.gs.core;
package org.moparscape.msc.gs.core;
import java.io.IOException;
import java.io.OutputStream;
@ -17,29 +17,29 @@ import java.util.TimeZone;
import org.apache.mina.common.IoSession;
import org.moparscape.msc.config.Constants;
import org.moparscape.msc.config.Formulae;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.connection.PacketQueue;
import org.moparscape.msc.gs.connection.RSCPacket;
import org.moparscape.msc.gs.event.DelayedEvent;
import org.moparscape.msc.gs.event.MiniEvent;
import org.moparscape.msc.gs.model.ActiveTile;
import org.moparscape.msc.gs.model.Item;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.Point;
import org.moparscape.msc.gs.model.Shop;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.model.snapshot.Snapshot;
import org.moparscape.msc.gs.phandler.PacketHandler;
import org.moparscape.msc.gs.phandler.PacketHandlerDef;
import org.moparscape.msc.gs.plugins.dependencies.NpcAI;
import org.moparscape.msc.gs.tools.Captcha;
import org.moparscape.msc.gs.tools.DataConversions;
import org.moparscape.msc.gs.util.Logger;
import org.moparscape.msc.gs.util.PersistenceManager;
import msc.gs.Instance;
import msc.gs.connection.PacketQueue;
import msc.gs.connection.RSCPacket;
import msc.gs.event.DelayedEvent;
import msc.gs.event.MiniEvent;
import msc.gs.model.ActiveTile;
import msc.gs.model.Item;
import msc.gs.model.Npc;
import msc.gs.model.Player;
import msc.gs.model.Point;
import msc.gs.model.Shop;
import msc.gs.model.World;
import msc.gs.model.snapshot.Snapshot;
import msc.gs.phandler.PacketHandler;
import msc.gs.phandler.PacketHandlerDef;
import msc.gs.plugins.dependencies.NpcAI;
import msc.gs.tools.Captcha;
import msc.gs.tools.DataConversions;
import msc.gs.util.Logger;
import msc.gs.util.PersistenceManager;
import msc.config.Constants;
import msc.config.Formulae;
/**
* The central motor of the game. This class is responsible for the primary

View File

@ -1,4 +1,4 @@
package msc.gs.core;
package org.moparscape.msc.gs.core;
import java.net.InetSocketAddress;
import java.util.List;
@ -10,16 +10,16 @@ import org.apache.mina.common.IoSession;
import org.apache.mina.transport.socket.nio.SocketConnector;
import org.apache.mina.transport.socket.nio.SocketConnectorConfig;
import org.apache.mina.transport.socket.nio.SocketSessionConfig;
import org.moparscape.msc.config.Config;
import org.moparscape.msc.gs.builders.ls.MiscPacketBuilder;
import org.moparscape.msc.gs.connection.LSConnectionHandler;
import org.moparscape.msc.gs.connection.LSPacket;
import org.moparscape.msc.gs.connection.PacketQueue;
import org.moparscape.msc.gs.phandler.PacketHandler;
import org.moparscape.msc.gs.phandler.PacketHandlerDef;
import org.moparscape.msc.gs.util.Logger;
import org.moparscape.msc.gs.util.PersistenceManager;
import msc.config.Config;
import msc.gs.builders.ls.MiscPacketBuilder;
import msc.gs.connection.LSConnectionHandler;
import msc.gs.connection.LSPacket;
import msc.gs.connection.PacketQueue;
import msc.gs.phandler.PacketHandler;
import msc.gs.phandler.PacketHandlerDef;
import msc.gs.util.Logger;
import msc.gs.util.PersistenceManager;
public class LoginConnector {
/**

View File

@ -1,4 +1,4 @@
package msc.gs.db;
package org.moparscape.msc.gs.db;
@ -7,8 +7,9 @@ import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import msc.config.Config;
import msc.gs.util.Logger;
import org.moparscape.msc.config.Config;
import org.moparscape.msc.gs.util.Logger;

View File

@ -1,17 +1,17 @@
package msc.gs.db;
package org.moparscape.msc.gs.db;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Iterator;
import msc.gs.Instance;
import msc.gs.model.Player;
import msc.gs.model.World;
import msc.gs.model.snapshot.Activity;
import msc.gs.model.snapshot.Chatlog;
import msc.gs.model.snapshot.Snapshot;
import msc.gs.util.Logger;
//import msc.ls.util.DataConversions;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.model.snapshot.Activity;
import org.moparscape.msc.gs.model.snapshot.Chatlog;
import org.moparscape.msc.gs.model.snapshot.Snapshot;
import org.moparscape.msc.gs.util.Logger;
public class ReportHandlerQueries {
/**
@ -45,8 +45,8 @@ public class ReportHandlerQueries {
public synchronized void submitRepot(long from, long about, byte reason, Player from2) {
long time = System.currentTimeMillis()/1000;
String f = msc.gs.tools.DataConversions.hashToUsername(from);
String a = msc.gs.tools.DataConversions.hashToUsername(about);
String f = org.moparscape.msc.gs.tools.DataConversions.hashToUsername(from);
String a = org.moparscape.msc.gs.tools.DataConversions.hashToUsername(about);
Player about2 = World.getWorld().getPlayer(about);
int player2X;

View File

@ -1,9 +1,9 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.Instance;
import msc.gs.core.DelayedEventHandler;
import msc.gs.model.Player;
import msc.gs.model.World;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.core.DelayedEventHandler;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
public abstract class DelayedEvent {
public static final World world = Instance.getWorld();

View File

@ -1,8 +1,8 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.model.ChatMessage;
import msc.gs.model.Npc;
import msc.gs.model.Player;
import org.moparscape.msc.gs.model.ChatMessage;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Player;
public abstract class DelayedQuestChat extends DelayedEvent {
public int curIndex;

View File

@ -1,11 +1,12 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import java.util.ArrayList;
import msc.config.Formulae;
import msc.gs.model.Player;
import msc.gs.states.CombatState;
import msc.gs.tools.DataConversions;
import org.moparscape.msc.config.Formulae;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.states.CombatState;
import org.moparscape.msc.gs.tools.DataConversions;
public class DuelEvent extends DelayedEvent {
private Player affectedPlayer;

View File

@ -1,18 +1,19 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import java.util.ArrayList;
import msc.config.Constants;
import msc.config.Formulae;
import msc.gs.Instance;
import msc.gs.model.Mob;
import msc.gs.model.Npc;
import msc.gs.model.Path;
import msc.gs.model.Player;
import msc.gs.model.World;
import msc.gs.model.mini.Damager;
import msc.gs.states.CombatState;
import msc.gs.tools.DataConversions;
import org.moparscape.msc.config.Constants;
import org.moparscape.msc.config.Formulae;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.model.Mob;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Path;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.World;
import org.moparscape.msc.gs.model.mini.Damager;
import org.moparscape.msc.gs.states.CombatState;
import org.moparscape.msc.gs.tools.DataConversions;
public class FightEvent extends DelayedEvent {

View File

@ -1,6 +1,6 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.model.Player;
import org.moparscape.msc.gs.model.Player;
public abstract class MiniEvent extends SingleEvent {

View File

@ -1,9 +1,9 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.Instance;
import msc.gs.model.ActiveTile;
import msc.gs.model.GameObject;
import msc.gs.model.World;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.model.ActiveTile;
import org.moparscape.msc.gs.model.GameObject;
import org.moparscape.msc.gs.model.World;
public class ObjectRemover extends DelayedEvent {
public static final World world = Instance.getWorld();

View File

@ -1,20 +1,21 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import java.util.ArrayList;
import msc.config.Constants;
import msc.config.Formulae;
import msc.gs.Instance;
import msc.gs.model.InvItem;
import msc.gs.model.Item;
import msc.gs.model.Mob;
import msc.gs.model.Npc;
import msc.gs.model.PathGenerator;
import msc.gs.model.Player;
import msc.gs.model.Projectile;
import msc.gs.model.mini.Damager;
import msc.gs.states.Action;
import msc.gs.tools.DataConversions;
import org.moparscape.msc.config.Constants;
import org.moparscape.msc.config.Formulae;
import org.moparscape.msc.gs.Instance;
import org.moparscape.msc.gs.model.InvItem;
import org.moparscape.msc.gs.model.Item;
import org.moparscape.msc.gs.model.Mob;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.PathGenerator;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.Projectile;
import org.moparscape.msc.gs.model.mini.Damager;
import org.moparscape.msc.gs.states.Action;
import org.moparscape.msc.gs.tools.DataConversions;
public class RangeEvent extends DelayedEvent {
private Mob affectedMob;

View File

@ -1,6 +1,6 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.model.Player;
import org.moparscape.msc.gs.model.Player;
public abstract class ShortEvent extends SingleEvent {

View File

@ -1,6 +1,6 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.model.Player;
import org.moparscape.msc.gs.model.Player;
public abstract class SingleEvent extends DelayedEvent {

View File

@ -1,9 +1,9 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.external.NPCLoc;
import msc.gs.model.Mob;
import msc.gs.model.Npc;
import msc.gs.model.Path;
import org.moparscape.msc.gs.external.NPCLoc;
import org.moparscape.msc.gs.model.Mob;
import org.moparscape.msc.gs.model.Npc;
import org.moparscape.msc.gs.model.Path;
public abstract class WalkMobToMobEvent extends DelayedEvent {
protected Mob affectedMob;

View File

@ -1,7 +1,7 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.model.Mob;
import msc.gs.model.Player;
import org.moparscape.msc.gs.model.Mob;
import org.moparscape.msc.gs.model.Player;
public abstract class WalkToMobEvent extends DelayedEvent {
protected Mob affectedMob;

View File

@ -1,7 +1,7 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.model.GameObject;
import msc.gs.model.Player;
import org.moparscape.msc.gs.model.GameObject;
import org.moparscape.msc.gs.model.Player;
public abstract class WalkToObjectEvent extends DelayedEvent {
protected GameObject object;

View File

@ -1,7 +1,7 @@
package msc.gs.event;
package org.moparscape.msc.gs.event;
import msc.gs.model.Player;
import msc.gs.model.Point;
import org.moparscape.msc.gs.model.Player;
import org.moparscape.msc.gs.model.Point;
public abstract class WalkToPointEvent extends DelayedEvent {
protected Point location;

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
/**
* Defines an agility course

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
/**
* Defines an agility course object

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
public class CertDef {
/**

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
public class CerterDef {
/**

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
/**
* The definition wrapper for doors

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
/**
* The abstract class EntityDef implements methods for return values which are

View File

@ -1,11 +1,12 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
import java.util.HashMap;
import java.util.List;
import msc.gs.model.Point;
import msc.gs.model.TelePoint;
import msc.gs.util.PersistenceManager;
import org.moparscape.msc.gs.model.Point;
import org.moparscape.msc.gs.model.TelePoint;
import org.moparscape.msc.gs.util.PersistenceManager;
/**
* This class handles the loading of entities from the conf files, and provides

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
public class FiremakingDef {
/**

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
/**
* The definition wrapper for game objects

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
public class GameObjectLoc {
/**

View File

@ -1,4 +1,4 @@
package msc.gs.external;
package org.moparscape.msc.gs.external;
/**
* The definition wrapper for items

Some files were not shown because too many files have changed in this diff Show More