The online racing simulator
Searching in All forums
(931 results)
Fire_optikz001
S2 licensed
Quote from Tim NL :
Point and License system (Made by myself) Shows at end of race the finish position and the number of point and there license. !point !rank

wow can i get i always wanted something like this
Fire_optikz001
S2 licensed
if u did it in the separate directory yes
Fire_optikz001
S2 licensed
Quote from Tim NL :Hi,
You can have serval dedi(s) with one LFSLapper.
In the LFSServers.cfg you add them.

LFSServers.cfg

# Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autoStart
remotePort=3001;
SVR1|gr1|127.0.0.1|29991|./default|S2_GTR.ini|autowork
SVR2|gr1|127.0.0.1|29992|./default|Demo_bronze.ini|autowork
SVR3|gr1|127.0.0.1|29993|./default|Demo_copper.ini|autowork
SVR4|gr1|127.0.0.1|29994|./default|S2_FBM.ini|autowork
SVR5|gr1|127.0.0.1|29995|./default|S2_Test.ini|autoStart


that would be all the servers running 1 lpr

better would be


<?php 
 
#    Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autoStart
remotePort=3001;
SVR1|gr1|127.0.0.1|29991|./default_1|S2_GTR.ini|autowork
SVR2
|gr1|127.0.0.1|29992|./default_2|Demo_bronze.ini|autowork
SVR3
|gr1|127.0.0.1|29993|./default_3|Demo_copper.ini|autowork
SVR4
|gr1|127.0.0.1|29994|./default_4|S2_FBM.ini|autowork
SVR5
|gr1|127.0.0.1|29995|./default_5|S2_Test.ini|autoStart
?>


i think that would be the best thats what we do when we tried ours
Fire_optikz001
S2 licensed
Quote from Tim NL :Hi,
Your Leaderboard have a small bug ,it shows the usernames incase of the nicknames from who is infront or behind you.
Leaderboard works fine.

The next lines must be

$nickNameFront = GetPlayerVar( GetCurrentPlayerVar( "UNameBefore" ),"nickName" );
$nickNameBack = GetPlayerVar( GetCurrentPlayerVar( "UNameBehind" ),"nickName" );

i got those frome the default lapper script so don't bombard me with that bug
Fire_optikz001
S2 licensed
lfs lapper no doubt
Fire_optikz001
S2 licensed
yes u would still only use one
Fire_optikz001
S2 licensed
Nice Work
Last edited by Fire_optikz001, . Reason : nvm
Fire_optikz001
S2 licensed
scroll lock V i think
and SL b for live show
Fire_optikz001
S2 licensed
Quote from scoobyrbac :If it looked for the .exe extension do you know how many .exe files I have that would be picked up by Xfire?

actually if its in the default xfire direcotry it will find it
Fire_optikz001
S2 licensed
lfs "icon" is lfs.exe :wow:
Fire_optikz001
S2 licensed
i knnow i wasent paying attion when i posted
Fire_optikz001
S2 licensed
site will be fixxed by 2morrow
Fire_optikz001
S2 licensed
Quote from Tim NL :Hi,
Try this.


GlobalVar $TeamTag;
$TeamTag = "^0[^4S^0C]"; # Put here a team Tag that you want to check
GlobalVar $TeamTagLenght;
GlobalVar $TeamTagStrip;

$TeamTagLenght = StrLen( $TeamTag );
$NickName = GetCurrentPlayerVar("NickName");
$TeamTagStrip = substr( $NickName,0,$TeamTagLenght );

IF( $TeamTagStrip == $TeamTag )
THEN
do something ( kick or allow )
ENDIF


just what i needed
Fire_optikz001
S2 licensed
Quote from Bass-Driver :i have this now


UserKickFile( "UserKick", "C:\Program Files\LFS Z15\Lapper 5.716\bin\UserKick.txt" );
UserBanFile( "UserBan", "C:\Program Files\LFS Z15\Lapper 5.716\bin\UserBan.txt" );
UserAdminFile( "UserAdmin", "C:\Program Files\LFS Z15\Lapper 5.716\bin\UserAdmin.txt" );

IF( UserInAdmin( "UserAdmin",$userName ) == 1 )
THEN
privMsg( "^7Welcome Back Admin!!!" );
ENDIF
IF( UserKick( "UserKick",$userName ) == 1 )
THEN
privMsg( "^1You Have A Current Ban From This Server");
cmdLFS("/kick " ."UserName");
ENDIF

IF( UserBan( "UserBan",$userName ) == 1 )
THEN
privMsg( "^1You Are Not allowed to join this server!!");
cmdLFS("/ban " . "UserName" . "1");
ENDIF


it says
UserKickFile is not a lapper fuction
UserBanFile '' '' '' '' ''
UserAdminFile " " " " "

what i need to do

UserGroupFromFile(

possible to disallow a whole team from server?
Fire_optikz001
S2 licensed

<?php 
    
IF( $Nickname == "^0[^4S^0C]" )
    
THEN
        cmdLFS
"/kick " $userNtame );
    ENDIF
?>

Fire_optikz001
S2 licensed
well i restarted my pc and it works i blam some of it on someone messing with my sleep they put it at 20 ms
Fire_optikz001
S2 licensed
i run 4gb on 32bit
um my gcard or what?
Fire_optikz001
S2 licensed
edit was my gcard delete thread
Last edited by Fire_optikz001, .
Fire_optikz001
S2 licensed
well here then

<?php 
Event OnMSO
$text )
    SWITCH( 
$command )
    
$userName GetCurrentPlayerVar("UserName");

        CASE 
"!auth":
            IF( . 
$argv . == 134562 )
            
THEN
              privMsg
"^2Thank you for logging in");
        
MoveUserToGroup"admin",$userName );
            ELSE
              
privMsg"^1Login Denied");
            ENDIF
            BREAK;
ENDSWITCH
EndEvent
?>


[Solved] Admin login
Fire_optikz001
S2 licensed
ok i was trying this

<?php 
        
CASE "!auth":
            IF( . 
$argv . == 134562 )
            
THEN
              privMsg
"^2Thank you for logging in");
        
MoveUserToGroup"admin",$userName );
            ELSE
              
privMsg"^1Login Denied");
            ENDIF
?>

but it dont seem to work Frown
Last edited by Bass-Driver, .
Fire_optikz001
S2 licensed
Quote from KuHS :Hello i'm using LFS External lib, and i have one really really big problem. Ok, then player connects it's everything ok, then is ~+9 players in the server then appears a lot of problems, no errors is giving, just, you drive atm XFG, you drive 1-2 metres and your cash and licence points is resetting to zero or just then you connected to it... Idk what's the problem the InSim gives no error, just problem with players, btw in my server there's a lot of stuff, like bank, shop, energy, maiby that? And i'm added CompCar to my code, i think it's the problem, but anyways, then in the server is 1-5 people everything is ok, nothing disappears. Anybody knows how to fix this problem?

looks like the compcar might have an error
Fire_optikz001
S2 licensed
Quote from John5200 :the devs ban everyone in the forum that uploads a mod... is that nothing?

and the devs of course cant do anything against what ppl are uploading enywhre else in the internet...

btw. they could stop it if they would check the sice of the car files.

i thought about that but would it really work?
Fire_optikz001
S2 licensed
Quote from Mikjen :This is why i posted, i tried to join and Host Not Found

Mick

what server? on server on line atm is [SC] Cruise
Fire_optikz001
S2 licensed
hows this been going?
Fire_optikz001
S2 licensed
Quote from Krayy :I like that...mind if I "borrow" it

not at all
FGED GREDG RDFGDR GSFDG