Moderators: sparcdr, torhu, Tequila
/dev/random wrote:What do you mean by "illegal"? It is easy to modify the engine to cheat. I assume it is about your surround sound? That's not a cheat I guess
/dev/random wrote:If you hadn't told us about it, we would never have known about your evil plans
What exactly do you plan to do? It is usually easier to modify the gamecode. Then ask the devteam whether they will include your patch
/dev/random wrote:Iirc you first have to get a file handle via FS_FOpenFileAppend or similar, then read/write with FS_Read/FS_Write and finally close the handle with FS_FCloseFile.
mLy! wrote:best chat filter would be "/cg_globalchatheight 0" I guess :p
Tequila wrote:If you have few good ideas for the engine you can just propose a patch and we will may be integrate it if the official sources. If you have a lot of ideas, propose few as patch, then we would allow you to open a branch or just update the trunk if you deserve To deserve, you just have to remember to be as open as the sources...
Tequila wrote:About FS_Read/FS_Write, the path where it look in will depends on your system. On windows, it should just be the game folder, in unix systems, you'll have also user dedicated folder... Btw the better way for you know where to put your file is to start the game and check the console at the very beginning and you'll find a list of paths the game will search in.
Tequila wrote:About cheat coding, we are planing some few new stuffs to fight cheaters for the next coming release, so just forget that if you planed it
Allied wrote:Tequila wrote:About FS_Read/FS_Write, the path where it look in will depends on your system. On windows, it should just be the game folder, in unix systems, you'll have also user dedicated folder... Btw the better way for you know where to put your file is to start the game and check the console at the very beginning and you'll find a list of paths the game will search in.
Ok, it said the working directory was the base SG folder - and that's where I placed my file. However ReadFile is just returning -1 and not loading the file. The ReadFile call is in CL_InitCGame by the way.