[Linux] Can't play - Lua errors [workaround]
Lucki
Join Date: 2014-02-16 Member: 194083Members
What is the problem?
I can't play/host/join a game.
Instead the terminal/log keeps spamming lua errors. When I try to join a server, i get a message about verifing my files.
What I have already done: (in order)
System:
I'm on ArchLinux, so latest libs are available.
Gnome 3, GTX660, i5-2500k.
Anyone have an idea?
I can't play/host/join a game.
Instead the terminal/log keeps spamming lua errors. When I try to join a server, i get a message about verifing my files.
What I have already done: (in order)
- I've checked the ns2_linux32 with ldd and resolved the few not found errors.
- I've unsubscribed every workshop element.
- I've deleted the workshop folder in ~/.config/Natural\ Selection\ 2/.
- I've deleted the whole configuration folder: ~/.config/Natural\ Selection\ 2/.
- I've tried the startoption LANG=en_US %command%, but then the game crashed before the menu.
- I've uninstalled the game - At this point, there's nothing left related to NS2. - and installed it again.
- I've verified the steam files. (100% passed)
System:
I'm on ArchLinux, so latest libs are available.
Gnome 3, GTX660, i5-2500k.
Anyone have an idea?
Comments
You have the same problem? Can you post more informations about your system (hardware, distribution, driver, desktop,...)?
No, I don't run Linux neither have the same problem. I was simply interested in what's wrong.
Same problem with fluxbox.
I can't read your log. Please use github or pastebin or something similar as my browser seems to think I should not trust that link.
Additionally, your video shows you trying to play the Training/Tutorial/Sandbox. I can definitely say that this does not work under Linux and you may have better luck trying to join a normal online game through the Server Browser.
It works under Linux if you push hard enough.
I pressed quick match and get this message after a long loading time: "The game files does not match the server's. Try verifying your game cache in Steam or an update just came out."
Log:
Ok, I was confused, because some were "not found". How can I revert my changes in the easiest way?
I am also STILL having this problem. It used the work fine (on the free weekend) but ever since it only causes problems/crashed and currently is stuck in
"The game files does not match the server's. Try verifying your game cache in Steam or an update just came out."
Log:
Linux
Steam initialized
Num displays: 1
OpenGL 3.1.0 NVIDIA 346.22 initialized (NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2)
GLSL version 1.40 NVIDIA via Cg compiler
ARB_texture_storage extension present
ARB_get_program_binary extension present
Sound Device: default stereo
Record Device: default
Loading config://ConsoleBindings.json
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
Resampling uncompressed animations at 1/2 frame rate to conserve memory
Main Menu Initialized at Version: 272
Steam Id: 3380667
Saving config://HistoryServers.json
Connecting to server 144.76.119.131:14000
Downloading mods
Finished downloading and installing mods
Mounting mod from /home/buscher/.config/Natural Selection 2/Workshop/m706d242_1419077853/
Mounting mod from /home/buscher/.config/Natural Selection 2/Workshop/maa8da06_1418939582/
Mounting mod from /home/buscher/.config/Natural Selection 2/Workshop/mb7149f9_1414064711/
Mounting mod from /home/buscher/.config/Natural Selection 2/Workshop/m812f004_1418931985/
Loading config://ConsoleBindings.json
[187,087] Worker 06 : Error: shaders/GorgeTunnel.hlsl(64) : Syntax error: expected identifier near '0,000000'
[187,097] Worker 06 : Error: shaders/GorgeTunnel.screenfx:24 : Parameter 'noiseMap' doesn't exist in shader
[187,097] Worker 06 : Error: shaders/GorgeTunnel.screenfx:24 : Parameter 'baseTexture' doesn't exist in shader
[187,097] Worker 06 : Error: shaders/GorgeTunnel.screenfx:24 : Parameter 'amount' doesn't exist in shader
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
[Elixer (Client)] Loading Utility Scripts v.1,80
[Elixer (Client)] Using Utility Scripts v.1,80
[229,872] Worker 06 : Error: Error in network variable syntax: 'by' expected in property ResourceTower for class armor
[229,874] Worker 06 : Error: Error in network variable syntax: 'by' expected in property MAC for class armor
[229,874] Worker 06 : Error: Error in network variable syntax: 'by' expected in property Mine for class armor
[229,874] Worker 06 : Error: lua/PostLoadMod.lua:25: Base class 'ResourceTower' for 'Extractor' doesn't exist
[Client] Script Error #1: lua/PostLoadMod.lua:25: Base class 'ResourceTower' for 'Extractor' doesn't exist
Call stack:
#1: SharedLinkClassToMapOriginal [C]:-1
#2: lua/PostLoadMod.lua:25
(for index) = 36
(for limit) = 199
(for step) = 1
i = 36
className = "Extractor"
classInfo = {mapName="extractor", networkVars= {isCorroded="boolean", isGhostStructure="boolean", nanoShielded="boolean", parasited="boolean", playIdleSound="boolean", powerSurge="boolean", powered="boolean", recycled="boolean", upgrade1="enum kTechId", upgrade2="enum kTechId", upgrade3="enum kTechId", upgrade4="enum kTechId", upgrade5="enum kTechId", upgrade6="enum kTechId", vortexed="boolean" } }
#3: scriptLoad [C]:-1
#4: Load lua/EventTester.lua:191
fileName = "lua/PostLoadMod.lua"
reload = nil
#5: lua/Client.lua:1333
startLoadingTime = 229,558927493
currentLoadingTime = 229,558928437
gOutlinePlayers = true
toggleOutlineLastFrame = false
timePlayed = nil
kTimePlayedOptionsKey = "timePlayedSeconds"
InitializeRenderCamera = function
gTechTree = TechTree { }
ExpireDebugText = function
UpdateTrailCinematics = function
lastTimeHelpReset = nil
kResetHelpTimer = 900
kHelpAutoResetEnabled = false
UpdateHelpAutoReset = function
UpdateWorldMessages = function
UpdateDecals = function
kDangerCheckEndDistance = 25
kDangerCheckStartDistance = 15
kDangerHealthEndAmount = 0,6
kDangerHealthStartAmount = 0,5
lastDangerCheckTime = 0
dangerEnabled = false
dangerOrigin = nil
UpdateDangerEffects = function
optionsSent = false
CheckRules = function
OnMapPostLoad = function
UpdateFogAreaModifiers = function
gShowDebugTrace = fwarning: The VAD has been replaced by a hack pending a complete rewrite
warning: The VAD has been replaced by a hack pending a complete rewrite
pid 28306 != 28245, skipping destruction (fork without exec?)
alse
kDebugTraceGUISize = cdata
UpdateDebugTrace = function
OnUpdateRender = function
OnClientConne
[229,879] Worker 06 : Error: Client class hierarchy for resourcetower does not match server class
[229,879] Worker 06 : Error: Failed to read Server class table on the Client
[229,937] MainThread : Error: 1 memory leaks in 'ClientWorldMisc' (4804 bytes)
[229,937] MainThread : Error: 1 memory leaks in 'ClientWorld' (4804 bytes)
Loading config://ConsoleBindings.json
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
Main Menu Initialized at Version: 272
Steam Id: 3380667
[244,594] MainThread : Error: Attempted to load remote options from a file that does not exist.
[244,981] MainThread : Error: 1 memory leaks in 'Client' (4804 bytes)
[245,021] MainThread : Error: 1 memory leaks in 'Engine' (4804 bytes)
CinematicsUpdate: exit
ClientGame::UpdateWorld: exit
CollectGarbage: exit
Gentoo
glibc-2.20
kernel 3.18.0
nvidia-drivers-346.22
CPU: AMD FX-8370E
GPU: Nvidia Geforce 750TI OC
if you need more Info just ask and I will try to provide as many as possible.
And would be nice to know if someone is looking into it at all.
Hope I can soon play again,
Strangely it worked. I thought this was fixed long time ago.
But this isn't a solution, it's only a workaround.
The game also works only with
I'm using Ubuntu 14.04
Log:
Hmm checked to load a local server without any mods ?
This occured once before, on the patch from 271 to 272. Back then I found a workaround by physically deleting all workshop mods and having NS2 download them again.
Now, after 272 -> 273, I am not able to connect to any server, no matter what I do.
Here is my ns2 log:
Time: 11:36:40 PM:
Build 273
Ubuntu x86_64
Steam initialized
Num displays: 2
OpenGL 3.1.0 NVIDIA 340.65 initialized (NVIDIA Corporation GeForce GTX 760/PCIe/SSE2)
GLSL version 1.40 NVIDIA via Cg compiler
ARB_texture_storage extension present
ARB_get_program_binary extension present
Sound Device: default stereo
Record Device: default
Loading config://ConsoleBindings.json
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
Resampling uncompressed animations at 1/2 frame rate to conserve memory
Main Menu Initialized at Version: 273
Steam Id: 5382724
Connecting to server 148.251.50.39:27025
Loading config://ConsoleBindings.json
[ 49,841] Worker 05 : Error: shaders/GorgeTunnel.screenfx:24 : Parameter 'noiseMap' doesn't exist in shader
[ 49,841] Worker 05 : Error: shaders/GorgeTunnel.screenfx:24 : Parameter 'baseTexture' doesn't exist in shader
[ 49,841] Worker 05 : Error: shaders/GorgeTunnel.screenfx:24 : Parameter 'amount' doesn't exist in shader
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
[ 52,011] Worker 05 : Error: Error in network variable syntax: 'by' expected in property ResourceTower for class armor
[ 52,012] Worker 05 : Error: Error in network variable syntax: 'by' expected in property MAC for class armor
[ 52,012] Worker 05 : Error: Error in network variable syntax: 'by' expected in property Mine for class armor
[ 52,012] Worker 05 : Error: lua/PostLoadMod.lua:25: Base class 'ResourceTower' for 'Extractor' doesn't exist
[Client] Script Error #1: lua/PostLoadMod.lua:25: Base class 'ResourceTower' for 'Extractor' doesn't exist
Call stack:
#1: SharedLinkClassToMapOriginal [C]:-1
#2: lua/PostLoadMod.lua:25
(for index) = 36
(for limit) = 197
(for step) = 1
i = 36
className = "Extractor"
classInfo = {mapName="extractor", networkVars= {isCorroded="boolean", isGhostStructure="boolean", nanoShielded="boolean", parasited="boolean", playIdleSound="boolean", powerSurge="boolean", powered="boolean", recycled="boolean", upgrade1="enum kTechId", upgrade2="enum kTechId", upgrade3="enum kTechId", upgrade4="enum kTechId", upgrade5="enum kTechId", upgrade6="enum kTechId", vortexed="boolean" } }
#3: scriptLoad [C]:-1
#4: Load lua/EventTester.lua:191
fileName = "lua/PostLoadMod.lua"
reload = nil
#5: lua/Client.lua:1333
startLoadingTime = 51,966430179
currentLoadingTime = 51,966431457
gOutlinePlayers = true
toggleOutlineLastFrame = false
timePlayed = nil
kTimePlayedOptionsKey = "timePlayedSeconds"
InitializeRenderCamera = function
gTechTree = TechTree { }
ExpireDebugText = function
UpdateTrailCinematics = function
lastTimeHelpReset = nil
kResetHelpTimer = 900
kHelpAutoResetEnabled = false
UpdateHelpAutoReset = function
UpdateWorldMessages = function
UpdateDecals = function
kDangerCheckEndDistance = 25
kDangerCheckStartDistance = 15
kDangerHealthEndAmount = 0,6
kDangerHealthStartAmount = 0,5
lastDangerCheckTime = 0
dangerEnabled = false
dangerOrigin = nil
UpdateDangerEffects = function
optionsSent = false
CheckRules = function
OnMapPostLoad = function
UpdateFogAreaModifiers = function
gShowDebugTrace = false
kDebugTraceGUISize = cdata
UpdateDebugTrace = function
OnUpdateRender = function
OnClientConnect
[ 52,013] Worker 05 : Error: Client class hierarchy for resourcetower does not match server class
[ 52,013] Worker 05 : Error: Failed to read Server class table on the Client
[ 52,062] MainThread : Error: 1 memory leaks in 'ClientWorldMisc' (4804 bytes)
[ 52,062] MainThread : Error: 1 memory leaks in 'ClientWorld' (4804 bytes)
Loading config://ConsoleBindings.json
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
Main Menu Initialized at Version: 273
Steam Id: 5382724
[ 71,131] MainThread : Error: Attempted to load remote options from a file that does not exist.
[ 71,146] MainThread : Error: 1 memory leaks in 'ModServices' (1540 bytes)
[ 71,491] MainThread : Error: 2 memory leaks in 'Client' (6344 bytes)
[ 71,509] MainThread : Error: 2 memory leaks in 'Engine' (6344 bytes)
Also, you may find it interesting that after the error occured and I shut down NS either by the main menu or by "exit" a failed process is still running preventing me from starting NS2 again or Steam from quitting:
<user> 5027 5026 0 23:36 ? 00:00:00 /bin/sh -c "/home/<user>/.local/share/Steam/steamapps/common/Natural Selection 2/ns2_linux32"
<user> 5028 5027 79 23:36 ? 00:01:12 /home/<user>/.local/share/Steam/steamapps/common/Natural Selection 2/ns2_linux32
<user> 5047 5028 0 23:36 ? 00:00:00 [ns2_linux32] <defunct>
Use workaround with LC_NUMERIC=en_US.UTF8 for now.
what is your default LC_NUMERIC? Maybe i could reproduce it then and fix it in a similar way than with the locale bug