Skip to content
Snippets Groups Projects
Commit be4cfbbc authored by cleemy desu wayo's avatar cleemy desu wayo
Browse files

Modify: change to use onplayerjoincomplete instead of onplayerjoined

In VRChat client version 2024.4.1 (Build 1533), the log file output
format has changed.

https://docs.vrchat.com/docs/vrchat-202441
The above page contains the following text:

> Output logs now include user IDs when players join or leave
> an instance.

Log entries containing "OnPlayerJoinComplete" seem to output the same
as before, so I would change this sample vrchat_join_log2.rb to use
/onplayerjoincomplete/i instead of /onplayerjoined/i.
parent d03657e6
Branches main
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ hook 'vrchat-001', /\A\[behaviour\] (switching to network .*)/i do |e|
"switch network | #{e.m[1]}"
end
hook 'vrchat-001', /\A\[behaviour\] onplayerjoined (.*)/i do |e|
hook 'vrchat-001', /\A\[behaviour\] onplayerjoincomplete (.*)/i do |e|
e.status.count += 1
count_str = sprintf("%5d", e.status.count)
"joined!!! | #{count_str} | #{e.m[1]}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment