The online racing simulator
Searching in All forums
(941 results)
PoVo
S3 licensed
Quote from P5YcHoM4N :http://www.dailymail.co.uk/new ... way-dual-carriageway.html

Forgive the source, but I couldn't be bothered to find one that wasn't daily mail.

"Vauxhall Astro" - direct quote DailyMail.

If the age is as accurate as the car model, then my god....
PoVo
S3 licensed
" Playa"
PoVo
S3 licensed
Quote from rockclan :I'd have to disappoint you.

Haha

PoVo
S3 licensed
Go put the eyes back on it!
PoVo
S3 licensed
Quote from Dygear :I really wish you would just go ahead and learn PHP, and then help with PRISM . As always, great job.

That means forcing many other people to learn PHP too
PoVo
S3 licensed
Email sent I have a feeling it's pretty close
PoVo
S3 licensed
Quote from Migz :New Baby. Which has broken on the 3rd day of driving

Nice Golf!
PoVo
S3 licensed
Yes you should.
PoVo
S3 licensed
So I don't have to use it while sending buttons?
PoVo
S3 licensed
It's from the X-Y-Z Positioning application
PoVo
S3 licensed
Quote from cargame.nl :It's not about the price of the car being insured but if you crash with your Punto into .. Lets say... A speedtrap camera.. Who is paying for that damage?

I also could say a Mercedes Benz of 100K pounds but it maybe has a few scratches in case of a collision with a Punto

But you get my point? It's not about the car but the damage you could cause with it.

If you hit someone on a bicycle with it, it will also cost a lot of money. Hospital costs, revalidation in specialized clinics, that person can maybe never work anymore in his/her life.

Thats where insurance is for. Not for a shitty 350 pound car.

Having no car insurance therefore is a crime in this country.

If that is so, then why should the elderly be able to pay barely anything?
PoVo
S3 licensed
WOW! Nice one! Thanks very much for the great work, you made my day

To Makakazo: What exactly is the
pthread_mutex_lock (&ismutex);

and
pthread_mutex_unlock (&ismutex);

used for? I noticed it between sending buttons, does that mean, I have to use it everytime I send buttons?
Last edited by PoVo, .
PoVo
S3 licensed
You guys are pedos
PoVo
S3 licensed
Quote from MaKaKaZo :I can help with this! This is a problem that comes from mingw compiler code optimization options. I think there were three levels of code optimization in the compiler options. If you check some of them *sometimes* it will generate an executable that crashes. This has been reported in mingw support several times, it has nothing to do with code::blocks, CInSim or my application. It works when debugging because in debug mode no optimization options are checked. You can just uncheck some of the optimization levels until you get a working executable.

This actually got me crazy some time ago when I did some minor changes to a project and suddenly it started crashing for no reason.

With you VS problem I can't help much. It's pretty clear that it's something to do with the includes, libraries and such. I'm no expert at all at that matter neither I know about VS as I have never used it.

I disabled all the optimisations, and still the same problem
PoVo
S3 licensed
Quote from e2mustang :So put 1 on take 1 off.done !

That's actually a crazy idea
PoVo
S3 licensed
Good work!
PoVo
S3 licensed
Personally I think keep them on. Looks like a fat car with them off.
PoVo
S3 licensed
Quote from MadCatX :Have you made any substantial changes to the code, or can I use the version you've already uploaded? I'll see if I encounter the same problem as you with Code::Blocks...

No, I downloaded Event Control from the start of this thread, which includes the Project file
PoVo
S3 licensed
Quote from MadCatX :BTW, do you use pthreadGC2.lib and not pthreadVC2.lib with Code::Blocks?

Yes
PoVo
S3 licensed
Meh, now I can't even get it to build in Code::Blocks...

If I build it, I get a file of 38kb, which crashes.

If I debug it, it runs...
PoVo
S3 licensed
Quote from MadCatX :Did you try to do just what the compiler suggested, that is including "stdafx.h" to cinsim.h? I did the testing on my Linux box where there is no "stdafx.h"...

@MaKaKaZo: You kidding? CInSim is the best InSim lib out there, simple enough to not do anything weird behind my back, yet fully functional and easy to use.

It is already added
PoVo
S3 licensed
Quote from MadCatX :I'm quite sure VS can be overridden to stop bitching about "deprecated" strcpy so you don't have to rewrite the whole ms2str.

Check out this one if it works correctly...

Still no progress

1>------ Build started: Project: main, Configuration: Debug Win32 ------
1> main.cpp
1>g:\users\povilas\desktop\myfailreloaded\main\main.cpp(25): warning C4627: '#include "pthread.h"': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>g:\users\povilas\desktop\myfailreloaded\main\main.cpp(26): warning C4627: '#include "CInsim.h"': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>g:\users\povilas\desktop\myfailreloaded\main\main.cpp(757): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
1> CInsim.cpp
1>g:\users\povilas\desktop\myfailreloaded\main\cinsim.cpp(37): warning C4627: '#include "CInsim.h"': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>g:\users\povilas\desktop\myfailreloaded\main\cinsim.cpp(791): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

PoVo
S3 licensed
Great service

www.lifestyle-cruise.de is now running on these servers. We don't experience any lag etc. on the host. Speeds are awesome.
PoVo
S3 licensed
Quote from MadCatX :I haven't had a chance to take a better look at the code yet, but I have the feeling the crash might have something to do with the pthread lib. You seem to be using pthreadGC2 library, but (AFAIK) the recommended version for use with MSVS is pthreadVC2.

EDIT: The code itself seems to be OK, I had to make few minor changes to get it compiled with GCC on my Linux box, but nothing that would cause a crash. I could connect to LFS and receive some packets, I didn't test your app any further though.
I did however replace the CInSim I found within your app with mine version, why did you replace all those strcpy with strcpy_s in ms2str function?

Because VS was giving me errors about "outdated" functions, and it wouldn't let me compile unless I changed it.

It said something like "Outdated function. Consider using 'strcpy_s'."

Would you be able to reupload the ZIP with the new stuff, so I could try it? Thanks
PoVo
S3 licensed
Hi, a few months back, I tried to get this library running with Visual Studio.

I got very far, to a point where the program builds, but crashes on start up.

I basically got the Event InSim app created my the OP, and copied it to the Project in VS.

I was unable to find the problem, so I decided to post it here, so that if anyone could have a look, to check what the problem is.

I would really appreciate someone experienced in C++ to look at my project (which can be downloaded from my site HERE (couldn't upload here as it's too big))

Thanks
FGED GREDG RDFGDR GSFDG