ekky-llc / spt-raid-review

An experimental way for the SPT community to review raid action data such as kills and looting, with the ability for positional replay.
MIT License
15 stars 2 forks source link

Playback view slows down to a crawl #44

Open serranojavier opened 1 week ago

serranojavier commented 1 week ago

Hi loving the mod for seeing my deaths,

I'm having an issue though, I upgraded to v .06 deleted the correct .dll plugin and mod folder and migrated my data folder to the new usr/mods folder.

The issue however is that when I open a raid for playback on my chrome browser it starts out playing fine at normal speed but then it gets really laggy as if it was playing back at 10fps or lower.

What logs might you need to see?

christopher-talke commented 1 week ago

I won't need to see any logs, I have been working on improving this.

If you check the releases on the main page of this repository, there is a 0.1.0_test release.

https://github.com/ekky-llc/spt-raid-review/releases/tag/v0.1.0_test

Did you want to give that a try see if there is a noticeable performance difference?

serranojavier commented 1 week ago

Gave it the test release a try and I'm even though I migrated my data it shows my profile and I can see the saved raids, however upon clicking on any raid all I see is an empty map, no name list and no events logged on the timeline, pressing play doesn't do anything

KonstAl54 commented 1 week ago

Gave it the test release a try and I'm even though I migrated my data it shows my profile and I can see the saved raids, however upon clicking on any raid all I see is an empty map, no name list and no events logged on the timeline, pressing play doesn't do anything

same

christopher-talke commented 1 week ago

Gave it the test release a try and I'm even though I migrated my data it shows my profile and I can see the saved raids, however upon clicking on any raid all I see is an empty map, no name list and no events logged on the timeline, pressing play doesn't do anything

Okay I see - one sec I'll upload a new version with that fixed.

RebeliusGaming commented 1 week ago

Hi. As mine was really slow too, I tried this, and with the old raids, I have no info and get this error image

I'ma play some raids now, and Ill post if it works.

I dont mind losing old data, should I delete the data folder inside mods/raidreview0.1.0?

thank you :)

christopher-talke commented 1 week ago

@RebeliusGaming @serranojavier @KonstAl54

Please try this, the previous version I uploaded I forgot to re-add some critical code to the Playback.

https://github.com/ekky-llc/spt-raid-review/releases/tag/v0.1.0_test_a

Sincere apologies for screwing you guys around.

RebeliusGaming commented 1 week ago

Should I just extract it and overwrite if asked? Chrome gave me malware alert btw

christopher-talke commented 1 week ago

It shouldn't ask for an overwrite, it should make a new folder in your user/mods/ and you need to copy your /data folder from the old one as per install notes.

Might just be because it's a very fresh upload, however, if you don't trust, I've included a scan result in the download page.

Otherwise not sure why it's complaining 😞

RebeliusGaming commented 1 week ago

Works FLAWLESS right now.

I dont know if you get access to this data, but also being able to watch bullets would be great! I just got this idea remembering a PUBG tool to watch the raid review

RebeliusGaming commented 1 week ago

Sorry Spoke too early. Same problem again. Nice at start, but really slow after some seconds

christopher-talke commented 1 week ago

Sorry Spoke too early. Same problem again. Nice at start, but really slow after some seconds

Yeah, I figured that would happen, I'm overloading the browser too hard.

I tried switching the rendering approach, which broke the last build, and I need to do some more research around a better way.

I'll keep this Issue open for now.