ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/version.ext
(Generate patch)

Comparing deliantra/server/ext/version.ext (file contents):
Revision 1.6 by root, Tue Nov 6 15:11:16 2012 UTC vs.
Revision 1.7 by root, Tue Nov 6 15:57:47 2012 UTC

3# the version command 3# the version command
4 4
5cf::client->attach ( 5cf::client->attach (
6 on_connect => sub { 6 on_connect => sub {
7 my ($ns) = @_; 7 my ($ns) = @_;
8
9 $ns->send_packet ("1234\x01\x00\x80\xff");
10 8
11 $ns->send_packet ("version " . $cf::json_coder->encode ({ 9 $ns->send_packet ("version " . $cf::json_coder->encode ({
12 server => "Deliantra Server", 10 server => "Deliantra Server",
13 serverver => cf::VERSION, 11 serverver => cf::VERSION,
14 })); 12 }));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines