View Full Version : Wanted : PHP Web Programmer (Paid Job)
I know the highscore system in GL Golf doesn't work that good, but I never really knew how much it didn't work until someone sent me a copy of their local highscores, all 10 should have posted and only about 3 did. I am using CURL but its VERY unreliable and only 20%-40% of the scores actually post.
I need someone to make a simple PHP page that takes the name/value pairs in the URL and updates a highscore list. For example my page would invisibly load
http://nuclearnova.com/newhighscore.php?course=1&score=70$&name=Golfmaster
It would then have to update 1 out of 10 text files that has 10 scores and 10 names.
I will pay you for this, either post here or contact me on aim : OCVlade
KiroNeem
2005.04.24, 11:39 PM
How do you have your highscore list saved? A text file or database? Or is this up to the programmer?
Its a text file, in this format
score (2 digits) SPACE name
<br>
score (2 digits) SPACE name
<br>
score (2 digits) SPACE name
<br>
I would also like a text log with every game played, a simple time,score, name, and course will do
Not one person is interested, I will pay you. I really don't want to setup an account with rentacoder.com
UnifiedMac
2005.04.29, 02:50 PM
I'd like to do this but let me get the idea clear, in your game when you get to the high score screen you can have it sent to the website?
So it opens up the php page:
http://nuclearnova.com/newhighscore.php?course=1&score=70$&name=Golfmaster
for example and adds the highscore to the database.
Then when you go to highscores.php it will list lets say the top 10.
I'll give this a try tonight.
-- Maddict
kodex
2005.04.29, 03:03 PM
If you are looking to pay someone to do PhP use scriptlance.com I use it for some of my credit card processing stuff on my site, highly recommended.
blobbo
2005.04.29, 04:22 PM
Jake: this system could easily be compromised by someone submitting a simple query to your server. You need to somehow use an encrypted key to transmit the data, unless it will be too vulnerable.
UnifiedMac
2005.04.29, 04:33 PM
I've made a version, but I thought the same as blobbo, it would be easy for me to just go to:
http://nuclearnova.com/newhighscore.php?course=10&score=99&name=UnifiedMac
And I'd have my name at the top spot :D
I've got a method which I'll implement tomorrow.
[EDIT]
Okay I've added some sort of encryption, all I need to do now is make the code sort the data in the text files.
Thanks UnifiedMac,
The encryption is a great idea. The URL is sent in the background with CURL and then my program downloads these files and parses them http://nuclearnova.com/glgolf/ .
Are you using a database to store things? It will also need to be added to those text files but I do like the idea of a database because then I can download the database and do some analysis of the data. Please add a timestamp if at all possible.
UnifiedMac
2005.04.30, 09:52 AM
I'm using a text file, I just have to add the time stamp now.
In the text file I just have it set out like:
score (2 digits) SPACE name
score (2 digits) SPACE name
score (2 digits) SPACE name
Each score is on a new line, I change it if need be. The score must be 2 digits or the sorting doesn't work so 1 must be sent as 01.
Sorting and authentication works now, we just have to check that your program can hash.
-- Maddict :)
Can you change the format to
score (2 digits) SPACE name
<br>
score (2 digits) SPACE name
<br>
score (2 digits) SPACE name
<br>
Thanks
UnifiedMac
2005.04.30, 10:28 AM
Can <br> be on the same line? =/
So its like:
score (2 digits) SPACE date (mm/dd/yy) SPACE name <br>
score (2 digits) SPACE date (mm/dd/yy) SPACE name <br>
score (2 digits) SPACE date (mm/dd/yy) SPACE name <br>
Is this a normal HTML break?
I am assuming that you just use include to put the text files on:
h77p://nuclearnova.com/highscores.php
So whether they be on the same line or not shouldn't make a difference.
You'll just need to edit all your existing test files.
-- Maddict
Actually it does, because while it works for the HTML parser GL Golf expects them to be on a different line. This isn't much of a problem is it?
UnifiedMac
2005.04.30, 03:39 PM
I've finished it all now, but I think I'll have to leave the authentication out.
It would mean making some changes in your app. This is how the script works you go to:
http://www.address.com/newhighscores.php?name=Maddict&score=99&course=1&code=dkn39db3idd3b83b3d83ind8dn
Your app will have to hash a phrase made up of your score, name and course. It will need to use:
sha1() to hash the code up before sending.
I can leave that out if you don't want to change your app. The way the text file is set out now is:
29 miblo 30/04/05
<BR>
29 miblo 30/04/05
<BR>
19 miblo 30/04/05
<BR>
:( I was sorting the scores decending, but since this is golf, I think the scores are ascending.
Tell me so I can just go and change that, PM me if you want the hash phrase.
-- Maddict
Thats awesome, just like I wanted it. The lowest score should be at the top sense its golf, shouldn't be that hard to change.
How does the code work? Have you already coded it?
Can you send me an email with the file so I can give it a test?
Thanks,
Jake
UnifiedMac
2005.05.01, 12:06 PM
I've sent you the files to your NuclearNova e-mail thats in your signature.
-- Maddict
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.