-
Notifications
You must be signed in to change notification settings - Fork 5
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
segfault with fresh 1.5 build, entering online game (local game works fine) #11
Comments
if i print after_start, gdb says it's zero / 0, so if i change so looks like game has a null pointer... why this?
|
It's because the server is not working properly, and replies So we have in
|
So to start a game maybe I can host own server? Anyone interested in tweaking hase to make it easy to do? |
Hey guys, I don't have time to dig into this null pointer bug, but at least the server is working again :) |
Er, I'm still getting Internal Server Error responses... |
No Internal Server Error anymore but a crash instead. >.< I will see what I can do. 😉 |
Okay, no crash for me anymore, but still an internal server error at ed's site and I know now why: I am using Let's see what I can do 😃 |
Thank you for your time theZiz. How often does Hase really need to communicate with other players? Could turn-data be sent to other players in a private irc channel, so the game can run serverless? |
@clort81 Technically that would be possible, but is still not serverless. A irc server is a server, too. However as I did not receive an answer from the server owner yet and I have my own homeserver running in my apartment I will move the hase server to my own hardware afap. Unfortunately that does not mean a lot as I have not very much spare time atm. But I will keep you updated! |
Still no luck with server. And starting a local game in gdb gives me: `[New Thread 0x7fb5ed6130 (LWP 7081)] Thread 1 "hase" received signal SIGINT, Interrupt. |
I just released a new version. Hopefully this is working for you now. :) |
thanks ziz! hope your year is going well (cough) Currently online games are broken again Of course i can host my own server, which maybe i should have been doing for a long time anyway. |
Okay, I just checked, to server works. And my hase build, too. Can you try to most recent version? Sorry for the late response. I got a new job and it's quite exhausting. Hope to be able to increase my response time in the future... :\ Please make also sure that hase sets up the right server. It should do this automatically but well this is quite untested. 🙄 So in your config.ini (probably in
|
Thanks for response theZiz. I occasionally try to insist that friends try Hase. I'm stubborn like that :) Will give it a try by the weekend. And hopefully get a package finished. We still have SDL problems on leste. |
``Using server ziz.gp2x.de/hase/server17 with Version 17
Thread 1 "hase" received signal SIGSEGV, Segmentation fault.
0x0000555555563eca in start_lobby_game (font=0x55555588db40, resize=0x5555555579a5 , game=0x0,
spectate=0) at lobbyGame.c:1331
1331 after_start = (game->status != 0);
(gdb) bt
#0 0x0000555555563eca in start_lobby_game (font=0x55555588db40, resize=0x5555555579a5 , game=0x0,
spectate=0) at lobbyGame.c:1331
#1 0x000055555555e5c0 in ll_calc (steps=10) at lobbyList.c:296
#2 0x0000555555587f8a in spLoop ()
#3 0x000055555555f052 in start_lobby (font=0x55555588db40, resize=0x5555555579a5 , start_chat=1)
at lobbyList.c:541
#4 0x00005555555587d6 in main (argc=1, argv=0x7fffffffe078) at lobby.c:285
The text was updated successfully, but these errors were encountered: