The online racing simulator
Searching in All forums
(389 results)
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, .
St4Lk3R
S3 licensed
Have a happy Birthday S2, Congratulations to the Devs for creating something that special.
St4Lk3R
S3 licensed
Great Job Scawen, I really thought you'd take a longer time-out before you release the next patch. I think you really do a lot of awesome work... which is really much appreciated down here in Germany. Good job anyway, seems to work fine on my pc.
St4Lk3R
S3 licensed
Quote from the_angry_angel :
Now I know what it reminds me of!

The Back to the Future delorean!

hey! I wanted to say this ! anyway, it's warmer here in Germany^^

By the way:
Germany 4:2 Costa Rica

St4Lk3R
S3 licensed
thanks filur and Leachman.
St4Lk3R
S3 licensed
Quote : ? You are asking for help and I tell you that I will hand you a solution. You then tell me to get out of your thread? illepall

Excuse me. I know what GPL means, all my scripts are also published using this license, but this sounded more like a release announcement to me than like "Hey I'll post something that will help you". Please notice I am not a native english speaker and may not understand the language as well as you do.

This may come in late, but thanks for this announcement
St4Lk3R
S3 licensed
erm... thx for hijacking my thread, it was not requested. if its ready, open another thread, but please stay at topic here. thanks.
St4Lk3R
S3 licensed
well here I am again, having the next problem to solve: what pack-type should I use when I want to pack/unpack an int value? I tried it with l, (signed long (always 32 bit, machine byte order)), but that doesn't seem to work (I assume the server ignores bad-encoded packages, because I do not get any answer on my listening socket).

Thanks in advance
St4Lk3R
S3 licensed
I tried that earlier and now tried it again, but the script times out.
There does not seem to be an answer from the lfs-server, but I'm sure I set the right port to answer to...

[EDIT]

Well, I didn't. After some thinking I found out that I have to decrement the port value again... I incremented it after trying to open a listening socket and when the "listener" is at port 30000, LFS will send replys to port 30001 and so on. thanks all for your help anyway. the class will later be released to the public.
Last edited by St4Lk3R, .
St4Lk3R
S3 licensed
Quote :
Because it has nothing to do with webserving, talking to insim is not a 1-second-operation thing - you want the script to run for hours.

I don't want it... I only want to have a nice little webinterface for my LfS Servers with the small functionality start, stop, restart, status and maybe a little webftp using the ftplib.

By the way, I have a problem with the socket_*-functionality of php.
When I try to send a VER-Request to the server, I can't receive the answer on the created listening socket.

Source of my LfS-Class:
http://www.stalkernet.info/sou ... classes/scmslfs.class.php

Error Message:
http://www.stalkernet.info/ruunv3/lfsconn.php

The third time I have to thank you in advance for your help.
Greets,
Stalker
Last edited by St4Lk3R, .
St4Lk3R
S3 licensed
It is a dedicated box for me alone, but why shouldn't I run this under apache?
St4Lk3R
S3 licensed
Quote :
If you for some reason don't want to upgrade your 'global' php installation, why not set up a PHP 5 package for just this project? Streams are so much simpler.

I have a confixx-Installation on my Rootserver and can not setup a php5-package for this purpose because php is running as an apache module and not as CGI-version.

Big thanks to you all, I now really understand what I have to do.

Let's go coding

Bye, Stalker
St4Lk3R
S3 licensed
well... I do not find anything anywhere, so i'll ask here: how can I set up a listening port in php4? sorry for the noob question and I know that you are not an approved substitute for my brain, but I really have a blackout right now... thanks in advance again.
St4Lk3R
S3 licensed
do I have to use a separate input-server? I only have php 4 and it would be great if it would also work with this version... thanks again for your help anyway.
FGED GREDG RDFGDR GSFDG