The online racing simulator
Searching in All forums
(8 results)
Mr.Weegley
Demo licensed
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!
Mr.Weegley
Demo licensed
Hi again, UltimateGER!
Will you integrate new lapper format into old version of lapperskript? Think it's only pbread.inc?

PS I have integrated lapperskript in mkportal after server crash and reinstalling it Can upload module somewhere if anybody need it.

Screens:
http://xmages.net/show.php/175365_1.jpg.html
By default, all cars on current server track. On the left - server status block - start time, track, racers online

http://xmages.net/show.php/175366_2.jpg.html
Current server track, selected car

http://xmages.net/show.php/175367_3.jpg.html
Selected track, Selected car

I left only the most necessary functions for my players

So, if anybody interested - can translate it back into english and upload here

PS Server finally got internet connection
Your remaked stats is here: http://weegleys.game-host.org:8080/?ind=lapper
Last edited by Mr.Weegley, .
Mr.Weegley
Demo licensed
Ok then. In some days I'l take your new version, Localize it, put my features and upload here.
Mr.Weegley
Demo licensed
Quote from UltimateGER :Hello Mr.Weegley,
{CUT}
Give me you url for your homepage, then i can see what you need.
{CUT}

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
Last edited by Mr.Weegley, .
Mr.Weegley
Demo licensed
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.

PS Sorry for my english
Last edited by Mr.Weegley, .
Mr.Weegley
Demo licensed
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!!
Mr.Weegley
Demo licensed
Quote from Yisc[NL] :No you can't control those messages and there isn't a command like delay in the current version of Lapper.
You can't make multiline messages using RCM-command.

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.
Last edited by Mr.Weegley, .
need urgent help!!
Mr.Weegley
Demo licensed
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


PS Lapper version 5.7.1.6
Last edited by Mr.Weegley, .
FGED GREDG RDFGDR GSFDG