View Full Version : /cars command longer than 64 byte
JogDive
17th December 2005, 16:33
Hello,
i develop a remote control app for the lfs dedicated server. My problem is that i send the "/cars xxx+xxx+xxx+xxx......" command format via a MsgTypePack(64 byte buff).But my car string gets more than 70byte if i set more than 13 cars at one time. Is there a solution without using the predefined car classes (ALL,etc..) ?
David
nikimere
17th December 2005, 17:18
cars=ALL afaik??
the_angry_angel
17th December 2005, 19:04
Is there a solution without using the predefined car classes (ALL,etc..) ?Afraid not, since this with mean that the 64 byte limit would need to be increased within LFS :(
_Rob_
17th December 2005, 20:35
I think you can do 'cars=ALL-xrg-mrt' etc to give all cars but xrgtt and mrt5...
JogDive
17th December 2005, 20:36
Sorry guys, i meant the string of more than 13 of 18 cars is too long to send it via MsgType Pack.
Solution: warning message if car string > 64 byte :x:smileypul
JogDive
17th December 2005, 20:38
I think you can do 'cars=ALL-xrg-mrt' etc to give all cars but xrgtt and mrt5...
very great idea :thumb: thank you very much !
Edit:all is working fine now
franky500
17th December 2005, 22:46
Hey jog.. u planning on releasing this publically? Looks sweet and very usefull :D
JogDive
18th December 2005, 00:37
Hey jog.. u planning on releasing this publically? Looks sweet and very usefull :D
maybe.....:scratchch
dUmAsS
18th December 2005, 01:14
in the host file it says
cars=111000000000000000
so mabey lfs understands that? try it that way (i have nfi if you can do that in a setup.cfg)
JogDive
18th December 2005, 12:34
Thanks dUmAsS, but i got it by _Rob_ tip :D
i think your idea is the pure bitset which is defined as an constant in the source code
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.