Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

[BUG] EqMultiply(const CMatrix &m1, const CMatrix &m2) can be called with invalid m1 matrix #513

Closed
xakod opened this issue Jan 10, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@xakod
Copy link

xakod commented Jan 10, 2024

Describe the bug
inline void CMatrix::EqMultiply(const CMatrix &m1, const CMatrix &m2) can be called with invalid m1 matrix
To Reproduce
Steps to reproduce the behavior:

  1. I just build the latest commit from develop
  2. Use resources from sd-teho-public/develop-rus
  3. Start executable from vs or not
  4. See error

Expected behavior
No access violation

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Dump https://drive.google.com/file/d/1fCB38Vgj_xGfKV40thK0qDD7U9jXjLnI/view?usp=sharing

@xakod xakod added the bug Something isn't working label Jan 10, 2024
@espkk
Copy link
Member

espkk commented Jan 10, 2024

Can you provide more context? Also, to open the dump file I need engine.exe and engine.pdb which you used to create the dump

@xakod
Copy link
Author

xakod commented Jan 10, 2024

Sorry, I packed everything now https://drive.google.com/file/d/1MjfWXb0u2k_dFlhU77THsTZSZdV2rCic/view?usp=sharing
Maybe I have a problem with my enviroment/system or smth like that because I see the same error with beta4

@espkk
Copy link
Member

espkk commented Jan 10, 2024

Sorry, I packed everything now https://drive.google.com/file/d/1MjfWXb0u2k_dFlhU77THsTZSZdV2rCic/view?usp=sharing Maybe I have a problem with my enviroment/system or smth like that because I see the same error with beta4

Most likely the script code is not updated for the engine code. AFAIK, it's not open-source anymore. There are a few alternatives though e.g. https://github.com/PiratesAhoy/new-horizons

@espkk
Copy link
Member

espkk commented Jan 10, 2024

From what I see in the dump it's actually most likely that you don't have the required resources. For sd-teho-public there are no resources available for free. You have to buy the game to get them and use a specific version of it. A better choice would be to get other resources. These are some discord servers with free mods for this engine:
https://discord.gg/Mp8mMvMK
https://discord.gg/Z6ujph7Y
https://discord.gg/ypCA3BG2
https://discord.gg/HtgzZjDq

@xakod
Copy link
Author

xakod commented Jan 10, 2024

Ok, thank you!

@xakod xakod closed this as completed Jan 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants