Jump to content

rocco

Members
  • Posts

    22
  • Joined

Posts posted by rocco

  1. 1, You are right.

    2, Thanks.

    3, Server informations, like server name, map name, game settings which available on the server browser, etc. (actually the player informations and time are available now, both can be reached by commands).

  2. Hello,

     

    I would like to get some explanation about how getplayersonline works, especially the level value, because it doesn't give back any clear number. Long time ago when I used to get player informations I already got the correct level value, but not now.

     

    So the URL is: by http://SERVERIP:PORT+2/api/getplayersonline

     

    Few for examples:

    1. Player who is level 1 has "level":2.14105224609375

    2. Player who is level 10 has "level":4.41086483001709

    3. Player who is level 2 has "level":3.51833271980286

    4. Player who is level 2 has "level":2.94113373756409

     

    I don't see any system in the values, so how can I get back the correct number of level?

     

    Thanks

  3. Hi, there!

     

    I want to share an idea. I think everyone will be happy who wants to push some informations to own site.

    So possible to have a function which will save all public server and player informations to file and update it recently?

     

    Public server informations will be almost same as serverconfig.xml, all public settings with values, but not no passwords.

    Players informations will be names, levels, player kills, zombie kills, deaths and scores. I know those informations are shared by Alloc Server Fixes, but it needs php connection and missing server informations, so it is not full.

     

    The update time for the file can be set in config. And if we have this file we can build a site to publish scoreboard on web.

     

    If you want I can send a for examle file, it is from another type of gameserver.

     

    Regards

    rocco

×
×
  • Create New...