skintatious.net > back in new form \o/
Moderator: Moporators
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
A little more hoyling and i'll pass Markku in the SKhoyl levels...
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Think i made him angry...The_BoneLESS wrote:A little more hoyling and i'll pass Markku in the SKhoyl levels...
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
- Juski
- Kuski
- Posts: 2200
- Joined: 26 Dec 2003, 20:53
- Location: irc://irc.ircnet.org/ranks
about teh faq this could be written better:
How are the points counted?
1st place is worth 15pts, 2nd place is 10pts, 3rd place is 8pts, 4th is 7pts, etc.
leik this:
atleast i think thats how you give teh points ;X
(seriously i couldnt find anything better to complain about, this site is too great >_<)
How are the points counted?
1st place is worth 15pts, 2nd place is 10pts, 3rd place is 8pts, 4th is 7pts, etc.
leik this:
Code: Select all
1st 15
2nd 10
3rd 8
4th 7
5th 6
6th 5
7th 4
8th 3
9th 2
10th 1
(seriously i couldnt find anything better to complain about, this site is too great >_<)
No regrets
Are you LOST?
Are you LOST?
Changed the pointing system to include the top20 players for each level instead of just ten, rewarding those that send in their times no matter how crappy they might be.
Also, #skintatious is teh place to be!
Code: Select all
1. 35
2. 25
3. 20
4. 18
5. 17
6. 16
7. 15
8. 14
9. 13
10. 12
11. 10
12. 9
13. 8
14. 7
15. 6
16. 5
17. 4
18. 3
19. 2
20. 1
Prestigious member of 14.6x Tutor14 club
Would you be interested in a "reward" section, where you could get rewarded for accomplishing certain things? Let's say every now and then there could be something like: "first person to get under 25,00 on xxx lev gets 10 euro". Or do you think it would kind of interfere with the whole feeling of the site?
WTF???? Playing elma for real money????????
(on the home page, when sending better time for same lev soon after last sent)
Guess my suggestion is to remove those old times from that list - i.e. when one sends better time, the old "record" should be removed (and every player has only one line there per lev).
Or maybe keep somewhere those "old" times and display them instead of "None" - as something like tracking the development of player for certain level.
PS:
seriously i couldnt find anything better to complain about, this site is too great
This is because the change I just did in order to make the replay sharing feature easier to creater later on. Before, the database would overwrite your old times with new ones, it no longer does that.
And if you understand this: because of the idiocy of MySQL and not being able to do an ORDER BY before a GROUP BY, this is the result. I decided it would be better to display those times with placement as "none" instead of removing the rows and make the newest records table shorter than the newest users table.
And if you understand this: because of the idiocy of MySQL and not being able to do an ORDER BY before a GROUP BY, this is the result. I decided it would be better to display those times with placement as "none" instead of removing the rows and make the newest records table shorter than the newest users table.
Prestigious member of 14.6x Tutor14 club
I sent a replay I already have sent because I forgot to have sent it (my own replay).Upload a record
This replay already exists in the database, suggesting that you just tried to upload somebody else's replay as your own. This has been logged and I have been notified, might I suggest you don't try it again?
Now, if for some strange reason you believe this to be an error, just contact me and I'll look into it.
Guess it would be better to check if the existing replay belongs to the user who uploaded it (again) and echo, say different less frightening warning
It is now finally possible to share your replays! You can find a link to the replay sharing page from the user menu. If you've shared a replay, there will be a link to it in all the record lists. There is also a list of the best shared replays for each level on the downloads page of course.
Let me know if you see anything strange, I've tested it as much as I can and right now it should be working fine.
You might see the text "Not shareable" next to some of your times. This is either because it was uploaded before I added a few security measures on the site, or because you've changed your nick (shame on you).
Linkz
Let me know if you see anything strange, I've tested it as much as I can and right now it should be working fine.
You might see the text "Not shareable" next to some of your times. This is either because it was uploaded before I added a few security measures on the site, or because you've changed your nick (shame on you).
Linkz
Prestigious member of 14.6x Tutor14 club
- Ky.Jelly
- Flood to teh MAX
- Posts: 4009
- Joined: 20 May 2002, 21:40
- Location: Ramarama, Auckland, New Zealand
- Contact:
finally teh moment i have been waiting for, i am lazy you see,
i have uploaded all my skint times as "t.rec", "u.rec" , "i.rec" etc
caus im to lazy to be bothered naming all my recs proper
the problem is that i have overwritten all my recs so many times, i dont have any of my recs,
now thanks to the brilliance of skint0r i can just keep uploading my "i.rec" etc and then share them and download them to my rec file and they are all (thanks to skints filing system) named correctly for me, couldnt be more simple or more lazy,
thanks skint :*
i have uploaded all my skint times as "t.rec", "u.rec" , "i.rec" etc
caus im to lazy to be bothered naming all my recs proper
the problem is that i have overwritten all my recs so many times, i dont have any of my recs,
now thanks to the brilliance of skint0r i can just keep uploading my "i.rec" etc and then share them and download them to my rec file and they are all (thanks to skints filing system) named correctly for me, couldnt be more simple or more lazy,
thanks skint :*
[10:51:18] <skint0r> i could SACh see KyJelly working at ICA ;D
[10:51:37] <skint0r> "vad kostar denna?" "wtf ch0b0"
Thursday, March 2nd 2005, 0942 i was 3333 [4.43% of total / 3.25 posts per day]
[10:51:37] <skint0r> "vad kostar denna?" "wtf ch0b0"
Thursday, March 2nd 2005, 0942 i was 3333 [4.43% of total / 3.25 posts per day]
haha cute kyKy.Jelly wrote:finally teh moment i have been waiting for, i am lazy you see,
i have uploaded all my skint times as "t.rec", "u.rec" , "i.rec" etc
caus im to lazy to be bothered naming all my recs proper
the problem is that i have overwritten all my recs so many times, i dont have any of my recs,
now thanks to the brilliance of skint0r i can just keep uploading my "i.rec" etc and then share them and download them to my rec file and they are all (thanks to skints filing system) named correctly for me, couldnt be more simple or more lazy,
thanks skint :*
i'm glad too. i lost all my recs, so now i can get them back. then i might bother playing again yay
I just finished making the rewards section. I also put up the first reward for you there, good luck with that .
Prestigious member of 14.6x Tutor14 club
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Cool, i'll definitly give it a shot, even though it looks impossible
and i also remarked that i could share replays so, all my replays are now shared ( not the greatest times but still, )
and i also remarked that i could share replays so, all my replays are now shared ( not the greatest times but still, )
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
Then you need to figure out a new one, go here http://www.xml-dev.com/blog/sha1.php and write your password there, give me the md5 result in private and I will change it.
Then I suggest you remember it :S
Then I suggest you remember it :S
Prestigious member of 14.6x Tutor14 club
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Well, if you take a look at the source code, i guess it must be because of this part :
That cannot round up a let's say 23.999 time to 24. It only takes a big number ( which represents the time ... and i would love mila, viper or skint to explain that to me ! ) and divides it. This way, it calculated the number of minutes, seconds and milliseconds, separatly. You would have to make another type of calculation to get a rounded up time...
Not sure if i'm right but, that's what i understand from that. ( i don't do PHP but, suddenly, i feel like learning it ). It looks a little like Javascript...
Code: Select all
/* If the replay is finished, do some weird calculatinons
and set $outtime to the time in the format 0:00,00 */
if ($time >= 0) {
$i = $time * 62500 / 273;
$outtime = sprintf("%01d:%02d,%02d", $i/6000, ($i/100)%60, $i%100);
}
Not sure if i'm right but, that's what i understand from that. ( i don't do PHP but, suddenly, i feel like learning it ). It looks a little like Javascript...
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
Hey! I used skints recinfo script (http://www.skintatious.net/src/getRecInfo.phps) and when I want the levelname of replay Sk001nIN.rec it writes: "skint001.lev??" with some shitty ??s. I was wondering if anyone knows why this happens? How should I do to get rid of the two last '??'s?
Here's my code if it might help:
I would very much apprechiate some help
Here's my code if it might help:
Code: Select all
$time = getRecInfo($target_path2, t);
$level = getRecInfo($target_path2, l);
mysql_query("INSERT INTO allreplays VALUES('$user','$level','$time','$target_path2','$todaydate')");
Team HotHorses, and I'm converting to Icelandian now...
level file name is allowed on (around) 15 characters plus "end of string" (EOS) character.
the script you use pick up a bloc of 16 characters into the replay file.
so, if you try to display it, the result is :
[m][y][l][e][v][e][l][.][l][e][v][\0][?][?][?][\0]
so, try to find first EOS character.
$iPos = strpos("\0",$name);
if($iPos>=0) { $name = substr($name,0,$ipos); }
the script you use pick up a bloc of 16 characters into the replay file.
so, if you try to display it, the result is :
[m][y][l][e][v][e][l][.][l][e][v][\0][?][?][?][\0]
so, try to find first EOS character.
$iPos = strpos("\0",$name);
if($iPos>=0) { $name = substr($name,0,$ipos); }
hm, I'm not sure if I understand that code. I tried this:
But now there's no level name at all :/. What did I do wrong?
EDIT:
I really dont think that's whats wrong, since the script worked perfectly fine in skint0rs site. Skint, you made the script, do you know what might be wrong?
Code: Select all
$time = getRecInfo($target_path2, t);
$level = getRecInfo($target_path2, l);
$iPos = strpos("\0",$level);
if($iPos>=0) { $level = substr($level,0,$ipos); }
mysql_query("INSERT INTO allreplays VALUES('$user','$level','$time','$target_path2','$todaydate')");
EDIT:
I really dont think that's whats wrong, since the script worked perfectly fine in skint0rs site. Skint, you made the script, do you know what might be wrong?
Team HotHorses, and I'm converting to Icelandian now...
Coco is quite right. Actually I remember running into this problem myself way back. I guess I never got around to fixing it because it wasn't an issue for me as I was using regular expressions to match level names.
Coco's example seems quite right too, but like you I couldn't get it to work no matter what I tried. Anyway, here's another way to do it, although probably not as elegant -- at least it works until you figure something else out.
Coco's example seems quite right too, but like you I couldn't get it to work no matter what I tried. Anyway, here's another way to do it, although probably not as elegant -- at least it works until you figure something else out.
Code: Select all
if (preg_match('/^(.+[^\x00])/', $level, $matches)) {
$level = $matches[1];
}
Prestigious member of 14.6x Tutor14 club
Unfortunately that code doesn't work . Now the name of the level comes out like: "Alu950.lev�v" with teh '?v' instead. On some replays this problem never occur, like in the Nin01.rec the levelname is: "nIN001.lev". But in nin08Bon.rec the levelname is: "nIN008.lev?v". A theory which I have is that it has something to do with teh name of teh replay-file. I will try and change the name of the replay in my script and get back to you if it doesn't work. Will edit this post later on.
Team HotHorses, and I'm converting to Icelandian now...
That code didn't work, and my theory wasn't right (the one where I thought that the reason to why the ??'s appear is becaues of the levelname). Any other ideas?skint0r wrote:Code: Select all
if (preg_match('/^(.+[^\x00])/', $level, $matches)) { $level = $matches[1]; }
Team HotHorses, and I'm converting to Icelandian now...
Code: Select all
$k = strpos($level, '.lev');
if ($k > 0) {
$level = substr($level, 0, $k+4);
}
Prestigious member of 14.6x Tutor14 club
I dont mean to be a pain in the arse, but that has the same effect as the previous codeskint0r wrote:Code: Select all
$k = strpos($level, '.lev'); if ($k > 0) { $level = substr($level, 0, $k+4); }
Unfortunately that code doesn't work. Now the name of the level comes out like: "Alu950.lev�v" with teh '?v' instead. On some replays this problem never occur, like in the Nin01.rec the levelname is: "nIN001.lev". But in nin08Bon.rec the levelname is: "nIN008.lev?v".
Team HotHorses, and I'm converting to Icelandian now...
I'm pretty sure I didn't mix them up. Here's the code:skint0r wrote:Are you completely sure you're not mixing up the variables or something? I can't see how there's any chance at all of that code not working :S
Code: Select all
$target_path = "orig/a.rec";
if(substr($_FILES['uploadedfile']['name'], strlen($_FILES['uploadedfile']['name'])-3, 3) == "rec")
{
move_uploaded_file( $_FILES['uploadedfile']['tmp_name'], $target_path );
$k = strpos($level, '.lev');
if ($k > 0) {
$level = substr($level, 0, $k+4);
}
$level = getRecInfo($target_path, l);
echo $level;
Team HotHorses, and I'm converting to Icelandian now...
Code: Select all
...
$level = substr($level, 0, $k+4);
}
$level = getRecInfo($target_path, l);
Prestigious member of 14.6x Tutor14 club
Hah Indeed I did! I moved the variable and it worked. 1k thanks skint0r!skint0r wrote:You are overwriting the variable?Code: Select all
... $level = substr($level, 0, $k+4); } $level = getRecInfo($target_path, l);
Team HotHorses, and I'm converting to Icelandian now...
I'm planning on making a movie with various replays on my levels, so just a little note to the record holders: please consider sharing your records for it (not necessarily the rec files, but give me permission to use them in the movie at least). So far at least Jeppe, Markku, axxu, Zweq and Tm have given permission for their replays, but it'd be nice to have more (I've asked anpdad, Red, Matte and ap also, but no replies yet).
I haven't decided what levels/replays to show, and it might not just be the first place records, maybe I'll throw in some alternative or funny styles there as well. It'll be something along the lines of Elma Done Quick, but with a slightly more "chill" mood over it perhaps. I've already gotten quite far with it from the replays I have permission for so far, and it shouldn't take as long to do as EDQ did, since I don't have to rely on other people too much, and hopefully won't have to beg for too many recs. Plus I have the mood for it right now.
Anyway, I know the site isn't exactly too active anymore, but if there's any replays you wish to see in the movie, tell me here and maybe they'll be shown. Other ideas very welcome as well :*
I haven't decided what levels/replays to show, and it might not just be the first place records, maybe I'll throw in some alternative or funny styles there as well. It'll be something along the lines of Elma Done Quick, but with a slightly more "chill" mood over it perhaps. I've already gotten quite far with it from the replays I have permission for so far, and it shouldn't take as long to do as EDQ did, since I don't have to rely on other people too much, and hopefully won't have to beg for too many recs. Plus I have the mood for it right now.
Anyway, I know the site isn't exactly too active anymore, but if there's any replays you wish to see in the movie, tell me here and maybe they'll be shown. Other ideas very welcome as well :*
Prestigious member of 14.6x Tutor14 club
Well.. I aint no pro and all but I do actually got one best time. I'd love to be in this movie! The replay isn't all that good, and Markku will probably beat it when he read this, but I'd still like to go ahead and take the shot. Please use my:
BaSk0119: annoyo system
1. 0:18,91 SWE katten
The replay has already been shared on your site.
BaSk0119: annoyo system
1. 0:18,91 SWE katten
The replay has already been shared on your site.
Team HotHorses, and I'm converting to Icelandian now...
May I make the soundtrack to this? Please, I wane really much! If not; then may I suggest some songs? =) Maybe I could send some to you on msn or somethings, thanks =)
Team HotHorses, and I'm converting to Icelandian now...