The online racing simulator
Searching in All forums
(23 results)
tehkahless
S2 licensed
take a look at what i've done a while ago ..
http://goim.us/wiki/show/LFS

you can use an iframe or javascript ..
e.g.
<script language="JavaScript" type="text/javascript" src="http://goim.sphene.net/lfs/listRacersJS?racer=tehkahless&racer=iceberg&racer=wierwolf"></script>

or .. iframe would look like:
<iframe src="http://goim.sphene.net/lfs/listRacers?racer=tehkahless" width="500" height="100" frameborder="0">Your browser does not support IFrames</iframe>

the iframe version is used by e.g. teamweizen: http://www.teamweizen.de (see "Teammembers online")

cu,
herbert

tehkahless
S2 licensed
Quote from mitchell12 :Sounds alot like xfire only Xfire does not work with lfs.

if i remember correctly, xfire already works with LFS ? but anyway .. you should still give goim a try
Gamers Own Instant Messenger
tehkahless
S2 licensed
Hi,
I've already posted a while ago about the jabber - lfs transport and stuff while it was still very experimental.

I've now released GOIM (Gamers Own Instant Messenger) 1.0.3 - an open source jabber client which can show on which game servers your contacts are currently playing - which has support for LFS and dozend of other games as well as an InGameMessenger which allows you to receive and send messages from inside (almost) any DirectX 8 game (like LFS ).
And of course it also supports the LFS transport i've written (see my last post.. it still works the same way). see http://goim.us for more information.

Ah .. and.. there's also a XFire Gateway which allows you to chat with your xfire buddies, see them playing, joining them, and transmit your game connections to your xfire buddies: http://xfirelib.sphene.net/wiki/show/XFireGateway

Altough GOIM is (IMO) already quite useable, I'm searching for people (or preferable teams) who are willing to regularly use the IM and provide feedback. I could provide custom features for teams, like helping them setting up their own jabber server to have @my-team.com Jabber IDs, giving custom statistics, making custom status icons or racer lists like i've did for displaying LFS status: http://goim.us/wiki/show/LFS .. which is already in use by e.g. http://dprt.dk/ (scroll down to 'DPRT racers online') or http://www.dsk-racing.de/index ... tic&page=driveronline

cu
Herbert Poul
http://goim.us
Email: [email protected]
Jabber Id: [email protected]

P.S. Hope you don't mind this small advertisement... Since it's just an open source project without any revenue, i can't make contracts with leagues or game publishers so you have to download the IM to get to download game demos, videos or whatever
tehkahless
S2 licensed
sorry for getting back to the first page of this thread which seams a little off topic right now .. but anyway ...

Quote from luzik :I am big opensource fan but:
1. Scawen, Eric and Victor must eat, as far as i know they life from LFS, and with opensource and whatever licence you will be very dificult to keep promise that they will get same money as now.
2. I even can't imagin how to control such big project, how to control best quality of new tracks/cars ...and prevent from forks (this is vary bad for comunity)

I don't know what's the problem everyone seams to have with opensource .. you might not want to put it under a GPL-like license where everyone can fork and distribute as they want.. but imagine if everyone could patch LFS to see how it fits.. post it on the board for testing .. and if a few think it improves LFS the devs can see how (and if) they can use this patch... Currently the only way for the community to give input is by making verbal suggestions without even knowing how they would effect the gameplay/feeling in LFS ..
(the license would need to make sure that authors who modify the code need to resign from their rights on those changes which need to be transferred to the LFS devs if they decide to use it)
OpenSource does not necessarily mean that you give it away for free .. just that you provide the source code to customers

and i guess there are enough skilled people in the LFS community who have the passion to dig into the code and manage to make valuable additions.. i don't think there would be too much work necessary on the LFS devs- side

of course it might make it easier for crackers to circumvent the registration .. but this already exists (at least for S1 .. since i bought S2 afterwards i never looked for a S2 crack) .. so even with the source it wouldn't be any different .. and .. the market of LFS is at internet-multiplayer and competetive leagues (afaik ?) .. and both can be controlled by the LFS devs themselves .. i don't think an illegal fork would have much success in driving away revenue ..

the only other problem with publishing the source might be to opening some implementation secrets to competitors .. well .. i have not much clue about car physics .. and altough i'm quite sure there are some very nice tricks and beautiful algorimths designed by the LFS devs in it.. i can't imagine that any major LFS competitor wasting time and money to learn and understand the implementation of LFS to use them illegally in their own products.. i guess it would take weeks or months to find something which can just be used that easily .. and if .. imagine the reactions if some employee of EA or whatever would publish they needed steal code from another game .. that would be just insane ..

anyway . i think it would quite fit into the unusual development process of LFS .. using techniques and idiologies managers in big (game) companies wouldn't even consider in their nightmares ..

well .. the devs will find their way to have the most fun producing LFS .. (and still make a living out of it).. it's quite impressive what they did so far .. so no doubt that they know how to plan,code,design,organise and publish/distribute their product best (and created a loyal active community around it) ..
tehkahless
S2 licensed
i've now created a small site explaining the three ways to include an online indicator for LFS racer in someone's website:
http://goim.sphene.net/wiki/show/LFS .. if any1 is interested, you can use it.. you may drop me a line if you use it .. or tell me if you have any problems using it ..

btw. why doesn't LFS world offer such an indicator directly ?
tehkahless
S2 licensed
is there a way to resolve a LFS username to the Player name used inside the game ? (when i ask for the server list i get the usernames .. but i would like to display the player names) .. any ideas ?
tehkahless
S2 licensed
Quote from ellis_dee :
I am skeptical about forced playing options, I like it better, if the fastest guys gives away his set to anybody just to see he is still the fastest. Good sportmanship behavior and not making ppl drives setups they dont like.

imho it would be best if there would be an option to automatically allow everyone to download the setup from you .. it really sucks if after every race 10 people are asking the leader for his setup.. was some kind of this was already suggested/discussed ?

(it might also be helpful if there would be some 'credit' section included in each setup .. where the author can write who he is, when he has done it, for which tracks, link to his homepage, maybe a little hint on how to handle it .. )
tehkahless
S2 licensed
<script language="JavaScript" type="text/javascript" src="http://goim.sphene.net/lfs/listRacersJS?racer=tehkahless&racer=iceberg&racer=wierwolf"></script>

<-- just add the racer usernames one by one to the url .. racer=firstracer&racer=second&...
tehkahless
S2 licensed
i don't know if i fully understand what you are looking for .. but .. if it is a way to display a racer's server where he is playing on your site .. you may look at this thread (otherwise.. just ignore me.. and count it as advertisement ):
http://www.lfsforum.net/showthread.php?t=584 .. way down is a description of two things i made .. one which displays the status of a user as a image:
http://goim.sphene.net/lfs/statusImage/<racer name> e.g. http://goim.sphene.net/lfs/statusImage/tehkahless

and a second when you want to display more than one user.. with link and the server name in colors .. i've created a javascript ..
<script language="JavaScript" type="text/javascript" src="http://goim.sphene.net/lfs/listRacersJS?racer=tehkahless&racer=iceberg&racer=wierwolf"></script>

see http://yourhell.com/~kahless/testgoimlfs.html ... (when problems occur because it slows down loading of the page place it inside a element with static width/height e.g.: <table><td width='500' height='100'> javascript code </td></table> ..
tehkahless
S2 licensed
completely unable to load ? hmm.. that's strange ..
a way to circumvent this would be to create an iframe (http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5) which loads a html page on your server which includes the java script ..
this way your page would load even if the javascript needs longer to load .. for whatever reason ..
tehkahless
S2 licensed
that's why i have written <script language="JavaScript" type="text/javascript" src="http://goim.sphene.net/lfs/listRacersJS?racer=tehkahless&racer=iceberg&racer=wierwolf" /> ..
note the slash .. and .. yes.. i know that i would have to escape & .. but since i'm lazy i've just copied the URL from my test which i made by entering it into the Location field of my browser.. and there a & is not necessary since it's not embedded in (x)html

thx for your info though ..
tehkahless
S2 licensed
ok .. i've now found an explanation .. after hours of trying to find the problem somewhere completely different .. i came back to the basics .. IE/opera just don't get the XHTML syntax right .. maybe it only supports XHTML with the XHTML DOCTYPE .. but anyway
the right code is <script language="JavaScript" type="text/javascript" src="http://goim.sphene.net/lfs/listRacersJS?racer=tehkahless&racer=iceberg&racer=wierwolf"></script>

note the added </script> tag .. i've corrected the code at http://yourhell.com/~kahless/testgoimlfs.html .. so you can try that .. (make sure to reload .. or even shift + reload if it still doesn't work)

i actually just encounted it because i tried embedding the JS code in the html .. and forgot to remove the </script> tag when trying again to use the src="..." version of the script tag ..

anyway .. pls tell me if it works now
tehkahless
S2 licensed
hmmmm strange.. it seams to only work with firefox ..
i'll try to find out why ..

btw. have you already included the javascript at dprt.dk too ? (to see if it works .. for me)
tehkahless
S2 licensed
ok .. i've now created a simple javascript output ..
just include the following code in the block of phpnuke or anywhere else:

<script language="JavaScript" type="text/javascript" src="http://goim.sphene.net/lfs/listRacersJS?racer=tehkahless&racer=iceberg&racer=wierwolf" />

you can also customize the images displayed before the names by appending a &imageurl=http://myurl.com/images/lfs to the url .. (it has to contain two images: online.png and offline.png )

you can view a example at: http://yourhell.com/~kahless/testgoimlfs.html

(doesn't look too spectecular .. but i guess it would look much better embedded in a real site )

and .. yeah .. you can add as many racer=... as you like .. and it (should) be possible to add racer names with spaces: racer%20name ..
tehkahless
S2 licensed
hmm.. nope .. not this way at least .. because it is just an image ..
if you want to create a link around it i would need to use javascript i guess .. hmm.. i'll think about it .. (then it would also be possible to use normal text .. and add colors to the server name & co much easier...)
tehkahless
S2 licensed
hmm.. i have no expierience with php nuke .. but isn't there some sort of general block which allows you to display html code ?
altough you would have to maintain the list by hand .. and add a <img src="http://goim.sphene.net/lfs/statusImage/iceberg" /><br/> tag by yourself for each member ..
but well .. sry .. can't help you with that .. never used php nuke ..
tehkahless
S2 licensed
as discussed in jabber .. it was a problem with me not comparing case insensitive ..
it seams to work now ..
JID escaping now also works .. adding jack\[email protected] would add 'jack bauer'
if anyone else notices further problems just tell me ..
tehkahless
S2 licensed
hmm.. i've now tried it myself .. adding me ([email protected]) and joining a game .. i've played about 15 minute s.. and just got 1 presence packet when i joined the server .. and 1 when i left it ..

maybe it was just a temporary bug .. have you tried it recently ?
could you tell me with which playernames you get this problem ? and .. did you register with the component ?
try sending a message with the body:
show

(ie. just "show" without anything else)
to the component lfs.sphene.net .. it should display all usernames which you have in your contact list ..

you can add me directly to your jabber roster if you like so we can discuss this faster: [email protected]
tehkahless
S2 licensed
Quote from Wiehrwolf :A question: how long does it keep the information?
I use your jabber transport with Miranda IM, and the players are only shown for a very short time.
online-offline...... and then around 20 seconds later... online-offline... and again...

actually it should save it as long as someone is online .. maybe there is some error in the algorithm .. altough it worked fine for me when i tried it ..
i'll check it out tomorrow (have no time now, sorry).. shouldn't be a problem to fix it though.. thx for the report ..

cu
Herbert Poul
tehkahless
S2 licensed
okay .. i actually just get a little bored.. and therefore .. made such images ..

the url to retrieve them is http://goim.sphene.net/lfs/statusImage/<username>

e.g. http://goim.sphene.net/lfs/statusImage/tehkahless .. you can append a ?small=1 for a smaller version of it .. and a width=xxx to specify the width of the image in pixels ..
currently colors are just stripped..
i also created a small page to confirm that the recognisation of online stats actually work .. http://goim.sphene.net/lfs/ .. which lists all online racers ..

e.g.:
and

anyway . i don't know if that is what you've expected.. but yeah .. if you want to use them or need some changes tell me
tehkahless
S2 licensed
erm.. you are a little wrong in this thread.. check out http://www.lfsforum.net/showthread.php?t=183 .. it is the way i'm checking who gets online/offline .. but i don't know if there is any direct way on checking someone's online status.. but anyway .. getting the host list and parsing the players online .. will get you all plaers which are currently playing lfs ..

i guess my jabber transport won't help you .. unless you got a jabber online status on your board.. which i doubt .. anyway ..
if you like i can make a small addition to my server to generate status images of people currently playing on lfs .. since i always download the hosts and players every few seconds .. and hold that information .. it shouldn't be much of a problem for me to generate images ..

but.. then .. a small link to my IM http://goim.sphene.net would be nice

just tell me if you're interested.. otherwise .. maybe someone knows of an already established service for that .. or you look at the other forum thread which describes the interface ..

cu
Herbert Poul
tehkahless
S2 licensed
yeah .. that wouldn't work yet .. i actually didn't knew that spaces are allowed in LFS usernames .. i guess i'll implement JEP-0106 (JID escaping) .. then cool\[email protected] should do the trick

cu
Herbert Poul
[beta] LFS Online Status -> Jabber Transport
tehkahless
S2 licensed
Hi,
I've made a jabber transport which sends the online status of a lfs racer through the jabber protocol.
If you don't know jabber: http://www.jabber.org (it's an open source IM protocol)
you can use every jabber client to register with the transport lfs.sphene.net and then add contacts like [email protected] (<lfsracername>@lfs.sphene.net)

If someone in your contact list then joins a LFS server the transport will send a away presence with the status string where he is playing and with how many other racers. (see attachment: psi_goim_transport_window.JPG)

---
I also made my own jabber client: http://goim.sphene.net which displays a LFS icon beside the contact who joined a server, which can be clicked to launch LFS and connect to the same server. (see attachment: GOIMscr15_lfstransport_window.JPG )

(it is currently in an early alpha stage, so usage is not too smooth right now)

cu
Herbert Poul
FGED GREDG RDFGDR GSFDG