Server Webpage

Muffen_ManMuffen_Man Members Join Date: 2003-09-26 Member: 21227Posts: 9
Server Status WebPage
Is there anyway you can have a webpage running to show the current server status. Like how many players there are, the current map...just general stuff like that in realtime? Im running Psychostats, but i update that once a day. Is there any thing that can do it in real time by just showing number of players and current map?

I'm running a dedicated server at my university, so bandwidth isnt a problem.
Do YOU Know The Muffen Man?

Comments

  • DepotDepot The ModFather Members Join Date: 2002-11-09 Member: 7956Posts: 6,411 Fully active user
    There is a method to have HLSW posted as a webpage.
    image
    modNS Forums - NS1 and NS2: We Wrote The Book On NS Moddingimage
  • Muffen_ManMuffen_Man Members Join Date: 2003-09-26 Member: 21227Posts: 9
    How does it work, consider that im a totaly n00b, ok maybe not so much a n00b but close...explain how i get it on to the webserver. Im running the Webserver and dedicated server off one PC
    Do YOU Know The Muffen Man?
  • BryBry Members Join Date: 2003-01-23 Member: 12609Posts: 552 Advanced user
    edited September 2003
    Yes this can be easily done:

    I recommend webmod which you can get from here:
    http://djeyl.net/w.php?language=english

    However, you may wish to integrate this into your psychostats like:


    http://www.brywright.co.uk/ns/stats/live.php
    (i havent got my psychostats workign with steamids yet due to the logging problems sad.gif )


    After installign webmod do this :

    In the header.php file in your theme directory add:

    1)

    CODE

    <td> <a href="/stats/live.php">Live Stats</a> </td>


    after this
    CODE

    <table width="100%" border="0">
    ?<tr class="listhead" align="center">


    so it looks something like

    CODE

    <table width="100%" border="0">
    ?<tr class="listhead" align="center">
    <td> <a href="/stats/live.php">Live Stats</a> </td>
    ? ?<td<?=(ereg('srvstats\.php$',$PHP_SELF)) ?? ' class="selhead"' : ''?>><a class="headlink" href="srvstats.php">Server Stats</a></td>


    2) Download the attached file, edit it with notepad or similar and find near the bottom the line

    CODE

    <iFrame frameborder="0" height="1800" width="630" src="http://ENTER IP FOR WEBMOD HERE">

    where it says ENTER IP FOR WEBMOD HERE delete this and add the url to your webmod (should be the same as your server ip if not read webmoad readme)

    Then copy this file to your themefolder in your psychostats instalaltion

    3) In the theme.cfg file in your themes folder you should have a line similar to:

    CODE

    index.html = index.php, weaponlist.php, awardlist.php, srvstats.php, cheaters.php, faq.php, motd.txt


    change it so it reads:

    CODE

    index.html = index.php, weaponlist.php, awardlist.php, srvstats.php, cheaters.php, faq.php, motd.txt , live.php


    4)Run pyschostats and it should now work fine smile.gif

    (This is documented on the pyschostats site but it can get a bit confusing so i have explained it here as well)
  • H_U_M_PH_U_M_P Members Join Date: 2002-11-05 Member: 7013Posts: 84
    For our webpage we use www.serverspy.net http://www.serverspy.net/site/search/serve...31.86:27025&g=0

    With this you can show your server rank in NS and out of all HL servers. Players in game/game time ect.

    Or the list of servers by rank http://www.serverspy.net/site/serverranks/...it=Show+Servers

    Take a look at this. Should be easy. tounge.gifnerd.giftounge.gif
  • Muffen_ManMuffen_Man Members Join Date: 2003-09-26 Member: 21227Posts: 9
    Thnax, i'll give it a try!
    Do YOU Know The Muffen Man?
  • Muffen_ManMuffen_Man Members Join Date: 2003-09-26 Member: 21227Posts: 9
    edited September 2003
    I got the webmod to work (wow), but i cannt get the psychostats to update the header? i set the theme to the php theme, but still doesnt add the extra header confused.gif

    And how did yoou get a map pic on to it as well?
    Do YOU Know The Muffen Man?
  • BryBry Members Join Date: 2003-01-23 Member: 12609Posts: 552 Advanced user
    Sorry i gtg work now
    If you coudl email me your theme.cfg from your theme fodler and your header.php to [email protected] ill take a looka s sono as ig et back tonight
  • cy8zcy8z Members Join Date: 2003-04-01 Member: 15102Posts: 13
    do you mean something like mine?
    http://www.tekwar.org/status.php

    I would try using psychoquery. Instant updates.
    Webmod is nice, but I found it easier to use psychoquery smile.gif
    biggrin.gif
    TekWar_NS v3.0 Beta 3# 64.173.225.4:27015
    user posted image
    Never Knows Best!
  • DepotDepot The ModFather Members Join Date: 2002-11-09 Member: 7956Posts: 6,411 Fully active user
    This is off topic but
    QUOTE
    i havent got my psychostats workign with steamids yet due to the logging problems 
    PsychoStats works fine with STEAM IDs as verified by viewing my server's stats.

    In response to the topic I shall reply shortly with how to post a HLSW webpage.
    image
    modNS Forums - NS1 and NS2: We Wrote The Book On NS Moddingimage
  • DepotDepot The ModFather Members Join Date: 2002-11-09 Member: 7956Posts: 6,411 Fully active user
    The instructions for setting up your HLSW as a webpage are viewable here Click on "hlsw:// urls"
    "
    image
    modNS Forums - NS1 and NS2: We Wrote The Book On NS Moddingimage
  • CheesyPetezaCheesyPeteza Members, NS1 Playtester, Constellation Join Date: 2002-11-24 Member: 9784Posts: 831 Advanced user
    I can give you the php code for something like this if you wish.

    Cheesy Pete Za
  • Muffen_ManMuffen_Man Members Join Date: 2003-09-26 Member: 21227Posts: 9
    Any help would be great!

    Also do you maybe have any other cool tools/plugins for NS.

    And how can the marines also win a bit more?
    Do YOU Know The Muffen Man?
  • verboseverbose Members, Constellation Join Date: 2002-11-25 Member: 9968Posts: 681
    QUOTE (Muffen Man @ Oct 2 2003, 05:33 PM)
    And how can the marines also win a bit more?

    There's a plugin floating around that automatically electrifies marine res nodes and TFs right after they're built. Helps pub marines and inexperienced commanders a ton. It's a pretty big balance shift though, so make sure your marines aren't too good; they could easily dominate unorganized aliens with that much help.
    Pigeons. Pigeons...are good too. Sometimes, they come with notes attached. It's like a fortune cookie with wings. Squirrels!
  • DepotDepot The ModFather Members Join Date: 2002-11-09 Member: 7956Posts: 6,411 Fully active user
    This Topic lists a lot of NS plugins. Onosblocker is probably your best bet, as you can set how many players and how many hives you need for onos or fades.
    image
    modNS Forums - NS1 and NS2: We Wrote The Book On NS Moddingimage
  • BigBullBigBull Members Join Date: 2003-04-02 Member: 15123Posts: 2,478
    My fav server has the status thing. www.guns4back2school.com
    Ugh Im too damn brown for a sig.
  • ZycaRZycaR Members Join Date: 2002-11-12 Member: 8263Posts: 544 Advanced user
    look here .. php code for something like #yo page smile.gif
    no plugins .. only PHP

    http://www.resourcecode.de/view.php?id=774
  • DashelDashel Members Join Date: 2003-03-24 Member: 14847Posts: 71
    Personally, I prefer the Gameserver PHP-Nuke plugin. You can check it out here:

    http://games.gtw.net/modules.php?name=Game...tail&serverid=1
    WinXP | XP2800 | 1GB XMS | 9800XT | nForce2
    GTW Game Hosting
Sign In or Register to comment.