Dedicated Server: Failed To Call Calculate_____
pyrocomm
Join Date: 2014-09-23 Member: 198696Members
Hi, I'm trying to set up a dedicated server through steamcmd.
I've downloaded/validated appID 4940 and downloaded/run the PhysX, DirectX, and Visual C++ 2005 links from the wiki.
I currently try to run the server using this script:
c:\Users\pyro\Documents\steamcmd\ns2server\Server.exe -name "NS2 Server" -map ns2_tram -limit 24 -console
I get the following text:
C:\Users\pyro\Documents\steamcmd>c:\Users\pyro\Documents\steamcmd\ns2server\Server.exe -name "NS2 Server" -map ns2_tram -limit 24 -console
Build 269
Windows 7 64-bit (build 7601)
[ 0.010] Main : Error: PhysX: Invalid Cuda context!
Server tickrate 30, client sendrate 20, bandwidth limit per player 25600
Setting breakpad minidump AppID = 4920
Connected to Steam servers
[ 0.899] Worker 03 : Error: Unable to load 'game_setup.xml'!
[ 0.911] Main : Error: No method CalculateInterest found!
[ 0.912] Main : Error: Failed to call CalculateInterest
[ 0.912] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.913] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.913] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.913] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.914] Main : Error: No method CalculateInterest found!
[ 0.914] Main : Error: Failed to call CalculateInterest
VAC Enabled
[ 1.940] Main : Error: No method CalculateQuality found!
[ 1.940] Main : Error: Failed to call CalculateQuality
[ 1.941] Main : Error: No method CalculatePerformance found!
[ 1.942] Main : Error: Failed to call CalculatePerformance
[ 2.954] Main : Error: No method CalculateQuality found!
[ 2.955] Main : Error: Failed to call CalculateQuality
[ 2.955] Main : Error: No method CalculatePerformance found!
[ 2.956] Main : Error: Failed to call CalculatePerformance
[ 3.967] Main : Error: No method CalculateQuality found!
[ 3.968] Main : Error: Failed to call CalculateQuality
[ 3.969] Main : Error: No method CalculatePerformance found!
[ 3.969] Main : Error: Failed to call CalculatePerformance
[ 4.981] Main : Error: No method CalculateQuality found!
[ 4.982] Main : Error: Failed to call CalculateQuality
[ 4.983] Main : Error: No method CalculatePerformance found!
[ 4.983] Main : Error: Failed to call CalculatePerformance
[ 5.270] Main : Error: PhysX: Foundation destruction failed due to pending module references. Close/release all depending modules first.
[ 5.272] Main : Error: 10 memory leaks in 'PhysX' (2288 bytes)
[ 5.272] Main : Error: 10 memory leaks in 'Physics' (2288 bytes)
[ 5.273] Main : Error: 10 memory leaks in 'Engine' (2288 bytes)
The "Failed to call" lines will continue until I close the console window, at which point the PhysX and memory leak errors appear.
If I try to connect to the server I begin connecting and then disconnect with an "Invalid Data" message.
I've downloaded/validated appID 4940 and downloaded/run the PhysX, DirectX, and Visual C++ 2005 links from the wiki.
I currently try to run the server using this script:
c:\Users\pyro\Documents\steamcmd\ns2server\Server.exe -name "NS2 Server" -map ns2_tram -limit 24 -console
I get the following text:
C:\Users\pyro\Documents\steamcmd>c:\Users\pyro\Documents\steamcmd\ns2server\Server.exe -name "NS2 Server" -map ns2_tram -limit 24 -console
Build 269
Windows 7 64-bit (build 7601)
[ 0.010] Main : Error: PhysX: Invalid Cuda context!
Server tickrate 30, client sendrate 20, bandwidth limit per player 25600
Setting breakpad minidump AppID = 4920
Connected to Steam servers
[ 0.899] Worker 03 : Error: Unable to load 'game_setup.xml'!
[ 0.911] Main : Error: No method CalculateInterest found!
[ 0.912] Main : Error: Failed to call CalculateInterest
[ 0.912] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.913] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.913] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.913] Main : Error: No method CalculateInterest found!
[ 0.913] Main : Error: Failed to call CalculateInterest
[ 0.914] Main : Error: No method CalculateInterest found!
[ 0.914] Main : Error: Failed to call CalculateInterest
VAC Enabled
[ 1.940] Main : Error: No method CalculateQuality found!
[ 1.940] Main : Error: Failed to call CalculateQuality
[ 1.941] Main : Error: No method CalculatePerformance found!
[ 1.942] Main : Error: Failed to call CalculatePerformance
[ 2.954] Main : Error: No method CalculateQuality found!
[ 2.955] Main : Error: Failed to call CalculateQuality
[ 2.955] Main : Error: No method CalculatePerformance found!
[ 2.956] Main : Error: Failed to call CalculatePerformance
[ 3.967] Main : Error: No method CalculateQuality found!
[ 3.968] Main : Error: Failed to call CalculateQuality
[ 3.969] Main : Error: No method CalculatePerformance found!
[ 3.969] Main : Error: Failed to call CalculatePerformance
[ 4.981] Main : Error: No method CalculateQuality found!
[ 4.982] Main : Error: Failed to call CalculateQuality
[ 4.983] Main : Error: No method CalculatePerformance found!
[ 4.983] Main : Error: Failed to call CalculatePerformance
[ 5.270] Main : Error: PhysX: Foundation destruction failed due to pending module references. Close/release all depending modules first.
[ 5.272] Main : Error: 10 memory leaks in 'PhysX' (2288 bytes)
[ 5.272] Main : Error: 10 memory leaks in 'Physics' (2288 bytes)
[ 5.273] Main : Error: 10 memory leaks in 'Engine' (2288 bytes)
The "Failed to call" lines will continue until I close the console window, at which point the PhysX and memory leak errors appear.
If I try to connect to the server I begin connecting and then disconnect with an "Invalid Data" message.
Comments
Still same errors as described above
Strange, could you check the ns2 folder inside the main folder and look if there is a game_setup.xml?
It totally is that's why your server is not starting . The weird thing after doing a validation it should be there ... Could you make a screenshot of what is in the "ns2" subfolder after validating another time.
Build 269
Windows 7 64-bit (build 7601)
[ 0.012] Main : Error: PhysX: Invalid Cuda context!
Server tickrate 30, client sendrate 20, bandwidth limit per player 25600
Setting breakpad minidump AppID = 4920
Steam_: BugslayerUtil.DLL not found
Connected to Steam servers
[ 4.783] Worker 00 : Error: Unable to load 'game_setup.xml'!
[ 4.790] Main : Error: No method CalculateInterest found!
[ 4.790] Main : Error: Failed to call CalculateInterest
[ 4.791] Main : Error: No method CalculateInterest found!
[ 4.791] Main : Error: Failed to call CalculateInterest
[ 4.791] Main : Error: No method CalculateInterest found!
[ 4.791] Main : Error: Failed to call CalculateInterest
[ 4.791] Main : Error: No method CalculateInterest found!
[ 4.791] Main : Error: Failed to call CalculateInterest
[ 4.792] Main : Error: No method CalculateInterest found!
[ 4.792] Main : Error: Failed to call CalculateInterest
[ 4.792] Main : Error: No method CalculateInterest found!
[ 4.792] Main : Error: Failed to call CalculateInterest
VAC Enabled
[ 5.816] Main : Error: No method CalculateQuality found!
[ 5.816] Main : Error: Failed to call CalculateQuality
[ 5.817] Main : Error: No method CalculatePerformance found!
[ 5.817] Main : Error: Failed to call CalculatePerformance
[ 6.828] Main : Error: No method CalculateQuality found!
[ 6.829] Main : Error: Failed to call CalculateQuality
[ 6.830] Main : Error: No method CalculatePerformance found!
[ 6.831] Main : Error: Failed to call CalculatePerformance
[ 7.841] Main : Error: No method CalculateQuality found!
[ 7.842] Main : Error: Failed to call CalculateQuality
[ 7.843] Main : Error: No method CalculatePerformance found!
[ 7.844] Main : Error: Failed to call CalculatePerformance
[ 8.855] Main : Error: No method CalculateQuality found!
[ 8.856] Main : Error: Failed to call CalculateQuality
[ 8.857] Main : Error: No method CalculatePerformance found!
[ 8.857] Main : Error: Failed to call CalculatePerformance
[ 9.800] Main : Error: PhysX: Foundation destruction failed due to pending modu
le references. Close/release all depending modules first.
[ 9.801] Main : Error: 10 memory leaks in 'PhysX' (2288 bytes)
[ 9.801] Main : Error: 10 memory leaks in 'Physics' (2288 bytes)
[ 9.802] Main : Error: 10 memory leaks in 'Engine' (2288 bytes)
In testing automation tools for NS2 server setups, we have experienced this log spam in both linux and windows test setups. We were able to resolve it by launching the Server.exe from within the actual NS2 install directory. This should resolve both the unable to load game_setup.xml warning and the error spam.
One way to go about the fix would be to create a simple batch script to start up your NS2 server, and place something similar to the following before your launch line:
pushd C:\full\path\to\steamcmd\install\directory\chosen\for\your\ns2server
--
The directory has to be the full path to the NS2 server files (Server.exe, etc). NOT the directory in which SteamCMD itself is installed in.
The fix also works in linux/ubuntu, simply add a 'cd' line above your launch code within a simple bash shell script:
cd /full/path/to/steamcmd/install/directory/chosen/for/your/ns2server
Hopefully that helps resolve your issue!
All the best,
JR
Development Engineer
GladiatorServers.com