Pycckue-Bnepeg / samp-cef

Client and server plugins for SA:MP to embed CEF.
GNU General Public License v3.0
100 stars 46 forks source link

No CEF_PATH env variable. #5

Closed nexquery closed 2 years ago

nexquery commented 2 years ago

I am getting the following error even though I have specified the CEF_PATH path. How can I solve this problem?

Indicated path: https://i.imgur.com/Bouuz4l.jpg https://i.imgur.com/lsRaRkC.jpg

Error received: https://i.imgur.com/EKQHgTn.jpg

Pycckue-Bnepeg commented 2 years ago

It looks like you run cargo commands from cmd.exe and maybe you set this variable from powershell.exe. You cannot mix different shells. It should work as expected if you do it right.

nexquery commented 2 years ago

Thanks for your answer. How can I update this plugin to version 0.3 DL?

Pycckue-Bnepeg commented 2 years ago

To make it work on 0.3DL someone should find addresses and structures and extend this crate with them.

nexquery commented 2 years ago

Is there a tutorial for finding addresses? If so, I would like to contribute.

Pycckue-Bnepeg commented 2 years ago

I guess s0beit has this.

nexquery commented 2 years ago

If I can compile the plugin, I will work on the addresses, but I could not compile it. I am getting the following errors while compiling. Can you help with this?

https://i.imgur.com/MHbr9gS.jpeg

Pycckue-Bnepeg commented 2 years ago

Remove libcef.lib from CEF_PATH. That should contain the directory name only

nexquery commented 2 years ago

I have successfully completed the compilation process. For 0.3DL would it be enough for me to update the addresses here? Address

Pycckue-Bnepeg commented 2 years ago

Nope, all addresses should be changed. Also, as I know there is a difference between structures.

nexquery commented 2 years ago

I guess I need to do a lot of research on addresses. Thank you for your help.