Deprecated: Function split() is deprecated in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php on line 146
Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php:146) in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php on line 236
Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php:146) in /home/htdocs/web7/html/zoidcom.de/wiki/feed.php on line 60
Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php:146) in /home/htdocs/web7/html/zoidcom.de/wiki/feed.php on line 61
Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php:146) in /home/htdocs/web7/html/zoidcom.de/wiki/feed.php on line 62
Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php:146) in /home/htdocs/web7/html/zoidcom.de/wiki/inc/pageutils.php on line 445
Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth.php:146) in /home/htdocs/web7/html/zoidcom.de/wiki/inc/pageutils.php on line 446
Deprecated: Function split() is deprecated in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth/plain.class.php on line 281
Deprecated: Function split() is deprecated in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth/plain.class.php on line 282
Deprecated: Function split() is deprecated in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth/plain.class.php on line 281
Deprecated: Function split() is deprecated in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth/plain.class.php on line 282
Deprecated: Function split() is deprecated in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth/plain.class.php on line 281
Deprecated: Function split() is deprecated in /home/htdocs/web7/html/zoidcom.de/wiki/inc/auth/plain.class.php on line 282 Zoidcom Wiki
http://localhost:50701/wiki/
2012-02-07T04:42:56+01:00Zoidcom Wiki
http://localhost:50701/wiki/
http://localhost:50701/wiki/lib/images/favicon.icotext/html2007-12-03T20:44:24+01:00Jörg RüppelSyncing Newton Physics Simulations Over Network With Zoidcom (Networked Physics)
http://localhost:50701/wiki/doku.php/newtonzoidcom?rev=1196711064&do=diff1196711064
(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).text/html2006-10-25T20:39:00+01:00Jörg RüppelZoidcom Wiki
http://localhost:50701/wiki/doku.php/start?rev=1161801540&do=diff1161801540
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)text/html2006-10-06T22:31:38+01:00PART IV
http://localhost:50701/wiki/doku.php/allegrozoidcomchat4?rev=1160166698&do=diff1160166698
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 &_reply )
{
other_id = _id; //Storing id of other computer
}
void ZCom_cbConnectionClosed( ZCom_ConnID _id, eZCom_CloseReason _reason, ZCom_BitStream &_reasondata )
{
put_string("Connection to s…