Releases: germanrcuriel/assetto-corsa-server-udp2ws
Releases · germanrcuriel/assetto-corsa-server-udp2ws
v0.7.0
What's Changed
- Use socket-io 4.7.5
- Update
lap_split
log reader regex
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Features
- Added
--config
option to specify config file on CLI
v0.5.1
Get latest modified session log file instead of last by filename.
Lap splits
- Added session log reader in order to get lap splits (sector times) without any extra application on the client side.
- Added a new variable
acFolder
inudp2ws.ini
.
A new event will be emitted through WebSockets and Redis Pub/Sub.
socket.on('lap_split', (data) => { ... })
When a lap split is completed by a driver
Definition
car_id
. Integer. Car IDsplit_number
. Integer. Split index.split_time
. Integer. Split time.
Redis pub/sub support
Check udp2ws.ini
file to know how to configure the optional Redis pub/sub feature.
Basically, enabling this feature udp2ws
will:
- Subscribe to messages (Websocket Commands). Message channel will be formed by the prefix (
subscribeChannel
inudp2ws.ini
) followed by the command name. Message should be the argument for each command.
Example:
udp2ws.commands.get_session_info
udp2ws.commands.next_session
- Publish (Websocket Events) through Redis. Message channel will be formed by the prefix (
publishChannel
inudp2ws.ini
) followed by the event name. Message will be a JSON string.
Example:
udp2ws.events.car_info
udp2ws.events.chat
v0.3.4
Fix broken isAllowedChatMessage
call.
v0.3.3
Fix broken isAllowedChatMessage
call.
v0.3.2
- Don't send
/admin
chat messages to websockets
v0.3.1
- Fix broadcast messaging to happen only once each time and UDP is triggered.
v0.3.0
- Updated npm packages.
- Changed UDP -> socket ->
emit
tobroadcast
to save resources.