Jump to content

Tankbuster

Member
  • Content Count

    8028
  • Joined

  • Last visited

  • Medals

Everything posted by Tankbuster

  1. Tankbuster

    "server is up" notification on my webpage?

    If the code is unchanged, then it must be my hosting. It can be nothing else. I did change the paths for fonts and background images, the script will fail otherwise. My install of the script works in every respect, except that it claims there is no server at the given IP, in fact, it fails to find any servers. You can see how I get frustrated, pDSSQ does EXACTLY what I want, and should work perfectly, except that it doesn't I too am beginning to suspect an anomaly in the php install. Unfortunately, I don't have another php enabled host available. I've tried the two at my disposal.
  2. Tankbuster

    "server is up" notification on my webpage?

    1) I tried the first 5 of those servers listed and my install of pDSSQ failed to find any of them. 2) Daddl says he has queried my server successfully. I've seen a screenprint of the result. 3) When I point pDSSQ at my own server, I can see data flowing to and from it so I KNOW it's being queried. This leads me to think it's either my hosting that is missing a trick or a bug in the script. So, Daddl would you be good enough to PM me the code that you used to query my gameserver, so that I can try it on my hosting and try to narrow this problem down a little more. Pretty please?
  3. Tankbuster

    "server is up" notification on my webpage?

    Bah. This still doesn't work. Can someone give me the IP and port of an existing server that is up 24/7 so that I can rule out any possible problems with my hosting please?
  4. Tankbuster

    "server is up" notification on my webpage?

    I tried the IP you sent me: pDSSQ shows your server prefectly - I used the IP (not the homeip address) and the binary sockets query (mode 5). Maybe it's just a problem with the homeip domain service? Well that's the wierdest thing isn't it? Can you PM me the code you used when you had it working, please? (I've not been using the homeip address with pDSSQ. I've been specifying the IP)
  5. Tankbuster

    "server is up" notification on my webpage?

    The server is behind a router, but is in the DMZ. If clients can find the game, I'm wondering why both Daddl's and the WKK one both cannot see the server?
  6. Tankbuster

    "server is up" notification on my webpage?

    Right, we have progress. It works, it displays the graphic, but it never finds the server. query to server failed! Status: no answer. Yet it is there. I've got two people playing on it right now. IP and port are correct! In the server config, the reportingIP is not specified. Is this relevant? Also, which calltype should I be using? I don't understand this parameter as it's not mentioned in the standalone server or it's config?
  7. Tankbuster

    "server is up" notification on my webpage?

    Done that. Was still getting broken image cross. If i ran it in a browser, it gave thiese errors. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>175</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>176</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>177</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>178</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>179</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>175</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>176</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>177</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>178</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>179</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>175</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>176</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>177</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>178</b><br /> <br /> <b>Warning</b>:  imagettftext(): Could not find/open font in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>179</b><br /> ‰PNG IHDRúd âşY IDATxśíËIÅ‚%Éu&öťăwzó
  8. Tankbuster

    "server is up" notification on my webpage?

    And on the host that doesnt; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><br /> <b>Warning</b>: opendir(vbs250x100): failed to open dir: No such file or directory in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>145</b><br /> <br /> <b>Warning</b>: readdir(): supplied argument is not a valid Directory resource in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>147</b><br /> <br /> <b>Warning</b>: closedir(): supplied argument is not a valid Directory resource in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>154</b><br /> <br /> <b>Warning</b>: array_rand(): First argument has to be an array in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>155</b><br /> <br /> <b>Warning</b>: imagecreatefrompng(vbs250x100/): failed to open stream: No such file or directory in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>161</b><br /> <br /> <b>Warning</b>: imagecolorallocate(): supplied argument is not a valid Image resource in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>168</b><br /> <br /> <b>Warning</b>: imagecolorallocatealpha(): supplied argument is not a valid Image resource in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>169</b><br /> <br /> <b>Fatal error</b>: Call to undefined function: imagettftext() in <b>/home/teamsp1/public_html/pDSSQ.php</b> on line <b>175</b><br />
  9. Tankbuster

    "server is up" notification on my webpage?

    Note that this is on a host that DOES support freetype. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><br /> <b>Warning</b>: Â opendir(vbs250x100): failed to open dir: No such file or directory in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>145</b><br /> <br /> <b>Warning</b>: Â readdir(): supplied argument is not a valid Directory resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>147</b><br /> <br /> <b>Warning</b>: Â closedir(): supplied argument is not a valid Directory resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>154</b><br /> <br /> <b>Warning</b>: Â array_rand(): First argument has to be an array in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>155</b><br /> <br /> <b>Warning</b>: Â imagecreatefrompng(vbs250x100/): failed to open stream: No such file or directory in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>161</b><br /> <br /> <b>Warning</b>: Â imagecolorallocate(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>168</b><br /> <br /> <b>Warning</b>: Â imagecolorallocatealpha(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>169</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>175</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>176</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>177</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>178</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>179</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>175</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>176</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>177</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>178</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>179</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>175</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>176</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>177</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>178</b><br /> <br /> <b>Warning</b>: Â imagettftext(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>179</b><br /> <br /> <b>Warning</b>: Â imagepng(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>211</b><br /> <br /> <b>Warning</b>: Â imagedestroy(): supplied argument is not a valid Image resource in <b>/home/www/edenfami/ofp/pDSSQ.php</b> on line <b>212</b><br />
  10. Tankbuster

    "server is up" notification on my webpage?

    Are you sure that the IP and port are correct? Â I have tested it with several web query programs and came up with nothing for that ip/port. definately. At the time you did that, I was playing Operation Stormhammer with a few team mates.
  11. Tankbuster

    "server is up" notification on my webpage?

    Righty. I'm using another webhost, this one does have freetype. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype But I'm still getting the image broken red cross after 60 seconds of pause. I'm beginning to worry I've made some embarresing newbie error.
  12. Tankbuster

    "server is up" notification on my webpage?

    Yeah, I see that. I have another host available. I'll pinch some of Mrs Tanks webspace (that does have freetype) and test it there in the morning.
  13. Tankbuster

    "server is up" notification on my webpage?

    Here's the output of the GD section. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">GD Support  enabled  GD Version  bundled (2.0.28 compatible)  GIF Read Support  enabled  GIF Create Support  enabled  JPG Support  enabled  PNG Support  enabled  WBMP Support  enabled  XBM Support  enabled Â
  14. 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.
  15. 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.
  16. 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.
  17. 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
  18. 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?
  19. 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,
  20. 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?
  21. Tankbuster

    Laser designators

    That didn't work. Same unloaded LD problem. That worked!
  22. 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
  23. 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.
  24. 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.
  25. 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
×