The online racing simulator
Searching in All forums
(632 results)
Fonnybone
S3 licensed
Quote from Stuff :In the example I posted I declared the 3 position ints as an array of 4 bytes. Then in the handler, multiplied them to get an unsigned result (0 to 4,278,190,080 I think). They actually should be declared As Long (signed) so the result can be negative (-2,147,483,648 to 2,147,483,647). My mistake on that part. Readme.txt says 3 ints, and an int in C++ is 4-byte signed (according to InSim.txt)

This may be why you're getting problems with the position. Again, my mistake but don't say I didn't warn ya, as I did in my last post You would probably still get the shape of the track, it would just be shifted in some way. Better to make them Longs for accuracy and a tiny bit of speed since it doesn't have to convert and multiply.

Hehe, yeah, that's the first thing i did actually. I changed most integers
to long (in VB...), so values should be good. I just need to verify them
and figured that plotting a graph of position @ a constant interval should
be a quick and easy way to double check I DID read your post, but
since BobSmith had a go at the code in between, i didn't know who did
what exactly.

Another detail is that i'll have to move the 'ReceivedBytes' code to a
module so it can be accessed by any form. I'd rather have new forms
pop-up for the graphs (and future plug-ins/add-ons) then having them
all within the same form and having to do this lame resizing of the
form i do for now.
Fonnybone
S3 licensed
Here's a my part so far. You guys wanna check if it works for you too ?

Works on 0.5Q also. This is one thing i looove about In/OutSim. It's not
patch dependant much. My main concern is about the config, if you look
around a bit in my version, you'll find a config window where i tried 2 ways
of getting the info, one searches the folder it's in for the LFS config.txt
file and the other uses RAM (beware, it's for 0.5P, it wont work for 0.5Q).
Both ways worked for me, but having OutSim activated in the config.txt
is essential for LFS to even send OutSim info, therefore i think it would be
best to keep the "search cfg" code and request that this app be kept in
the LFS folder. That way it can check if OutSim IS activated and warn the
user in the event it's not. Also, i didn't find the delay in the RAM and don't
really want to be messing there anyways since it would be dependant
on the patch version.

I had (still have) fun trying to understand wtf happenned to the values,
but for now, only position is still giving me problems. I'll start on the
plotting/graph tabs and make it draw it's position at regular intervals.
If it ends up drawing the track layout, then we should be all set
I'm not posting the VBcode 'cause i added lots of my own modules in it
and don't really want that part to be public...

This should be the base of GteK i suppose, it's a VB version of Gmeter
basically. I always liked the concept of Gmeter (it was my idea after all)
and i'd like to make a VB version. I just need to learn how to make plugins
now so people can make their own plugins if they want.

Oh, btw, be sure to click the Telemetry button to see the values. Other
buttons don't do anything yet.
Fonnybone
S3 licensed
Quote from sinbad :You can't, until you've attempted to connect.
Would be good if, when someone runs a server using a mekanik preset, they post the preset here and announce how long the server will be up.

Ya, that WOULD be good. I've made good progress with OutSim thanks
to the help of RayOk and BobSmith, i actually can connect now !!! This
brings me one step closer to being able to make LFSTweak/MecaniK/WhateverMOD
make the server mod the clients before they get checked making it possible
to join any modded server as long as the MOD is running. I tried
before using the caht and it kinda worked, but you had to be able to
enter the server first...

I don't think i'll have a MecaniK for tomorrow, but it shouldn't be long.
I just hope that the recent patch will help fix all these problems caused
more by user misinformation than any actual problem with my app. The
test patches affected soemthing vital to MecaniK and was the source and
many problems. Now that we'll all have the same version, it should be
more stable, i hope. I also need to add some little code here and there
Fonnybone
S3 licensed
Quote from tristancliffe :I'm on broadband and chose not to look

Check this out Turbo -> Instructions

Hehe, if this didn't mention steam, i'd make it a freaking sticky.
Made me rofl.....man LFS r0x0rs the big one111


Oh ya, and a boot to the screenshot section
Fonnybone
S3 licensed
Quote from Batterypark :Actually, I do not think you could argue that an alpha version is the finished product.

Then how about that this IS S2 Unfinished or not, you still have to
pay for S2, and it's here, now.
Fonnybone
S3 licensed
lol, you guys know we went through all this already ? It was before
the car was even available and from the pics many people noticed
small errors like this. So, did Eric ever fix that rear wiper ? :P
Fonnybone
S3 licensed
Ok, i didn'T read everything but in short:

- Yes, i intend to update MecaniK to work with current official patches, i
won't update for test patches though. I didn't notice yet, but i'm assuming
there's a 0.5Q out It'll give me a chance to fix stuff too.

I'm sorry if i didn't update or give any news, but i got a reality shock
this weekend after taking my body for a industrial chemical absorbtion
factory... i ended up in the emergency I'm ok, electrocardiograms,
lung x-rays and blood samples say so...but i still feel sore in the chest.
Let's say i got the scare of my life! I thought about you Crumbut
Note to everyone, don't go without sleep, eating and then combine
'speed' pills with 'energy' drinks....ya i know, it was stupid. Sure kept
me awake though illepall

On a happier note, 18000+ downloads of MecaniK P02 !!! That 1$ per
download is getting more and more interesting

As for the preset errors, make sure you add/remove the comment line else
that error will pop up. Also, it might also pop-up for that decimal bug.
At least an error DID pop-up I'm getting there, slowly but surely.
Fonnybone
S3 licensed
Quote from Breizh :I don't get it Fonnybone.
You're saying you want to keep the editing values (what we change in mecanik) the same across entire cartypes, so that any edition of one car will mirror the offsets made in it to all the other cars in that carset?
Won't that make for different performances in each car, rather than editing each separate car individualy to a same performance class standard?

The thing is I'm not sure what you meant by those two posts, I'd ask in the other thread, but since you mentionned it here..

You're looking through the wrong end there...cartype have limits, you
have to try to acheive a goal while remaining within those limits, that's
the goal, not reproducing one car to exact specs. It's the race series
i'd like to reproduce, not the individual cars. The 'real specs' part
was meant as a guideline. I just figured people would enjoy cars that try
to simulate real cars more than just a bunch of 1000bhp+ fantasy cars.

Oh, and yes, it IS hard to keep cars balanced, that's the whole challenge!
Fonnybone
S3 licensed
Hey guys

A little update..

I'm taking a few days to let things settle and let the REAL bugs come
through. I've started changing major things these past few days and
again, kinda went to big...i'll have to redo a few things completely,
simplifying the more i can. I'm redoing the LFS/CAR checks again,
also, i'm trying to limit the ressources it uses. I'm not the best programmer
out there, far from it, so my apps are far from optimized

To be honest, i'm wishing for an official patch now because all these
test patches are confusing the heck out of me. Funny how this used
to be the opposite, mods can make it hard for the devs to know if
it was trully and LFS bug, or some mod messing things up. Now it's
my turn to experience it

Gimme a few days and i'll post an update then.
Fonnybone
S3 licensed
Thanks for the report Kid Hopefully not too many people downloaded it.
Fonnybone
S3 licensed
Quote from Gimpster :Ok, when I get home I will give this a go and try to make the RAC in to a NASA, FFR Spec Cobra. To do it properly though I will need to be able to move the engine and install a V8.

Well, actually, no. This is what i don't want to do. I know a V8 and
an inline8 aren't the same, but in LFS, it won't affect performance
one bit. As for the engine position, well that's also not in the cartypes,
but since it affects ALL cars, it won't affect the class balance much,
which is more important.

The goal is to mod as many cars as possible at once so there is a lot of
choice. Editing the cartypes already does this, so the challenge will be
keeping a certain balance between cars and different cartypes so it's
actually fun online and can be used for competition or just friendly races.
I'm not expecting all cars to be able to keep up, but ideally, the slower
cars could be matched with another class with similar specs. That way
there's at LEAST 2 car classes or more to chose from. I'd like to recreate
something along the lines of the DragMOD i made ages ago. Click MOD,
find a server with 'DragMOD' in the name, blast away! It was simple,
easy and fun.

Before anyone gets big ideas though, i should mention that presets
for MecaniK can and probably will change. I'll try to provide the info
to convert, but don't get mad at me for 'wasting all your hard work',
i warned you guys. What i can do is release the structure of the file
(not that hard to understand really, open with notepad and compare)
so anyone can manipulate preset files to work with just about any
version Still a pain, but no preset will be lost, it's a freaking text
document :P There's always a way to make it work.
Fonnybone
S3 licensed
Well, i think there's always a way.

The ideal way would be if LFSWorld would have that info and the
server could retreive it upon request. You would have to ask Victor.
I think he's the one who's already added the controllers because people
kept asking for a way to tell between keyboard/mouse and wheel.

Another way would be using InSim. I doubt this info is accessible from
InSim, but it could be added in LFS eventually. You would have to ask Scawen

Else it could be added in the server setup menu in LFS.
Forcing setups would be at the same place i guess

As for the chance any of us (non-LFSdev) making this happen, we might
be able with InSim. If we can get an app to send/receive messages
between client/server (does InSim do that ?), we can do quite a bit !

I've seen the assist values in the RAM before, so if we can find those,
it's only a matter of making the clients send this info to the server.
Add a cheat protection to force people to activate the app to join
the server and you have a 'forced no assists" server using InSim to
kick clients who don't follow/oblige.

Ok, now stop giving me ideas !
Fonnybone
S3 licensed
Quote from ATHome :By the way: Some of you might have the missing dll already in their windows\system32 folder, its just not registered...
To do so:
Start
Run
and then type in (or copy from my reply)

regsvr32 %systemroot%\System32\MSSTDFMT.dll

Ya, thanks for that. I was thinking about this while looking at
the screenshot of the image. The problem is not that the file isn't
there, but that it isn't registered ! I tried removing all reference to
it, but seems i AM using it after all.

This procedure to register it is good information.
Fonnybone
S3 licensed
Thanks god, the perfect bug reporter !! See people, do like Zonda !
He only posted a pic, not even a word, and i understood more than
most bug reports up to now. An image is worth a thousand words

That error is relatively easy to fix, i just didn't do it yet, but i'll do
it for the next update just because you posted a screenshot and i
can tell what the error is!

For all those who have Zonda's problem, maybe this can help for now:
http://www.lfsforum.net/showthread.php?p=43381#post43381

Quote from orre :Only P02 works for me but nothing happens in lfs when i use in

Now for the rest...

It's not easy to tell what's wrong exactly. Ok, so i'm assuming that MecaniK loads up, it finds
LFS and CAR then values DO show up in MecaniK. That u use it should mean that
APPLY works also (P02 didnt have that bug i think). Hopefully, this is all good and working
(i wonder what kind of media could provide such info..).

Now when you say nothing happens, did you pit out then pit in for the change to apply ?
Changing values, pressing apply, pitting out, then pitting in again does NOT update anything ?
What are you editing ?
Fonnybone
S3 licensed
Quote from [RCG]Boosted :P04 and P05 arent working for me.
P01 does, so i guess ill stick with that
btw, i cant save presets in P01

Ok, i need more info dude. WHAT doesn't work ?
There's a couple of issues going around:

-Presets problems ?
-No car found ?
-APPLY not working/disabled/grayed out ?
-Missing file errors ?
-Can't scroll or search ?
Fonnybone
S3 licensed
Quote from Bob Smith :Solved my problems (not that I had many).

The comments for the presets too ? Try a few load/save.

Quote from edas555 :
Fonny are you know why apply button is still unavailable. Are you know why?

What are you talking about ! illepall
Did you try editing values ? The problem started with the formatting 'fix' i tried,
first i forgot to unquote ONE line, APPLY.enabled=True. We all know how that
went. So P05 has that part fixed, but you have to change a value, then click
another one sometimes for the change to really happen, THEN the apply button
becomes active. Oh, and please tell me you are using the P05 exe ? I want a
screenshot !
Fonnybone
S3 licensed
Quote from hrtburnout :One request, can you let us change the car type ?

You're kiding, right ?

guess not...

Ok, no. I can't let you change the car types because that's in the
'cardata', what LFSTweak edits. MecaniK EDITS the car types, they
are car classes if you will. They limit/offset the cardata values of a
group of car, to fit within certain specifications (constraints, parameters).

A cartype cannot change cartype
Fonnybone
S3 licensed
Eureka !

Bob, i love you. Oh and RayOK too of course

So, what's the plan now ? Anyone intend to do an app ?
How about a VB version of Gmeter ? :tired:
Fonnybone
S3 licensed
Still, when it comes down to number of hits, it still got a bit over 3800
so far, at 1$ the download, it's still 3800$ Once i get closer to
a stable version, i'll post a full update and make it the only download.
If i add a little candy in it, i should be able to get a number of
downloads closer to the actual number of users. I'm curious.
Short of forcing registration,there's no way to know the absolute number.
Fonnybone
S3 licensed
Quote from Bob Smith :But yeah, impressive figures to say the least! Just shows how many people are waiting for LFS Tweak.

Ya but don't you wonder how there can be 4000 downloads if this whole thread has only 2,367 'views' ?!
The same person can 'view' a thread more than once so that's not even the number of people that read
this thread. I'm pretty sure some other forums/sites have a direct link or something I'm
just surprised how fast all this happened, i went to bed, woke up and it was at 3600+

So, even if everyone downloaded the file twice, it's still about 2000.
Fonnybone
S3 licensed
Quote from Shotglass :(...) just changing it back to the way tweak .3h
processed keyboard input would be enough

Yes, i know . This is exactly what i was thinking last night.
I just need to go through tons of old folders with tons of old projects and
find one that redruM made, he had this code and i remember removing
it because it was keeping me from doing something, i didn't realise at the
time what it was for...


I'd like some feedback on the P05 exe. Is it working well ?
I need to know before i start building on it.
Fonnybone
S3 licensed
Quote from bw_krupp :I get :

Run-time error '13':
Type mismatch

if I try to change the drivetrain.

Mmmm, didn't get this myself. How do you 'change'
the drivetrain exactly ? Can you describe step by step
what keys/buttons causes the error ? If i can make it
bug myself, then i can fix it, or at least, it's much easier.

Oh, and what version of MecaniK are you using, P02 ?
Fonnybone
S3 licensed
Quote from Bob Smith :OMG that's so confusing. However the very first equation that Scawen says works perfectly for me, so I can ignore all the gibberish and it's done, hurrah!

See attached.

Yes, that's what i mean by 'i didn't get it at first, but eventually i do'.
Yes, the first equation is good, they are all the same, just written in different ways, that's how i got it

I'll take a look at what you did and give you some feedback
Fonnybone
S3 licensed
Quote from mrodgers :Another question, does driving online with this affect the stats at LFSWorld in anyway? Like with PB times? I would guess not, but .

Yes, yes it DOES. This is very important to know imo. I'll add this to
to the disclaimer so people know BEFORE they try it. I really SHOULD
have taught of informing people about this.

It won't affect HotLap charts, but it WILL change your personal online
stats if you use it online.
Fonnybone
S3 licensed
Wow, 3000+ downloads in 1 day !! :bigeyes2: Imagine if i asked 1$ each time

Seriously though, i carefully went through all your posts and i'd like to apologize to those having issues.
I will add a disclaimer explaining the possible problems and limits,etc...

Ok, so here is my present list of ReportedBugs to fix:

- APPLY not working on P04 (Doh! doh! doh!!!!!!!!!!!)
I guess i overlooked a detail again and posted too fast.

- Missing msstdfmt.dll file
I'll have to look what i added that asks for this, i'll provide a copy if needed.

- Preset loading issues
I added comments about this both in the main post AND in the ReadME.
P04 presets PROVIDED WITH THE P04 download are different because
of the added 'Preset Comments:"

- Power affects setups
I'll check this one out, chances are it's a side-effect of editing the
cartypes, thanks for this report btw, this is news to me.

- CARnotFound
For those who still have this issue, i don'T know what to say. All
seems fine to me so far. The only thing left to check is that abc
codepage thing, since, as i mentionned, i use the car's NAMES to
ID them, so if you have different caracters showing there, it WON'T
find any car. I'm hoping this is the problem.

As for the textbox issue, i KNOW, it annoys me too, but honestly,
i got used to it so it's not frustrating me much. This is a limitation
of my programming knowledge, i'll have to look at a few ways to
deal with values. For one, i could use sliders/drop-down menus
for many values, as for the rest, i could always use a buffer textbox.
Please be patient with this, it's not a 'bug' for me at this point, but
an improvement suggestion.

Ok, it's a bit late today but i'll start looking at those issues and i
should update within a day or two.

Thanks for the support btw guys, i still can't believe P02 got 3000+ downloads ! :bigeyes2:
FGED GREDG RDFGDR GSFDG