The online racing simulator
Searching in All forums
(255 results)
HorsePower
S3 licensed
I didn't say that adding new people to a project never makes sense.

Adding new people to a project slows the project down at first, because the new people need to be educated. How long this takes, depends on the complexity of the project and the matter. If the pressure and the deadlines for development are ok with that, it's fine to hire new people.

So what do we know about LFS? Not so much, only Scawen knows ... but from just playing the game one can already say that the complexity of the matter (i.e. the phyics of racing and the development of a stable program for multiplayer access) to me seems quite great.

This would be an argument not to hire a new developer.

We also know that there is no pressure or deadline at all. This would be an argument to think about hiring a new developer.

Any further arguments can only be judged by Scawen. And when he says he wants to work like before, I can well understand, because it would change his daily life significantly. From independent developer to supervisor. Being forced to lead hours of discussions with the new people about why this and that has been implement this or that way and so on ... Progress on LFS would most likely stop for months!

But of course Scawen has proven that he asks other people for advice regarding the physics of racing and he also does his own research (on track). So he's not all alone ...
HorsePower
S3 licensed
Have you any idea how much effort it would be to get new people to a point where they are able to understand all the LFS coding implemented so far good enough to be helpful at all?

I'm a professional software developer in a big company and I know what I'm talking about. LFS surely is such a big project that educating new people in order to be helpful to the project would cost Scawen more time altogether than just doing it by himself. Also the code quality would clearly suffer from that.

I don't like the speed of progress of LFS either, but complaining won't help. So I play nothing or something else until the next update comes. And maybe I don't even have any interest anymore in LFS when the next update comes, but that's fine for me and fine for Scawen I think. No one really cares. Life is more than just LFS.
HorsePower
S3 licensed
-= hp =-
HorsePower
S3 licensed
You are my master, Lord Dygear! I will try it out the next days.
HorsePower
S3 licensed
I already used the ob_start etc. stuff in order to prevent the messages and this works (except for the pages were I forgot to use it).

But I think it's not the optimal solution. It's like a doctor giving you pills against the pain without checking the reason for it.

The main issue here is, that I never have had these problems with my two installations. So something must be different for the users which have this problem. I though a lot about it but I have no idea ...
HorsePower
S3 licensed
So maybe I should implement this ...

Anyway, the file_get_contents is just in the demo page. One can also use include instead I think.

Maybe I will need your help, Dygear, since some users get the error message (header already sent ...) when I try to set COOKIEs. The strange thing is, that I cannot reproduce it. I have two different trackers on two different servers and I never had that problem.

But others have ... I cannot figure it out.
HorsePower
S3 licensed
You might have some server setup issues. When trying to load the tracker test page, I get some warnings:
Quote :
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/lfsbr/public_html/hottracker/templates/trackertest.php on line 96

Warning: file_get_contents(http://www.lfsbr.com/hottracke ... amp;track=&multiple=1) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/lfsbr/public_html/hottracker/templates/trackertest.php on line 96

Other than that I think it's the connection to the MySQL DB that takes so long. The only page that loads faster is the Tracker Test page (which does NOT check the user currently, thus has no access to the DB unless you explicitely request the tracker list).

Check your server settings please.
HorsePower
S3 licensed
Thank you.

Let me try to figure out your questions ...

Basically, you only need to adjust the config.php (it is well-documented, also in the PDF-document).

Make sure you use PHP 5.x as there are still some issues with PHP 4.x.

Make sure, the data directory allows writing access (chmod 777).

I'm not exactly sure what you mean with the other questions. When the single racer update sais "no data" this might be due to "no data" being found on LFS World (e.g. the racer does not exist or he has no HLs on LFSW for example).

Other than that don't forget that there is a tar-pitting for LFS World Access. That means, if you do not have PREMIUM-Access, you will only be allowed to read data from LFS World only every 5 seconds.

That changing the page is so slow might be due to a slow server or a misconfigured config.php. What are your settings?
HorsePower
S3 licensed
Bone from Bavarian Racing discovered a bug related to character encoding.

When creating a new racer with a name containing UTF-8 2-Byte characters (like "ü" for example), the name on the DB was written in non-UTF-8 format (i.e. "ü" as 2-Characters, not one 2-Byte character).

The same problem occured when creating ingame tags or names containing such special characters (like ä, ö, ü, or Alt-0149: •).

The reason was a missing explicit MySQL statement that all data transfer between PHP and MySQL should be done in UTF-8.

This is now fixed, new version uploaded, see first post.

Thanks to Bone!
HorsePower
S3 licensed
Problem seems to be solved now. It seems the tracker still does not work properly with PHP4, switching to PHP5 solved the issue.

Looking at your installation there are still some broken links to images.

This is due to an incorrect setup of config.php. There is a parameter where you have to enter the base-URL for your tracker installation. In your case that is something like http://www.lfscr.com/hottracker (maybe you have to add a '/' at the end also, take a look in the documentation please).
HorsePower
S3 licensed
Well, at least you are able to login as "super". So the MySQL setup seems to be fine.

When I try this link:

http://www.lfscr.com/hottracker/controlcenter.php?loginform

I can see the grey background. The same holds for the registration page.

I have no idea yet what it could be.

Please check
  • data directory allows write access (chmod 777)
  • Maybe delete your cookies and re-login.
HorsePower
S3 licensed
Then you might find someone else who has a server with MySQL. Let him install the tracker and use the server status remotly.

You could also share one Tracker with another clan or team, since there can me many different "layout", suitable for different websites (colors etc.).
HorsePower
S3 licensed
Without any PHP knowledge, the old Tracker is hard to customize.

I will give no support for the old Tracker anymore (unless someone pays me fort it ), so I'm sorry, but I cannot help you.

The new tracker is quite a big package, but very easy to install (if you have MySQL on your server). You can then include as many server status as you want, wherever you want. And chinese characters are also supported.
HorsePower
S3 licensed
Since there hasn't been any feedback since a while now, I assume there are no critical bugs anymore. I hope the tracker now works also with PHP4, but I'm not sure about that.

Anyway, I uploaded the latest version and removed the BETA tag.

I wish you all a happy easter.
HorsePower
S3 licensed
Yeah! :headbang:

(There are still some, I'm sure, they just have to be found ...)

I hope you can enjoy the tracker now.
HorsePower
S3 licensed
The broken links are all based on the constant LINKBASE in config.php, i.e. they are for example

<?php 
$link 
LINKBASE "/sdk/model/register.php
?>


So if they are broken, you have most likely set up you LINKBASE constant wrong. I suppose in your case you need to set

<?php 
@define(LINKBASE"http://mydomain/~username/lfs/hottracker");
?>

in config.php (do not forget the ":" between http and //).

Concerning the space in the Ingame Racer Names: When you add a new racer, the tracker suggests a pattern for an ingame name. By default, this suggestion is

<?php 
^^n
?>


where ^t is replaced by a team tag and ^n by the LFS Nickname and   is the HTML command for a non-breaking space.

So if you add a racer which has no team, you should really change this pattern to

<?php 
^n
?>


or any explicit name (including LFS color codes).

The notice will have to be fixed of course. EDIT: <== Fixed.
Last edited by HorsePower, .
HorsePower
S3 licensed
Ok, uploaded an updated documentation and ZIP.

And if the super user now decides to reset the password of a registered user, he will not see the password anymore - instead an automatically created email will be genereted and sent to the user.

I think that's it for today. I hope there will not be so much issues anymore because I'm kind of burned-out at the moment. I need a break.

However, if there are still some smaller issues, I will fix them and remove the BETA tag a few days from now.
HorsePower
S3 licensed
Ok, the notices are hopefully gone now (but I believe there are still some more hidden in the code ... just waiting for Okrom to reveal them ).

Concerning the password reset, Okram, you're absolutely right. I also wasn't satisfied with the current solution, but regarded it as not important enough to change it.

Now, any user can reset his password by himself. Since there is no identification check, the user has to provide the email address in order to reset the password. If he doesn't know his email anymore, he can't do anything. When resetting the password, an email will be sent.

I still allow the super user to reset the password for a user (automatic email generation still to implement at this point).

In order for the email to be a valid identifier (just as the username) it has now to be unique in the tracker user database!

Other than that:
  • A slight change of the control center layout (two columns of menu items now)
  • Super user now can leave a note in the control center (either visible to all visitors, to registered users only or to no one at all).
I still have to update the documentation as well ...

Regards,

Timo
HorsePower
S3 licensed
Nice. Fixed it.

Also added a new feature for the ingame racer list maintenance: Delete all racers of a given team (it can be annoying when one has to delete mutliple racers one-by-one ... maybe this helps, maybe I will add some checkboxes in the future).

Thx!
HorsePower
S3 licensed
Indeed, a bug with the private field (and also the MUSTPIT field). Both now fixed. The join2lfs link is also fixed now. The notices should now also be gone. New ZIP uploaded.

Don't know what to do about the yahoo.com issue ... I just wrote a note in the register.php script.

Great work, mate! Really!
HorsePower
S3 licensed
Dear Okram, you clearly have some talent for beta-testing.

Uploaded fixed ZIP ... I think we're getting close to get rid of the beta-tag.

If any more notice occur that I have overseen, please post them.

Kind regards and many thanks!

EDIT: One more thing: I wasn't able to reproduce the empty email. The eMails is sent in HTML and plain text, so you should get something anyway. If you can still reproduce it, please tell me how.
HorsePower
S3 licensed
Farewell, old tracker.

Here's the link to the forum thread of the new one:

http://www.lfsforum.net/showthread.php?t=55466
HorsePower
S3 licensed
I uploaded a new ZIP (link is the same as before, see the first post).
  • All PHP-Notices should now be gone. Getting rid of the notices really helped me to discover plenty of bugs ... (shame on me :schwitz
  • I optimized the MySQL table, they will now be created with appropriate indexes. Thus, you should now manually drop existing tables in order to have them created automatically again (with the index). Sorry for the inconvinience ... I could have written an update/altering script, but I was too lazy.
  • Fixed a bug in the trackerupdate.php. If any parameter is specified in the call that is not known, no update will be performed.
If I have overseen any "Notices", please post this here. (Thanks at Okram for his help again, you are know mentioned in the acknowledgements).

I also would like to know if the tracker now runs under PHP4. If not, this will be the next topic I'll take care of.

Thanks@all.

Timo
HorsePower
S3 licensed
I already cleaned the code up alot, so at the weekend I will upload a new ZIP, so that also you, Okram, should be able to use the tracker without getting the notices all the time.

In fact, letting PHP show me these messages helped me a lot to find some bugs. Too bad I wasn't aware of this before.
HorsePower
S3 licensed
I must admit I'm not a real PHP guru ... I learn quite a lot about PHP these days.

First of all, I sort of hate PHP since it allows for using variables that have not been defined before. In fact, it depends on the individual setup of the PHP environment if someone even notices that he does something which is in principle "not clean".

On the other hand, PHP doesn't support explicit programming such as declaring class variables as private, which obviously is allowed only since PHP5.

Well, now I have to deal with that unfortunately.

I never got these notices (because the two servers that I used for testing didn't show me the messages or I was just to dumb to find them).

I will try to make sure that every variable I use in the scripts is defined when it is used first. But this will take some time (at least until the weekend) and some testing.

I would appreciate your help then, Okram.

I will upload an updated ZIP for the PHP_SELF issue later on.

Thanks again,

Timo

EDIT: Ok, I have set error_reporting to E_ALL for my private installation, which should allow me to find all notices and fix them.

(Seems the BETA Phase is working as it should).
Last edited by HorsePower, .
FGED GREDG RDFGDR GSFDG