The online racing simulator
Searching in All forums
(981 results)
Dygear
S3 licensed
Quote from Audi A3 :Don't help for him, he is another Lithuania cracker which is creating LFS cruise server in crack! ! !

He found a legitimate bug in my program, it would be stupid not to fix it.
Dygear
S3 licensed
Quote from cargame.nl :I have no time today to test it myself but hopefully Airio crashes with this unknown packet.

Because all custom car class timings are otherwise rendered useless if somebody can change handicaps during a hotlap.

THAT SUCKS! I've the packet to PRISM, so hopefully that will help you somewhat.
Dygear
S3 licensed
I've added the ISP_HCP packet into the master branch on Github and is ready for testing.
Dygear
S3 licensed
/modules/prism_plugins.php (Lines 436 - 444)

<?php 
protected function &getClientByUCID(&$UCID$hostID null)
{
    if ((
$clients =& $this->getHostState($hostID)->clients) && $clients !== null && isset($clients[$UCID])) {
        return 
$clients[$UCID];
    }

    
$return null;
    return 
$return;
}
?>

That should fix it. Please test.
Dygear
S3 licensed
What version of php are you running?

php -v

Dygear
S3 licensed
Are you both using the latest version of PRISM?
Dygear
S3 licensed
You don't have MySQL's PDO driver in your PHP install. You might just need to add php_pdo_mysql.dll into your php.ini file.

Find your php.ini file and then remove the semicolons from the front of the lines of the extensions you want to install extension=php_pdo_mysql.dll should do the trick.
Dygear
S3 licensed
Quote from Becky Rose :I use Font Squirrel's Webfont Generator to convert my fonts in to all the different formats needed. It should work with everything post WAP :P.

Dear GOD, WAP! That's a part of history I'd rather forget.

Quote from Becky Rose :I have not tried FontAwesome, but I would be surprised if it cannot handle the job

It's pretty great. I use it on WLVAC.net for the menu icons.
Dygear
S3 licensed
Just a crazy idea. Why not use Font-Awesome for the icons? It should in theory cover most forum icons already?
Dygear
S3 licensed
Quote from nesrulz :Cool.


That's amazing! Nice job Victor!

[edit] Waaiiit a minute! That means that Victor made an OpenGL render for Live For Speed. Hey. hey! Things are lookig up!
Last edited by Dygear, .
Dygear
S3 licensed
Yeah, I'm also having the issue where it emails me for no apparent reason. I've not logged into the website in a few days and this was the only thread I've replied too. Now every like 12 hours, I get an update on what's going on, in this thread for no apparent reason. I don't want that. I did not even subscribe to it. Second question. Is this running vBulletin in the background, or is this Vic's code?
Dygear
S3 licensed
Quote from dawesdust_12 :I couldn't log in at first. Had to reset password.

Dito, had the same issue. But nice job Victor, very nice job.
Dygear
S3 licensed
Thank you! Nice to see you active again!
Dygear
S3 licensed
Welcome back!
Dygear
S3 licensed
Scawen, if you get the time, could you look at some of the changes requested for InSim. We've made a thread regarding it in the Programmer's Forum. When you get around to it, we'd be glad to have the discussion with you there.
Dygear
S3 licensed
Quote from Dygear :Here's an InSim packet that I'd like to see. IS_TRE (Tire)

struct ISP_TRE
{
byte Size; // 8
byte Type; // ISP_TRE
byte SubT; // Always 0
byte PLID; // Player ID of Client in Question

// Followings Byte's Value is From Contact Patch Defines;
byte DSF; // Driver Side Front
byte DSR; // Driver Side Rear
byte PSF; // Passenger Side Front
byte PSR; // Passenger Side Rear
}

#define TRE_TARMAC 0; // 0 - sent by the layout loading system only
#define TRE_OOB 1; // 1 - Tire is out of track bounds.
#define TRE_RUMBLE 2; // 2 - Tire on Rumble Strip.
#define TRE_GRASS 4; // 4 - Tire is on Grass.
#define TRE_SAND 8; // 8 - Tire is on Sand.

This packet would only be sent when there is a change of state. Could use useful for making a smarter lap invalidation system within an InSim application, outside of checking the client's cords being in the track's path. Mainly also useful on X and Y configs where there are no paths by default, we can then use this information as a backup.

Here is a copy of my proposal.

Quote from cargame.nl :
Quote from Dygear :
Here's an InSim packet that I'd like to see. IS_TRE (Tire)
Whats the difference with IS_HLV?


And to answer your question cargame, HLV invalidates laps, but does not give us information about the tires. Many times in this season of F1, they are talking about the number of tires going over and beyond the defined track limits (white lines). This packet will allow us to get that information and allow leagues to decide node by node (effectively better then corner by corner) what they wish to allow.
Dygear
S3 licensed
Quote from DarkKostas :Or for more compact, it could be bitwise

Ah, I'm an idiot. I did not define them correctly, they were meant to be bitwise from the start. As you see in the comments, 1, 2, 4, 8, ect.
Dygear
S3 licensed
Here's an InSim packet that I'd like to see. IS_TRE (Tire)

struct ISP_TRE
{
byte Size; // 8
byte Type; // ISP_TRE
byte SubT; // Always 0
byte PLID; // Player ID of Client in Question

// Followings Byte's Value is From Contact Patch Defines;
byte DSF; // Driver Side Front
byte DSR; // Driver Side Rear
byte PSF; // Passenger Side Front
byte PSR; // Passenger Side Rear
}

#define TRE_TARMAC; // 0 - sent by the layout loading system only
#define TRE_OOB; // 1 - Tire is out of track bounds.
#define TRE_RUMBLE; // 2 - Tire on Rumble Strip.
#define TRE_GRASS; // 4 - Tire is on Grass.
#define TRE_SAND; // 8 - Tire is on Sand.

This packet would only be sent when there is a change of state. Could use useful for making a smarter lap invalidation system within an InSim application, outside of checking the client's cords being in the track's path. Mainly also useful on X and Y configs where there are no paths by default, we can then use this information as a backup.
Dygear
S3 licensed
Hah! What are the odds that you happen to find a huge booth using LFS without a license!
Dygear
S3 licensed
Now that I'm a Certified Emergency Vehicle Operator Instructor (CEVO-I), I can tell you hands down, that racing in LFS helped me be a better driver, and helped me be a better racer and helped me be much calmer behind the wheel when I first got into an ambulance.

It's not going to happen for a very long time. Scawen has said it's going to happen after S3 is shipped, so that's awesome and I would LOVE to add my home town to LFS so that people can learn how to drive my Fire Districts on a Sim (Saves Gas, Saves Money, Saves Time) and we can even do drills with getting to the scene of an alarm as fast, but also as safe as you can.

I would LOVE to do this right now as I'm now the Chief of the Department and I can make this happen overnight if I could only get some more information about the game track format. I looked over the files in the past, and it should be possible to get 6.5 square kilometers into a file without overflowing the 32bit type limit. That would fit the north side of my Fire District no problem. Scawen if any of this interests you, please let me know. I would love to collaborate on this project. It could even be sold to other departments and make some money.
Dygear
S3 licensed
Quote from THE WIZARD DK :thank you very much for that info

and thank you for this aswell

Yep, those instructions need to be sticked and wiki'd.
Dygear
S3 licensed
Quote from T3charmy :Wrong kind of website... but I can make one of those too! Just give me a few days. :P

Edit: What exactly would you like on the website? One thing I thought about was server stats such as X amount of PRISM instances running on Y amount of LFS servers. various examples as well as a function list and how they're used. Also various things that can be done with PRISM etc.

I've shied away from doing documentation, because the API is not solid until 1.0. (I'll just wait for cargame to make a comment on how that will never happen.) I like the idea of the number of running instances that PRISM has running. I guess we could make a pingback plugin that gives us this stats, log information like Host Name, IP address, number of clients on the sever. It can update this information as client's leave / join.
Dygear
S3 licensed
Quote from T3charmy :Also in other news... after going through my flash drive and finding multiple PRISM backups... I'm happy to say I found the new website that I made for PRISM a while back!

Oh! I own the domain PRISM.IO, send it over what you have and I'll put it on my web server. I'll give you SSH access once I'm setup.
Dygear
S3 licensed
Quote from T3charmy :[including ability to use images]

Oh hell yes!
Dygear
S3 licensed
Quote from T3charmy :Changes have been merged to repo. ZIP is ready for download: https://www.lfsforum.net/showt ... php?p=1843407#post1843407

You sir are awesome, thanks for merging them into my master branch as well!
FGED GREDG RDFGDR GSFDG