The online racing simulator
Searching in All forums
(788 results)
the_angry_angel
S3 licensed
Exceptions should work - provided that you're applying them to the correct profile. Killing the firewall should result in no remote access to the box under 2008 server as it will go into deny mode.

I'll use a 2008 x64 r2 box from work if I can tomorrow and do some testing.
the_angry_angel
S3 licensed
Windows firewall not setup correctly? It's actually effective in 2008 server.
the_angry_angel
S3 licensed
Quote from col :For this, you need to give it vision!.
IMO to create an AI that doesn't 'cheat' you'll need some sort of visual processing system.

Huh? Either I'm being massively stupid or you're using visual very loosely, but I don't see why it needs to be visual at all. If you can programmatically reference things by points, which is all your eyes and brain do together, why are you proposing making it rely on visual inputs? Why make it hard on yourself when you can already reference the location of other vehicles and your vehicle on the track programmatically?
the_angry_angel
S3 licensed
Quote from Shadowww :Here modem with 4 ports gives one external IP to each port so no need for router.

Thats interesting to know. Although with the right IP range given to you and the right home router it's possible to emulate this setup in the UK (if anyone's interested).

Out of interest is that truly a common, out of the box, setup over there shadowww? Also does the appliance they give you do any form of firewalling out of the box?
the_angry_angel
S3 licensed
Quote from Dygear :I think the security implications are minimal at best

If upnp (Univeral Plug and Play) didn't exist or home routers that support it didn't have exploits (such as pre-auth XSS), or if people actually changed default passwords, I'd agree.

There's a technical talk at GnuCitizen about one such exploit on the BT Home Hub.

If you can't be arsed to read it the general jist, in this context would be:

1. Malicious user sets up a webpage with LFS join links containing /insim params. The page also includes code to attempt to exploit the connecting user's router via unauthenticated upnp triggering (i.e. using cross site scripting to setup port forwarding for 29999)
2. User clicks on the link, and the malicious webpage records this
3. Server side component notices this change and tells the malicious insim client to connect to that user's external IP, in the hope that the upnp hack has worked
4. Profit?

Granted this isn't an actual proof of concept and there's absolutely no guarantee that it would work (given that it relies on either default passwords/exploits in the firmware and guessing the routers internal IP), but theres always a possibility.

And bear in mind I only keep up with the basics of breaking into stuff - someone who really knows what they're doing could've easily come up with something that might actually work more reliably.

After that it just takes an exploit in InSim and away you go grabbing licence details. Or you could just make them say random stuff via insim
the_angry_angel
S3 licensed
Quote from wien :Boost.RegEx? I personally prefer Spirit for my string parsing needs though.

Maybe I'm just not getting it from the Spirit introduction page, but is Spirit a (better|different) objective version of Lexx?
the_angry_angel
S3 licensed
I've written some pretty nasty (read: long) regexs, so describing them as one line wonders isn't 100% accurate, but you're pretty much right
the_angry_angel
S3 licensed
Quote from dawesdust_12 :They're evil. I've never had a valuable use for them yet, but I still hate them because I have no idea where to use them.

They're good for validating complex input, such as telephone numbers. They're also good for quickly grabbing stuff from strings of input, or for manipulating strings.

To give 2 real world examples -

Many years ago I used to play a game called Planetarion - a web based online space strategy game. In it you could scan other planets to determine if they were worth attacking. Groups of players would form alliances and you'd want to share these scans. Unfortunately the only way to get them was to copy and paste from the browser. To deal with this many alliances would write little web based tools that their members could paste the scan into to update the database. Although each browser would copy a table into plain next in roughly the same format, it wasn't exact - some would place tabs between columns, others spaces. Regular expressions were the most sane and sensible way of getting the required data from these pasted scans and into a relational database for analysis.

I use regex's most days at work. At work I'm employed to be an outsourced sysadmin, but I also code for internal projects and so forth. For both elements of my job I will use regexs. For instance, using ldifde you can query an Active Directory server to get various bits of information about stuff in the AD (such as getting a list of users in an OU [organisational unit]). Unfortunately it normally returns a load of extra stuff you don't want and can't trim out through ldifde itself. Using regex's you can reliably remove these additional bits of guff. In our internal projects regex's are use for some of the more complex form validation, such as post/zip codes, email addresses and phone numbers.

For the coding aspect of my job it's handy when moving blocks of code or for refactoring. For instance I recently had to convert from using the Zend_Date object to our own. There were about 3 affected files, and about 4 instances created in each. I could've manually gone through and edited each file and each instance. However, using regex's I could simply perform :%s/Zend_Date/Better_Date/g (This is an example of using Vim's regex support to subsitute Better_Date for Zend_Date, through out the entire file, even if it occurs multiple times in the same line).

Unfortunately it becomes exceptionally easy to over use regexs.

For instance although you could use a regex to screen scrape from a website, it's a bad idea and you should really be using something that understands the DOM and allows you to query based on that - such as XPath or CSS selectors - the reason being that although a regex will probably work, it'll break if the website introduces new lines or additional attributes that your regex doesn't have support for. Something that understands the DOM will just continue working.

As I've said before, regex's are something you will absolutely hate. Until you get used to them.
the_angry_angel
S3 licensed
InSim is the protocol for communicating with LFS.

A program can use InSim to do stuff that LFS doesn't do natively.

There are a few programs available (see the unofficial addons section), such as LFSLapper and Airio which are general tools and can do multiple things. Other than that the programs are written by various people for their own usage and aren't always distributed.

If you want to write your own more information is available under the LFS Programmers forum, where a number of libraries are made available to help with working with InSim, and docs\InSim.txt of your LFS install.
the_angry_angel
S3 licensed
Quote from Shotglass :i see for it will be as a svn replacement

Really? Or do you use SVN for things other than code, such as conf files, internal documentation, etc.?
the_angry_angel
S3 licensed
Quote from MyBoss :Can I use the LFS banners and icons on my website? Its just a temporarily site that I am making for a project at college.

The best place to ask would be via the http://www.lfs.net/index.php?page=mailus
the_angry_angel
S3 licensed
Sorry to weigh in really late on this one, but -
Quote from Victor :How on earth is an average windows user supposed to understand all this?

They aren't. That's the point. The companies and people producing software should be familiar enough with the concepts of preventing their program file directory from being globally writable, etc.

I would like to say that these are new concepts and that it is a surprise, unfortunately it's not and it's something I have to battle with on a monthly basis for customers that use terminal servers and other highly locked down Windows based environments. %APPDATA% and %USERPROFILE% exist for a bloodly good reason, all of which Kegetys has already outlined. They should be used, and potentially you should at least have the ability to manually specify another location for storage if neither of these are suitable for the user.
the_angry_angel
S3 licensed
Quote from aroX123 :I got this school pc, and it has a block thing so the user i log into cant do shit.

I'd take that up with school techies. Odds are that there's a reason that they've done this.

Quote from aroX123 :Is there a way to find this password?

Yes, although resetting it is probably easier. Using a boot cd (such as a Windows PE, or a Linux CD) it is possible to add/reset local accounts directly into the local Windows SAM with the right tools. There is a small risk that doing so will screw up the install, although its quite small. Alternatively you can get the accounts password hash and crack it, but that's a bit daft.

I'd suggest talking to the techies first, and they might be able to do something for you, or it might just be a honest mistake. If you get caught with a full access account you might very well get massively bollocked.
the_angry_angel
S3 licensed
Quote from ghostrider83 :LOCK Please

Please use the "report this post" feature if you wish to have something moderated. That includes requesting that your thread is closed. By doing so all moderators will be notified and we'll do it much sooner.
the_angry_angel
S3 licensed
elmasfumao, I've merged your last 3 threads on the same subject.

At present there are no off the shelf solutions that just work - even the most complete and available version needs a little bit of tweaking and modifying.

Unfortunately given the number of people who come here and ask for various cruise related things there is absolutely no motivation from anyone to write everything for you. What you are asking for is a non-trivial invesment of their time.

Basically what I'm trying to tell you is that you'll need to know a little bit about programming and you'll need to use the version available here and here as your starting blocks.
the_angry_angel
S3 licensed
If it's not in InSim.txt and not in http://www.lfs.net/?page=coderfiles or http://en.lfsmanual.net/wiki/File_Formats (unofficial documentation), then it's either not been recorded by anyone, or not available.

The file formats that Scawen hasn't released officially are generally because he doesn't want to have to support 3rd party modifications and programs for these files. That would restrict his ability to alter and change as required - just something you need to be prepared for.
the_angry_angel
S3 licensed
Quote from Dygear :I have 4 tables (appointed, class, elected, status) that I want to cross reference into a single table's (members) column. The values of the of 4 tables are time sensitive based off a history table (members_history). The desired result is that the query should output all members and the current appointed position or current elected position, class, and status within the members row and include additional information obtained from the foreign rows.

Sounds what you want is an outer join, but I will admit that I've not had the time to read your post properly... If I'm barking up the wrong tree I'll either add to this post after work or add a new one in
the_angry_angel
S3 licensed
Quote from brandons48 :And a chance for me to scare the living shite out of kids that come to the door, depending on my mood

Flash gun rigged upto fire as the door opens, and a large knife in fake blood works really well Until a very little 'un cries :o
the_angry_angel
S3 licensed
Yup, went out as gentlemen and ladies; top hat, trousers, shirt, waistcoat, drawn on moustache, etc. Good night out when you're dressed up! Plus I discovered that standing out from the crowd and grinning like a madman gets you served damn quick!
the_angry_angel
S3 licensed
Quote from (The Stig) :What is the point of having a Dev Team if their never on our servers .

1. Your logic confuses me. If you work at McDonalds you don't spend all your meals eating at McDonalds, do you?

2. Who says they don't go online. Why should they use their "dev" tagged name? For all we know they could well have secret account(s) to allow them to race in peace. If Scawen logged on as Scawen he wouldn't be able to race. Same goes for Vicc and Eric.

3. Why do you care and why should the team justify their actions to you?
the_angry_angel
S3 licensed
Infractions have been handed out. The thread has been closed.
the_angry_angel
S3 licensed
Or if you're already using a *ix box as your edge device, squid could do it (if you silently ensure all outgoing http(s) traffic goes through the squid server - easily doable with iptables, pf, etc.)
the_angry_angel
S3 licensed
Good lord guys. Would you stop posting crap in (The Stig)'s threads. You might not believe that the league is going anywhere, but why do we care. If you intend to take part do so. If you intend to troll just don't post, bugger off, and the threads will die. If they don't they'll be considered spam and removed.

(The Stig) - you seem to be better than you were a few weeks ago, but cut down on the "there's nothing happening" or "coming soon" threads. Just post when you're ready and everything is prepared and you'll probably have less shit in your threads.

(The Stig) - if you want this thread cleaned and reopened please approach one of the mods. I'm not around for part of the weekend, so I might not be the best.
the_angry_angel
S3 licensed
Multiple accounts are not permitted on the LFS forum. Please login with your licenced account details - you can use the same details that you use on LFS.net, LFSworld, etc..
FGED GREDG RDFGDR GSFDG