Basic modding question
Hello.
I just learned that the game could be customized trough lua. There is something I wanted to change in the game so I went ahead and edited GUIChat.lua to have chat messages displayed for a longer time than default. I found the change very simple to do and decided to test it out. Turns out I get kicked out of the server for having modified my game files. I try to change a couple other GUI files and all fail.
I do understand the need for consistency checks, but GUIChat.lua? It seems like it would be pretty hard to achieve any sort of unfair advantage by editing it.
And so I was wondering if there is anything I can actually change and still be able to play on "normal" servers?
After a few searches I found someone mentioning a list of checked files which would be located in the appData folder but I had no such thing in there.
I just learned that the game could be customized trough lua. There is something I wanted to change in the game so I went ahead and edited GUIChat.lua to have chat messages displayed for a longer time than default. I found the change very simple to do and decided to test it out. Turns out I get kicked out of the server for having modified my game files. I try to change a couple other GUI files and all fail.
I do understand the need for consistency checks, but GUIChat.lua? It seems like it would be pretty hard to achieve any sort of unfair advantage by editing it.
And so I was wondering if there is anything I can actually change and still be able to play on "normal" servers?
After a few searches I found someone mentioning a list of checked files which would be located in the appData folder but I had no such thing in there.
Comments
I just learned that the game could be customized trough lua. There is something I wanted to change in the game so I went ahead and edited GUIChat.lua to have chat messages displayed for a longer time than default. I found the change very simple to do and decided to test it out. Turns out I get kicked out of the server for having modified my game files. I try to change a couple other GUI files and all fail.
I do understand the need for consistency checks, but GUIChat.lua? It seems like it would be pretty hard to achieve any sort of unfair advantage by editing it.
And so I was wondering if there is anything I can actually change and still be able to play on "normal" servers?
After a few searches I found someone mentioning a list of checked files which would be located in the appData folder but I had no such thing in there.<!--QuoteEnd--></div><!--QuoteEEnd-->
Unfortunately code in any one file isn't limited to the functionally that file provides. Allowing editing of even an innocent looking lua file like that one could compromise the client so that you could change any code, anywhere, which could be used to cheat.
I understand this, but after reading about other mods I was under the impression that it was indeed possible to mod certain things.
Or something like that.
Or something like that.<!--QuoteEnd--></div><!--QuoteEEnd-->
I guess this answers my question. In other words, I can't use any modifications on "normal" servers.