The online racing simulator
Searching in All forums
(234 results)
MonkOnHotTinRoof
S2 licensed
Quote from Krammeh :thing is Monk, BOTH of them are going all over the damn place. Sigh.

Are you sure ? Direction yes, but heading stays still (well at least as long as you don't steer). Heading is what I use at traps and it works well (there were huge problems when I used direction).
MonkOnHotTinRoof
S2 licensed
Quote from NeoArnold :i do this but doesn't works see this pic:




It looks ok. I don't see any error, only some warnings . Is new exe file created ?
MonkOnHotTinRoof
S2 licensed
Quote from NelsonGPV :Can any one tell me how I can disable de !top command from the main.cs we did it on the last version and work great however We have not been able to do it on the new version.

this screen shots is how we didi it last time with the previous version.

You can try changing compiler to v2. Edit WinMSBuild.bat with notepad and replace v1.1.4322 with v2.0.50727.
Then start it.
MonkOnHotTinRoof
S2 licensed
Quote from BurnOut69 :Well, to keep getting MCIs every X milliseconds only to be discarded seem like a waste of bandwidth and CPU for me. Yes, its no big deal to solve the problem, but even better than solving a problem is not having it

I don't see any problem here. MCI are also useful when players are not in race, you know... and I believe your CPU and network card will survive those additional loopback packets .
MonkOnHotTinRoof
S2 licensed
Thanks but if it is a trouble to do, don't bother. I can use ordinary messages or write a message for user to press shift+i.

Another request that would be very useful for multi-purpose sim . I would like to force guests to remove all default text while on track (thing that already happens when clicking shift+f), so they only see custom buttons. I don't see any way now to do it, unless asking very nicely in welcome screen players to press shift+f when joining track . (main reason is I wouldn't like for players to see a map and wrong way messages on my host). Probably this should be hosts option, but maybe can be done with insim by somehow forcing commands from host to guests? Um, security issues .
MonkOnHotTinRoof
S2 licensed
Is that good that left game buttons are not visible ? How can a player join track then if i send him some of my buttons when he connects ?



Great job otherwise . This will be very useful.
MonkOnHotTinRoof
S2 licensed
Does anyone else experience this message: could not find connection 1 client info (something similar to this). It happened in previous versions of insim too I believe.
Steps are: connect to server, run insim on client side, send ncn req to get ucid of already connected player, then send mtc to that ucid !=0 & plid = 0.
If same insim is started on dedicated server side, players can get that message to their ucid when joined...
MonkOnHotTinRoof
S2 licensed
Quote from ctkza :How do I go about getting this to compile in CentOS?
I tried this;

[root@* LFSLapper]# make
make: Nothing to be done for `all'.

That's probably because it's already built. Check bin directory.
Or you can clean first and then remake:

make clean
make

Note that no matter on what OS is it compiled, it can run on every other OS (well, almost). In fact, the pre-compiled executable is compiled using Mono on Linux, but most people run it on Windows...
maintaining connection documentation bug?
MonkOnHotTinRoof
S2 licensed
Quote :// MAINTAINING THE CONNECTION - IMPORTANT
// ==========================

// If InSim does not receive a packet for 70 seconds, it will close your connection.
// To open it again you would need to send another InSimInit packet.

// LFS will send a blank IS_TINY packet like this every 30 seconds :

// ReqI : 0
// SubT : TINY_NONE (keep alive packet)

// You should reply with a blank IS_TINY packet :

// ReqI : 0
// SubT : TINY_NONE (has no effect other than resetting the timeout)

reqi is not 0, but 255 ?

Not that this is a problem, I just echo the packet back if [1]==tiny and [3]==tinynone...

27.4.2007 21:18:45 - timeout ack sent, reqi: 255
27.4.2007 21:19:15 - timeout ack sent, reqi: 255
27.4.2007 21:19:45 - timeout ack sent, reqi: 255
27.4.2007 21:20:15 - timeout ack sent, reqi: 255
27.4.2007 21:20:45 - timeout ack sent, reqi: 255
27.4.2007 21:21:15 - timeout ack sent, reqi: 255
27.4.2007 21:21:45 - timeout ack sent, reqi: 255

Last edited by MonkOnHotTinRoof, .
MonkOnHotTinRoof
S2 licensed
Quote from vincper :Like this?
!hi@vincper|/msg Welcome blabla!

This option has to be set to true:

UseUsernameForAuthentication = true
MonkOnHotTinRoof
S2 licensed
Quote from Shoe Maker :
I expect this has nothing to do with dedicated servers or otherwise, anyone else finding this post by searching for the error message, should be able to fix it by renaming or deleting the existing PB.txt file so that the lapper can create a new one and start again...

Great find ! Didn't think of that...

Quote from GSiLaca :
And one more usefull thing, a small programs, witch converts your old Lapper's(3.7 or earlier) PB.txt to the new format. Because the name of the cars have changed.

That will be useful for people with big files .

Quote from vincper :
So it would be like

!hi@AllAdmins?|/msg blabla?

Or isn't it possible, and do I have to specify all usernames?

You need to specify all usernames (insim cannot separate admin from regular player).

Quote from revolucio :As the date in a message is put?

I want to put: today it is...

try with:

today is {LongDate}
MonkOnHotTinRoof
S2 licensed
Updated version for W9 patch. Now possible to enforce cockpit view thanks to new insim packet (unfortunately it comes by very rarely :shrug.

Hardcore test server (S2, public) is available for testing...
Last edited by MonkOnHotTinRoof, . Reason : forgot to include main file lol
MonkOnHotTinRoof
S2 licensed
It's easy to get IP of hosts, it's much more difficult to locate that IP in world. I guess you need some sort of mapping database... Or maybe use services available on net...
MonkOnHotTinRoof
S2 licensed
Quote from MoHaX :Is it possible to make common players able to issue command which will be visible only to insim? Something like "/mso <command>" but for all players, not only for host

I think there is /out command, but it's quite useless because you can't get who posted it...
MonkOnHotTinRoof
S2 licensed
Quote from MonStarr :
and it prints the points and the messages in game, but why is that port saying 0???

This message from LFS host means LFS will send packets to insim application via same port that is used to send packets from insim app to LFS. It's normal for LFSLapper, nothing to worry about .
MonkOnHotTinRoof
S2 licensed
It works if you change these 2 things:

struct demo_ban
{
struct in_addr ip_address;
__int64 time;
[COLOR=Red] //long _pad;[/COLOR]
};

// read number of bans
fread((void *)&bancore[COLOR=Red].Demobans[/COLOR], 4, 1, file);


// Check the num_demo bans is > 0
if (bancore.Demobans > 0)

order of 2nd and 3rd parameter at fread doesn't matter (at least in this case...)
MonkOnHotTinRoof
S2 licensed
Quote from Venus :
IP; for the first time; LFSLapper tried to access the net. I had to give it permission in my firewall (which I did). However; I still had exactly the same result from LFSLapper.

Doesn't that happen only when you access net outside of your subnet ? Strange. Can you also print out the output of ipconfig /all
From the output of your netstat I see this:


TCP platosca-v4td37:1822 platosca-v4td37:63392 ESTABLISHED 1468
[LFS.exe]

TCP platosca-v4td37:1824 lfs2.hosted.netline.net.uk:29339 ESTABLISHED 3172
[LFS.exe]

TCP platosca-v4td37:63392 platosca-v4td37:1822 ESTABLISHED 3172
[LFS.exe]

UDP platosca-v4td37:1823 *:* 1468
[LFS.exe]

[COLOR=SeaGreen] UDP platosca-v4td37:29339 *:* 3172
[LFS.exe]
[/COLOR]
[COLOR=Blue] UDP platosca-v4td37:63392 *:* 3172
[LFS.exe]
[/COLOR]

Blue one is probably game server port, while green one is insim listening port ? (in setup.cfg of dedicated host you have /insim=29339). You can try this order:

run lfs dedicated server with insim on 29339
run lfslapper (port in cfg = 29339 , host in cfg = ip of the server machine)
if lfslapper runs, run lfs client

You can contact me via msn or googletalk to solve this. If you have vnc server I can even config it for you online
MonkOnHotTinRoof
S2 licensed
Quote from Yoddix :
It will work, for like 1-2 minutes, then it crasches. So I got SysInternals Filemon installed, and I discovered that LFSLapper gets a "Buffer Overflow" and after that its stops working. A quick restart of LFSLapper and it works again, until next overflow.

Buffer overflow in dot net ? :eek:
Can you send exact text of error or dump or print screen ?
Using version from my page or different one ?
MonkOnHotTinRoof
S2 licensed
AFAIK Dedigui uses insim too. Maybe uses port 29999, so you cant bind to it ?
You can see which application is using which port, if you type in command line:
netstat -ab

(Also, you can not run more insim applications at the same time, unless using some sort of packet duplicator and redirector; maybe you should try to start LFSLapper without Dedigui, so you can see if this is the problem)
O, and if your dedicated server has external IP, you may have to change host ip in cfg of LFSLapper from 127.0.0.1 to that external IP...
MonkOnHotTinRoof
S2 licensed
Quote from scoobyrbac :Anyone got the LFSlapper.cfg file that dont look liek this they would want to share? Just change the password if so...

Lol, how did you get that one. Try opening it with wordpad instead.
MonkOnHotTinRoof
S2 licensed
You are complicating again .

1. You don't need any port forwarding. All insim stuff works with local connection on same machine as server.
2. InSim port is NOT the same thing as game port ! It must be different. Leave game port as it is, just use different insim one (i recommend /insim 29999 so you don't have to change cfg)
3. LFS said that it cannot bind the port, because you wanted to use the same one for insim which was already used for game !
4. The error you got (connected closed ...) simply means LFSLapper could not connect to port you specified, which means either you didn't start LFS server yet, or LFS Server's insim port on LFS was not open for listening.
5. Yes those files are for coders only.. readme.txt is for users.

Installing and running LFSLapper is very easy actually, usually people just need to change password in cfg file, and then they just run StartNetDefault (or sth like that).
MonkOnHotTinRoof
S2 licensed
check in directory:

C:\WINDOWS\Microsoft.NET\Framework

you should have at least one directory (preferably v1.1.4322, but v2.0.50727 would do too)

If Framework directory is empty or it doesn't even exist, you don't have it .
You can always download it from MS page. Or you can install Mono, but you had problems there .
MonkOnHotTinRoof
S2 licensed
Um, I have a feeling you have something wrong with .net or windows. What happens if you double click on WinMSBuild.bat ?
MonkOnHotTinRoof
S2 licensed
I think you complicate too much.
1.There is no 3.8 "patch". It's a complete app, no need to download older versions.
2.Rebuilding is not needed, you can run pre-built exe in bin directory.
3.You don't need mono on Widows, if you have .net already installed (it comes with XP SP2 I believe).
4.The config file shown here is from older version, since car names are still long .
MonkOnHotTinRoof
S2 licensed
Quote from Cr45h :
So, I have to manually change XFG to XF GTI to make it work? Or I can change DefalutTopCar to XFG and then edit all the PB file with XFG instead of XF GTI?

What's best solution?

You probably tried to use old PB.txt and old configuration with new version.
The best (and only?) thing to do is second option you mentioned:
change defaulttopcar and replace long car names in PB with short ones.

Dont forget to make a copy of PB.txt first
FGED GREDG RDFGDR GSFDG