Read Replay online
Moderator: Moporators
Re: Read Replay online
I got java error with that link +]
Re: Read Replay online
You have to get last version of Java Runtime Environment (Sun JRE) then applet have to be allowed by your browser (take a look to you browser perferences and security).tijsjoris wrote:I got java error with that link +]
Re: Read Replay online
oh heh, must be my ubuntu being flawed, sorry :*
Re: Read Replay online
besides a bump to this thread, maybe coco's here and will answer why some recs, as the one just posted today by xiph:http://mopolauta.moposite.com/viewtopic ... 23#p165323, will not work (i can see the bike moving, the apples, but no poly). and it's not the only situation...
anyway, great site/prog again!
anyway, great site/prog again!
Re: Read Replay online
as explained in a previous post of this topic, there are some levels for which i put textures into wrong order. only put texture mode off adding "&texture=off" into the url... i have to find right texture using for each vertex (haven't found it into file.lev) but currently not enough time for it
Edit : internal levels 39, 41, 48 and 53 are concerned
Edit : internal levels 39, 41, 48 and 53 are concerned
Re: Read Replay online
please advice, i don't know how to add &texture=off. show url or example or something...
Re: Read Replay online
Lets try each url to see the difference :nony wrote:please advice, i don't know how to add &texture=off. show url or example or something...
http://trouvedec.free.fr/runreplay.php? ... /ced10.rec
http://trouvedec.free.fr/runreplay.php? ... exture=off
So, I think next url allows you to launch applet with the mode you are searching for :
http://trouvedec.free.fr/runreplay.php?texture=off
Re: Read Replay online
Coco, plz make more correct support old parameters "width" and "height". I think bike must be on center, but not on bottom.
For example see: http://club.elastomania.ru/rus/stuff/re ... n/?id=1847
For example see: http://club.elastomania.ru/rus/stuff/re ... n/?id=1847
Re: Read Replay online
working on it... i have some trouble with replay auto-launch (a square of 10pix by 10pix displayed, I don't know why...)
but you can add 2 parameters between applet tags :
with mapw = applet width - 39 and maph = applet height - 36...
besides, if replay given in url, textfields for replay, level and zoom are hidden.
but you can add 2 parameters between applet tags :
Code: Select all
<APPLET code="RunReplay.class" archive="RunReplay.jar" alt="Run Replay Online" WIDTH=339 HEIGHT=236 ALIGN=middle>
<PARAM NAME="mapw" VALUE="300">
<PARAM NAME="maph" VALUE="200">
Error
</APPLET>
besides, if replay given in url, textfields for replay, level and zoom are hidden.
Re: Read Replay online
It work fine nowMaska wrote:Coco, plz make more correct support old parameters "width" and "height". I think bike must be on center, but not on bottom.
For example see: http://club.elastomania.ru/rus/stuff/re ... n/?id=1847
1) map size based on heigth and width of applet tag (maph and mapw no more needed)
2) bug of auto-launching corrected
3) for the 4 internals where textureMode doesn't work, I forced the no texture mode
So, the only trouble is about java VM heap size memory => if your applet size is too high and/or the level too big and/or the zoom used to small, nothing will append and into the JVM console, you'll see a "outOfMemory" error but all internals should work fine for you
For people who want to add the applet in their website :
Code: Select all
<APPLET code="RunReplay.class" archive="http://trouvedec.free.fr/RunReplay.jar" alt="Run Replay Online" WIDTH=339 HEIGHT=236 ALIGN=middle>
Error
</APPLET>
you also can download http://trouvedec.free.fr/RunReplay.jar then upload it to your wab site then only put archive="RunReplay.jar", to become independant of free.fr but you'll need to do it each time a new version will be made (not really often).
Please, lets tell me (give me url by PM to allow me enjoying your work) who use it to know if it is a usefull work.
Enjoy it.
- Kopaka
- 39mins club
- Posts: 6612
- Joined: 23 May 2002, 13:59
- Team: LAME
- Location: In a northern danish city beating YOUR record.
- Contact:
Re: Read Replay online
Great work coco, some nice fixes.
Dunno if you know but it's running on the elma online site, where you can see battle winning replays with it, for example http://elmaonline.moposite.com/?s=replayonline&b=406
Dunno if you know but it's running on the elma online site, where you can see battle winning replays with it, for example http://elmaonline.moposite.com/?s=replayonline&b=406
Re: Read Replay online
didn't knowKopaka wrote:Dunno if you know but it's running on the elma online site, where you can see battle winning replays with it, for example http://elmaonline.moposite.com/?s=replayonline&b=406
summary :
parameters :
level=<url of the external level (is it is internal, not needed)>
replay=<url of the 1st replay>
replay2=<url of the 2nd replay>
...
replay10=<url of the 10th replay>
zoom=<integer value (default value=20)>
texture=<on/off>
running :
if a replay is given through the url,
it is launched automatically and replay + level + zoom textfields are hidden
else
you can select a local file or write a url for replay + level textfields and zoom textfield is initialized with 20.0
if several replays given, they are merged... no control made on replays given so possible to watch funny things even crash the applet if you give bad replay
Re: Read Replay online
I think I fixed bug concerning texture for some levels. now all internals must be well displayed
Re: Read Replay online
Added 2 parameters to allow you to show only a part of a replay :
start=<number of the frame>
end=<number of the frame>
exemple : there is 30 frames per second, so to show a replay between second 5 and second 15, you have to set "start=150" (5*30) and "end=450" (15*30)
start=<number of the frame>
end=<number of the frame>
exemple : there is 30 frames per second, so to show a replay between second 5 and second 15, you have to set "start=150" (5*30) and "end=450" (15*30)
Re: Read Replay online
Code: Select all
ulaanaa dit (10:41) :
where is show to friend url?
Mawane dit (10:41) :
u must edite the url
ulaanaa dit (10:41) :
where is url editor?
btw, would be nice to create url
and adding "Replay 2, 3, etc..."
Re: Read Replay online
1) create url !? I don't understandMawane wrote:btw, would be nice to create url
and adding "Replay 2, 3, etc..."
2) adding input for replays 2,3,... would make the map displaying the replay too tiny and would not concerne enought people to do that. url is the only alternative...
Added 3 parameters (but quite difficult to find x and y) :
fixedcamera=on/off
fixedx=<integer>
fiwedy=<integer>
Re: Read Replay online
we shouldnt need to edit the url by ourself, it should be accessible even to noobs that cant do itCoco wrote:1) create url !? I don't understandMawane wrote:btw, would be nice to create url
and adding "Replay 2, 3, etc..."
2) adding input for replays 2,3,... would make the map displaying the replay too tiny and would not concerne enought people to do that. url is the only alternative...
Added 3 parameters (but quite difficult to find x and y) :
fixedcamera=on/off
fixedx=<integer>
fiwedy=<integer>
when selecting replay and lev, url stay the same after clicking start. idea would be to generate automaticly something like this after uploading them:
http://trouvedec.free.fr/runreplay?replay=http://mopolauta.moposite.com/download/file.php?id=327&replay2=http://mopolauta.moposite.com/download/file.php?id=328&level=http://mopolauta.moposite.com/download/file.php?id=326
and for that replay2, 3, etc maybe you could hide it but possibility to show for uploading, no? too much work?
Re: Read Replay online
there is prolly some bug with apple indexing
if you open markku's mawpi239 rec (in the challenge topic), apples disappear in the wrong order
if you open markku's mawpi239 rec (in the challenge topic), apples disappear in the wrong order
[carebox]
Re: Read Replay online
thanks for feedback, milagros
totem told me about when he was writing his "run replay offline" and gave me the solution.
I will correct it soon.
totem told me about when he was writing his "run replay offline" and gave me the solution.
I will correct it soon.
Re: Read Replay online
why this doesnt work for me here at school?
Code: Select all
http://trouvedec.free.fr/runreplay?replay=http://mawcup.sshoyer.net/dlrec.php?rec=57&e=1level=http://mawcup.sshoyer.net/dllev.php?lev=1
Re: Read Replay online
Edit: its not a link to level, Mawane, its just a download link.
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Re: Read Replay online
Instead of linking to the level/replay file, you are linking to a script which obtains the level/replay file once executed. Not the same thing.
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
Re: Read Replay online
ah, so with php, there's no way to get it unless i upload somewhere else...
Re: Read Replay online
Correctedmilagros wrote:there is prolly some bug with apple indexing
if you open markku's mawpi239 rec (in the challenge topic), apples disappear in the wrong order
Why don't you build in my applet to you web site ? with direct link to the replay files (could solve something about your problem).Mawane wrote:why this doesnt work for me here at school?
- Kopaka
- 39mins club
- Posts: 6612
- Joined: 23 May 2002, 13:59
- Team: LAME
- Location: In a northern danish city beating YOUR record.
- Contact:
Re: Read Replay online
you have to create the lev/rec files from the binary data in the db, place them somewhere on the server and link to those filesMawane wrote:ah, so with php, there's no way to get it unless i upload somewhere else...
Re: Read Replay online
Updated applet to support multi-replays (screen splited).
If you add several single-replays (thanks to parameters replay, replay2, ..., replay10), screen will also be splited.
http://trouvedec.free.fr/runreplay.php? ... ec&zoom=30
If you add several single-replays (thanks to parameters replay, replay2, ..., replay10), screen will also be splited.
http://trouvedec.free.fr/runreplay.php? ... ec&zoom=30
- Kopaka
- 39mins club
- Posts: 6612
- Joined: 23 May 2002, 13:59
- Team: LAME
- Location: In a northern danish city beating YOUR record.
- Contact:
Re: Read Replay online
that's awesome, good job! (:
Re: Read Replay online
apple disapearing bug here:
http://elmaonline.moposite.com/?s=replayonline&b=1379
http://elmaonline.moposite.com/?s=replayonline&b=1379
Re: Read Replay online
Corrected a bug in multi replays.
Tried with the last version, no problem. You should update RunReplay.jar http://trouvedec.free.fr/RunReplay.jarMawane wrote:apple disapearing bug here:
http://elmaonline.moposite.com/?s=replayonline&b=1379