RSdaemon - An event based runescape emulator
RSDaemon is a framework that I have been working on for a few days. The design of the server is event based, each packet decoded into an Event and passed to the corresponding EventListener. At the current stage packets are defined by an XML file which describes a packets opcode, name and attributes; e.g.,
Code:
<packet-def>
<packet opcode="14" name="session key request">
<attribute type="ubyte">name_hash</attribute>
</packet>
<packet opcode="16" name="login request">
<attribute type="ubyte">magic_code</attribute>
<attribute type="ushort">client_version</attribute>
<attribute type="byte">high_detail</attribute>
<attribute type="intarray" array="true" array_elements="9">archive_crc</attribute>
<attribute type="ubyte">login_block_length</attribute>
<attribute type="ubyte">login_block_opcode</attribute>
<attribute type="intarray" array="true" array_elements="4">session_keys</attribute>
<attribute type="int">uid</attribute>
<attribute type="string">username</attribute>
<attribute type="string">password</attribute>
</packet>
</packet-def>
This design makes implementing several other server versions easy.
2. Become a developer
Becoming a developer of rsdaemon is rather easy, providing you are qualified. You can either post on this thread or e-mail [Only registered and activated users can see links. Click Here To Register...] with a "resume" of sorts which should include past experience, proof of programming abilities and your e-mail address.
3. Media
As of now, the only client media is the output from a login request...
Code:
14-Apr-2010 23:56:35 org.rsdaemon.game.GameService notify
INFO: New session connected!
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (magic_code) has value (255)
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (client_version) has value (317)
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (high_detail) has value (0)
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (archive_crc) has value ([[email protected])
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (login_block_length) has value (37)
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (login_block_opcode) has value (10)
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (session_keys) has value ([[email protected])
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (uid) has value (34333588)
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (username) has value (PeeHPee)
14-Apr-2010 23:56:35 org.rsdaemon.net.event.impl.LoginRequestListener onEvent
INFO: Attribute (password) has value (testing)
4. Why this server will not fail
The server is driven by dedication by the developers with the abilities of creating a revolutionary runescape emulator, there is no reason for the emulator be a failure.
5. Contact
If you have any questions, feel free to contact [Only registered and activated users can see links. Click Here To Register...]