The online racing simulator
Searching in All forums
(788 results)
the_angry_angel
S3 licensed
Importing and aliasing is an option here, rather than using the fully qualified name each time.. Plus automated search and replace should be an option as well
the_angry_angel
S3 licensed
So you're after something more akin to http://tracker.mastersofendurance.eu/ but with more dynamic features - like a livemap?
the_angry_angel
S3 licensed
I typically check the forum at least once a day. If you want to talk privately there are PMs

If you'd prefer more real time that gets tricky. However, I'm typically on several IRC networks (including #liveforspeed on gamesurge) 24/7, with the same nick as my forum name. If I'm AFK my away message will be set - but if you leave a message I'll get it eventually. During my working hours (8am til 6-8pm most days at the moment) I'm normally there but if I'm doing something I might not be able to respond. Outside of working hours are spotty as mentioned in my previous post, and will be for at least 6-8 months.

Failing that theres email or Skype as well, but I'll send that via PM if you really want it.
the_angry_angel
S3 licensed
xi4n (a framework to talk to LFS over InSim/Outgauge) has a livemap plugin that is very similar to this (video at http://www.youtube.com/watch?v=vuZly5agOkM). It's still a rather developer-y tool at the moment, but it's completely open source (https://github.com/theangryangel/XI4N) - patches and pull requests are welcome - it doesn't have any customisation tools, but they could be added in theory.

There is also a camera tool in the works, but at the moment I'm not working on personal projects as I'm going through a shit tonne of paperwork for a probate, trying to hold down a job and sort the house. However in 6-8 months time when all that shit is out of the way I'll stick my head back into xi4n.
Last edited by the_angry_angel, .
the_angry_angel
S3 licensed
I did have a look, but sadly not Probably wiped it years ago. Bob might have it to hand if he's still got an old version of his setup tool source. Failing that netzob might make your life easy - I've never had a reason to run a file through it yet, only nework communications so ymmv
the_angry_angel
S3 licensed
Unless I'm mistaken from what I remember the format wasn't that much different from what the current version is. Just some fields removed. I know that's not definitive, but hopefully helpful.
the_angry_angel
S3 licensed
Quote from HonzaQ4 :but isn't it AXO_PlayerHitsAutocrossObject ??

Without knowing what library you're using I cannot answer that question. All I can tell you is the underlying InSim protocol. I suggest you read the docs for your library.
the_angry_angel
S3 licensed
Holy thread bump batman.

The IS_OBH (OBject Hit) packet is what you're after. However, you only receive IS_OBH packets if you set the ISF_OBH flag in your IS_ISI (InSim Init) packet.

As for how you do that, it depends the language and what, if any, libraries you're currently using.

I highly recommend reading InSim.txt (included in data/docs of your LFS installation, or on the wiki) as it details how InSim, OutSim and Outgauge work.
the_angry_angel
S3 licensed
Happy New Year

May your Year's be filled with podiums and fewer racing incidents.

(That took far too long to type)
the_angry_angel
S3 licensed
Vic is on IRC and is communicating that he's dealing with the problem now.
the_angry_angel
S3 licensed
Not with Lua or luaLFS (since 2007) I'm afraid. Aspects of Lua's language feel very odd to me in recent years, and it's turned me off the language a lot. Additionally luaLFS had a lot of issues with blocking code in scripts, if I recall correctly and I believe I felt it was a flawed implementation.

Porting luaLFS to luvit might be interesting though. luvit is a port of node.js to Lua, and it comes with most (perhaps all now) of the standard node library - that adds a lot of pre-baked in functionality. That said, I'm not going to be the one to do it. Between occasionally faffing with xi4n and a few other non-LFS projects, I don't think I'd want to take it on
the_angry_angel
S3 licensed
Bah. You're missing out on the one true editor.
Vim.
the_angry_angel
S3 licensed
Quote from misiek08 :Once per year, sometimes once per 2-years.

Personally I judge on the changelog and release notes. For instance like hell am I going to continue running a kernel with a known remote code execution in it - even if its firewalled, whats the point in increasing the risk? We're all human and make mistakes from time to time

Quote from misiek08 :Server should work constantly.

That's what clustering is for Admittedly in the case of LFS that's a little tricker, but security > uptime, imho.
the_angry_angel
S3 licensed
I might be able pop in and congratulate you on your womb explusion day anniversary
the_angry_angel
S3 licensed
Quote from cargame.nl :A proper server wont need a restart -ever-. This is the best scoring server on that matter in my case;

Kernel updates? :P We're not all rich people who can afford to pay Oracle for Ksplice
the_angry_angel
S3 licensed
Quote from Dygear :That would be the holy grail.

Can already be done, even with the conventional dedi. If people are finding it difficult I'm more than happy to share the sysvinit script I've got working.. (it depends and uses start-stop-daemon, but you could easily wrap it with the equivilent for whatever your preferred distro is, if that's unavailable)
the_angry_angel
S3 licensed
Briefly tested on a headless Debian stable box with wine 1.0.1, and an Ubuntu 12.10 desktop with wine 1.4.1. Works flawlessly thus far.

With regards to what I'd personally want (I'm probably atypical) - currently when running LFS I have it setup to auto-run using a sysvinit script, so I'm not that bothered about an interface to type commands into. I'm more bothered about using InSim as an RCON-style interface, and the dedi using less resources
the_angry_angel
S3 licensed
Correct, Dustin has submitted a pull request that was merged 2 days ago fixing that (<3 Dustin)

I'll make sure that I get some test coverage going some point Sunday (doubt I'll have time before then at this rate tbh) and actually test in Chrome

Once I've got all the packets in, and I've added a higher level API to abstract some of basic stuff you'd be doing every project, I'll throw out a bundled and minified release
the_angry_angel
S3 licensed
You can't get lap times, etc. through Outgauge, you can only get that via InSim. Outgauge is literally just what the dials in-game show

It's possible to use InSim and Outgauge at the same time, though. However it's a bit more complex as using InSim you get information about every vehicle in-game, not just your own.

To use InSim+Outgauge at the same time you'd setup an InSim connection, and in the IS_ISI packet you'd set udpport to your UDP listener, and then send a IS_SMALL with subt set to SMALL_SSG (2). You'd then use the plid in the outgauge pack to know what IS_LAP, etc. packets to look for (since you'd get them for any player).

That might sound a little confusing if you're familiar with InSim... It might be worth checking out InSim.txt which explains each packet, and possibly checking out various libraries for InSim - since they remove some complexity for maintaining InSim connections and how to deal with packets. There are a whole bunch of libraries in http://www.lfsforum.net/forumdisplay.php?f=179 for PHP, Python, .Net, etc.

I've gotta head back to work now, so I probably won't be able to look at this thread until later today, but I'm sure other guys here can help out
the_angry_angel
S3 licensed
You can also find InSim.txt on the wiki at http://en.lfsmanual.net/wiki/InSim.txt

Very handy if you're developing on a computer with LFS installed

OutSim and Outgauge are at the bottom of the file.

OutSim - MOTION SIMULATOR SUPPORT
OutGauge - EXTERNAL DASHBOARD SUPPORT

Edit: Yes it's that whole struct you'll be working with. You don't have to use C++, any programming langauge that's capable of networking can be used.
Last edited by the_angry_angel, .
the_angry_angel
S3 licensed
Quote from dawesdust_12 :Console would be really cool and I'd be willing to test a console version on my server if you need be.

Putting my name out there on that as well.
the_angry_angel
S3 licensed
Missing graphics driver, or broken directx - normally if I remember correctly.

You can get the graphics driver either from the Dell website or the manufacturer (Intel for that model, probably?).
Javascript - lfswsrelay.js - LFSW WebSocket Relay Client
the_angry_angel
S3 licensed
Docs: http://theangryangel.github.com/lfswsrelay.js/
Repo: http://github.com/theangryangel/lfswsrelay.js

A convenience wrapper to communicate with the WebSocket implementation of the InSim relay, for browsers.

Examples of usage can be found in the repo.
With exception to IS_MCI and 1 or 2 others, all packets are full implemented.

Patches, forks and competition welcome
Last edited by the_angry_angel, .
the_angry_angel
S3 licensed
A friend showed me lfs (0.04k possibly and I think it was still hosted on a blueyonder [defunct UK ISP] web space at that time - either that or that's how my mate found it).

Been on and off ever since

Edit: Found what I think is a more recent version of the original page I saw all those years ago, in the archive.org wayback machine - http://web.archive.org/web/200 ... wen.pwp.blueyonder.co.uk/

Really takes me back... Oooo when I t'ere lad, downt school

Scawen, Victor, Eric - if you happen to read this, I want to thank you for the joy and people that you've brought me over the years
Last edited by the_angry_angel, .
the_angry_angel
S3 licensed
I highly recommend watching http://vimeo.com/52882780 - from the mind that coordinated efforts on OAuth and the man that gave up working on OAuth2.

I'm not a fan of implementing OAuth clients, but I don't believe there's a sane alternative - yet.
Last edited by the_angry_angel, .
FGED GREDG RDFGDR GSFDG