Jump to content

Tankbuster

Member
  • Content Count

    8191
  • Joined

  • Last visited

  • Medals

Everything posted by Tankbuster

  1. Tankbuster

    "server is up" notification on my webpage?

    server ip 80.0.199.181 or homeip.tankbuster.net port 2302 Can't see any reference to truetype in the phpinfo list.
  2. Tankbuster

    "server is up" notification on my webpage?

    I'd already checked GD is enabled and yes, it is. I've tried all 3 of the call types with the same result (and yes, I am refreshing the browser properly each time ) Still little red cross.
  3. Tankbuster

    "server is up" notification on my webpage?

    Aha. I've been told off for just plopping php into an html file and expecting it to work before. Please continue to take the mickey! Anyhoo... I've changed it as Daddl suggested but it's still not working. After a pause of 1 minute, the page generates the infamous "image broken" red cross. The script and htm live in the same directory and I've tried using the entire url or just the file name with the same result.
  4. Tankbuster

    "server is up" notification on my webpage?

    I tried Daddl's one first, but I'll be honest I'm not particulary aufait with PHP, especially includes. Here's the code snippet from my index.htm page; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> <table width="85%" border="0" cellspacing="0" cellpadding="0">      <tr>       <td><font color="#000000"> </font></td> <?php include 'http://www.teamspaff.co.uk/pDSSQ.php'; ?>      </tr>     </table> However, this doesn't get parsed. If I look at the source code from the resulting webpage, the php hasn't been parsed. So, I tried plan B. have the include statement in a small php file of its own and calling that. This doesn't produce expected result either after a pause it produces; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Warning: main(http://www.teamspaff.co.uk/pDSSQ.php): failed to open stream: HTTP request failed! $Ôl¶ą in /home/teamsp1/public_html/serverquery.php on line 2 Warning: main(): Failed opening 'http://www.teamspaff.co.uk/pDSSQ.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/teamsp1/public_html/serverquery.php on line 2
  5. Guy, I wonder if this is possible? I'd like to have a link on my webpage that displays a nice graphic when my standalone server is up and a not so nice one when it isn't. Maybe it should even say how may people are on the server. Has this already been done or is it easy to implement?
  6. Tankbuster

    Laser designators

    Guys, I've been playing a couple of missions that have laser designators, namely Operation Snakebite and Operation Stormhammer. We've had trouble making it work as expected. I thought that one player would point the LD at a target and the LGB A10 would come along, drop the bomb near the target and the bomb would hit where the designator was pointing. Needless to say, it didn't work. In Snakebite, I had the target illuminated nicely, the pilot came in from 800 ft and dove onto the target, but the bomb missed by a considerable margin. This isnt a huge problem as the mission can still be completed. In Stormhammer, it means we are stuck and at the moment, we are actually considering that the whole concept of designation isn't actually modeled in these missions and is just for show. So, could anyone give me some guidance on how to make this work for us? Thanks in advance,
  7. Tankbuster

    Laser designators

    Indeed. So, is there an equally simple solution to the other one, where I issue a soldier a LD by means of the init string, but it turns out to be unloaded?
  8. Tankbuster

    Laser designators

    That didn't work. Same unloaded LD problem. That worked!
  9. Tankbuster

    Laser designators

    Yes crosshairs are enabled. I've taken some screenshots to illustrate my problem. Firstly, from a test mission I've made, you can see the designator is not working. Here is the init string I've given this soldier; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this AddWeapon "laserdesignator"; Â this addMagazine "laserdesignator"; And below is a screenshot from Operation Stormhammer. You'll note that in the top picture, the weapon name in the top left corner is red, which I take to mean "unloaded", but of course, there is no way to "reload" an LD and in any case, I have given the man a magazine, as you can see in the soldier init string. Given that in the lower picture, where you can see the designation dot and it's working, (the A-10 pilot says he can see it) the weapon name is in green writing and indeed, has a round up the spout, so to speak, I'm assuming this "unloaded LD" is the problem. Does anyone have any ideas? Thanks in advance, Paul
  10. Tankbuster

    Laser designators

    Update! We haven't got it sussed! I've given my man a laser designator and a magazine for it, but it doesn't work. It doesn't seem to "activate"; there's no red dot projected. Am I doing something wrong? I've been able to designate targets successfuly using the OH-58.
  11. Tankbuster

    Laser designators

    As Fubar locked my other thread, I'll just drop a note in here to say thanks to everyone for their help. We've got this sussed now.
  12. Tankbuster

    Can't find handheld laser designator

    Guys, Further to my laser designator thread, we have this working now, but we used a OH-58 to illuminate the targets in a test map. My question is where in the editor is the handheld designator? You know, the one with the tripod. I can't find it in any of the weapons cache things you add to the map. Thanks in advance, Tanky
  13. Tankbuster

    Laser designators

    Yes, that worked a treat. Thank you very much. I need to know where to find a hand held designator. I'll fire up another thread about that.
  14. Tankbuster

    Laser designators

    Aha! Right, I'll try that and report back.
  15. Tankbuster

    standalone server cpu @100%

    Guys, Hello all. Just a little thing I'd like your opinion on. I have a laptop PC next to me which runs my standalone server (GOTY edition). It's a powerful machine, a 3 meg P4 with half a gig of ram. When it hosts a game and as the mission proper starts (the shooting stage, not briefing etc) the CPU load goes to 100% and stays there until the mission is over, even if there is only one player present. Is this normal? I only ask as if I host a SWAT4 dedicated server on the same machine, CPU load with 6 players is only 40%. Most odd. Any help greatly appreciated.
  16. Tankbuster

    standalone server cpu @100%

    Thanks guys. Mind @ rest.
  17. Tankbuster

    standalone server cpu @100%

    I don't understand your point? I'm getting my CPU usage figures from task manager.
  18. Tankbuster

    standalone server cpu @100%

    1.96 for both.
×