The online racing simulator
Searching in All forums
(931 results)
Fire_optikz001
S2 licensed
Development id going well i just created a new bank sys (old one is still included) and a new !buy sys which includes prices and ability to buy car in one

both these things use buttons i spent all after noon on the bank so i am hoping you guys like it
Fire_optikz001
S2 licensed
i have mono installed but it still does not work... i tryed running it from the terminal and it gave me access denied... any idea what that could be?
Linux
Fire_optikz001
S2 licensed
how do i run LFSLapper with Ubuntu Linux? i have wine but when i go to start it it does not work can anyone help?
Fire_optikz001
S2 licensed
Quote from Gai-Luron :Thank's for yours helps

Work on all platform
  • XP 32 bit
  • Vista 32 bit
  • Vista 64bit
  • Windows 7 64bit
  • Linux
I do modification on LFSLapper

Gai-Luron

once u do that how long till next release?
Fire_optikz001
S2 licensed
Quote from Gai-Luron :Thank's for yours helps

This sound great,

Work on
  • XP 32 bit
  • Vista 32 bit
  • Windows 7 64bit
  • Linux
To be tested
  • Vista 64bit
Then i need to modify some thing in LFSLapper to work on Vista and/or 64bit system.

Gai-Luron

it works in vista atm O.O u mean windows 7?
Fire_optikz001
S2 licensed
Quote from sinanju :Gai - Sorry, no.

Don't want to use !zone or !node because I then have to find and set them for every single track and configuration, forward and reverse.

I already have to do this for my enter pits/exit pits warning, and few other things too. Comfortable with these, but this would be pain for what I need.

There must already be defined sections of the track where one sector ends and other sector starts (the obvious one is the start/finish line), otherwise you couldn't measure sector/split times.

I'm wanting to set up a yellow flag warning system, where if there is a crash in a sector, only people in that sector, and previous sector advised. If you're in front of the sector (maybe up to 2 sectors on longer tracks), then you don't need to know until you start new lap. And even then, you might never need to know, as flag may no longer be needed.

There must be something to tell LFS or Lapper that a sector is finished for the sector/split times to then show when past this point?

Would be nice to have sector zones, and Yisc's idea is a good one too.

easy... On split have it set a current player var setting the split number
Fire_optikz001
S2 licensed
works On vista home premium 32bit :P
Fire_optikz001
S2 licensed
Quote from banshee56 :FYI...Unless you have a dedicated or virtual private server, most LFS server suppliers block uploading of EXE files because it's a security issue. My suggestion would be to send the EXE file (zip it first) with an explanation of the update to the Alien Serve admins and they can upload it for you after verifying it poses no securtiy issues. Standard procedure, IMHO.

his problem is he does not want to email them just because he fixes 1 thing...
Fire_optikz001
S2 licensed
Quote from Fire_optikz001 :is there a way to make lapper not consider a user disconnecting as leaving race?

like maybe


<?php 
Event OnLeaveRace
$userName$fact )  # Player event
IF ($fact == "0" THEN # 0 = spectate 1 = Disconnect
Do what ever
ENDIF
EndEvent
?>


or maybe something like this

Quote from Fire_optikz001 :None of my For Eachs are working :P like this for example:


<?php 
               
FOREACH( $maVar IN $News )
                 IF( 
$maVar["value"] != "" )    THEN
  privMsg
("^6News: ^7" $maVar["value"] );
  ENDIF                       
            ENDFOREACH 
?>

also i was wondering if there was a way to do a certain area of a array var like

<?php 
$Traffic
"A","Color",*]
?>

And id there was a way to set a var in a foreach

Bump :S
Fire_optikz001
S2 licensed
i would like to request this

<?php 
IF( FileExist"./file.txt") = 1)
THEN
PrivMsg
"File Exist" );
ELSE
PrivMsg"File Does not Exist" );
ENDIF
?>

and


<?php 
IF( contains($argv":" ) = )
THEN
PrivMsg
"You Cant have : in your argv" );
ENDIF
?>

Last edited by Fire_optikz001, .
Fire_optikz001
S2 licensed
Quote from Rooble :Is it of any use to you? Or are you just saying that to be nice?

i tested it... pretty cool :P it is nice tho...
Fire_optikz001
S2 licensed
Quote from Bass-Driver :hi guys
i have made a votesystem with 2 options

yes , no , cancel

and one with 4 buttons


my problem is:
when i make a question with the 4 buttons. and i click on send so that the other users can vote.
when i click a button then it says:

User voted for : Option 1 (thats what i fill in one of the buttons)

if the other users clicked on that button it says:

User voted for :

I have made a global var already but it still doenst work.


<?php 
Sub Option1 
$KeyFlags,$id  )
$userName GetCurrentPlayerVar("UserName");
cmdLFS("/msg ^7>" GetCurrentPlayerVar("NickName") . "^7 VOTED FOR : " $Question1 );
SetCurrentplayerVar"Vote2option1""" );
SetCurrentplayerVar"Vote2option2""" );
SetCurrentplayerVar"Vote2option3""" );
SetCurrentplayerVar"Vote2option4""" );
closePrivButton"votesysbtn1&votebtn11&votebtn21&votebtn31&votebtn41&votebtn51&voteoptbgd&votechcnl1");
EndSub

Sub Option2 
$KeyFlags,$id  )
cmdLFS("/msg ^7>" GetCurrentPlayerVar("NickName") . "^7 VOTED FOR : " $Question2);
SetCurrentplayerVar"Vote2option1""" );
SetCurrentplayerVar"Vote2option2""" );
SetCurrentplayerVar"Vote2option3""" );
SetCurrentplayerVar"Vote2option4""" );
closePrivButton"votesysbtn1&votebtn11&votebtn21&votebtn31&votebtn41&votebtn51&voteoptbgd&votechcnl&votechcnl1");
EndSub

Sub Option3 
$KeyFlags,$id  )
cmdLFS("/msg ^7>" GetCurrentPlayerVar("NickName") . "^7 VOTED FOR : " $Question3);
SetCurrentplayerVar"Vote2option1""" );
SetCurrentplayerVar"Vote2option2""" );
SetCurrentplayerVar"Vote2option3""" );
SetCurrentplayerVar"Vote2option4""" );
closePrivButton"votesysbtn1&votebtn11&votebtn21&votebtn31&votebtn41&votebtn51&voteoptbgd&votechcnl&votechcnl1");
EndSub

Sub Option4 
$KeyFlags,$id  )
cmdLFS("/msg ^7>" GetCurrentPlayerVar("NickName") . "^7 VOTED FOR : " $Question4);
SetCurrentplayerVar"Vote2option1""" );
SetCurrentplayerVar"Vote2option2""" );
SetCurrentplayerVar"Vote2option3""" );
SetCurrentplayerVar"Vote2option4""" );
closePrivButton"votesysbtn1&votebtn11&votebtn21&votebtn31&votebtn41&votebtn51&voteoptbgd&votechcnl&votechcnl1");
EndSub
?>


Fire_optikz001
S2 licensed
Quote from sinanju :Maybe change the colours?

Flashing Amber (yellow) going into pits (as a hazard warning), and blue when exiting. Bit like F1 where they have blue light at end of pit lane - extract from regulations "At any time, a stationary light blue flag (or, as is now more common, a blue light) may be shown to a driver at the pit lane exit to warn them that cars are approaching on the track".

As an aside, as I lack the necessary programming expertise, but you don't (:nod, any chance you could develop some sort of light system whereby if all going well on track, light(s) show blank or green, but if there's an accident in a section of track, then drivers in that section and in preceding section get yellow light(s)?

Would be a good .lpr add-on.

I've seen the yellow lights warning of problems when watching F1, but can't say i've noticed lights when not yellow. Are they off (dark/black) or green?

I've been trying to do it with my yellow flag that I use for spinning detection, but getting nowhere.

I'd prefer to use sort of traffic light arrangements for everything (track and pit) to try keep in line with a F1 theme, as I see the hazard lights as more suitable to show a safety car was deployed. The (=) equal signs in place of circles look cool for that.

Or alternating circles and lines so you could have;

OO OO
== OO
OO ==
== OO
OO ==

Be aware that the flashing "lights" can easily become out of sync if not all same colour. Seems to be same problem as the countdown timer, where some numbers/seconds are lost.

you could have it as a delayed command after 15 seconds it opens the buttons with the same id that are balck instead of blue and red...
Fire_optikz001
S2 licensed
Nice work
Fire_optikz001
S2 licensed
looking for some RACERS! we are trying to get the race division started up we have more then enough members in drift and cruise but we will still take some in

http://super-crew.comze.com/forum/viewthread.php?thread_id=2
Fire_optikz001
S2 licensed
None of my For Eachs are working :P like this for example:


<?php 
               
FOREACH( $maVar IN $News )
                 IF( 
$maVar["value"] != "" )    THEN
  privMsg
("^6News: ^7" $maVar["value"] );
  ENDIF                       
            ENDFOREACH 
?>

also i was wondering if there was a way to do a certain area of a array var like

<?php 
$Traffic
"A","Color",*]
?>

And id there was a way to set a var in a foreach
Last edited by Fire_optikz001, .
Fire_optikz001
S2 licensed
is there a way to make lapper not consider a user disconnecting as leaving race?

like maybe


<?php 
Event OnLeaveRace
$userName$reason )  # Player event
IF ($reason == "0" THEN # 0 = spectate 1 = Disconnect
Do what ever
ENDIF
EndEvent
?>


or maybe something like this
Last edited by Fire_optikz001, .
Fire_optikz001
S2 licensed
Quote from morpha :INST_ALWAYS_ON

:O lapper need these this is EXACTLY what i need
Fire_optikz001
S2 licensed
Quote from sinanju :Sorry, forgot my school patrol person.

My last. Honest!

You should get the idea now.

... u just wanna help me dev my light sys and what not?

i have a base down atm
Fire_optikz001
S2 licensed
Quote from sinanju :Here's a cop and a warden you could maybe use to keep order!

looking good... im also working on a sys for stop lights... will be interesting
Fire_optikz001
S2 licensed
Quote from sinanju :Dot copied from a MS Word document and pasted directly into my LFSLapper.lpr file in PSPad.

Had a lot of problems at first, and sometimes, to make them work, had to put a blank line above and below, so instead of just

openGlobalButton( "tl_r",0,0,120,120,1,12,0,"^1•");

I would have

openGlobalButton( "tl_blanktop",0,0,5,5,1,12,0," ");
openGlobalButton( "tl_r",0,0,120,120,1,12,0,"^1•");
openGlobalButton( "tl_blankbottom",5,5,5,5,1,12,0," ");

Don't worry about the blanks, as they appear on different part of screen to dots.

Once they work, try taking the blanklines away. Hopefully, should now work.

Why this should be? Go figure!

You only need 1 set of "blanks" per CASE command, not per dot.

EDIT
Was thinking of using the no colour light gray and black dots of different sizes to appear on peoples screen during RallyX event, gradually getting more and more as the sectors/laps increase, to simulate mud on visor, with dots clearing on race end. Do you think that would be cool, or just extremely annoying?

still have a ?
[forum] Newest Member
Fire_optikz001
S2 licensed
is it me or is the newest member thing displaying old members???
Fire_optikz001
S2 licensed
Quote from sinanju :I use a character like that in my traffic lights. See code below.

CASE "!traffic": #traffic lights!

openGlobalButton( "tl_bg",45,40,29,129,1,-1,32," ");
openGlobalButton( "tl_r",0,0,120,120,1,12,0,"^1•");
openGlobalButton( "tl_y",0,40,120,120,1,17,0,"^3•");
openGlobalButton( "tl_g",0,80,120,120,1,-1,0,"^2•");

BREAK;

Or you could do circles/dots

CASE "!dot": # coloured circles (dots)
openGlobalButton( "dot",0,0,200,200,1,17,0,"^0•");
openGlobalButton( "dot1",15,15,170,170,1,14,0,"^7•");
openGlobalButton( "dot2",25,25,150,150,1,11,0,"^1•");
openGlobalButton( "dot3",40,40,120,120,1,8,0,"^3•");
openGlobalButton( "dot4",50,50,100,100,1,5,0,"^2•");
openGlobalButton( "dot5",75,75,50,50,1,3,0,"•");
BREAK;

Probably a better way of doing it, because even making the left number a zero, the character starts quite a way in from left.

Maybe you could use the traffic lights in your cruise server!

i get 3 Massive ?s
Fire_optikz001
S2 licensed
Quote from Bass-Driver :k just another question

i cant ban a username with a space in it.
example: !ban lfs micha 1

is there a code to fix this??

u could do what i have to do... where ban brings up 2 openprivtextbuttons 1 is user 1 is length
Fire_optikz001
S2 licensed
Quote from Gai-Luron :You can try to write this special char in chat LFS. Then type /t, up and then use Ctrl+C to cut and copy in pspad

I do this for previous winner flag

Gai-luron

that is what i used i still get the ?

do i need to have any thing specail like ^L^H or something like that?
FGED GREDG RDFGDR GSFDG