Onlinesig.dat file

From AMule Project FAQ
Revision as of 14:43, 9 December 2004 by Jacobo221 (Talk | contribs)

Jump to: navigation, search

This file is generated by eMule to inform external applications about it's status. aMule is able to generate this file too in order to have compatibility with eMule utilities, but the native aMule signature file is amulesig.dat (which is much more powerfull than eMule's onlinesig.dat).

It is composed of two lines separated by a line feed character (with no carriage return character):

  • The first one, when aMule is offline, will contain a 0 (zero) and nothing else, but when aMule is online, it'll contain a 1 (number one) followed by | (the pipe character) then the name of there server it's currently connected to followed by the pipe character (|), then the IP of the server it's currently connected to followed by the pipe character (|) and finally the port it is connected to on that server.
  • The second line contains, in this order, the downloading rate, the uploading rate and the number of users on queue, with a pipe character (|) between each of them.

The second line does not end in a newline character ('\n').

When aMule (or eMule) is cleanly closed, the second line contains the same structure but filled with zeros, while the first line will only contain a single zero (0).