The online racing simulator
Searching in All forums
(976 results)
MadCatX
S3 licensed
The first stop would be to check if you have .NET 3.5 SP1 installed. The same goes for your device drivers. If none of these help, you could try changing the default values of the effect, maybe your device just doesn't like them for whatever obscure reason...
MadCatX
S3 licensed
I was so ashamed of the original version that I decided to update it to something that almost looks like a legitimate application. Have fun...
MadCatX
S3 licensed
Quote from edge3147 :Even the mods don't care anymore. The one and only mod I ever see online anymore is Flame. 1 mod for 51,146 registered members, BRILLIANT WORK DEVS.

XCNuse - Last activity on 24th June 2012
Bob Smith - Last activity on 26th June 2012
dekojester - Last post on 7th July 2012 (yesterday)
franky500 - Last post on 8th July 2012 (today)
Victor - Just look up the recent thread about LFS servers outage
MadCatX
S3 licensed
Quote from edge3147 :
#1 Give us a damn progress report.

Great, as if this hasn't been discussed to death.
Quote from edge3147 :
#2 Lock threads that get out of hand like this.

So that the angry blokes would make new ones? Better keep the mess in one place. Plus this is the moderators' job, not the devs'.
Quote from edge3147 :
#3 Acknowledge that LFS even exists still.

The servers are up and actively maintained, new licenses are still being sold, all websites and techsupp are up, what other proof do you need?
Quote from edge3147 :
#4 Release content that has been complete since 2009. (Rock + Scirocco)

How do you know it's been completed? Moreover, how do you know it would work with the current engine?

I guess it's clear why most people voted yes in this poll...
MadCatX
S3 licensed
Coordinate-based system is better than a node-based one because it's much more flexible and works in open-config tracks. It's somewhat harder to program though if you want to use other than rectangular areas.
MadCatX
S3 licensed
Quote from m1n3rman :I was talking about his own network as his server is being hosted by 500servers.

It is? Info he provided in the thread suggests otherwise. If an attacker could tell what the admin's IP is even if the server was hosted elsewhere, it would mean there is a major security issue on the part of the hosting or LFS. What would be the point of crashing admin's private network while the server would be still running anyway?
MadCatX
S3 licensed
-376 / 3 = -125
968 / 3 = 322
MadCatX
S3 licensed
LFS Polygon draw
Not precisely what you want, but you can use it to find position coordinates on LFS track in a format used by LFS.
MadCatX
S3 licensed
What is it about open configs that he can't do? Since there are no track nodes in open configs, perhaps he's looking for a way how to do street names and related stuff without the nodes?
MadCatX
S3 licensed
Ehm... If you're running a server, everybody knows your IP address, everybody has to know your IP address in order to be able to connect. All attempts to conceal your IP will either be useless or render your server inaccessible. VPN is also not an option. If you hid your server behind a VPN, the attacked would DoS the VPN endpoint rather than your machine, but that doesn't make it any better. Big services use Anycast to protect themselves from DoS attacks where one IP represents multiple machines which can be even geologically separated. Packets are then routed to the least loaded and closest machine. Of course this is not something you could use for a LFS server.

IMHO the best you can do is run a well configured firewall on the device that connects you to the Internet and have it log attack attempts. Your advantage is that you're dealing with bored kids here, you can show the logs to the attacker's ISP and demand them to take action. A lot of people will very likely pack it up when their ISP threatens them to block their connection altogether...
MadCatX
S3 licensed
Perfect, you're the man. I kinda wonder why Google didn't come up with this solution as it seems pretty obvious... anyway, thanks.
MadCatX
S3 licensed
Generic routers for home use behave very badly under DoS-like conditions. I can blow up mine very easily with a simulated DoS. If a home router is the best you can do, at least check if it's possible to install a WRT-based firmware on it. That should let you configure iptables which have effective means to counter DoS attacks. However, hardware limitations of cheap routers still make them quite vulnerable.
MadCatX
S3 licensed
If he crashed your server, you should have his IP and therefore be able to configure your firewall accordingly. Script kiddies with LOIC and stuff should be easy to deal with...
Lost/GotFocus events in .NET C#
MadCatX
S3 licensed
Hi,

I'm probably being an idiot, but I can't get these to work no matter how correct my code seems to be. I have a window form and I need to run a certain action when the form looses and regains focus. At the moment I have this code (which does squat):


<?php 
namespace FFBTest
{
    public 
partial class Form1 Form
    
{
        ...
 
        public 
Form1()
        {
            
InitializeComponent();
            
this.GotFocus += new EventHandler(Form1_GotFocus);
            
            ...
        }
 
        ...
 
        private 
void Form1_GotFocus(object senderEventArgs ea)
        {
            
DInputHandler.DisableAutoCenter();
            
DInputHandler.ResumeAllEffects();
            
MessageBox.Show("Got focus!");
        }
    }
}
?>

and a similar thing for LostFocus. The *Focus events don't seem to be fired because the Form1_*Focus() methods are not executed. Anybody sees what am I doing wrong? I can post more code if there's a possibility of the events to clash with something else...
Project's target framework is .NET 3.5
MadCatX
S3 licensed
It won't work on PS3 because WINE requires x86 CPU.
MadCatX
S3 licensed
Quote from Nick7 :Clock speed is irrelevant for comparing CPU speeds between different generation/types of CPU's.

As an example is aforementioned P4 @3GHz compared to core2duo CPU at 1.8GHz (forgot which model it was).
Well.. P4 was SLOWER some 20-30%.

This is oversimplification. It doesn't matter if you have a CPU that can average 5 IPC in a certain application clocked at 3 GHz or a CPU averaging 10 IPC running at 1.5 GHz.
NetBurst wasn't a particularly efficient architecture, but the latest P4s would probably outperform the lowest-end C2Ds at certain kinds of workload. Since LFS doesn't take advantage of anything beyond SSE, I don't see why it would particularly benefit the Core2 architecture.
MadCatX
S3 licensed
Apparently my taste in music is getting worse by the day
Raubtier - Änglar
MadCatX
S3 licensed
Actually I wouldn't be surprised if the last Pentium 4s delivered better performance than SU7300. They have more than twice as high clock speed, same FSB speed and LFS doesn't make any use of multiple cores or SSE4 instruction set.
MadCatX
S3 licensed
You have to pass ISF_CON as a flag in IS_ISI to receive car contact packets.
MadCatX
S3 licensed
You should put some sort of splint around the area where the cable was pinched. The fact that the wheel didn't work suggests that the wiring is probably cracked and any flexing could sever the wires completely.
MadCatX
S3 licensed
Qt is complete framework for software development built on top of C++ with abstractions for GUI, Networking, Multimedia and all sorts of other nice stuff. A Qt way of handling OutGauge could look like this


<?php 
#include <QtCore/QByteArray>
#include <QtCore/QDataStream>
#include <QtCore/QDebug>
#include <QtCore/QString>
#include <QtNetwork/QHostAddress>
#include <QtNetwork/QUdpSocket>
const QHostAddress ADDR ("127.0.0.1");
const 
quint16 PORT 30000;

QUdpSocketogSocket = new QUdpSocket();
if (
ogSocket.bind(ADDRPORT)) {
   
connect(ogSocketSIGNAL(readyRead()), thisSLOT(getPacket()));
else
   
qDebug() << "Cannot bind socket.";

--------------------------------------------

void getPacket() {
   
QByteArray buffer;
   
qint64 length ogSocket->PendingDatagramSize();
   if (
length == 92 || length == 96) {
      
/* This is an OutGauge packet */
      
buffer.resize(length);
      
ogSocket->readDatagram(buffer.data(), lengthNULLNULL);
   } else {
      
/* Not an OutGauge packet, skip it */
      
ogSocket->readDatagram(buffer.data(), 0NULLNULL);
      return;
   }

   
/* Extract data from the packet */
   
deserialize(bufferlength);
}

void deserialize(const QByteArrayarqint64 len)
{
   
qint32 m_Time;
   
quint8 m_rawCar[4];
   
quint32 m_Flags;
   
quint8 m_Gear;
   
quint8 m_PLID;
   
float m_Speed;
   
float m_RPM;
   
float m_Turbo;
   
float m_EngTemp;
   
float m_Fuel;
   
float m_OilPressure;
   
float m_OilTemp;
   
quint32 m_DashLights;
   
quint32 m_ShowLights;
   
float m_Throttle;
   
float m_Brake;
   
float m_Clutch;
   
quint8 m_rawDisplay1[16];
   
quint8 m_rawDisplay2[16];
   
qint32 m_ID;   

   
QDataStream stream(ar);
   
stream.setByteOrder(QDataStream::LittleEndian);
   
stream.setFloatingPointPrecision(QDataStream::SinglePrecision);

   
stream >> m_Time;
   for (
int i 04i++)
      
stream >> m_rawCar[i];

   
stream >> m_Flags >> m_Gear >> m_PLID >> m_Speed >> m_RPM >> m_Turbo >> m_EngTemp >> m_Fuel >> m_OilPressure >> m_OilTemp >> m_DashLights >> m_ShowLights >> m_Throttle >> m_Brake >> m_Clutch;
   for (
int i 016i++)
      
stream >> m_rawDisplay1[i];
   for (
int i 016i++)
      
stream >> m_rawDisplay2[i];

   if (
len == 96)
      
stream >> m_ID;

  
QString m_Car QString::fromLatin1((const char*)m_rawCar);
  
QString m_Display1 QString::fromLatin1((const char*)m_rawDisplay1);
  
QString m_Display2 QString::fromLatin1((const char*)m_rawDisplay2);
}
?>

MadCatX
S3 licensed
It's either that or LFS is somehow triggering a previously undiscovered bug in DWM. I fail to see what could LFS be doing wrong here, it's Windows' responsibility to properly restore the compositing desktop.

BTW, it's been a while since I tried that, but IIRC Windows didn't revert to "classic" desktop when I launched LFS on my nVidia laptop. Is this behavior Radeon-specific?
MadCatX
S3 licensed
DWM.exe is a process that takes care of the Aero desktop. If it crashes, it's very likely a drivers issue.
MadCatX
S3 licensed
Quote from edge3147 :4 years of almost complete silence, there damn sure better be something to write about.

There have been two annual progress reports, a 0.6B patch and some other bits of info throughout the years.

You people just don't get it, do you? Development a mathematical model of a tire and turning it into a computer algorithm is NOT interesting for anybody who doesn't have a college degree in mathematics, physics and programming.
FGED GREDG RDFGDR GSFDG