Skip to content

Releases: germanrcuriel/assetto-corsa-server-udp2ws

v0.7.0

29 Apr 16:45
v0.7.0
8c5d697
Compare
Choose a tag to compare

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

15 Sep 16:52
85dbc27
Compare
Choose a tag to compare

Features

  • Added --config option to specify config file on CLI

v0.5.1

03 May 06:51
79918a1
Compare
Choose a tag to compare

Get latest modified session log file instead of last by filename.

Lap splits

02 May 12:19
7d26218
Compare
Choose a tag to compare
  • 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 in udp2ws.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 ID
  • split_number. Integer. Split index.
  • split_time. Integer. Split time.

Redis pub/sub support

05 Apr 14:33
dd3a6d9
Compare
Choose a tag to compare

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 in udp2ws.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 in udp2ws.ini) followed by the event name. Message will be a JSON string.

Example:

udp2ws.events.car_info
udp2ws.events.chat

v0.3.4

27 Mar 18:54
4b1e5f5
Compare
Choose a tag to compare

Fix broken isAllowedChatMessage call.

v0.3.3

20 Mar 14:22
d951bb0
Compare
Choose a tag to compare

Fix broken isAllowedChatMessage call.

v0.3.2

16 May 18:54
ddccaf1
Compare
Choose a tag to compare
  • Don't send /admin chat messages to websockets

v0.3.1

16 May 16:58
59d5036
Compare
Choose a tag to compare
  • Fix broadcast messaging to happen only once each time and UDP is triggered.

v0.3.0

13 May 22:08
ab29aa8
Compare
Choose a tag to compare
  • Updated npm packages.
  • Changed UDP -> socket -> emit to broadcast to save resources.