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...
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.
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.
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.
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.
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:
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:
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.
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
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).
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.
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.
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.
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.
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.