NullPointerExpt
Chieftain
- Joined
- Dec 28, 2013
- Messages
- 4
At first, I wanted to fix the Covert Ops Black screen bug, so I changed the lua file in
but the game still have the correct number of turns for each covert operation. I even tried to change the Tech cost in the XML folder, but it doesnot affect the game at all.
So where is the real data at? How can I fix the black screen bug?
On this thread: http://forums.civfanatics.com/showthread.php?t=540319&page=2, narf41 seems to figured out a way, but I can't get it to work.
but it doesn't seem to affect anything of the game. I even try this:D:\Softwares\Game\Sid Meiers Civilization - Beyond Earth\assets\Gameplay\Lua
Code:
-- Called to get an operation's turns given the agent that will perform it
function GetOperationTurns(playerID, agentIndex, operationType)
local agent = Players[playerID]:GetCovertAgentByIndex(agentIndex);
local operation = GetOperationTable(operationType);
return 1; -- My added line
but the game still have the correct number of turns for each covert operation. I even tried to change the Tech cost in the XML folder, but it doesnot affect the game at all.
So where is the real data at? How can I fix the black screen bug?
On this thread: http://forums.civfanatics.com/showthread.php?t=540319&page=2, narf41 seems to figured out a way, but I can't get it to work.
EDIT: it seems that i was using an 8.1 lua script program that didn't effect the game at all...as if it didn't saved the change but the words are still there. so i decided to open it with just a simple text document program, rewrite it, then open the game. ITS FIXED ME NOOB EVERYONE WINS! ('-')/...Thank You whoward69.