ID:171013
 
Ok well, as some of you may know, I am making a remake of the game The Sky is Falling. Well I want to make a scoreboard system that is made with PHP and MySQL and can be viewed when the game is down and up. I have looked at Yuugi's version of a scoreboard but I do not understand it.


What I need the score board to do is..
(Ill draw a picture with letters to show you what I want it to look like mainly)

______________________________
| |
| |
| Overall Scores |
| Width 9 |
|____________________________|


I want that as the main page and I want those two also including Width 10,11,12,13,14,15,16,17,18,19,20,21.

Now when you click on the overall scores...
_____________________________
| |
| |
| Overall Scores |
| ______ ______ _______ |
| |Rank|||Name|||Score| |
| | | |
| | | |
| | | |
| |
|___________________________|


I want it like that for every width also except changing Overall Scores to [width] Scores.

REALLY if you want to see how I want the setup...


Look here: http://h3ath.com/immortal/score.php?act=getall&game=brian

That is what I am aiming to try to achieve. Please help and atleast try.... if you need anymore details (Hopefully I was detailed enough) on what I want, please let me know.


GOOD day!

No need to use MySQL...

It shouldn't be too hard. Do you have any PHP experiance? HTML experiance? Do you even have a webhost that allows PHP?


In response to Airjoe (#1)
Airjoe wrote:


Do you have any PHP experiance?
None at all, thats why I came here.(Newbie Central)

HTML experiance?
A little, I know the basics.(Not tables though)

Do you even have a webhost that allows PHP?
Angelfire should right? If not I can get Zi to allow me some space.
The one I made for zeta is something what your describing (I think anyway): http://dbzeta.com/stats/highscores.php

Anyway, all it does it use world.export() to a php script that inputs the information into a database. Then the page linked above queries the database, and then displays it.

If you need a host with php/MySQL feel free to use mine: http://nick231.net/host.htm just sign-up for the free package which is more than enough for what its going to be used for (its also free).

The actual scoreboard I'll break down to its basic form tommorow night and release it as a library.
In response to Nick231 (#3)
Thanks alot man!
In response to Nick231 (#3)
How's that library coming along? ;-)
In response to Airjoe (#5)
Airjoe wrote:
How's that library coming along? ;-)

Actually, I had completely forgotten about it.

http://developer.byond.com/hub/Nick231/Highscores

It's only for one score right now (to allow for changes from BYOND it will take a whole bunch of checking, adjusting tables appropriately, etc. And I don't have time right now to work it all out). To add a score simply call score(src,514) (src being the player the score is for, 514 being the score.