-
Notifications
You must be signed in to change notification settings - Fork 24
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
Starting a multi-player server crashes on Yosemite 10.10.5 #2
Comments
What client, what platform, what command line options are you using and is Joe
|
We installed using the DMG in the README for Mac OSX and then just double clicked the app. Once loaded, typed ESC to get the menu, went to Multiplayer and the selected 'create a server' and once we select 'begin' it crashes with EXC_CRASH - I can provide a core dump from OS X if needed |
If I had to wager a bet, it is probably failing to dlopen game.so. I might On Friday, March 18, 2016, Stephen Saine [email protected] wrote:
|
@sainejob I've uploaded new builds for both OS X and Linux this morning. I tested the Mac build on my wife's Macbook Air, which is running El Capitan. I was able to create a MP server without issue. See the README for download links, or try this: |
@jdolan - Hey Jay-- not sure what's going on but I'm still seeing the same after upgrading to El Capitan and using your new build. Does the stack trace give you any ideas? I simply double-click the app icon and then am presented with a console. Press ESC then multiplayer then Create server then I name the server and add frag limit to 15 and then click 'Begin' and it crashes. Any ideas? Thanks so much for the support!
|
Very strange! I do not get that error on my system, and I have several hundred maps installed. I do not get that error on my wife's Macbook Air, which has no custom maps installed at all. Here's the line of code in question: The commented line above the crash line gives me pause. I wonder what the deal was there.. This isn't code I wrote, btw. This is maniac's code from ~2003. Without a way to reproduce the crash, I'm afraid I don't have time to dig into this further right now. My advice would be to workaround the problem by typing the following at the console:
Or, even better, run a dedicated server on your computer. Quake2 will only use 1 core, because it's single-threaded. So it won't hurt your in-game performance to run a separate dedicated server process in a Terminal window. This way, you can even quit while your friends continue to play.
Hope this helps. |
@jdolan - Thanks Jay! I appreciate you looking into it even to this point :) |
Anytime! Happy fragging. I'll leave this issue open in case anyone else stumbles onto the same problem. Oh, just curious, what map did you try starting? Or is it with any map? |
Okay, very interesting. I can follow up on this later on this week. Thanks for reporting. |
I found there are a few things going wrong here.
The correct solution would be to modify this code to look in all valid search paths for I should be able to patch this up one night this week. |
Thanks for looking in to this. Just a quick addition (should I create another ticket?). I noticed that once I've entered the 'create a server' screen, pressing escape no longer takes me back to the previous menu. I'm essentially stuck. I've found that pressing console key is a workaround. |
Any updates on this? I'm having the same problem on 10.11.4. |
Hi @Astralize. I haven't had a chance to roll up my sleeves on this one yet. Sorry. I've outlined a potential fix above. If you have C experience, I'd gladly accept a patch! |
I've taken a look at the code and I think the best way to go about it would be to parse the .pak files to find maps. All that is really needed is the map names. I confirmed this by manually adding some maps to the list by adding the following code after line 72 in ui_startserver.c.
It's not a pretty solution, so I'm not suggesting that you use this as a final solution, but I thought I would mention it if someone here is desperate. I need to study the code a bit more to find out how to parse the .pak files and make a list of the maps. |
I finally managed to parse the .pak files and find the maps. It's been a while since I used C, so I'm sure someone could make the code prettier. Here is a link to the commit in my fork https://github.com/Astralize/quake2/commit/f261576b3d982ba2e10818fec55aba063d9c2010 |
You made assignations in conditionals while you wanted to make comparisons? |
If you are referring to the if statement in files.c:1973, it was copied from one of the other functions and it checks whether or not it's NULL after the assignment. I've based my function on the already existing function FS_Stats_f(). |
Yes, sorry ^^' |
Any update on this? |
Nope. I spend whatever Quake hacking time I get these days on Quetoo and GtkRadiant, sorry. It looks like @Astralize 's fork is gone, otherwise I'd try to merge it in. If someone opens a PR to fix this issue, I'll bake some new builds. |
I haven't had much luck trying to build the source yet so instead I did the following to get it working.
|
We are trying to fire up a simple LAN party playing Quake2 and whenever I try to start a multiplayer server, the app crashes. Any ideas?
The text was updated successfully, but these errors were encountered: