The online racing simulator
Searching in All forums
(13 results)
ripnet
S3 licensed
nice
ripnet
S3 licensed
Quote from Dygear :... found that variables that reference themselves and make a pointer to it, followed by the object being unset can cause a memory leak ...

Yes I've run into that in another script... doing away w/ that is a good idea!
ripnet
S3 licensed
Quote from filur :Just make sure to begin with the official command-line tools and you'll learn quickly, avoid fancy clients like TortoiseSVN that does stuff behind the scenes.

+1

I'll get things setup.
ripnet
S3 licensed
Dygear, morpha, and misiek08: Do you have sourceforge accounts? I'll add you to the project, and we can collaborate on the project together...
ripnet
S3 licensed
It's clear that the community would like a good PHP library/engine for LFS. Why don't we all contribute to the project, weather it be my original one on SF or starting a new one.

If we use my project on SF, we can change the name of the project if the community decides so. Also I'll add people as necessary.

I'd like feedback from the developers here.
ripnet
S3 licensed
This doesn't need to be difficult. If you use/redistribute code, leave the author's name and license intact.

I did what I did because I was only aware of Dygear's code and IIRC it had an issue with the buffering of packets (though a good start at the time). I ran a few InSims and I eventually modified it where I could reload the logic code w/o restarting the application. The SF project was to share the work so others didn't have to rewrite everything in case they wanted similar.

Please, if you have any updates for my project, please send them to me with the proper credits and I'll be happy to update SF.

Open source code should be a community effort, and every contributor should be recognized.
ripnet
S3 licensed
Here I am, just noticed this thread. I know that morpha said he used my code and modified it quite significantly and called it his own.

Personally I don't care how this code is used, I would just like some credit for the work I did.

It's Memorial day here in the US and I'm headed out for a party.... I'll look into this stuff later.

Cheers
ripnet
S3 licensed
Yeah, my R32 has ABS in reverse. Just tested it.
ripnet
S3 licensed
No thats because probably the program you are running is sending IS_BTN's every 50seconds (the MCI interval). I've written a function into the 'Program' base class (Version 1.2 or higher) to take care of that.

in the MCI updates:

use $this->updateButton(new IS_BTN(...))

instead of

$this->server->sendp(new IS_BTN(...))

This function will only send the update if the button changes.

Also I updated the TrackDebug in 1.2 to only display updates every second (or so).



Lemme know!


--ripnet
ripnet
S3 licensed
The unhandled packets are packets of classes I have not written yet. I am adding more each release. Next release in a day or so. It is not a buffer error or anything like that. =)
ripnet
S3 licensed
Just released new version, lots of little updates.
ripnet
S3 licensed
I just noticed some bugs in the D1GP package, wait until 1.1 for that..
Created PHP base insim program, that allows addons....
ripnet
S3 licensed
You can download at SourceForge

http://sourceforge.net/projects/phplfs/

PHPLFS Version 1.1a
(requires PHP5)

It contains a base program, dealing with all InSim communications, player leaves, joins, disconnects, etc.

Uses classes for each ISP type, i.e. class IS_TINY {...
I have almost all written in this release.

To customize it, write a class <yourprog>.inc and place in programs/ directory. Then call it:

php -q PHPLFS.php <yourprog>

See the example: Template.inc

Code docs can be found at http://phplfs.sf.net/docs


I'll have more information to follow. Let me know what you think. I haven't tested on Windows yet.

-ripnet
FGED GREDG RDFGDR GSFDG