The online racing simulator
Searching in All forums
(402 results)
St4Lk3R
S3 licensed
Quote from Dygear :Shh.

lol.
St4Lk3R
S3 licensed
@speed limiter command: this would make things a bit too easy I think...
St4Lk3R
S3 licensed
@jamesrowe: AFAIK you can also get the cedega sources for free from the website... but it seems to be quite hard to compile.
St4Lk3R
S3 licensed
I mostly need the lfswiki as a quick-dictionary for InSim... but the other articles are interesting though.
St4Lk3R
S3 licensed
change 127.0.0.1 to 0.0.0.0
St4Lk3R
S3 licensed
you did it in your script sample... illepall now I am confused.
St4Lk3R
S3 licensed
you misunderstood him IMO. he entered his lfs-server's IP-address into the stream_socket_server function, which is of course wrong, because this is the local server you open to listen to the responses of lfs. so localhost is the IP to enter here. at the fsockopen-site it it the IP of your lfs-server.

E: happy²
St4Lk3R
S3 licensed
wrong way.

you're connecting to the insim-port of lfs when you use fsockopen. stream_socket_server is for opening a LOCAL server listening to the responses of lfs. so udp://localhost:30000 is the correct url in all cases.

E: filur, you make me happy. Do you need beta-testers?
Last edited by St4Lk3R, .
St4Lk3R
S3 licensed
when you're talking about that filur: when will it come along?
St4Lk3R
S3 licensed
happy independence day over there, you americans.

but by the way: the fact that the americans re-elected george w. bush AFTER he attacked Afghanistan and Iraq shows how the "average american" thinks about this topic IMO.
Is the LFS Wiki no longer reachable?
St4Lk3R
S3 licensed
Hi fellas,

It's been more than two weeks now since I saw the LfS Wiki the last time. The last two weeks there were only page-load timeouts...
Has the LfS wiki been closed or is it simply my provider that cant reach the site?
St4Lk3R
S3 licensed
as far as I know there are no live examples. if you want to create a php-script for insim, try filurs example (the link was posted on page 1).
St4Lk3R
S3 licensed
Quote from Scawen :Well, no...

/btn horn 8 will assign the horn to button 8 on your controller.

It's so for example you could make selecting a single seater, reassign button 8 to pit speed limiter, and selecting a road car assigns the horn to button 8.

You have cut a part out of Vains script. He suggests to overload the /button command a bit so you can make a button run different commands in a fixed order each time you press it. This could make a button run a F9 F10 F11 F12 F12 cycle.
St4Lk3R
S3 licensed
ok... *sigh*

lets start switching. thanks again for trying it
St4Lk3R
S3 licensed
thank you so much for this extra work...
Last edited by St4Lk3R, .
St4Lk3R
S3 licensed
Hi filur,

The InSimInit package is sent correctly, on my local testserver it outputs "InSimInit: Port 30001". That means the problem is located at that socket thing. Well... you said you moved to php5 very early when you started writing that InSim stuff... Were you able to receive messages from insim? Do you maybe have some old scripts from that time? I really need help...
St4Lk3R
S3 licensed
Hi Goodfella.

If you connect to InSim and only send an InSimInit-Package, nothing happens. This is how it should be.


But once again, I have a problem to solve with my InSim-Class. I do not receive any answer, even if I encode the InSimPack correctly... meaning if I do a VER-request, no package comes back to the listening socket.

Maybe you can help once again, filur?

E: The source of my class can be found here:
http://www.stalkernet.info/sou ... classes/scmslfs.class.php

Thanks in advance!
St4Lk3R
S3 licensed
ok, you didn't mean a tracker but a thing that repeats a message every 30 seconds on the lfs server? then get lfslapper, it should be the best.

sorry that I didn't get this at once, but it sounded like a tracker to me... if he hasn't already read it, I think you can delete this PM to WolleT
St4Lk3R
S3 licensed
you mean a tracker? maybe WolleT can help.
St4Lk3R
S3 licensed
In fact, a Formula Renault / Formula BMW-Car like the FOX is HAS a shifter, saw this in a documentation on a local TV station recently. It was about a advanced Formula Renault drivers training. At the end of the training the drivers, who had a basic training the year before, were given a Formula Renault racing license.
St4Lk3R
S3 licensed
sorry, but the topic of this thread has been requested so many times...


the collision calculation is only done a hundred times per second. That means you can drive about 83 cm between each update if your speed is 300 km/h. If you collide with a barrier between two of these calculations, then two solid objects overlap at the next calculation. The physics engine now reacts in an odd way and lets your car fly or gives you "a bit" of extra speed.
St4Lk3R
S3 licensed
the next team out will be ukraine, and then... ENGLAND :P
St4Lk3R
S3 licensed
simply enter your admin password in the field where you have to put the password for password-protected servers - done.
St4Lk3R
S3 licensed
Quote :I only code in HTML and CSS. The code is very clean and perfect,
expandable, and easy to edit in Dreamweaver MX.

Quote :?

More explain please.

OK, here we go.

a) Dreamweaver Layouts are always using tables. BAD, because not barrier-free (screenreaders, e.g. for blind people can't read this table crap) and simply not state of the art.
b) If you use http://validator.w3.org to validate your site's html or css, It shows one error for HTML and a few errors for your css because the scrollbar-* things are not part of the css standard iirc.

If you want to learn "good" HTML, then http://bazzinet.info/Semantic should help.
St4Lk3R
S3 licensed
Hi Deano,

I've found another error in your setup station and can provide a quick&dirty fix.

The triggers for phpMyEdit are only called if you use the original english translation of your script. I'll show you why using the addmember trigger as an example:

<?php 
if($_POST['PME_sys_saveadd']=="Save" || $_POST['PME_sys_moreadd']=="More") {
// ...
}
?>

The value of the buttons does of course change if you use another translation. In german for example, the value of the "Save" button is "Speichern", the value of the "More" button is "Speichern, weiteren Datensatz hinzufügen". This problem can be avoided by simply using "More", "Save" etc. pp. as keys for the language array of phpMyEdit. I think at the time the triggers are called there is a PMELang-array defined somewhere, but I didn't have time to search it so I created my own using this part of code:

<?php 
$stalkerPMELang 
= include 'includes/' str_replace(array('STN''php'), array('PME''inc'), $_SESSION['stnLangFile']);
if(
$_POST['PME_sys_saveadd']==$stalkerPMELang["Save"] || $_POST['PME_sys_moreadd']==$stalkerPMELang["More"])
{
//...
}
?>

Now the trigger works flawlessly.

I only did this solution for the addmember trigger because password encryption didn't work there, but it is also needed in all the other triggers.

I think you can do the better solution and find this language array that is already defined. Thank you for creating this great software.
Last edited by St4Lk3R, .
FGED GREDG RDFGDR GSFDG