PenUltima Online

It is currently Sat Sep 06, 2008 9:22 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Shard Status XML Output
PostPosted: Tue May 27, 2008 6:24 am 
Offline
POL Developer
User avatar

Joined: Wed Jan 25, 2006 2:30 am
Posts: 410
Location: San Diego, California
This is part of a supr sekrit project that Luth, Adam, Melanius and myself have been plotting like cartoon mice in a cage... and this time we might just take over the world(s).

To use this, place it in <POL>/scripts/www/

Later when a larger project is complete, there will be a system that will poll this page a maximum of once every 60 seconds to show your shard status and some information about it.

This functionality / feature is not required to participate and will remain optional.


Attachments:
XMLStatus.zip [1.12 KiB]
Downloaded 39 times

_________________
-Austin
Top
 Profile  
 
 Post subject:
PostPosted: Tue May 27, 2008 12:35 pm 
Offline

Joined: Tue Mar 20, 2007 7:17 am
Posts: 99
Location: Poland
tested it and... i cant belive...

40 players and after an hour of gameplay this data is incredibly small

Przepustowosc [bajtow otrzymanych]: 2.34993 MB
Przepustowosc [bajtow wyslanych]: 36.37 MB
Srednia ilosc bajtow otrzymanych [na sekunde]: 618 bytes
Srednia ilosc bajtow wyslanych [na sekunde]: 9.3457 KB

used code:
Code:
   WriteHTML("Przepustowosc [bajtow otrzymanych]: <RX>"+FormatBytes(core_ref.bytes_received)+"</RX><br>");
   WriteHTML("Przepustowosc [bajtow wyslanych]: <TX>"+FormatBytes(core_ref.bytes_sent)+"</TX><br>");
    WriteHTML("Srednia ilosc bajtow otrzymanych [na sekunde]: <RX>"+FormatBytes(core_ref.bytes_received/core_ref.uptime)+"</RX><br>");
    WriteHTML("Srednia ilosc bajtow wyslanych [na sekunde]: <RX>"+FormatBytes(core_ref.bytes_sent/core_ref.uptime)+"</RX><br>");


is this correct?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl