MinoMino / minqlx

Extends Quake Live's dedicated server with extra functionality and scripting.
GNU General Public License v3.0
112 stars 42 forks source link

Compiling 32bit minqlx.x86.so on 64bit system #126

Open mzryz opened 1 year ago

mzryz commented 1 year ago

Is it possible to compile the minqlx.x86.so on a 64bit system? I checked the makefile and sort of understand that it checks whether the system is 64 bit in the if/else statement, I guess I could edit this to achieve what I want? Or is there an actual 'make' operand I can use to make it generate the 32bit .so file.

Reason: Apparently the 32bit QL server is more stable, so I want to run that. But minqlx is just making the 64bit version of itself.

em92 commented 1 year ago

is there an actual 'make' operand I can use to make it generate the 32bit .so file.

There is no special operand.

Reason: Apparently the 32bit QL server is more stable, so I want to run that.

Could please describe more details please? The only reason I added 32bit support is just running on this platform. I am not aware about things like "it is more stable"

mzryz commented 1 year ago

Screenshot from 2023-11-26 12-40-44

Just going off the official? guide to setting up a QL server. Which can be found here: https://steamcommunity.com/sharedfiles/filedetails/?l=english&id=542966946

I don't quite know exactly what stability issue it refers to, the only bug I am aware of is the strange bug that seems to afflict CA servers every 3-4th map in rotation, upon completion of the final round the server crashes and reboots. In-fact I'm not 100% sure whether the server crashes, but all players get kicked and need to rejoin, the server is usually still in it's previous state when everyone rejoins. Either way I am hoping to try and avoid this issue on my server.

I was thinking of editing the if/else statement to just forcing the compilation of the 32bit version. Do you think this would work? (I realise I may be 'barking up the wrong tree' in wanting 32bit to try to avoid that previously mentioned bug - but it seems all QL servers are running 64bit mainly because minqlx only gives them a 64bit .so file. Logically, it makes sense to try 32bit)