HmmZ
Apr 28 2005, 11:13 PM
| | I'm currently making a fansite for a game thats coming out soon and im wondering how I can show the game status: Meaning..is the game down? or is the game up?
I of course don't have access to their servers and I have no IP whatsoever, Im very sure they won't give out much info on their servers either, because their current game (GunBound) is getting hacked like crazy, releasing server info might cause problems for both me and Softnyx
At the moment I have only the forum status (wich is pretty easy), and a n/a image on my Game Status.
Is there a possibility to get their game status by contacting the game in another way? or is there a way to get it with minimum info of the gameservers?
The game im talking about is Rakion My fansite is located at: online.trap17.com
Thanks in advance |
Reply
HmmZ
Apr 29 2005, 12:32 AM
Damnit, I just found out that IE(6) doesnt show the images from my if statements? anyone can help me on that too? CODE <table bgcolor="#440000" cellspacing="0" width="270" height="175" border="0" style="position: absolute; top: 0px; left: 1000px; background-image: url('http://www.online.trap17.com/Rakion/images/statuswindow.gif');"> <TR><TD align="left"> <?php
if(!mysql_connect(localhost, ***, ***)){ ?> <img src="http://www.online.trap17.com/Rakion/images/spacer.gif" border="0" width="176" height="1" style="position: absolute; top: 42px; left: 1000px;"><img src="http://www.online.trap17.com/Rakion/images/status_offline.gif" border="0" style="position: absolute; top: 42px; left: 1176px;"> <? } else { ?> <img src="http://www.online.trap17.com/Rakion/images/spacer.gif" border="0" width="176" height="1" style="position: absolute; top: 42px; left: 1000px;"><img src="http://www.online.trap17.com/Rakion/images/status_online.gif" border="0" style="position: absolute; top: 42px; left: 1176px;"> <? } ?> </td></tr></table> ANY help would be appreciated =/ (It does show the images in Firefox...so i don't understand >.<)
Reply
Newton
Apr 29 2005, 11:10 AM
Does the official game site show the server status? If yes, you could just ask them for permission to show game status. If you can't, ask around on their forums and all, people generally know how to get that kinda info. On your image problem, try changing the image url to http://online.trap17.com.... , just remove the www part.
Reply
HmmZ
Apr 29 2005, 11:20 AM
No the game doesnt show their game status, and their forums are a chaos..ill try writing an e-mail to them... as for the image suggestion..it seems it doesnt work =/. Any other ideas?
Reply
HmmZ
Apr 29 2005, 11:23 AM
QUOTE(HmmZ @ Apr 29 2005, 12:20 PM) No the game doesnt show their game status, and their forums are a chaos..ill try writing an e-mail to them... as for the image suggestion..it seems it doesnt work =/. Any other ideas? forget the image part...it works..just gotta screw around with the position >.> when i set absolute: left: 0px, it shows perfect in ie, but in mozilla its screwed up
Reply
Newton
Apr 29 2005, 11:26 AM
Shouldn't your mysql_connect statement have 'localhost' instead of localhost?! (Notice the ')
Reply
HmmZ
Apr 29 2005, 01:56 PM
No need for that...and besides..its functioning fine as it is...i wrote an e-mail to the game staff concerning the game status..hopefully i will get a good answer from them ^^
Reply
beeseven
Apr 30 2005, 01:41 AM
As for the images, if you're going to close the PHP tags and do other stuff I'm relatively certain you need a colon (:) instead of braces ({}) CODE <?php if($x == 1): ?> something... something... <?php else: ?> something... something... <?php endif; ?>
Reply
HmmZ
Apr 30 2005, 11:07 AM
No, IF statements open with {} and not with (). The ()is used for a detailed if statement CODE if($session==false){ //what will happen if the statement is false }
Reply
beeseven
May 1 2005, 03:49 PM
That's not what I said. I said that if you're going to close the php tag in the middle of an if statement, use a colon and endif instead of brackets.
Reply
mobious
May 9 2005, 08:13 AM
and it would be much easier if you would use a template system and completely seperate your html tags from your php codes.
Reply
Recent Queries:--
imap flag field not show in opera - 232.48 hr back. (5)
Similar Topics
Keywords : returning status retrieving status- Script That Tracks The User Status
- how can I track on or offline users? (4)
long explaination: hey, I'm building a user profile site right now. And, I kinda know how to
make a online/offline detector, but not totally sure. I know I can make a mysql database to track
them, but how does it entrer the information? I could easily put in a field where when they login it
sets them to online, but if they don't sign out, and just exit the browser, how can I tell.
short: I want someone to tell me how to make a online/offline status detector, like they have here
on trap17. I'd be thrilled if you can post to this, thanks, arcticsnpr...
Trap17 Board Status Dynamic Image
- (13)
Imap Status Set Flags Problem
- IMAP status set flags problem (1)
i'd like to set or clear the seen flag to any selected message: CODE if
(isset($_GET['hmark']) &&
isset($_GET['dmsg']) &&
isset($_GET['fresh'])) { $dmsg =
$_GET['dmsg']; $flagtype = $_GET['hmark'];
$fresh = $_GET['fresh']; $used =
isset($_SESSION['used']) ? $_SESSION['used'] :
array(); if (...
Looking for returning, game, status, retrieving, game, status
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for returning, game, status, retrieving, game, status
*MORE FROM TRAP17.COM*
|
advertisement
|
|