The online racing simulator
Searching in All forums
(14 results)
Viperius
S2 licensed
Quick question regarding the identification keys. I'm updating the LFS module for mUtil ( http://users.pandora.be/viperius/mUtil/ ) as it didn't work anymore with the 1.3 update. It now works again (not yet deployed); however i'm using my own ident key. Is this a problem seeing multiple people will use this program to retrieve the hosts info? The ident key should be coupled to an application instead of a user account in this case. I could off course require the users to enter their own ident key, however that option isn't very user friendly imo.
Viperius
S2 licensed
Quote from kel64 :That can't be done currently.

Ah ic. Too bad, did my pb with that set .

Thx for the reply .
Extracting setup from spr
Viperius
S2 licensed
I've downloaded a hotlap from lfsworld. When viewing the hotlap, you can also "test drive" the setup. Is it possible to save this setup? In other words, extract that setup from the spr?

If this is something which isn't allowed, no problem. But i'm just not sure if i've missed something somewhere in the options screens.
Viperius
S2 licensed
Quote from Anarchi-H :Only the way you are using. There used to be a racer list for S1, but Victor decided not to make the same script available for S2.

IMO, for your app, you should have a 'proxy' that your application connects to. This could be a simple web script that fetches and caches lfsworld data every 60 seconds. Given 100 concurrent users, this would result in ~25k every 60 seconds from the lfsworld servers as opposed to 250k.

Obviously it's another stage to go wrong, but it creates an adhoc kind of distributed network which will allow the lfsworld servers to go a little further.

Good idea, the proxy could provide an interface with the stuff i want, so there wouldn't have to go 25k/60s from the proxy to every user. Only problem is, i don't have a webserver (which allows that kind of scripting) available. And since its something i think multiple apps could benifit of i'd rather have that at the side of lfsworld.
Viperius
S2 licensed
Would there be any way to give a query of a certain user (or even better - users (to reduce the connections made)) to see if he's online or not, and if he is the server info (or name, and then a seperate query for the server info)?

Atm i'm using the hosts script to get this info, but when refreshing every 60s it is still a rather big burden on the server i think (25kB/query). Atm i'm the only one using the program, but if i'd distribute it i'd imagine this becoming a problem... (systray program which gives a notice when a buddy comes online, and gives the server info, lets you join etc.)
Last edited by Viperius, .
Viperius
S2 licensed
Quote from Victor :aha - then it should open in a new browser now (with your previous Show Images setting)

Yup
Viperius
S2 licensed
Quote from Krane :
They do open in a new window, there's something wrong in your browser or you have Firefox in single window mode. See here how to create a new profile.

Hmmm, when i browse the source, i'm getting this:


<fieldset class="fieldset">
<legend>Attached Images</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td><a href="attachment.php?attachmentid=151">KIF_2753_resize.JPG</a> (153.1 KB, 265 views)</td>
</tr>
<tr>
<td><img class="inlineimg" src="images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td><a href="attachment.php?attachmentid=152">KIF_2754_resize.JPG</a> (166.7 KB, 260 views)</td>
</tr>
<tr>
<td><img class="inlineimg" src="images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td><a href="attachment.php?attachmentid=153">KIF_2755_resize.JPG</a> (145.0 KB, 214 views)</td>
</tr>

</table>
</fieldset>

So no target="_blank" here :s. Layout seems different too.

Edit: when i set in my profile options "Show Images (including attached images and images in [IMG] code)" to checked, i do get that layout you quoted, and it does open in a new window (haden't changed that setting before though).
Last edited by Viperius, .
Viperius
S2 licensed
http://www.lfsforum.net/showthread.php?t=224

The pictures in this thread (first post) open in the same window here (ffox).
Viperius
S2 licensed
Great, thx alot .
Viperius
S2 licensed
Quote from the_angry_angel :I hate AJAX-style interfaces for parsing too

I'll have a think during lunch to see what I can come up with.

No idea's yet on how to do this? Atm. i'm having to input the buddies manually; works ok but not very user friendly if you have alot of buddies.
Viperius
S2 licensed
Quote from latch :Just as in GPL, we need a way to specify qualifying and race setup before the action begins. Same goes for qualifying and race fuel loads.

At the moment, you need to remember to change your setup between qualifying and the race, which is a little inconvenient.

Just wanna say i'm all for this idea .
Viperius
S2 licensed
Quote from the_angry_angel :Hmmmmm, without logging in as your self through a script and parsing the page using regexp, I cant see of a way of doing it atm.

Well, had a look to do it that way (a short look ), but can 't seem to get the info i need (using the page source in the browser). Its all java modules which get included, not sure how to get the info in those modules.
Viperius
S2 licensed
http://forum.rscnet.org/showthread.php?t=212213&page=1

Thats the info on that btw, used it yesterday .

And since i'm posting, might as well ask a question . I'd like to find a way to retrieve the "buddies" on lfsworld. Anyone know if this is possible, and how?
Viperius
S2 licensed
AMD Athlon 64 X2 4200+
MSI K8N SLI Platinum
MSI GeForce 7800 GTX 256MB DDR3
2x512MB DDR400
22" iiyama CRT & 19" philips LCD
Some HD's, writer, ...

It would be nice to have LFS multithreaded .
Last edited by Viperius, .
FGED GREDG RDFGDR GSFDG