Bug 4323 - Rocket Arena mod only accepts clients when served from i386 dedicated binary
Status: RESOLVED INVALID
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: 1.36
Hardware: PC Linux
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2009-10-28 17:49 EDT by Scott Merrill
Modified: 2009-10-30 03:00:31 EDT
1 user (show)

See Also:



Description Scott Merrill 2009-10-28 17:49:05 EDT
I downloaded Rocket Arena 3 version 1.75. If I run it from a 32-bit version of the ioquake dedicated server, I can connect from a client and play the game. This is the command-line I used:
./ioq3ded.i386 +set fs_game arena +set vm_game 0 +set sv_pure 1 +set bot_enable 0 +set dedicated 1 +set net_port 27960 +exec server.cfg

When I use the 64-bit version of the dedicated server, I am _unable_ to play the game. This is the command-line I used:
./ioq3ded.x86_64 +set fs_game arena +set vm_game 0 +set sv_pure 1 +set bot_enable 0 +set dedicated 1 +set net_port 27960 +exec server.cfg

This seems to be some relevant output from the server console:

----------------------
11544 files in pk3 files
Loading dll file qagame.
Sys_LoadDll(/usr/local/ioquake3/arena/qagamex86_64.so)... 
Sys_LoadDll(/usr/local/ioquake3/arena/qagamex86_64.so) failed:
"/usr/local/ioquake3/arena/qagamex86_64.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/home/scott/.q3a/arena/qagamex86_64.so)... 
Sys_LoadDll(/home/scott/.q3a/arena/qagamex86_64.so) failed:
"/home/scott/.q3a/arena/qagamex86_64.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(./arena/qagamex86_64.so)... 
Sys_LoadDll(./arena/qagamex86_64.so) failed:
"./arena/qagamex86_64.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(qagame) failed to load library
Failed to load dll, looking for qvm.
Loading vm file vm/qagame.qvm...
]total 0, hsize 1021, zero 1021, min 0, max 0
total 14254, hsize 1021, zero 0, min 1, max 35
VM file qagame compiled to 4673703 bytes of code (0x7ff0cc260000 - 0x7ff0cc6d50a7)
compilation took 1.962783 seconds
qagame loaded in 2683840 bytes on the hunk


The client appears to connect, and is immediately dropped:

Client 0 connecting with 0 challenge ping
ClientConnect: 0
ClientUserinfoChanged: 0 n\skippy\t\0\model\doom/default\hmodel\doom/default\g_redteam\\g_blueteam\\c1\7\c2\5\hc\100\w\0\l\0\tt\0\tl\0
broadcast: print "skippy^7 connected\n"
broadcast: print "skippy^7 disconnected\n"
ClientDisconnect: 0

On the client screen, I see the "Connecting" screen, and then get dumped back to the main Rocket Arena menu. In the client console, I see an error:
Client/Server game mismatch: RA3175/

On a related note: the MacBook Pro is unable to create a game of Rocket Arena 3. I can navigate through the menus to create a game, but as soon I click to execute the game, I am returned to the main menu. The console shows the same Client/Server mismatch error.
Comment 1 Scott Merrill 2009-10-28 17:54:21 EDT
Update:

I am able to host a game of Rocket Arena 3 from the menus on a Linux system when using the i386 version of the ioquake3 binary.

I am _unable_ to host a game of Rocket Arena 3 from the menus on a Linux system when using the x86_64 version of the ioquake3 binary. Upon launching the game, I get returned to the main menu. The client console reads
Server Shutdown (Server Crashed: Client/Server game mismatch: RA3175/)
Comment 2 Zachary J. Slater 2009-10-28 19:07:54 EDT
Rocket Arena 3 is a closed-source 32bit binary modification. It is unsupportable in a 64bit environment.
Comment 3 Thilo Schulz 2009-10-30 03:00:31 EDT
Zakk is right, I just did the checking. They have no game.qvm and only a qagamei386.so, so no. We won't support this.