RvEYoda Posted May 17, 2010 Posted May 17, 2010 (edited) After I saw this post I thought it would be useful if we created a complete list of lua files which are automatically exported from server to clients. This is important for servers to be able to include various custom settings, especially since RvE is going to set up an Fc2 server quite soon on a 100/100 connection. Currently I know very little of which files are automatically exported, but here is what I know so far. Automatically exported files: Scripts/Database/db_sensors.lua Scripts/AI/Detection.lua Config/View/server.lua Lua files that can be included in mission file: config/export/config.lua (<51>Case) config/view/server.lua (<51>Case) config/view/view.lua (<51>Case) So if anyone wants to pitch in and help me and others figure out which are the other files, it would be great! If you make a post saying you know one more, i will add it to the list! Edited May 17, 2010 by =RvE=Yoda 2 S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Case Posted May 17, 2010 Posted May 17, 2010 Good initiative Yoda! Can we also make a list of which files can be enforced upon clients through the mission? The ones I know of so far are: config/export/config.lua config/view/server.lua config/view/view.lua There are only 10 types of people in the world: Those who understand binary, and those who don't.
Pilotasso Posted May 17, 2010 Posted May 17, 2010 I leave here a suggestion: Would be a good idea to setup checked files as common as possible to all servers to avoid constantly modding the game just to play. Enforcing all moddable LUA's would also be an alternative and spare us the whole annoyance of jumping servers. IS this possible? .
RvEYoda Posted May 17, 2010 Author Posted May 17, 2010 Good initiative Yoda! Can we also make a list of which files can be enforced upon clients through the mission? The ones I know of so far are: config/export/config.lua config/view/server.lua config/view/view.lua Wait I thought server.lua was automatically exported, it isn't? Are you saying you can also export config.lua? S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Case Posted May 17, 2010 Posted May 17, 2010 Wait I thought server.lua was automatically exported, it isn't? That could be. I am not entirely sure. If this is the file that sets the azimuth range so one can look further back, then yes, it probably is (at least it was in FC1.12). Are you saying you can also export config.lua? Yes, you can, as part of the mission file. There are only 10 types of people in the world: Those who understand binary, and those who don't.
RvEYoda Posted May 17, 2010 Author Posted May 17, 2010 That could be. I am not entirely sure. If this is the file that sets the azimuth range so one can look further back, then yes, it probably is (at least it was in FC1.12). I think it is used to set up 6DOF settings on many servers. Yes' date=' you can, as part of the mission file.[/quote'] That is wierd, because you cannot include export.lua. S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Case Posted May 17, 2010 Posted May 17, 2010 That is wierd, because you cannot include export.lua.Yes, if only we could include export.lua, though as has been noted before, this would be a serious security issue. There are only 10 types of people in the world: Those who understand binary, and those who don't.
RvEYoda Posted May 17, 2010 Author Posted May 17, 2010 Yes' date=' if only we could include export.lua, though as has been noted before, this would be a serious security issue.[/quote'] However I dont see how it is any worse than including config.lua. You can do file io from there as well cant you? S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Case Posted May 17, 2010 Posted May 17, 2010 I leave here a suggestion: Would be a good idea to setup checked files as common as possible to all servers to avoid constantly modding the game just to play. Enforcing all moddable LUA's would also be an alternative and spare us the whole annoyance of jumping servers. IS this possible?This would be a very good idea, and several squadrons/server admins have already discussed the possibility of making a community mod pack that would suit the needs of most squadrons/servers while giving the client the option to join any server without having to change any files. At the moment there is not yet a clear consensus on what should be and what shouldn't be included in the mod. To keep the threshold for entering servers low, many servers are checking only local files. However, as time goes on we know which files need to be checked and which files can be modded, so I am confident a community mod pack will be made in the future. There are only 10 types of people in the world: Those who understand binary, and those who don't.
104th_Crunch Posted May 17, 2010 Posted May 17, 2010 Don't forget \Scripts\AI\detection.lua is server side as well. What ever it does anyway.
RvEYoda Posted May 17, 2010 Author Posted May 17, 2010 Don't forget \Scripts\AI\detection.lua is server side as well. What ever it does anyway. Ok updated the list S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Grimes Posted May 17, 2010 Posted May 17, 2010 I leave here a suggestion: Would be a good idea to setup checked files as common as possible to all servers to avoid constantly modding the game just to play. Enforcing all moddable LUA's would also be an alternative and spare us the whole annoyance of jumping servers. IS this possible? It is possible, but every squad has a different opinion on what needs to be checked and what doesn't need to be checked. We need a common mod pack that has extra code to allow flexibility in what mods to allow or deny. The ideal solution would be for Eagle Dynamics to make a small change to the integrity check and network.cfg file that contains which file to check. Simply put allowing "alternate" versions of the same file would be the perfect solution. For example with export.lua, several copies of export.lua are placed on the server. Each is slightly different. For a server that allows for tacview and eri: The first file that it checks is a default export.lua if it fails the integrity check it goes to the next one, which has tacview enabled if that fails it goes to one that has just ERI enabled if that fails it goes to the next one that has tacview and ERI As a result it keeps the security risk down of not automatically downloading the export.lua file, but it adds flexibility to what is and isn't allowed, but also is very user friendly. I believe the amount of *work* it takes for a player to join a server should be minimal and virtually non-existent. User friendliness is the most important aspect of any changes made. Yes the server admins must keep up with the times for what mods are popular and what files they use, but most of us are active enough in the communities to know whats going on. But if we can make a community mod pack that does use added files to essentially accomplish the same thing, I'd be game. 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
RvEYoda Posted May 18, 2010 Author Posted May 18, 2010 I may have some really good news soon about the possibilities of an auto-modman server browser S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Sanch0 Posted May 18, 2010 Posted May 18, 2010 I may have some really good news soon about the possibilities of an auto-modman server browser It sounds really good. Are you thinking about something like Arma II Launcher? PVAF "A fighter without a gun... is like an airplane without a wing" dedicated to F-4 Phantom
Grimes Posted May 18, 2010 Posted May 18, 2010 I may have some really good news soon about the possibilities of an auto-modman server browser A quick hotfix patch by Eagle Dynamics? :music_whistling: Heck, it could be just a server only patch. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
RvEYoda Posted May 18, 2010 Author Posted May 18, 2010 (edited) I have been given information and sample source code from ED on how to download the master server list. I have also been allowed to share this, though I will be restrictive since it can be abused. What can we do with this? We can create a server browser with chat and a built in mod manager. How does this help? This browser will show the same server list as the ingame one, but users will automatically be asked if they want the browser to auto-download and install the required modifications or "default files" to play on a server. This ensures everyone is on a level playing field but also prevents cheating, since every server can have their own integrity check profile, without the hassle of pilots having to switch files before joining another server. Consider it an automated version of the debated "community mod pack". Better yet: Servers can have new aircraft, missiles, sensors, views, flight models YOU NAME IT profiles, and it will all go seamlessly between all integrity checked servers - and everyone will have the same. (It also solves the problem with Tacview working, but live-tacview wont) Best of all: It wont break anything for those that want to integrity check the absolute stock setup, in fact it will help them, since the browser will "auto-revert" when finished playing on a modded server (or when joining a standard one). When? I hope everyone reading this that are interested will ask around for people knowledgable in C/C#/C++ programming (.NET also!), especially network programming and GUI programming. We will need to develop this from scratch and make it very simple, so we need to set up a team for this project so we can get it finished ASAP :). Edited May 18, 2010 by =RvE=Yoda 1 S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Case Posted May 18, 2010 Posted May 18, 2010 Great news Yoda! Better move this to its own thread. As for programming experience; mostly C, but not gui nor networking stuff unfortunately... There are only 10 types of people in the world: Those who understand binary, and those who don't.
RvEYoda Posted May 18, 2010 Author Posted May 18, 2010 Great news Yoda! Better move this to its own thread. As for programming experience; mostly C, but not gui nor networking stuff unfortunately... I need everyone interested and ideas from all squads, so welcome aboard if you are interested! S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Grimes Posted May 18, 2010 Posted May 18, 2010 Is this a standalone (ala hyperlobby) or something that is "built into" the current lockon multiplayer? And yes, this needs its own thread. I look forward to the basic functionality of compatibility between servers, but I've got plenty of other requests/ideas for overall implementation. I'll save them till it gets its own thread. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Panzertard Posted May 19, 2010 Posted May 19, 2010 Now that looks like a very interesting project. :thumbup: The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
Insanatrix Posted May 19, 2010 Posted May 19, 2010 (edited) Is this a standalone (ala hyperlobby) or something that is "built into" the current lockon multiplayer? And yes, this needs its own thread. I look forward to the basic functionality of compatibility between servers, but I've got plenty of other requests/ideas for overall implementation. I'll save them till it gets its own thread. Pretty certain it would have to be 3rd party. If ED has supplied him with a way to download the master server list, Then you could theoretically create something like hyperlobby, as long as there is a command line to launch the game in network mode to connect to an IP. Would love to help but I've only got basic C++ knowledge and a C++ book floating around somewhere in my house. took a couple classes in high school. Edited May 19, 2010 by Insanatrix
RvEYoda Posted May 19, 2010 Author Posted May 19, 2010 Pretty certain it would have to be 3rd party. If ED has supplied him with a way to download the master server list, Then you could theoretically create something like hyperlobby, as long as there is a command line to launch the game in network mode to connect to an IP. Would love to help but I've only got basic C++ knowledge and a C++ book floating around somewhere in my house. took a couple classes in high school. That is fine. I am thinking of hosting a separate forum+chat+etc for this project. S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
Recommended Posts