Rune Central http://forums.runequake.com/ |
|
Crashing after compiling http://forums.runequake.com/viewtopic.php?f=2&t=1663 |
Page 1 of 1 |
Author: | altere [ Sun Nov 03, 2013 2:01 am ] |
Post subject: | Crashing after compiling |
Source compiles just fine, without any errors and loading the server runs fine: Code: ../progs.dat - 0 error(s), 0 warning(s)chmod o-w ../progs.dat [ ! -d $HOME/quake/runequake ] || cp ../progs.dat $HOME/quake/runequake Code: pqlinux -game runequake-1.3.79 -dedicated 16 -noipx -condebug -heapsize 32768 -zone 1024 -ip xxx -udpport 26000 +map dm3 When a client connects to it this is what happens as it crashes: Code: ADDRESS 6243()entity 0 153(frags).frags 6246(???) : add_frag : client_ip : ClientConnect <NO FUNCTION> assignment to world entity Host_Error: Program error Host_ShutdownServer: NET_SendToAll failed for 2 clients Client doh removed ERROR: Host_Error: Program error I thought this was due to 1.3.79 but I went back and recompiled 1.3.72 which was working fine before and the same thing happens. The only thing that has changed is 1.3.72 was running previously on an older server, files were copied to the new server running CentOS. I also downloaded manquake and compiled it but it won't even load: Code: squake -game runequake-1.3.79 -dedicated 16 +map dm6 Code: FindFile: ./runequake-1.3.79/progs.dat Sending console bindings Segmentation fault Unfortunately changing to this newer server was required as the hard drive was beginning to fail. Have I missed something while setting the new server up. Using frikqcc 2.5 still as well, luckily I always copy the old progs.dat so I was able to get the old version back up and running for the time being. |
Author: | Slot Zero [ Sun Nov 03, 2013 3:32 pm ] |
Post subject: | Re: Crashing after compiling |
So the newly compiled progs.dat doesn't work, but your old one does? Did you use the online map script to generate a new map-auto.qc or did you edit the map scrpt itself? |
Author: | altere [ Sun Nov 03, 2013 4:51 pm ] |
Post subject: | Re: Crashing after compiling |
Slot Zero wrote: Did you use the online map script to generate a new map-auto.qc or did you edit the map scrpt itself? I ran the map script un-edited compiled, tried to connect, Host_Error.. Went back and edited it, and removed all custom maps, re-compiled.. same. Code: ADDRESS 6286()entity 0 153(frags).frags 6289(???) : add_frag : client_ip : ClientConnect <NO FUNCTION> assignment to world entity Host_Error: Program error Host_ShutdownServer: NET_SendToAll failed for 7 clients Client doh removed ERROR: Host_Error: Program error Now, interestingly I compiled it on my windows box using the frikqcc-release from the same zip.. 0 errors, compiled fine.. Copied to the server and I get a different error: Code: doh entered the game CALL0 1042(player_run)() Segmentation fault I also compiled from my Windows machine using qccx, copied and everything works just fine.. I can't however get qccx compiled on CentOS as I get a ton of errors: Code: warning: deprecated conversion from string constant to 'char*' Is there a linux binary for qccx, or an easy way to fix the errors so I can compile it? And yes, I've confirmed I've been using frikqcc v2.5. Perhaps between the two different errors I'm getting with frikqcc will give you more to go on. |
Author: | altere [ Sun Nov 03, 2013 5:17 pm ] |
Post subject: | Re: Crashing after compiling |
Yes, the old progs.dat works. qccx in linux or windows works.. frikqcc in linux or windows doesn't work.. Should I give up trying to get frikqcc to work or could this be fixed somewhere in the code? |
Author: | Slot Zero [ Sun Nov 03, 2013 5:45 pm ] |
Post subject: | Re: Crashing after compiling |
Are you using any command line options for frikqcc? Also, you should consider downloading the latest source for runequake (currently 1.93). https://github.com/slotzero/runequake/a ... master.zip |
Author: | altere [ Sun Nov 03, 2013 5:51 pm ] |
Post subject: | Re: Crashing after compiling |
Slot Zero wrote: Are you using any command line options for frikqcc? Also, you should consider downloading the latest source for runequake (currently 1.93). https://github.com/slotzero/runequake/a ... master.zip Yes, I've tried just frikqcc without any options and frikqcc /O2. I also have been working with 1.93 as of late last night. |
Author: | Slot Zero [ Sun Nov 03, 2013 5:58 pm ] |
Post subject: | Re: Crashing after compiling |
OK, so let me recap the problem so far. You're now able to compile on both on windows and linux with qccx. The progs.dat works fine on both windows and linux server, right? The only problem that exists now is that when you use frikqcc on windows, that progs.dat crashes a windows and linux server? |
Author: | altere [ Sun Nov 03, 2013 6:03 pm ] |
Post subject: | Re: Crashing after compiling |
Slot Zero wrote: OK, so let me recap the problem so far. You're now able to compile on both on windows and linux with qccx. The progs.dat works fine on both windows and linux server, right? The only problem that exists now is that when you use frikqcc on windows, that progs.dat crashes a windows and linux server? Correct, but compiling using frikqcc on either linux or windows causes it to crash. It compiles with frikqcc without any errors, just when a client connects to it, it crashes.
|
Author: | Slot Zero [ Sun Nov 03, 2013 6:17 pm ] |
Post subject: | Re: Crashing after compiling |
altere wrote: I can't however get qccx compiled on CentOS as I get a ton of errors [...] I fixed the compiler error and uploaded it to my ftp under the same file name, qccx-1.00.tar.bz2 in case you're interested. ftp://ftp.runequake.com/quake/quakec/co ... qccx/1.00/ |
Author: | altere [ Sun Nov 03, 2013 7:26 pm ] |
Post subject: | Re: Crashing after compiling |
I downloaded frikqcc from your ftp site, same error when compiling using those binaries for linux and windows. The one you sent me in PM works great. I also decided to grab the frikqcc 2.5 source, compiled it and I now have a working frikqcc 2.5 linux binary. So in conclusion: Frikqcc binaries I downloaded from your ftp and from quakeone.com compile but server crashes on client connect. Frikqcc Win binary you sent in PM works, compiled linux binary works. qccx binaries work, I also compiled the qccx after downloading the updated files from your ftp. I have been unable to get manquake to work at all. |
Author: | Slot Zero [ Sun Nov 03, 2013 8:25 pm ] |
Post subject: | Re: Crashing after compiling |
The linux binary I sent should work. My goal is to have nightly compiled versions of both manquake and runequake available but I am always putting things off. |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |