auxtools icon indicating copy to clipboard operation
auxtools copied to clipboard

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

Open cadyn opened this issue 4 years ago • 5 comments

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.

cadyn avatar Jul 22 '21 02:07 cadyn

example?

sohpeach avatar Jul 22 '21 08:07 sohpeach

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 avatar Jul 22 '21 08:07 cadyn

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

cadyn avatar Jul 22 '21 08:07 cadyn

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 avatar May 11 '22 04:05 lucincus

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

lucincus avatar May 11 '22 04:05 lucincus