Read Replay online

Advertise your levels, contests, sites etc.

Moderator: Moporators

User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Read Replay online

Post by Coco »

I know some people made some tools like it...

If you have a file.lev then a file.rec : go to
http://trouvedec.free.fr/runreplay.

Because it is a java applet, you have to allow my script run on your browser.

I know there is work left to make it beautifull and to fix player layout. But I made it only for fun and have no more time to spend on it for the moment.
User avatar
The_BoneLESS
38mins club
Posts: 4604
Joined: 7 Sep 2003, 00:30
Team: HHIT
Location: Dangerously close to the St-Lawrence River
Contact:

Post by The_BoneLESS »

Very nice little tool...

sure there is some graphic work left to be done but, the project is very nice (though Domovoy's prog was quite similar and almost complete) and i would love to see it completed

Nice work!
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
User avatar
zworqy
Kuski
Posts: 3706
Joined: 19 May 2002, 23:17
Location: Lilla Edet, Sweden
Contact:

Post by zworqy »

maximum coalness!
<Fihlvein> another case of zworqy-is-always-right closed i guess
<yoosef> zworqy doesnt suck at anything
teajay
Donator duck
Posts: 10043
Joined: 3 Apr 2003, 17:53

Post by teajay »

Swell, only the head is too far down, it goes through walls and stuff.
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

good job

lazy Domovoy, don't finish rectoswf :(
Image
Image
Image
Image || 45:36,07
User avatar
A.K.B.
37mins club
Posts: 4123
Joined: 10 Dec 2005, 11:12
Location: Brisbane
Contact:

Post by A.K.B. »

well done! \o/ ez show friends recs at school now.
Image
1 Golden Apple Award: Rookie of the Year
FinMan wrote:I prefer AKB:s topics to Xratios ones :)
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

I fixed a bit better the head position...

I made, at home, a version with pictures (apples, flower, textures) but OutOfMemory comes quickly because of JRE performances so I will try to optimize my code, but it feels bad :(
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

I fixed some bugs about apple. Now, you can watch internal replay only giving your replay.

edit : Besides, i added some texture (food, killers and exit)
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

nice
can you use for food, killers and exit gif-objects?
and possible make then level and rec take from another servers (http)?
repeated viewing rec possible only after change one of the parameter, why?
Image
Image
Image
Image || 45:36,07
User avatar
ElToto
Kuski
Posts: 170
Joined: 8 Mar 2005, 15:55
Location: behind a monitor
Contact:

Post by ElToto »

nice feed back Maska, agree with that. But first nice work Coco !
Is the code readable or is it messy ? cause i'd be motivated to make it as lite as possible depending on your own java skills
tomorrow, i stop.
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Maska wrote:nice
can you use for food, killers and exit gif-objects?
and possible make then level and rec take from another servers (http)?
repeated viewing rec possible only after change one of the parameter, why?
it is gif for food, killers and exit... but used as texture on a circle.

now, you can read rec from another http server.
besides, you can loop on a replay without change of parameters (I haven't work a lot on layout and operability... sorry).
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Thanks Maska for your feedback (by PM) !

I added texture for vertex and now, it is possible to make a direct link by url

Code: Select all

http://trouvedec.free.fr/runreplay.php?level=http://www.server.com/replay.rec&replay=http://www.server.com/level.lev
Of course if replay is an internal level, level parameter is not needed.

Next version (may be during summer) will include (i hope) player skin.
User avatar
Kopaka
39mins club
Posts: 6611
Joined: 23 May 2002, 13:59
Team: LAME
Location: In a northern danish city beating YOUR record.
Contact:

Post by Kopaka »

Nice, was just hoping for such a feature :). Is it allowed to include it on ones own website?
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Lets go :

Get the archive
http://trouvedec.free.fr/RunReplay.jar

Then add applet tag in your html with :
- ARCHIVE="RunReplay.jar"
- CODE="RunReplay.class"
- ALT="Run Elastomania Replay"
- WIDTH=500
- HEIGHT=444
- ALIGN=middle

There are 2 parameters (no necessary needed) :
- NAME="replay" VALUE="urlofyourreplay"
and
- NAME="level" VALUE="urlofyourlevel"

For source code, send me a PM.
User avatar
zworqy
Kuski
Posts: 3706
Joined: 19 May 2002, 23:17
Location: Lilla Edet, Sweden
Contact:

Post by zworqy »

<Fihlvein> another case of zworqy-is-always-right closed i guess
<yoosef> zworqy doesnt suck at anything
User avatar
John
first 35tt
Posts: 4738
Joined: 28 Sep 2002, 19:42
Team: WNO
Location: Luleå, Sweden

Post by John »

hm a whole polygon was missing in tunnel terror :S
Image
User avatar
The_BoneLESS
38mins club
Posts: 4604
Joined: 7 Sep 2003, 00:30
Team: HHIT
Location: Dangerously close to the St-Lawrence River
Contact:

Post by The_BoneLESS »

John wrote:hm a whole polygon was missing in tunnel terror :S
indeed, in many levels (only internals for what i've seen) some floating polygons are invisible... (enigma, quick round, etc..)
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

I haven't tested all internals... :oops:

I will take a look next monday.
User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

Post by milagros »

damez, there go my chances to win gaa07
[carebox]
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

big big thanks
Coco wrote:There are 2 parameters (no necessary needed) :
- NAME="replay" VALUE="urlofyourreplay"
and
- NAME="level" VALUE="urlofyourlevel"
This paramets need write between <applets> ... </applets>
Use for his tag param
For example:

Code: Select all

    <applet code="RunReplay.class" archive="http://trouvedec.free.fr/RunReplay.jar" alt="Run Replay Online" width="500" height="444" align="middle">
    <param name="replay" value="http://club.elastomania.ru/files/replays/?id=1583">
     Java Launch Error !!!
    </applet>
Image
Image
Image
Image || 45:36,07
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Maska, you also could download the archive and put it directly on your own web site :wink: (avoid to depend of my web site)

I made some try with wheel skin and rotation... make applet run slowly (not very fluent) :cry: ! I will make a try only with wheel rotation (without any texture).

EDIT : I made correction about missing polygons for some levels. was due to texture painting order... biggest polygon is not always the first displayed !? so I force it to be paint first. Besides, I added wheel rotation.
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

Coco wrote:Maska, you also could download the archive and put it directly on your own web site :wink: (avoid to depend of my web site)
why? do you pay for traffic? don't unlim output?

can you display speed of work applet? if comp slowest this show.
And I saw bag, when apple don't take, but if see this rec in elma or repet in you applet his taken.
Image
Image
Image
Image || 45:36,07
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Maska, I would be interested by such a replay...
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

REC: http://club.elastomania.ru/files/replays/?id=1583 :) bag was with last apple
Now I see this rec again (with 20 open pages in Opera) and bag was again: http://masbot.hoyler.net/upload/bag.gif

And some one error: you don't check from what level this rec, and don't display level name if this internals
Image
Image
Image
Image || 45:36,07
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Maska wrote: And some one error: you don't check from what level this rec, and don't display level name if this internals
Right, the test is made into my code, but do nothing if level and replay mismatch... maybe a bit lazy :wink: ABout internal level name, what a surprise... if no name in level, no name displayed... I will take a look on 3 points you underlined.

THANKS for feedback

EDIT : I can't reproduce the bug with the replay you give me (on elma-france and at home). For internals name... I forgotten to give a name to each internal level I created :oops:

EDIT : internal names added. because of convexe vertex, 4 internals levels can not be viewed in texture mode (levels 39, 41, 48 and 53) so I added a param for the applet : NAME="texture" VALUE="off" that enables to watch run in standard mode.
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

Coco wrote:EDIT : internal names added. because of convexe vertex, 4 internals levels can not be viewed in texture mode (levels 39, 41, 48 and 53) so I added a param for the applet : NAME="texture" VALUE="off" that enables to watch run in standard mode.
This error have some externals. Can you detect in applet when this error appear and automatic setup for this replays texture = "off"? and add texture = "off" in get request runreplay.php.
Can you add (in right up part screen) what keys player press in this moment? for example: use for this defualt keys - cursor.
Image
Image
Image
Image || 45:36,07
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

If anybody may show me how to get key pressed by frame... I will do it !
User avatar
Xiphias
39mins club
Posts: 4099
Joined: 23 Nov 2004, 23:05

Post by Xiphias »

Coco wrote:If anybody may show me how to get key pressed by frame... I will do it !
A replay isn't built up that way.. you can't see the keypresses directly. I "studied" this some time ago... and I found out a few things... but it get's harder on many points (and there are so many things to look at)... when the rotation goes faster.. you're speeding one way or the other (which afflects the rotation).. turning.. If you suddenly hit a polygon and you start to rotate. (Could look like a Volt).. whatever..

ofcourse it's possible to use some mathematical formula but I don't think anyone cares that much about elma. Would take some time to figure out. But I'm also just a n00b at this.. It might be a bit easier than I think it is.

I remember milagros starting doing this... "The ultra haxor prog" but gave up i guess...


to tired to write anything more.. lol =P
Thorze wrote:I just wanted to make a cool topic like Juish have cool topics..
User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

Post by milagros »

Xiphias wrote:I remember milagros starting doing this... "The ultra haxor prog" but gave up i guess...
or maybe i didn't give up
[carebox]
User avatar
Xiphias
39mins club
Posts: 4099
Joined: 23 Nov 2004, 23:05

Post by Xiphias »

milagros wrote:
Xiphias wrote:I remember milagros starting doing this... "The ultra haxor prog" but gave up i guess...
or maybe i didn't give up
I don't believe ya!
Thorze wrote:I just wanted to make a cool topic like Juish have cool topics..
User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

Post by milagros »

Xiphias wrote:
milagros wrote:
Xiphias wrote:I remember milagros starting doing this... "The ultra haxor prog" but gave up i guess...
or maybe i didn't give up
I don't believe ya!
i dont really care
[carebox]
User avatar
Juski
Kuski
Posts: 2200
Joined: 26 Dec 2003, 20:53
Location: irc://irc.ircnet.org/ranks

Post by Juski »

Xiphias wrote:ofcourse it's possible to use some mathematical formula but I don't think anyone cares that much about elma. Would take some time to figure out. But I'm also just a n00b at this.. It might be a bit easier than I think it is.
what you would have to do is to take the information you have in the previous frame and use the algorithm from elma12.exe to predict the next frame, and if they don't match you will have to calculate the most likely keypress(es).

'I don't think anyone cares this much about elma'
1 person is enough :P
although i don't expect or belive this to ever be done (by any other than balacz (in elma2))
No regrets Image
Are you LOST?
User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

Post by milagros »

Juski wrote:although i don't expect or belive this to ever be done (by any other than balacz (in elma2))
i dont believe it will ever be spread:)
[carebox]
User avatar
Juski
Kuski
Posts: 2200
Joined: 26 Dec 2003, 20:53
Location: irc://irc.ircnet.org/ranks

Post by Juski »

milagros wrote:
Juski wrote:although i don't expect or belive this to ever be done (by any other than balacz (in elma2))
i dont believe it will ever be spread:)
._.
No regrets Image
Are you LOST?
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

Coco, what about speed playing now? now playing 1,5 sec in 1 sec.
Image
Image
Image
Image || 45:36,07
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

why not, I will take a look tomorrow

EDIT 23 July : That is done
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

thanks
can display what speed playing now?
Image
Image
Image
Image || 45:36,07
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

I kwew someone ask about ;o)

Speeds availables :

slow*3 = 100 milliseconds per frame (about 10 fps)
slow*2 = 67 ms/f (about 15 fps)
normal = 33 ms/f (about 30 fps)
fast*2 = 17 ms/f (about 59 fps)
fast*3 = 11 ms/f (about 91 fps)

I will make someting tomorrow
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Added a slider to the right to change frame per seconds.

3 => 120 fps (x4)
2 => 90 fps (x3)
1 => 60 fps (x2)
middle = 30 fps (normal)
-1 = 15 fps (/2)
-2 => 10 fps (/3)
-3 => 7 fps (/4)
User avatar
Maska
Kuski
Posts: 73
Joined: 1 Feb 2004, 14:41
Location: Russia, Saint-Petersburg
Contact:

Post by Maska »

if texture off don't display level name and time.
this properly?
Image
Image
Image
Image || 45:36,07
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

hum, i will take a look tomorrow... seems a bug !
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Post by Coco »

Done... I was writing in white color onto white area :oops:
nony
Kuski
Posts: 189
Joined: 11 Sep 2004, 22:09
Location: .ro

Post by nony »

i'd just like to point out that this is a great program that i use very often and so, with this post, to move it up the ranks in order to access it faster:)
User avatar
Rust
Kuski
Posts: 80
Joined: 27 Nov 2007, 16:23
Location: Russia, SPb

Post by Rust »

nice tool
TT: 45:01,xx Team EPC
1 - World Class . 3 - Professional . 18 - Good . 32 - Ok
My program for elma teams . Wood Kuski . Wood Kuski 2 . HER Cup Trophy
User avatar
Palme
Kuski
Posts: 375
Joined: 14 Oct 2006, 10:49
Location: Berlin
Contact:

Post by Palme »

doesn t work here :)
Apoku RuLeZ! X) http://teamapoku.funpic.de
Image

- me signature is good signature -
User avatar
totem
39mins club
Posts: 328
Joined: 26 Dec 2007, 14:04

Post by totem »

Palme wrote:doesn t work here :)
do you have Java plugin installed for your web browser ?
User avatar
Palme
Kuski
Posts: 375
Joined: 14 Oct 2006, 10:49
Location: Berlin
Contact:

Post by Palme »

Works now, dunno what was wrong yesterday, i changed nothing.

Kind of cool prog, but with pics and such would be better :P
Apoku RuLeZ! X) http://teamapoku.funpic.de
Image

- me signature is good signature -
User avatar
Polarix
Kuski
Posts: 995
Joined: 7 Jun 2007, 20:35
Team: TR
Location: Sandnes, Norway

Post by Polarix »

ah cool!
Image
User avatar
Coco
Kuski
Posts: 205
Joined: 20 Jun 2005, 14:41
Location: Bretagne
Contact:

Re: Read Replay online

Post by Coco »

Runreplay now can merge until 10 replays (only by url).
A exemple with 3 différent styles on "The Steppes".
Camera centered on first replay.

http://trouvedec.free.fr/runreplay.php? ... d10old.rec

Also make the map displayed bigger.
Be carefull not put a too tiny zoom factor... could crash Java Runtime :wink:

_________________
DaFred
39mins club
Posts: 417
Joined: 17 Jan 2007, 21:00

Re: Read Replay online

Post by DaFred »

Quite cool =)
Post Reply