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

Libraries using auxtools are not able to call procs that the libraries themselves are hooked into, but only on linux. #44

Open
cadyn opened this issue Jul 22, 2021 · 5 comments

Comments

@cadyn
Copy link

cadyn commented Jul 22, 2021

Just as title says, any libraries using auxtools can't call procs that they hook into, but only for linux. If you have proc A, and your program hooks into it, then you can't call that proc from your program anymore if you're hosting on linux.

@willox
Copy link
Owner

willox commented Jul 22, 2021

example?

@cadyn
Copy link
Author

cadyn commented Jul 22, 2021

example?

I'm honestly exhausted from debugging the issue with auxmos, but if you wanna try it yourself for 0.2.0 on linux you'll notice that whenever post_process tries to call gas_mixture/react() (which is hooked by another auxmos function) it won't throw any errors, but it will also just not do anything. I'm pretty shit at rust, so I don't know about writing a program just to demonstrate the effect.

@cadyn
Copy link
Author

cadyn commented Jul 22, 2021

Actually I will also leave the branch I used for debugging auxmos which logs a bunch of checkpoints and details to /testlogs/auxmos.log, and if it will help you I can also send the log file that I had from debugging
https://github.com/cadyn/auxmos/tree/fixlinux

@lucincus
Copy link

example?

Heres one source file: configuration.dm,223
[04:51:13] Runtime in gas_mixture.dm,24: FAILED (Could not hook proc /datum/controller/subsystem/air/proc/get_max_gas_mixes: Proc is already hooked)
proc name: New (/datum/gas_mixture/New)

@lucincus
Copy link

example?

Heres one source file: configuration.dm,223 [04:51:13] Runtime in gas_mixture.dm,24: FAILED (Could not hook proc /datum/controller/subsystem/air/proc/get_max_gas_mixes: Proc is already hooked) proc name: New (/datum/gas_mixture/New)

Think it can be fixed? Cause atmospherics doesnt load without these in auxmos with auxtools

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

3 participants