Rune Central

The Official Rune Quake Message Board
It is currently Sun Dec 22, 2024 4:21 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Crashing after compiling
PostPosted: Sun Nov 03, 2013 2:01 am 
Offline

Joined: Mon Jan 16, 2006 10:04 pm
Posts: 28
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 3:32 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1258
Location: New Jersey, USA
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?

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 4:51 pm 
Offline

Joined: Mon Jan 16, 2006 10:04 pm
Posts: 28
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 5:17 pm 
Offline

Joined: Mon Jan 16, 2006 10:04 pm
Posts: 28
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 5:45 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1258
Location: New Jersey, USA
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

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 5:51 pm 
Offline

Joined: Mon Jan 16, 2006 10:04 pm
Posts: 28
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 5:58 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1258
Location: New Jersey, USA
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?

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 6:03 pm 
Offline

Joined: Mon Jan 16, 2006 10:04 pm
Posts: 28
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 6:17 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1258
Location: New Jersey, USA
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/

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 7:26 pm 
Offline

Joined: Mon Jan 16, 2006 10:04 pm
Posts: 28
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Crashing after compiling
PostPosted: Sun Nov 03, 2013 8:25 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1258
Location: New Jersey, USA
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.

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group