Forums
April 26, 2024, 01:57 PM

Author Topic: Ghost Replays 0.4.1  (Read 4244 times)

0 Members and 1 Guest are viewing this topic.

Offline rUNaW4y

  • “Whoever has ears to hear, let them hear”
  • Full Member
  • ***

  • Italy Italy
  • Posts: 217
    • View Profile
Re: Ghost Replays
« Reply #15 on: June 04, 2020, 04:59 PM »
That test was just related to drawing. Here is another test module which should create some folders. This time go ingame and check the Ghosts folder. Four folders should now be located in the User/Ghosts/ directory.


Even this module works fine for me, but only 3 folders are created (not 4): Test1, Test2 and Test3. Did I miss one folder?
Moreover, I am wondering if you could attach one ghost file so that I could try to put it in Ghosts folder and check whether the replay is loaded since I can't produce it by myself (assuming cross compatibility is going to work).

Online Sensei

Re: Ghost Replays
« Reply #16 on: June 04, 2020, 06:45 PM »
I managed to get that image under test in game after pressing ctrl+n, but that's it. Ghosts folders still empty.

Offline Masta

Re: Ghost Replays
« Reply #17 on: June 04, 2020, 08:15 PM »
« Last Edit: September 19, 2022, 06:39 PM by Masta »

Online Sensei

Re: Ghost Replays
« Reply #18 on: June 04, 2020, 08:22 PM »
I managed to get that image under test in game after pressing ctrl+n, but that's it. Ghosts folders still empty.
Just to be sure, did you use wkGhostReplaysDirectoryTest.dll?

Si Señor.  :(

Btw, would it be able for players to send ghost file to each other and place them in their folder?
So once they're in online game together they both can activate, let's say - rr turn by you from few years ago,
and try to have a race with your ghost during their turns. Since both players got the same ghost file, it should be visible to both of them, even tho one is not racing!? Hard to explain better what I'm thinking of, hope someone understood it..

Offline Masta

Re: Ghost Replays
« Reply #19 on: June 04, 2020, 08:55 PM »
« Last Edit: September 19, 2022, 06:39 PM by Masta »

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 445
    • View Profile
Re: Ghost Replays
« Reply #20 on: June 04, 2020, 11:35 PM »
Both the Directory test and File test work for me. I get 3 folders and 3 files.

What map is your sample ghost played on? I'd like to try it also.

Online Sensei

Re: Ghost Replays
« Reply #21 on: June 05, 2020, 05:21 AM »

Thanks for testing. I believe just creating files would be simpler, does the following create 3 files in the Ghosts folder after going ingame?


Oh, sry for misunderstanding. I have 3 folders, but they remain empty. So ctrl+n is not working or I'm doing it wrong.


I want this to work with a multi turn based scheme like big rr too, maybe in the future.

That would be great, hope to see more updates on this module soon. Even now we can relive lots of time trial bigrr/rrs from TUS replays.

Offline rUNaW4y

  • “Whoever has ears to hear, let them hear”
  • Full Member
  • ***

  • Italy Italy
  • Posts: 217
    • View Profile
Re: Ghost Replays
« Reply #22 on: June 05, 2020, 08:18 AM »
I managed to get that image under test in game after pressing ctrl+n, but that's it. Ghosts folders still empty.
Just to be sure, did you use wkGhostReplaysDirectoryTest.dll?

Si Señor.  :(
Thanks for testing. I believe just creating files would be simpler, does the following create 3 files in the Ghosts folder after going ingame?
[attachment=1]

Btw, would it be able for players to send ghost file to each other and place them in their folder?
So once they're in online game together they both can activate, let's say - rr turn by you from few years ago,
and try to have a race with your ghost during their turns. Since both players got the same ghost file, it should be visible to both of them, even tho one is not racing!? Hard to explain better what I'm thinking of, hope someone understood it..
Yes, that should be possible. I want this to work with a multi turn based scheme like big rr too, maybe in the future.

Yes it does for me (3 test files are created).
Instead (assuming your referenced map is this one: https://www.tus-wa.com/maps/map-1125/) your ghost file is not loaded/processed.

Offline Masta

Re: Ghost Replays
« Reply #23 on: June 10, 2020, 10:13 PM »
« Last Edit: September 19, 2022, 06:39 PM by Masta »

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 445
    • View Profile
Re: Ghost Replays
« Reply #24 on: June 10, 2020, 11:57 PM »
IT WORKS!

Offline rUNaW4y

  • “Whoever has ears to hear, let them hear”
  • Full Member
  • ***

  • Italy Italy
  • Posts: 217
    • View Profile
Re: Ghost Replays
« Reply #25 on: June 11, 2020, 10:08 AM »
Works for me as well, ty. The only remark is: after ending the session game, wa crashes (black screen) and I need to kill wa.exe from TM in order to stop it.

Offline rUNaW4y

  • “Whoever has ears to hear, let them hear”
  • Full Member
  • ***

  • Italy Italy
  • Posts: 217
    • View Profile
Re: Ghost Replays
« Reply #26 on: June 11, 2020, 10:42 AM »
Works for me as well, ty. The only remark is: after ending the session game, wa crashes (black screen) and I need to kill wa.exe from TM in order to stop it.


Offline Masta

Re: Ghost Replays 0.4
« Reply #27 on: June 19, 2020, 09:03 PM »
« Last Edit: September 19, 2022, 06:39 PM by Masta »

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 445
    • View Profile
Re: Ghost Replays 0.4
« Reply #28 on: June 24, 2020, 01:04 AM »
Version 0.4 works for me on Windows 7, but not Windows 10.  On Windows 10, CD version, all other modules disabled, I get:
Quote
Failed to load WormKit module wkGhostReplays.dll: Error 0x0000007E

Not sure how to reliably get a ghost to play back. Sometimes it works, sometimes it doesn't. Not sure what I'm doing wrong. Ideally a ghost would play back every turn automatically without hotkeys needed.

I suggest altering the functionality as follows: instead of using a hotkey to manually trigger recording a ghost, each turn should automatically be cached and after the run you are given 5 seconds to overwrite the previously saved ghost (if one exists) using a hotkey. Reason being, often you start recording only to fall 3 seconds later, and your old ghost replay is now gone (or at least not active for playback anymore).

My main issue so far (if it's working as intended) is the module is just confusing. I suggest adding more text at top-left to make things more transparent/easily understandable. The text is unobtrusive so there's little harm in adding tons of detail, at least for these test builds:
"Recording..."
"Playing ghost #X. Press Backspace+Tab to reselect/cycle active ghost. Press Backspace+L to always play the previous turn's ghost"
"Error: No ghost found"
"Error: Module stopped working: restart WA to fix"
"Ghost recorded to temporary cache. Press Backspace+Enter to replace active ghost for playback, or Backspace+N to archive as new file. (Ghost will be discarded in 5 ..  4  ..  3  ..  2  .. 1 (countdown))

I used different hotkeys because Ctrl, Alt, and nearby letters are often used in RemapKeys.. however my examples might not be ideal either.

This is after limited testing... so my confusion reflects that..  my computer is broken currently and won't boot >:\  Will fix and try again later.

Ty masta! This is one of the most fun and promising wormkit modules ever, IMO
« Last Edit: June 24, 2020, 02:42 AM by j0e »

Offline Korydex

Re: Ghost Replays 0.4
« Reply #29 on: June 24, 2020, 04:21 AM »
Quote
Failed to load WormKit module wkGhostReplays.dll: Error 0x0000007E
that probably means you're missing a shared library (Visual C++ Redistributable)