randomizer-tmf icon indicating copy to clipboard operation
randomizer-tmf copied to clipboard

Game does not recognize me getting the author medal

Open expected-ingot opened this issue 1 year ago • 5 comments
trafficstars

Hello! I have completed the track with an author medal but the program still shows "0 author medal, 0 gold". Any fix?

[03/08/2024 20:13:54, Information] STATUS: Fetching random track...
[03/08/2024 20:13:54, Debug] Requesting generated URL: https://tmuf.exchange/trackrandom?environment=0&vehicle=6&primarytype=0&difficulty=0
[03/08/2024 20:13:54, Information] STATUS: Downloading track 3993039...
[03/08/2024 20:13:54, Debug] Downloading track on https://tmuf.exchange/trackgbx/3993039...
[03/08/2024 20:13:54, Information] Discord RPC => Handling Response. Cmd: SetActivity, Event: (null)
[03/08/2024 20:13:54, Information] STATUS: Parsing the map...
[03/08/2024 20:13:54, Information] STATUS: Validating the map...
[03/08/2024 20:13:54, Information] STATUS: Saving the map...
[03/08/2024 20:13:54, Debug] Ensuring C:\Users\Tomek\Documents\Vsk5Online\Tracks\Challenges\Downloaded\_RandomizerTMF exists...
[03/08/2024 20:13:54, Debug] Preparing the file name...
[03/08/2024 20:13:54, Information] Saving the map as C:\Users\Tomek\Documents\Vsk5Online\Tracks\Challenges\Downloaded\_RandomizerTMF\A01-Race s.Challenge.Gbx...
[03/08/2024 20:13:54, Information] Map saved successfully!
[03/08/2024 20:13:54, Information] Saving the session data into file...
[03/08/2024 20:13:54, Information] Session data saved.
[03/08/2024 20:13:54, Information] STATUS: Starting the map...
[03/08/2024 20:13:54, Information] Opening C:\Users\Tomek\Documents\Vsk5Online\Tracks\Challenges\Downloaded\_RandomizerTMF\A01-Race s.Challenge.Gbx in TMForever...
[03/08/2024 20:13:54, Information] STATUS: Playing the map...
[03/08/2024 20:13:55, Information] Discord RPC => Handling Response. Cmd: SetActivity, Event: (null)
[03/08/2024 20:13:56, Information] Discord RPC => Handling Response. Cmd: SetActivity, Event: (null)
[03/08/2024 20:13:57, Information] Discord RPC => Handling Response. Cmd: SetActivity, Event: (null)
[03/08/2024 20:13:58, Information] Discord RPC => Handling Response. Cmd: SetActivity, Event: (null)
[03/08/2024 20:13:59, Information] Discord RPC => Handling Response. Cmd: SetActivity, Event: (null)
[03/08/2024 20:17:39, Information] STATUS: Ending the session...
[03/08/2024 20:17:39, Information] STATUS: Session ended.

expected-ingot avatar Mar 08 '24 19:03 expected-ingot

Hi, uhm, took me a bit of time to figure out, but why the maps download in Vsk5Online folder? 😄

BigBang1112 avatar May 02 '24 01:05 BigBang1112

I managed to make a symlink (redirect) from Vsk5Online to TrackMania folder. Maybe add a option to manually choose the TrackMania folder?

expected-ingot avatar May 02 '24 11:05 expected-ingot

My guess is that symlinks dont work properly with FileSystwmWatcher, so I dont consider any change. Make sure your directory is not a symlink. This unfortunately depends on Microsoft implementations and abilities of native libs.

Custom UserData folder is a weird solution when I take in count that the method I use is the exact with what the game uses.

BigBang1112 avatar May 02 '24 13:05 BigBang1112

I think I have to add an additional flag to watch properties. Let's see

BigBang1112 avatar May 02 '24 13:05 BigBang1112

My guess is that symlinks dont work properly with FileSystwmWatcher, so I dont consider any change. Make sure your directory is not a symlink. This unfortunately depends on Microsoft implementations and abilities of native libs.

Custom UserData folder is a weird solution when I take in count that the method I use is the exact with what the game uses.

Nono, I meant to fix the issue I created a symlink, so the "vsk5online" folder redirects to the TM folder. The bug is more why it defaults to Vsk5Online even after uninstallation and deletion of the game

expected-ingot avatar May 03 '24 17:05 expected-ingot

Looks to be really the most edge case possible. The UserData folder is detected by using the Documents + UserSubDir in Nadeo.ini file. I think if this UserSubDir is properly set, it will work as supposed.

BigBang1112 avatar Jun 14 '24 01:06 BigBang1112