<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.zoidcom.com/wiki/lib/styles/feed.css" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.zoidcom.com/wiki/feed.php">
        <title>Zoidcom Wiki</title>
        <description></description>
        <link>http://www.zoidcom.com/wiki/</link>
        <image rdf:resource="http://www.zoidcom.com/wiki/lib/images/favicon.ico" />
       <dc:date>2010-09-07T02:51:34+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat?rev=1161800187"/>
                <rdf:li rdf:resource="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat1?rev=1161800187"/>
                <rdf:li rdf:resource="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat2?rev=1161800187"/>
                <rdf:li rdf:resource="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat3?rev=1161800187"/>
                <rdf:li rdf:resource="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat4?rev=1161800187"/>
                <rdf:li rdf:resource="http://www.zoidcom.com/wiki/doku.php/newtonzoidcom?rev=1196711064"/>
                <rdf:li rdf:resource="http://www.zoidcom.com/wiki/doku.php/start?rev=1161801540"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.zoidcom.com/wiki/lib/images/favicon.ico">
        <title>Zoidcom Wiki</title>
        <link>http://www.zoidcom.com/wiki/</link>
        <url>http://www.zoidcom.com/wiki/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat?rev=1161800187">
        <dc:format>text/html</dc:format>
        <dc:date>2006-10-25T20:16:27+02:00</dc:date>
        <title>Introduction</title>
        <link>http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat?rev=1161800187</link>
        <description>Introduction

----------
 By Matic.
 Hi there.

If you are new to zoidcom library and you want to write your first application working over the net, but after reading manual (part I and II) you still don’t know how to do it, this is the right place for you.</description>
    </item>
    <item rdf:about="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat1?rev=1161800187">
        <dc:format>text/html</dc:format>
        <dc:date>2006-10-25T20:16:27+02:00</dc:date>
        <title>PART I</title>
        <link>http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat1?rev=1161800187</link>
        <description>PART I

----------
 (There will be allegro stuff, no networking still...)
As you may know zoidcom works on server-client based topology. So, we’ll need two projects, first will be server application and second client application. We will be writing only server app and then, easliy copy paste source to client, changing what need to be changed.</description>
    </item>
    <item rdf:about="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat2?rev=1161800187">
        <dc:format>text/html</dc:format>
        <dc:date>2006-10-25T20:16:27+02:00</dc:date>
        <title>PART II</title>
        <link>http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat2?rev=1161800187</link>
        <description>PART II

In part two we will try to read a text inputed by user. For that we have to define a array of chars where we will store our string. (yea, i know that array of chars isn’t best way to do that but i wanted to do it simple) So, declarations:</description>
    </item>
    <item rdf:about="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat3?rev=1161800187">
        <dc:format>text/html</dc:format>
        <dc:date>2006-10-25T20:16:27+02:00</dc:date>
        <title>PART III</title>
        <link>http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat3?rev=1161800187</link>
        <description>PART III

 Yea, thats the place when we can have some problems.  But don’t worry, you can handle everything what you touch :p

At start, we have to declare our zoidcom classes. Because this is server application we start with the Server class.

Before that, we must add some declarations:</description>
    </item>
    <item rdf:about="http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat4?rev=1161800187">
        <dc:format>text/html</dc:format>
        <dc:date>2006-10-25T20:16:27+02:00</dc:date>
        <title>PART IV</title>
        <link>http://www.zoidcom.com/wiki/doku.php/allegrozoidcomchat4?rev=1161800187</link>
        <description>PART IV

Making client app, when server is done is nothing to worry about. We must add Client class at start:


class Client : public ZCom_Control 
{
  virtual void ZCom_cbConnectResult( ZCom_ConnID _id, eZCom_ConnectResult _result, 
                                     ZCom_BitStream &amp;_reply )
 {
    other_id = _id;  //Storing id of other computer
 }
  
  void ZCom_cbConnectionClosed( ZCom_ConnID _id, eZCom_CloseReason _reason, ZCom_BitStream &amp;_reasondata )  
  {
    put_string(&quot;Connection to s…</description>
    </item>
    <item rdf:about="http://www.zoidcom.com/wiki/doku.php/newtonzoidcom?rev=1196711064">
        <dc:format>text/html</dc:format>
        <dc:date>2007-12-03T20:44:24+02:00</dc:date>
        <title>Syncing Newton Physics Simulations Over Network With Zoidcom (Networked Physics)</title>
        <link>http://www.zoidcom.com/wiki/doku.php/newtonzoidcom?rev=1196711064</link>
        <description>(This is work in progress)

This are some code snippets from my Operation Black Sun engine. I hope they give some insight into how Newton physics can be synced over Zoidcom. This is not finished yet, as it doesn’t handle joints and it also has some glitches from time to time which I hope to work out. Oh, and it is 2D only, but 3D should be no problem either (I just don’t send the y component of the vectors).</description>
    </item>
    <item rdf:about="http://www.zoidcom.com/wiki/doku.php/start?rev=1161801540">
        <dc:format>text/html</dc:format>
        <dc:date>2006-10-25T20:39:00+02:00</dc:date>
        <title>Zoidcom Wiki</title>
        <link>http://www.zoidcom.com/wiki/doku.php/start?rev=1161801540</link>
        <description>Welcome to the Wiki. If you want to edit something, you have to create an account.

Tutorials

	*   Simple Chatapplication with Allegro and Zoidcom (by Matic)
	*   Code Used In Operation Black Sun 2 To Sync Newton Through Zoidcom (by Jörg Rüppel)</description>
    </item>
</rdf:RDF>
