SurfersWorld
SMF For Free Newbie
Offline
Posts: 12
SurfersWorld.smfforfree4.com Join Now!
|
 |
« on: August 30, 2008, 04:13:02 am » |
|
Forum Url: http://surfersworld.smfforfree4.comRequest of how to add highscores. Hello, Its SurfersWorld here, I was just wondering for my RS2 Private server to have highscores on the forums. I don't know whether you need a different Forum or SQL im not sure but please f you know how i would like to make them a little bit like frugooscape, well not exactly but highscores =] Please post below any Answers to this post. Thank You, SurfersWorld
|
|
|
|
« Last Edit: August 30, 2008, 05:04:29 am by LaundryLady »
|
Logged
|
|
|
|
|
|
Jessie
SMF For Free Hero
Offline
Posts: 503
Jessie - Copyright 1989
|
 |
« Reply #1 on: August 30, 2008, 07:21:24 am » |
|
You could use the webpage editor and hand type people hiscores.
|
|
|
|
|
Logged
|
|
|
|
X Rang3r X
SMF For Free Newbie
Offline
Posts: 13
|
 |
« Reply #2 on: August 30, 2008, 07:31:57 am » |
|
I'm sure this is SQL sided.
Jessie: You could do that, but I don't think he would sit there for hours doing that. I had a Private Server, when someone new plays, it creates a new .txt file, and you see the stats inside. And it will take ages to write it all out, plus skills on a Private Server, aren't like RuneScape skills. RuneScape is a little hard to level up, on a Private Server it isn't.
|
|
|
|
« Last Edit: August 30, 2008, 07:44:29 am by X Rang3r X »
|
Logged
|
|
|
|
Celebrus
SMF For Free Hero
Offline
Posts: 818
Previously known as Omikron
|
 |
« Reply #3 on: August 30, 2008, 07:53:51 am » |
|
If I could look at the .txt file you mentioned that has the stats, I should be able to write the js necessary to process and display it.
|
|
|
|
|
Logged
|
|
|
|
X Rang3r X
SMF For Free Newbie
Offline
Posts: 13
|
 |
« Reply #4 on: August 30, 2008, 07:56:04 am » |
|
It depends on how many people he has on his Private Server. I can give you a example of what is in the .txt file if you like.
|
|
|
|
|
Logged
|
|
|
|
Kalphiter
SMF For Free Full Member
Offline
Posts: 136
DE30AC #409
|
 |
« Reply #5 on: August 30, 2008, 09:13:44 pm » |
|
Both things would have to be on the same server.
|
|
|
|
|
Logged
|
|
|
|
SurfersWorld
SMF For Free Newbie
Offline
Posts: 12
SurfersWorld.smfforfree4.com Join Now!
|
 |
« Reply #6 on: August 31, 2008, 10:36:00 am » |
|
im still not quite sure what to do, you havent explained clearly enough.
|
|
|
|
|
Logged
|
|
|
|
X Rang3r X
SMF For Free Newbie
Offline
Posts: 13
|
 |
« Reply #7 on: August 31, 2008, 11:54:37 am » |
|
It's SQL sided.
|
|
|
|
|
Logged
|
|
|
|
SurfersWorld
SMF For Free Newbie
Offline
Posts: 12
SurfersWorld.smfforfree4.com Join Now!
|
 |
« Reply #8 on: August 31, 2008, 12:26:34 pm » |
|
Does that make a difference ? does that mean i can't do it?
|
|
|
|
|
Logged
|
|
|
|
X Rang3r X
SMF For Free Newbie
Offline
Posts: 13
|
 |
« Reply #9 on: August 31, 2008, 02:31:11 pm » |
|
I don't know. Celebrus could try find a way to do it, if not, then it would be SQL sided.
|
|
|
|
|
Logged
|
|
|
|
Celebrus
SMF For Free Hero
Offline
Posts: 818
Previously known as Omikron
|
 |
« Reply #10 on: September 01, 2008, 03:47:55 am » |
|
Server sided ain't possible here(remotely hosted). If someone can show me the format of the data in the txt files I could create the javascript to display obtain, process and display it.
|
|
|
|
|
Logged
|
|
|
|
X Rang3r X
SMF For Free Newbie
Offline
Posts: 13
|
 |
« Reply #11 on: September 01, 2008, 10:24:03 am » |
|
Here is what it looks like. [ACCOUNT] character-username = Username character-password = Password
[CHARACTER] character-height = 0 character-posx = Position X character-posy = Position Y character-rights = 0 character-ismember = 0 character-messages = 0 character-lastconnection = Last IP used on connection character-lastlogin = 0 character-energy = 0 character-gametime = 0 character-gamecount = 0
[EQUIPMENT] character-equip = 0 0 character-equip = 1 -1 0 character-equip = 2 -1 0 character-equip = 3 -1 0 character-equip = 4 -1 0 character-equip = 5 -1 0 character-equip = 6 -1 0 character-equip = 7 -1 0 character-equip = 8 -1 0 character-equip = 9 -1 0 character-equip = 10 -1 0 character-equip = 11 -1 0 character-equip = 12 -1 0 character-equip = 13 -1 0
[LOOK] character-look = 0 0 character-look = 1 0 character-look = 2 0 character-look = 3 0 character-look = 4 0 character-look = 5 0
[SKILLS] character-skill = 0 1 0 character-skill = 1 1 0 character-skill = 2 1 0 character-skill = 3 1 0 character-skill = 4 1 0 character-skill = 5 1 0 character-skill = 6 1 0 character-skill = 7 1 0 character-skill = 8 1 0 character-skill = 9 1 0 character-skill = 10 1 0 character-skill = 11 1 0 character-skill = 12 1 0 character-skill = 13 1 0 character-skill = 14 1 0 character-skill = 15 1 0 character-skill = 16 1 0 character-skill = 17 1 0 character-skill = 18 1 0 character-skill = 19 1 0 character-skill = 20 1 0 character-skill = 21 1 0 character-skill = 22 1 0 character-skill = 23 1 0 character-skill = 24 31 0
[ITEMS]
[BANK]
[FRIENDS]
[IGNORES]
[EOF] And here is where the skills are placed. [SKILLS] character-skill = 0 1 0 character-skill = 1 1 0 character-skill = 2 1 0 character-skill = 3 1 0 character-skill = 4 1 0 character-skill = 5 1 0 character-skill = 6 1 0 character-skill = 7 1 0 character-skill = 8 1 0 character-skill = 9 1 0 character-skill = 10 1 0 character-skill = 11 1 0 character-skill = 12 1 0 character-skill = 13 1 0 character-skill = 14 1 0 character-skill = 15 1 0 character-skill = 16 1 0 character-skill = 17 1 0 character-skill = 18 1 0 character-skill = 19 1 0 character-skill = 20 1 0 character-skill = 21 1 0 character-skill = 22 1 0 character-skill = 23 1 0 character-skill = 24 31 0 That's what it's like.
|
|
|
|
|
Logged
|
|
|
|
Kalphiter
SMF For Free Full Member
Offline
Posts: 136
DE30AC #409
|
 |
« Reply #12 on: September 01, 2008, 12:54:14 pm » |
|
SMF might not be comfortable having you have access the server so you can make a hiscores  But than again, you can do what Celebrus is doing, but you have to announce the hiscores 
|
|
|
|
|
Logged
|
|
|
|
SurfersWorld
SMF For Free Newbie
Offline
Posts: 12
SurfersWorld.smfforfree4.com Join Now!
|
 |
« Reply #13 on: September 01, 2008, 02:18:48 pm » |
|
Yes i may do that, i have changed the forums due to rubbish coding and i couldn't fix it so please celebus please come along and show me. New forums: surfersworld1.smfforfree2.com
Thank you.
|
|
|
|
|
Logged
|
|
|
|
Celebrus
SMF For Free Hero
Offline
Posts: 818
Previously known as Omikron
|
 |
« Reply #14 on: September 04, 2008, 04:12:04 am » |
|
OK, does each person have a new file created? Or is it just one file for everyone? If it's the latter then this might be possible. Will a system where you upload the file to another script that processes it and gives out the data work? It can output HTML, you can paste it into your custom page and update it every now and then...
|
|
|
|
|
Logged
|
|
|
|
|
|
|