Yeah this things isn't working. I got an stderr output for you. I placed the lines you detailed treba in the stratagus.lua file in the preferences sectoion, as follows.
See, right at the bottom ^^^^ I tried running wargus. didn't even start. Here's the stderr readout.
[string "C:/Games/Wargus/scripts/stratagus.lua"]:312: attempt to call global 'GetCurrentResolution' (a nil value)
stack traceback:
[string "C:/Games/Wargus/scripts/stratagus.lua"]:312: in main chunk
I'll try the "GetAvailableResolutions()" parameter see if that works...
Yeah this things isn't working. I got an stderr output for you. I placed the lines you detailed treba in the stratagus.lua file in the preferences sectoion, as follows.
local defaultPreferences = { ayInMs = 300, Scrolling = true, olling = true, edControl = 15, edDefault = 4, lation = "", ution() , ution() ,
CampaignHuman = 1,
CampaignHumanX = 1,
CampaignOrc = 1,
CampaignOrcX = 1,
DoubleClickDel
EffectsEnabled = true,
EffectsVolume = 128,
EnableKeyboard
EnableMouseScr
FogOfWar = true,
FogOfWarOpacity = 128,
GameSpeed = 30,
GameTranslation = "",
GrabMouse = false,
GroupKeys = "0123456789`",
HoldClickDelayInMs = 1000,
LeaveStopScrolling = true,
MaxOpenGLTexture = 0,
MinimapWithTerrain = true,
MouseScrollSpeed = 1,
MouseScrollSpe
MouseScrollSpe
MusicEnabled = true,
MusicVolume = 128,
PlayerName = "Player",
ServerIP = "localhost",
ShowCommandKey = true,
ShowTips = true,
StratagusTrans
TipNumber = 0,
UseFancyBuildings = true,
UseOpenGL = false,
VideoFullScreen = true,
VideoWidth = GetCurrentResol
VideoHeight = GetCurrentResol
}
See, right at the bottom ^^^^ I tried running wargus. didn't even start. Here's the stderr readout.
[string "C:/Games/ Wargus/ scripts/ stratagus. lua"]:312: attempt to call global 'GetCurrentReso lution' (a nil value) Wargus/ scripts/ stratagus. lua"]:312: in main chunk
stack traceback:
[string "C:/Games/
I'll try the "GetAvailableRe solutions( )" parameter see if that works...
...Nope, no luck with that either.