Amulesig.dat file

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This file is generated by aMule to inform external applications about it's status.

aMule's signature file is much more powerful than eMule's and has as much lines as fields. It's structure is:

  • The first line will contain a 0 (zero) if aMule is disconnected or has been cleanly closed, a 2 if it's connecting (only since aMule 2.0.0-rc4), or a 1 (number 1) if it's online.
  • The second third and forth line contain the name, IP and port of the server aMule is connected to (in this order) or a zero if it's offline. Since aMule 2.0.0-rc4 it will also contain a 0 when aMule's status is connecting or cleanly closed.
  • The fifth line will contain an capital H or a capital L depending if aMule is connected on high or low ID. If aMule is disconnected. Again, since aMule 2.0.0-rc4 it will also contain a 0 when aMule's status is connecting or cleanly closed, this line will contain a zero.
  • The sixth and seventh lines contain the speed in which aMule is downloading and uploading respectively. Since aMule 2.0.0-rc4 both lines contain "0.0" when aMule is cleanly closed.
  • The eighth and nineth lines contain the number of clients on the upload queue and the amount of shared files respectively. Since aMule 2.0.0-rc4 both lines are set to zero too when aMule is cleanly closed.
  • The tenth line contains the nickname of the user.
  • The eleventh and twelve lines contain the total amount of bytes downloaded and uploaded respectively.
  • The thirteenth line contains the aMule version.
  • The fourteenth and fifteenth line contains the amount of bytes downloaded and uploaded in the current session respectively. Since aMule 2.0.0-rc4, both will be 0 if aMule is connecting or was cleanly closed
  • The sixteenth (and last) line contains the amount of time aMule has been running. It will be followed by a space and "secs" "mins" or "hours" depending on the value (or the same time abbreviations in your configure language). Since aMule 2.0.0-rc4, if aMule is connecting or was cleanly closed this field will contain 00 followed by the abbreviation "secs" (or that same abbreviation in your configured language).

The last line must be followed by a new line character ('\n').