Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after simple fs_copy #247

Open
burner1024 opened this issue Jul 13, 2019 · 12 comments
Open

Crash after simple fs_copy #247

burner1024 opened this issue Jul 13, 2019 · 12 comments

Comments

@burner1024
Copy link
Contributor

burner1024 commented Jul 13, 2019

Load a savegame (UseFileSystemOverride must be enabled), then enter the menu, the game will crash. Tried with 4.1.5, 4.1.6, 4.1.9.

procedure start begin
  if game_loaded then begin
    variable file, path := "sound\\sfx\\ib1p1xx1.acm";
    file := fs_copy(path, path);
  end
end
@FakelsHub
Copy link
Contributor

This is not implemented with sound files.

@burner1024
Copy link
Contributor Author

For which is it implemented? Any specifc reason to limit it?

@FakelsHub
Copy link
Contributor

FakelsHub commented Jul 15, 2019

Чето не доделано. После загрузки сохраненной игры чето ломается и движок не может получить файл, для декодирования.
Зачем тебе эта фигня со звук. файлами?

@burner1024
Copy link
Contributor Author

Да хотел убрать звук перезарядки SMG, в RP он постоянно проигрывается вместе с idle анимацией и достает нехило.

@FakelsHub
Copy link
Contributor

А как ты его хотел убрать?)

@burner1024
Copy link
Contributor Author

скопировать пустой звук на его место

@FakelsHub
Copy link
Contributor

А до пезагрузки это работает звук убирается?. Просто там что-то с кешем, толи файл удаляется из него, и все очень запутанно.

@burner1024
Copy link
Contributor Author

Нет, сразу падает при первом же вызове звука.

@FakelsHub
Copy link
Contributor

Нет интересует когда начинаешь новую игру? Вот звук щелчка кнопки есть. А как только загрузишь игру игра потом упадет.

@burner1024
Copy link
Contributor Author

Не работает, не убирается.

@FakelsHub
Copy link
Contributor

FakelsHub commented Jul 15, 2019

Но не падает?
Попробуй такую комбинацию, пусть в первый раз звук проиграется, а после этого скриптом убери, и посмотри что будет при следующем вызове звука.

@burner1024
Copy link
Contributor Author

Так же. Не падает, не убирается.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants