The online racing simulator
Searching in All forums
(363 results)
T3charmy
S3 licensed
Quote from Dygear : Also, have the server save the reply so that it can be inspected later.

was the plan, but how do i do this?
T3charmy
S3 licensed
Quote from amp88 :Yes, there's a lag notification built into the CompCar packet (check LFS/docs/InSim.txt). However, if hitting red/white barrier (or other object) would trip the cheat protection checking for lag is a moot point. What you could do is to check whether a user maintains a speed above the maximum for their car for a certain period of time (e.g. a few seconds). That would more reliably detect cheaters.

ye that was the other idea i was thinking of take an average of about 5 seconds if they maintain it or go faster then it it will ban them
T3charmy
S3 licensed
Quote from misiek08 :if someone is going to do LFS Mail based on PRISM then for 1000 hosts it could be terrible to have enabled MCI packets. It could be big traffic...

i am actually making something like this... it would sync between team website and LFS chat VIA Prism...

but i would also make it so it syncs like an actual email type system VIA Prism & Team forums PM system... so it would appear as a Email type thing inside LFS... the forums would still look like forums PM ... unless i went and made a separate page which uses the same exact idea as the one included in PHPBB (only one that i plan to make it for) itself and just made it look more like Email... either way... will be intresting :P
Last edited by T3charmy, .
T3charmy
S3 licensed
Quote from imthebestracerthereis :I've made a similar program, the only problem was that if someone lagged into another person, one would go flying, tripping the program.

hmm is there a way to check if a user is lagging?
T3charmy
S3 licensed
Quote from Heiko1 :easyest way is to take every car with default setup
+ any track
+ flip the car go to last gear and get the "maximum" theoretical speed from setup

then create
int UF1 = 165;
int XFG = 200;
int XRG = 210;

and so on
or if you check it per leaving pit


LeavePitpacked
{
if (Car == UF1)
{
Maxspeed = 165;
}
if (Car == XF...)
}
}

on mci packed
MCI_Packed
{
if(LeftPit == true)
{
if (Currspeed < Maxspeed)
{
msg(/ban %username% "999")
}
}

if

yep thats what i was gonna do
T3charmy
S3 licensed
Quote from Flame CZE :Does it ban all people who drive more than 200 MPH? Doesn't BF1 drive more than that?

yes, exactly why i need to make an array of different car types
T3charmy
S3 licensed
Quote from tbofram :did you just deside to post this after i sent you the link to that hacker on your server????????????????

ye :P
Cheat protection
T3charmy
S3 licensed
i made a plugin, which checks for speed hackers, then i remembered that every car has its own top speed, i will most likly make an array of top speeds for every car :P


<?php 
php
class Cheat extends Plugins {
    const 
URL 'http://lfsforum.net/forumdisplay.php?f=312';
    const 
NAME 'Cheat Protection';
    const 
AUTHOR 'T3charmy';
    const 
VERSION '0.1.0';
    const 
DESCRIPTION 'Does the dirty work for you!';

    public function 
__construct() {
        
$this->registerPacket('onMCI'ISP_MCI);
    }
    public function 
onMCI($Packet) {
        foreach (
$Packet->Info as $PacketInfo) {
            
$PacketData Plugins::getClientByPLID($PacketInfo->PLID);
            
$MPH number_format($CompCar->Speed 146.4860671);
            if(isset(
$PacketData)){
                if(
$MPH 200){
                    
$MST = new IS_MST;
                    
$MST->Msg("/ban {$PacketData->UName} 999")->Send();
                    
$MST->Msg("/msg ^1{$PacketData->UName} banned for Speed Hacking!")->Send();
                }
            }
        }    
    }
}

?>

T3charmy
S3 licensed
Quote from Dygear :Ok, in the next version I'll just check that the Flags are set, not if they are greater then 0, and I'll remove MCI's from the list of default packets.

So change that line you posted to this:

$ISP->Flags = (isset($this->Flags)) ? $this->Flags : ISF_MSO_COLS;


ok if you do this what would i have to do to make my cruise work again? being that you are turning off one of the key packets for cruise. :P
T3charmy
S3 licensed
hmm is there a better way to do this?


<?php 
$LNode 
= ((isset($this->players[$PacketInfo->PLID]["LNode"])) ? $this->players[$PacketInfo->PLID]["LNode"] : 0);
?>

T3charmy
S3 licensed
Quote from ghostrider83 :I would like to thank Bell for buying T3ch his own S2 account.

i should be the one doing the thanking 0 ... Thanks Bell, i have been trying to get my own S2 account for a while... much appreciated
T3charmy
S3 licensed
Quote from Dygear :So now you have two S2 licenses. Very nice, also glad that you use the github submit name on here, it helps out .

well FIre_optikz is really my brothers account .... the only reason i used his was my dad decided to be cheap and instead of buying me my own S2 he upgraded my brothers account(which had S1)
T3charmy
S3 licensed
Just wanted to let you know this is my new username
FGED GREDG RDFGDR GSFDG