GithubHelp home page GithubHelp logo

skaterxl-modding's Introduction

Hi there ๐Ÿ‘‹

skaterxl-modding's People

Contributors

blendermf avatar danielkiwi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tjgra

skaterxl-modding's Issues

Can ReplayAudioRecorder be modified so that the replay editor becomes compatible with the multiplayer mod?

Mod Name
XLShredReplayEditor
Version numbers
Game version: 2018.3.0.7248423
Mod manager version: 0.20.0.0
XLShredReplayEditor version: 1.3.0
Multiplayer mod version: 0.2.3

Describe the bug
Having both mods enabled at the same time causes the game to crash when connected to a multiplayer game. More specifically the game crashes when the replay editor is recording and at the same time the multiplayer mod is creating the character for another player in the game.

To Reproduce
Steps to reproduce the behavior:

  1. Enable both multiplayer-mod and replay-editor mod
  2. Make sure the replay editor is in state recording
  3. Join a multiplayer server that has at least one other player connected to it, or join empty game and wait for another player to connect.
  4. The game crashes as the other player is being spawned.

Expected behavior
Both mods should be able to work together without crashing the game.

Logfile
I currently don't have this accessible, but the crash log each time reports on "attempting to read an invalid address".

Additional context
I submitted this as a bug report but perhaps it could be regarded as a feature request.

I narrowed down the incompatibility to the moment that the multiplayer mod spawns another player (see https://github.com/silentbaws/XLMultiplayer/blob/master/XLMultiplayer/MultiplayerPlayerController.cs#L445). Each time this happens the new character is created from the main player's skater and board in the following way (I'll exclude the board to which the same happens but this isn't causing issues).

  1. All monobehaviors in the original skater are set to disabled.
  2. A copy of the skater is created using Object.Instantiate.
  3. All monobehaviors in the new skater are destroyed.
  4. All monobehaviors in the original skater are enabled again.

The game crashes as a result of step 1 because one of those monobehaviors is ReplayAudioRecorder, which has an onDisable lifecycle event which closes the memory stream.

I am sure that this is the only point where the mods are incompatible (except for an issue when removing the player, described below) as I modified the multiplayer mod to not disable the ReplayAudioRecorder in step 1, after which the crash when a player joins doesn't occur anymore.

However with the above fix the game crashes when a player is disconnected and his character is removed. I'm not sure why that happens but it would probably require quite some changes in the multiplayer mod to prevent that.

So my question is the following: can this perhaps easily be fixed in the replay editor mod? There might be a few options:

  • avoiding closing the steam in onDisable
  • re-opening the stream in onEnable

Skater gets super shaky while everything else remains smooth.

So whenever i edit a clip, doesn't matter which mode ( freemode, tripod, ect ) the skater gets super shaky. It's just the skater though, everything else is smooth. Scenery, camera follow movement.
I've heard other people having the same issue but i didn't see a bug report yet.
I shouldn't be my pc, specs are way more than needed.
Whatever causes it, i haven't found a fix yet. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.