Hi!
Found you program is very nice except one thing.
Could you make it possible to set the program not to export stats if more than x% of racers didn't finish?
I ask it because it's very often that people just have fun on server restarting and restarting races, and no one finish. So there ara many statistical files found in results folder after 2 days. Server running fully automatical, and i can't control it every day.
Thanks!
Sorry, but i can't. its my lan server, and it haven't internet connection. But i could send you all i have for now (script with statistics) if you need.
I have changed your code a little to suit my players needs: added car image when stats is filtered by car, added current track image and current players online in left part of the page. In word - some information that i could take from deb.log and hostXXXX.txt I could send it to you if you are interested in it. But i translated all text except your comments in code into russian
That my question is mainly for information. If i had more time i could make that type of filter myself. But if players are happy now, i'll make it later
PS visited your stats and... WOW! it is very different from that available for download You don't need my version
Hey all
I'm running LFSSTat on freebsd in mono and here is my workout
SetConsoleCtrlHandler is not the one problem running in mono.
I solved them all by:
1. Disabling SetConsoleCtrlHandler - strings 295 and 296 as i remember in main.cs
2. Hardcoding all that was taken from XML - because xml parser didn't work in my mono.
3. Completely disabling graph call in main.cs - NPlot.dll uses some windows-specific calls which mono can't give for now. (may be GTK+ or some other packages can give that functionality to mono, but i don't wont to install any X-related software that is not required to run mono and wineon my server)
Only after that it began working fine
I even tried to compile FreeBSD specific NPLot but it needs many packages that i don't want to install.
I attach exe (hope it's that one) for all who need it like me
And one more thing i found - it doesn't catch and show takeovers in results.
HI! i found massive with car classes in includes file? but didn't foud where it is used. will it be used in new versions? The script is great! we want new versions!!
HEH that's not a good news
However, is it theoreticaly possible to control such messages by insim? And is there some way to send multiline messages? i want something like default "Please brake in time" at the beginning of each race, but a bit more text.
I found now the way to catch that messages in deb.log - it's not ideal, but some kind of solution hope it will help. In addition to info about online racers it can help to restart server when everybody out. but ideal would be if i could somehow simply send message to players from outside e.g. shell or php script.
Hi!
Sorry if my questions a stupid, but i couldn't find answers on them for 3 last days.
1. (preface) I have LFS DEDI running on FreeBSD in wine. All works great except one problem. After some time, Server can't send info to new connecting user saying "New guest timed out" and guest falls with "Cant receive guests info" message. I didn't found solution of that problem except of full restart of server. Now. I know that i can send command "/exit" to server. I registered action for it, but i cant find how to receive server's message "New guest timed out" So all i need now is answer: Can i, and HOW to control such server messages?
2. the second is logical from first. If i get that message in lapper, and my action is run, how can i insert a delay betwen command to send message to players and actual cmdLFS("/exit"); ?
My action:
Register MsgAction("New guest timed out",MA_net_problem); #need to catch SERVER message here Sub MA_net_problem() cmdLFS( "/rcm ^1^CWarning! Server got net problem and must be restarted!"); cmdLFS( "/rcm_all" ); #NEED DELAY HERE cmdLFS("/exit"); endsub
3. Didn't found how to make multiline messages using cmdLFS("rcm...
Thanks for patience reading this and sorry if my english is bad