Vurv78 / Autorun-rs

Modern scripthook with lua execution and filesteal. Replacement for gluasteal and most lua executors
Apache License 2.0
104 stars 11 forks source link

32 Bit is broken #22

Closed Vurv78 closed 2 years ago

Vurv78 commented 3 years ago

Since 0.4.0, x86/32 Bit would just not open the Autorun console. Now with 0.6.0 it closes your game. Need to fix this

Thanks to @Xandertron for originally reporting this on the discord

Vurv78 commented 2 years ago

The issue might be the painttraverse hook needing to be __thiscall in i686-pc-windows-msvc, but it is fastcall, which would work only on x86_64. Can't solve that without moving to nightly again. great.

Vurv78 commented 2 years ago

Could just disable the lua_run commands for 32 bit, if that really is the case.

Vurv78 commented 2 years ago

thanks github

Vurv78 commented 2 years ago

Btw that was not the case. Most likely wrong offsets for 32 bit that need to be fixed in rglua. 🙃

Vurv78 commented 2 years ago

For some reason it just works 😉 right now, testing on latest bleeding edge (1.2.0-beta4). If this pops up again, make a new issue or comment on here to re-open this.