The online racing simulator
Searching in All forums
(263 results)
Stuff
S2 licensed
Hmm, I dunno what to say. Just make sure that your cfg is right and that it only works on the currently viewed player in a race.. Here's my cfg.

OutGauge Mode 2
OutGauge Delay 1
OutGauge IP 127.0.0.1
OutGauge Port 55
OutGauge ID 0

In a few days I'm releasing a new open source VB6 project thats totally rewritten and includes working InSim, OutSim, OutGauge, Gateway and HTTP examples. PM me and I can send ya some stuff.
Stuff
S2 licensed
Quote from stevewhite :

pbthrottle.Value = Format(Packet.Throttle * 100)
pbbrake.Value = Format(Packet.Brake * 100)
pbclutch.Value = Format(Packet.Clutch * 100)


The Format function returns a "Variant (String)" and I think the progress bar takes an integer.. Just replace Format with something like CLng. Like: pbClutch.Value = CLng(Packet.Clutch * 100)

Hope that helps
Stuff
S2 licensed
I dunno much about myspace or any certain image popup thingies but I do know that pretty much all html includes divs and these links go to some popular and cool javscript effects libraries

http://script.aculo.us/
http://openrico.org/rico/home.page
http://www.huddletogether.com/projects/lightbox2/
Stuff
S2 licensed
I dunno much about overlaying an image onto DX, but why not use a proxy dll? Its the way Kegetys did it I think, its the way Racer_S2 did it and the only way I have found to do it, through mikoweb.eu, a good project that also uses the proxy method..

Its a very good idea and would love to know how to use it too..
Stuff
S2 licensed
You can get that RES packet before the end of the race. Like InSim.txt says: To request a IS_RES, send a InSimPack with Id = "RES" and value = result number (0,1,2...)

However I'm not sure what's in it before the race ends. If you experiment with this, let us know what you get please.
Stuff
S2 licensed
I'm pretty sure the Y velocity is from OutSim. Reason is, I used a program I made and Bob Smith tweaked, to test it and driving around it did move. By exactly how much or why, I have no idea. Maybe only Scawen or someone experienced with OutSim can say.

You can get that program, and the source, from here: http://www.lfsforum.net/showthread.php?p=43173#post43173

Hope that helps!
Stuff
S2 licensed
If you patch uxtheme.dll you can use any style you want. Here is some software that will do it for you.. Multi-patcher 5 Pretty sure its legal, I don't think softpedia would have posted it if it wasn't..

There are also guides and a few other programs if you Google something like 'patch uxtheme'
Stuff
S2 licensed
8/10 because a little blurry and your eyes are closed. :magnify:
Or.. maybe thats because of what we can't see..
Stuff
S2 licensed
Theres also rheiser's JInSim that you could look at and tweak. Here: http://www.lfsforum.net/showthread.php?t=11568

I have a little xp in Java too so I can share what I have.
Stuff
S2 licensed
Hmm, can you explain more how it does not work? Maybe the file was corrupted somehow. If nothing else you can try re-extracting S2 patch V full and try again. Or.. load the layout into my LYTe program, save it and try again.
Stuff
S2 licensed
DMC DeLorean? (the filename )
Stuff
S2 licensed
Just bought myself a 2002 Subaru Impreza 2.5 RS!!
Almost exactly like this one. (girl not included)
Stuff
S2 licensed
err.. that was a weird joke I put in for the Layout Thingy but not LYTe. I need to take that page down because its waaay outta date. For now, get the latest version from my first post
Stuff
S2 licensed
The ShellExecute API allows you to specify the working folder.. although wouldn't VS.NET 2k5 allow you to also?
Stuff
S2 licensed
May I ask why you're rendering the .smx files? Not that I have an objection or anything but the exact opposite! I want to be able to render them also for tracks/autocross areas in a future version of my autox editor, LYTe. Maybe we could help each other out one way or another?

And, for the mirroring effect, try making either the x or y coordinate be negative, depending on which way its being mirrored.
Stuff
S2 licensed
Ahh! You read /. and/or digg too eh?

While I'm still learning the intricacies of C++ so I can't really give an in depth comment. It does look promising with the OOP and memory management of Java yet the speed of C++. I will definitely be checking it out in my spare time. Always good to learn something new because if you get stuck in one area, all you do is sink..
Stuff
S2 licensed
0.5.0.3 uploaded. The default start positions are a single, green start arrow to indicate where the first car would start if there is no single starting position. Also tweaked the way angles are converted so that should help too.

For shadow2kx comments. Thanks. Some of the most helpful so far LYTe is definitely an alpha, if thats what you call a program that doesn't have all features implemented yet.

I don't get why the windows would be frozen in anyway, esp if the only thing you're doing is switching from LFS to LYTe. Hmm.. Most of that stuff I have no control over since its all simple VB stuff.
* Object curves I wanted to do but instead of figuring out the math to both drawing them and distributing objects along them I went ahead and released. If anyone is good at some trig and probably calculus and want to help with some of that math, feel free to help me out!
* You can constrain the object lines to 15° increments by holding Ctrl while you're drawing the line
* I was thinking of making some way to highlight the selected object from the object bar. Maybe a rectangle around it or a lighter background. Will probably be in 0.5.0.4
* An undo system is definitely on my todo list! Just have to figure out a good way to get it in there. Copying and pasting I could eventually do too but for now you can press Ctrl+D to duplicate the selected object(s). Don't forget the little help file for shortcuts. Mouse wheel features and all that would be cool too. Thats somewhere on my list too
* Some type of little control point, like LFS, I could do. Either that or make it less sensitive. The easiest way now to get those stubborn ones is to draw the selection rectangle.

The biggest reason why I'm holding out on doing anything super fancy at the moment is because I plan to rewrite the whole thing in C++ using a better drawing method, like DirectX. I already experimented with LYTe in DirectDraw 7 in VB6 but its sorta limited. Not as easy to rotate objects and I'm pretty sure I was limited to .bmps. Not that big of deal but again, I'm planning to redo it all in C++. That won't happen for a while tho so it'll all be finished when its finished .
Stuff
S2 licensed
proxy settings.. imagine that
Stuff
S2 licensed
One possible cause for that behavior (as it said in that HOSTS file faq I linked to) is the hosts file

Do these 2 things.. On the navigation canceled page in IE, right-click it and select properties. What does the Address (URL) say?

Also, open up your <windows folder>\system32\drivers\etc\hosts file. The only entry that is required in there is "127.0.0.1 localhost". What is listed in there?

If these 2 things are fine, then I give up
Stuff
S2 licensed
Hmm.. so something is b0rked with the IE engine.. and doesn't seem like anything to do with a proxy. (esp if you can't get to about:blank)

If you change the headers (the user-agent specifically) it will fool the website you're visiting into thinking that your browser is IE, no matter what you are using. Here is an extension that makes it easy. Of course, this won't help your IE and I just reread your original post saying its a M$ site that requires IE/activex so that won't help anyway..

So (should have done this in the first place) a quick search turns up this..
http://www.mvps.org/winhelp2002/hostsfaq.htm#message
Stuff
S2 licensed
Yeah, the program would be nightmod independent. About the only reason I stuck it in here is because the headlight effect is the only one I can think of atm.

In fact, the whole program would be LFS/game independent. Its bare minimum functionaly is just draw a 2D image on top of a DirectX window. I am thinking about expanding on this idea if I can get it to work correctly. Something like these examples.. If could get to the analog gauges or the window like the web browser then it becomes applicable for a ton of applications.. Just the hard part is.. how?

But for now, in the next few days, I could at least load a .png for the headlight effect as a .01 version.
Stuff
S2 licensed
No need to edit the backgrounds.. I added default start positions if there is no start object added

For the -180 to 1.4 thing, I don't see how that happens. Hmm. I will test it more tonight to see. Stand by for that.

Edit: no 0.5.0.3 tonight.. going to tweak the angle calculation and see if I can get it right. Will update as soon as thats good to go
Last edited by Stuff, .
Stuff
S2 licensed
Hmm.. make sure IE is not using a proxy. If nothing else you can try to reinstall it. Here's one.

If its the IE browser itself, and not the engine, you could try the IETab firefox extension. And finally, you could probably just trick that website by changing the header through a firefox extension.
Stuff
S2 licensed
Full version? Of LFS or..? Please elaborate
Stuff
S2 licensed
Well, since this is the official nightmod thread, I guess , I thought I would post my idea here..

I've been playing around with the idea to create some type of 2D overlay to LFS and started doing research on how to do it. Well, I found out it takes a very good understanding of DirectX, which I do not have The only thing I could find to get me started is this. http://www.mikoweb.eu/ It is a proxy dll that allows you to do a couple of things; displaying transparent text and a static image on top of a DirectX window. In fact, here is a VB6 demo at PSC on how to do it.. Anyway, it doesn't do what I originally wanted (put a window on top of LFS or render a 2D animation of some kind) but! it got me thinking about something it could do.. If you make a transparent .png in the form of some headlights it would make a great addition to a nightmod! So I tried it and, well, the overlay definitely works but the image placement is kinda unintuitive/screwy. It requires the image to be a certain multiple of 256 and all that and drove me nuts to mess with it anymore. So instead of going all out and releasing another add-on, I'm making this post to offer a program that will overlay a .png that the user (you guys) would create. So how about it? Is anyone interested in a little program that can overlay a static image on LFS for a headlights effect? If a few people reply to me then I will go ahead and spit out the program.
FGED GREDG RDFGDR GSFDG