Like someone before said: add the license only to your project. I think, you don't need to write authors of code but add license because ripnet did awesome InSim system and someone could take your code and relase it as private.
@DarkTimes - yes. It is what I had to said. I was waiting for someone who will see this issue. It's breaking licence. Really? I would like to publish my PHP InSim System but I don't wonna do it because of some people. I think about people who wonna have everything but they don't know how to do. I will avoid 9999999....9999 questions about "How to do it?", "How to use it?".
But look at file with packets classes. In previous version of your InSim you had arrays and now you have a file with classes (not arrays) and it equals my (based on ripnet's PHPLFS) file. You copied our work and now you are publishing it as yours.
//EDIT: I think, you wrote max. 30-40 lines of code. All other code is copied from PHPLFS and my PHP InSim System (not relased for public but I sent you it).
PHPLFS by ripnet is very good PHP InSim for beginner. If you know PHP you can make new SocketIn and SocketOut class and rewrite main loop. I'm using it. It's very very good, fast and stable. It was working for 39 days and nothing wrong happened.
PHPLFS is good InSim to start. Again: rewrite Sockets classes and main loop then use it and be happy.
Maybe devs can add packet to decide: will car be repaired or not. It would be very for legaues, you can specify how much times someone can fix his car.
But I like Debian and I saw more tutorials and help topics with Debian. I had problem with ProFtpd on Debian and I found fix in 10 mins then yesterday I looked for this same issue for CentOS and I couldn't find anything.
Ok. On the VPS everything works good but now on CentOS. I like Debian but on Etch (4) it wasn't working. Will it work on Debian Lenny (I will update Etch to Lenny because I can't preinstall Lenny) good?
I was using PHPLFS but I'm gonna to write an InSim script with tutorial on lfsmanual.net. PHPLFS is waiting for next packet and if LFS sleeps then PHPLFS won't send anything.
Dygear - I knew about that but I thought I can do a litte modification in PHPLFS.
Dygear - let's look at PHPLFS while you are creating your own PHPInSim because the packet system and Callbacks are very well in PHPLFS.
EDIT: Problem fixed. My PHP InSim works great for 2 days now. Without any problems.
Hi!
I'm using PHP to manage races and quals by InSim but I have 1 big trouble.
When someone is on the server, my PHP script is getting every 30s an TINY packet and it's sending this same packet to LFS to get connection working good.
My problem is when everyone leaves server. When the connections list equals 1 (host) my script after 10-13min is losing connection because LFS isnt sending any packet. It's very uncomfortable because when at night noone is driving I muss get up in the morning to restart InSim or use bash script to do it automatically (manually it's better because bash script isn't working every time)