The online racing simulator
RaceManager + VCom
(10 posts, started )
RaceManager + VCom
I canna run VCom with RaceManager (it using as gateway).

Help me!

p.s. individualy VCom work.
Haven't tryed that manager thingie, but I think the relaying (gateway) works so that you give vcom the manager ip and port (the 'gateway' port or what ever) and not the lfs ip/port.
I do that. Others programs work. Now only that not work properly
I found it. Sorry but I have forgotten some hard coded test only things in the code. The relay thing in vcom is half made but is still running. There are few hard coded stuff which means you cannot use ports 29997 and 29995 for your own use (the things cannot be altered in setup file because it is not even supposed to be running). :doh:

It works as long as you do not use localhost ports 29997 and 29995. I tested it and it works. I fix it for the next version. Damn, stupid me:banghead:
When i run RaceManager it bind to 2997 port (have done it specially). Ports 29997 and 29995 not employ. But VCom not connect to RaceManager Gateway

p.s. i use local ip address 192.168.6.xx. Not localhost
If you run them in the same computer, then use 127.0.0.1 (really, use it, not the physical address). It is not really the same thing as the physical interface of your computer. Besides 127.0.0.1 works even without any NICs (network interface cards).

AFAIK LFS cannot operate insim on other than localhost (could be wrong but don't know how to change it then). In vcom there is still the same forced restriction, even you can give other than localhost address too. Currently it has been bit like a reminder for me to give user ability to change the interface (other than loopback). Quite simple really, but since it wasn't important for me I have posponed it (ok, i make it to the next ver). But honestly it is bit hard to think good reasons running them in different computers.

I got the idea you were running them in the same computer (address). Then you cannot use those 2 ports in manager either. If the source and destination addresses are the same (loopback) the port numbers use the same 'pool'. So both cannot be for example 29995. For example in manager i put "port = 29990" (instead of 29997) in the insim section and in vcom setup file system section i put "lfs_address=127.0.0.1:35000;". The addresses in manager and vcom are always 127.0.0.1. That works fine for me.

You could have been bit more specific in the first post. At least we could have saved the effort writing couple of posts and 1 day of time. For example I'm still not 100% sure if you run them in the same or different computers
I can run VCom in computer where started LFS and use 127.0.0.1 Like this program work fine and all good.

Done. VCom started per RaceManager. I see message in game which VCom send me. Only all commands ignored. I typing "!help" but nothig happen. In race typing "!trip on" and farther "!trip" nothig too.
Yes. I noticed exactly the same thing couple of hours ago. I debugged it and looks like when running it with manager the 'coding' of the messages user types changes (the messages which are sent to the program). So I know how the coding changes, but don't know really why.

It would be easy to fix it in the code, but first I would like to understand why it does it.

Anyway, it is such problem that you cannot fix it without a new version. Only fix now is to run it alone or try another gateway. I might drop a new quick fix version tomorrow or few days (even outside of official versions), if you think this is important (you need absolutely racemanager too).

("!trip on" should display "tripmeter on". If it displays no text to some command it means, the command is wrong, it didn't get the message somehow or it couldn't get valid player name and command out of it, or vcom is not even running)
Quote :I debugged it and looks like when running it with manager the 'coding' of the messages user types changes (the messages which are sent to the program). So I know how the coding changes, but don't know really why.

Sorry i some don't understand. Is you think error code's into RaceManager?
If like this then RaceManager was coded by on Python. It can be corrected but i not programmer.
Hard to say. Don't know where the problem is. Anyway I used 'knife' for the code already. It accepts all the inputs now and seems to work. I code the few more things, test myself and give it to test then.

RaceManager + VCom
(10 posts, started )
FGED GREDG RDFGDR GSFDG