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

When running client-host.exe, PhysX SDK error achieved #9

Open
alextwothousand opened this issue Dec 3, 2020 · 7 comments
Open

When running client-host.exe, PhysX SDK error achieved #9

alextwothousand opened this issue Dec 3, 2020 · 7 comments

Comments

@alextwothousand
Copy link

When running the client, I'm getting the PhysX SDK error. My game works if I run it directly from mafia2.exe, but not the built client-host.exe!

@alextwothousand
Copy link
Author

alextwothousand commented Dec 3, 2020

Placing the client files in my Mafia II/pc folder produces a whole nother error. I get the "start your steam, faggot" error instead. 😂

@Segfaultd
Copy link
Member

Hey @alextwothousand ,

Thanks for reporting this to us. It's a known bug that can be somehow fixed by appending the physX SDK dlls in the mod directory and injecting into the process.

This project is somehow not maintained at the moment but feel free to ask on Discord.

@alextwothousand
Copy link
Author

alextwothousand commented Dec 8, 2020

Hey lad.

No worries at all, thank you for the notification.

By taking a look into the code internally, I was able to figure that out, hence why I closed the issue.

However, a new issue has arisen.

As soon as I start client-host.exe, and then load into the game, it crashes. Doesn't seem to be a CEF issue, but more of an issue with the networking stuff. Did you guys have any clue what was wrong, otherwise, I will have to trace back all the code and ensure nothing is wrong.

I am using the develop branch if that is of any use to you.
Thanks.

Thanks.

@Segfaultd
Copy link
Member

Segfaultd commented Dec 8, 2020

Good Evening,

CEF was quite experimental and afair, not used in current state of the code. Would you mind sharing any screenshot or stacktrace for the crash?

@alextwothousand
Copy link
Author

alextwothousand commented Dec 8, 2020

Good Evening,

CEF was quite experimental and afair, not used in current state of the code. Would you mind sharing any screenshot or stacktrace for the crash?

Good evening to you too!

Yes, I would be able to tomorrow. There was no stack trace produced, just as the game was about to load me in, around the CEF.init(); lines of code, it then just black screens and the game window closes.

@Segfaultd
Copy link
Member

Alright, then just mention me when you share it :D

@alextwothousand
Copy link
Author

[info] attaching to thread (3910) ...
[info] starting Mafia 2 Online - Reborn. v1.0.0 ...
[info] mod_init
[info] patching file C:\Users\alex\Desktop\m2net\binary\client\files\sdsconfig.bin
[info] patching file C:\Users\alex\Desktop\m2net\binary\client\files\tables.sds
[info] patching file C:\Users\alex\Desktop\m2net\binary\client\files\gui.sds
[info] patching file C:\Users\alex\Desktop\m2net\binary\client\files\gui-main.sds
[info] patching file C:\Users\alex\Desktop\m2net\binary\client\files\StreamMapa.bin
[GameModule]: EventGameInit
SDL_Init(SDL_INIT_VIDEO): 0 

I switched to the master branch, connecting to the game does not show me the ingame GUI.

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