Loading...


bookmark - Returning Game Status retrieving game status

Returning Game Status - retrieving game status

 
 Discussion by HmmZ with 11 Replies.
 Last Update: May 9, 2005, 1:13 am
 
bookmark - Returning Game Status retrieving game status  
Quickly Post to Returning Game Status retrieving game status w/o signup Share Info about Returning Game Status retrieving game status using Facebook, Twitter etc. email your friend about Returning Game Status retrieving game status Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

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

   Thu Apr 28, 2005    Reply         

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 >.<)

   Thu Apr 28, 2005    Reply         

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.

   Fri Apr 29, 2005    Reply         


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?

   Fri Apr 29, 2005    Reply         

QUOTE (HmmZ)

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 -_-

   Fri Apr 29, 2005    Reply         

Shouldn't your mysql_connect statement have 'localhost' instead of localhost?! (Notice the ')

   Fri Apr 29, 2005    Reply         


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 ^^

   Fri Apr 29, 2005    Reply         

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;
?>

   Fri Apr 29, 2005    Reply         

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 }

   Sat Apr 30, 2005    Reply         

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.

   Sun May 1, 2005    Reply         

It works fine as it is :(

Anyway..closing the php code is easier for me to use html to get tables and such done...instead of using:

CODE

echo/print "<table border=\"0\" width=\"400\" etc..>";


Just works easier and it works :/

   Thu May 5, 2005    Reply         

and it would be much easier if you would use a template system and completely seperate your html tags from your php codes.

   Mon May 9, 2005    Reply         

Quickly Post to Returning Game Status retrieving game status w/o signup Share Info about Returning Game Status retrieving game status using Facebook, Twitter etc. email your friend about Returning Game Status retrieving game status Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

What Is Your Favorite Online Game

What is your favorite online game and why. If you have more than one favorite game post more than one. I'll post my favority game: My favorite online game is Runescape. Its very fun and easy to understand. Runescape is rather competative, which also makes a good online game. ...more

   09-May-2005    Reply         

Good Rpg Game Besides Final Fantasy

Hi all, Does any1 know of any good RPG games for PS2 besides Final Fantasy, because i've had a hard time finding other good RPG games because only ff is good. If you know any can you please PM me or just post here. Thanks. Rock on Final Fantasy. ...more

   17-Apr-2006    Reply         

Get Data Back For Fat And Ntfs

Has anyone been in a pickle with an external hard drive which just decided to become totally unrecognizable under windows? . I encountered this problem a few days ago on a friend’s old portable hard drive which he had lent me.  Upon returning it to him (carrying it in my backpack) ...more

   25-Sep-2009    Reply         

Space Limit/capacity Of Mysql?    Space Limit/capacity Of Mysql? (3) (3) Help Importing Mysql Database Results Need help formatting link  Help Importing Mysql Database Results Need help formatting link