<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.ptokax.ch/lib/exe/css.php?s=feed" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>WikiPx</title>
    <subtitle></subtitle>
    <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/"/>
    <id>http://wiki.ptokax.ch/</id>
    <updated>2010-05-26T21:27:59+02:00</updated>
    <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
<link rel="self" type="application/atom+xml" href="http://wiki.ptokax.ch/feed.php" />
    <entry>
        <title>Introduction - added remarks on where this is from</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/intro?rev=1274814123&amp;do=diff"/>
        <published>2010-05-25T21:02:03+02:00</published>
        <updated>2010-05-25T21:02:03+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/intro?rev=1274814123&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>This is an old version of the DC protocol documentation I have found on my computer. As I was unable to find protocol documentation online, thought I would upload it here for all interested. the content is unaltered, feel free to update.

For the next 35 years (till the start of ADC domination :P) it will hopefully be usable. --- bastya_elvtars</summary>
    </entry>
    <entry>
        <title>Scripting help - added DC protocol link</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/wiki/navigation?rev=1274813873&amp;do=diff"/>
        <published>2010-05-25T20:57:53+02:00</published>
        <updated>2010-05-25T20:57:53+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/wiki/navigation?rev=1274813873&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>Scripting help

	*  Help on tables/arrays
	*  Help on the LUA5 string library
	*  Help on the old PtokaX LUA API (OBSOLETE)
	*  Help on the new PtokaX LUA API v.2
	*  Tips for API 2 scripting
	*  API 2 Example Scripts
	*  The PtokaX WSA (socket) library (OBSOLETE)
	*  Metatables and metamethods
	*  File manipulation
	*  Help on the Operating System Lua Library functions</summary>
    </entry>
    <entry>
        <title>misc:dcprotocol:createlock - created NEEDSFORMATTING</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/createlock?rev=1274813783&amp;do=diff"/>
        <published>2010-05-25T20:56:23+02:00</published>
        <updated>2010-05-25T20:56:23+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/createlock?rev=1274813783&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>Appendix B: Creating a Lock

Creating a Lock is much easier than decoding one. There are only a few things to keep in mind when creating a Lock.

First the Lock should be between 80 and 134 ascii characters long but it does not have to be.

Second the Pk should always be 16 ascii characters long but like the lock this is just a suggested length.</summary>
    </entry>
    <entry>
        <title>misc:dcprotocol:lock2key - created NEEDSFORMATTING</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/lock2key?rev=1274813707&amp;do=diff"/>
        <published>2010-05-25T20:55:07+02:00</published>
        <updated>2010-05-25T20:55:07+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/lock2key?rev=1274813707&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>Appendix A: Converting a Lock into a Key

As part of the initial negotiation between the client and hub, the hub sends a $Lock &lt;lock&gt; Pk=&lt;pk&gt; command and the client must respond with a $Key &lt;key&gt; command. Until the DCN encoding, which we'll discuss last, the &lt;key&gt; has exactly as many characters as the &lt;lock&gt;.</summary>
    </entry>
    <entry>
        <title>misc:dcprotocol:experimental - created NEEDSFORMATTING</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/experimental?rev=1274813654&amp;do=diff"/>
        <published>2010-05-25T20:54:14+02:00</published>
        <updated>2010-05-25T20:54:14+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/experimental?rev=1274813654&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>Command Types (Experimental)

The fallowing commands are experimental and many have not been implemented yet. I feel that these commands are required to combat the level of fake sharing on the network.
The following section describes the format of the Commands, Each field is denoted with &lt; &gt;.
The fields in the command are separated by a single space character (ASCII 32).
And each Command ends with a | (pipe). All Commands are case sensitive.
$MyINFO</summary>
    </entry>
    <entry>
        <title>misc:dcprotocol:s2s - created NEEDSFORMATTING</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/s2s?rev=1274813614&amp;do=diff"/>
        <published>2010-05-25T20:53:34+02:00</published>
        <updated>2010-05-25T20:53:34+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/s2s?rev=1274813614&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>Command Types (server to server)

Direct Connect uses UDP for server to server communication.
The following section describes the format of the Commands. Each field is denoted with &lt; &gt;.
The fields in the command are separated by a single space character (ASCII 32).
And each Command ends with a | (pipe). All Commands are case sensitive.
$Up</summary>
    </entry>
    <entry>
        <title>Command Types (client to server) - created</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2s?rev=1274813516&amp;do=diff"/>
        <published>2010-05-25T20:51:56+02:00</published>
        <updated>2010-05-25T20:51:56+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2s?rev=1274813516&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>Direct Connect uses TCP for client to server communication.
The following section describes the format of the Commands, Each field is denoted with &lt; &gt;.
The fields in the command are separated by a single space character (ASCII 32).
And each Command ends with a | (pipe). All Commands are case sensitive.
$Hello</summary>
    </entry>
    <entry>
        <title>Command Types (client to client) - created</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2c?rev=1274811311&amp;do=diff"/>
        <published>2010-05-25T20:15:11+02:00</published>
        <updated>2010-05-25T20:15:11+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2c?rev=1274811311&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>Direct Connect uses TCP and UDP for client to client communication.
Normaly the client listen at port 412 for client connections, but if the port already in use it uses 413,414 and so on..
The following section describes the format of the Commands, Each field is denoted with &lt; &gt;.
The fields in the command are separated by a single space character (ASCII 32).
And each Command ends with a | (pipe). All Commands are case sensitive.</summary>
    </entry>
    <entry>
        <title>Server to Hub Registration Server Communication - created</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/s2rs_hubreg?rev=1274811083&amp;do=diff"/>
        <published>2010-05-25T20:11:23+02:00</published>
        <updated>2010-05-25T20:11:23+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/s2rs_hubreg?rev=1274811083&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>When first logging in, the server creates a socket connection. The hub registration server sends,

  $Lock &lt;lock&gt; Pk=&lt;pk&gt;
	*  &lt;lock&gt; is used to generate &lt;key&gt;

      See Appendix A: Converting a Lock into a Key for how to compute the key from the lock.</summary>
    </entry>
    <entry>
        <title>Client to Server Login - created</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2s_login?rev=1274810890&amp;do=diff"/>
        <published>2010-05-25T20:08:10+02:00</published>
        <updated>2010-05-25T20:08:10+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2s_login?rev=1274810890&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>When first logging in, the client creates a socket connection. The server sends,

  $Lock &lt;lock&gt; Pk=&lt;pk&gt;
  $HubName &lt;hubname&gt; 
	*  &lt;lock&gt; is used to generate &lt;key&gt;

      See Appendix A: Converting a Lock into a Key for how to compute the key from the lock.</summary>
    </entry>
    <entry>
        <title>Client to Client HandShake - created</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2c_handshake?rev=1274810585&amp;do=diff"/>
        <published>2010-05-25T20:03:05+02:00</published>
        <updated>2010-05-25T20:03:05+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/misc/dcprotocol/c2c_handshake?rev=1274810585&amp;do=diff</id>
        <author>
            <name>bastya_elvtars</name>
        </author>
        <summary>$MyNick

The listen User sends his Name when a user connecting.

$MyNick &lt;ownnickname&gt;

	*  &lt;ownnickname&gt; is the nick of the user that sent to command.


The $Lock is sent immediately after the $MyNick command within the same packet.

$Lock &lt;lock&gt; Pk=&lt;pk&gt;</summary>
    </entry>
    <entry>
        <title>Next Release... - 0.4.1.2b</title>
        <link rel="alternate" type="text/html" href="http://wiki.ptokax.ch/doku.php/changelogs/ptokax/changes_after_0.330_15.31?rev=1274020127&amp;do=diff"/>
        <published>2010-05-16T16:28:47+02:00</published>
        <updated>2010-05-16T16:28:47+02:00</updated>
        <id>http://wiki.ptokax.ch/doku.php/changelogs/ptokax/changes_after_0.330_15.31?rev=1274020127&amp;do=diff</id>
        <author>
            <name>PPK</name>
        </author>
        <summary>*   Added: Missing PtokaX icon to 64bit service binary.
	*   Added: Project files for visual studio 2010.
	*   Fixed: Compile with Lua 5.2.0 (work 1)
	*   Fixed: Missing user input length checking in some commands (thx Rahim for report).
	*   Changed: Windows GUI, from GUI created with Borland VCL to WinAPI GUI.
	*   Changed: Some min/max setting values.
	*   Updated: TinyXML to 2.6.1
	*   Updated: Zlib to 1.2.5.
	*   Patched: Lua with official patch from &lt;http://article.gmane.org/gmane.comp.lan…</summary>
    </entry>
</feed>
