MarkCode82 21 Posted March 11, 2016 Re-factoring for Multiplayer scripting guide. Planned Contents:1. Old Network scripting (You may need to take apart someones elses scripts) 2. New Network scripting (Cleaner tidier better) Share this post Link to post Share on other sites
austin_medic 109 Posted March 11, 2016 I already made one a while back, though it could use some updating. I think its linked in my sig. Also I don't really think it'd be something you should do, prehaps somebody else whos more experienced with SQF. 1 Share this post Link to post Share on other sites
MarkCode82 21 Posted March 11, 2016 I'm not a complete noob when it comes to scripting. There is some more advanced things I haven't explored such as dynamic code generation, etc. But I was more focused on the design aspects rather than the actual scripting constructions. E.g Top-down vs Bottom-up approaches.http://dept-info.labri.fr/~strandh/Teaching/PFS/Common/Strandh-Tutorial/bottom-up-programming.html Input and output analysis. https://www.udacity.com/course/viewer#!/c-cs101/l-108111980/m-108325372 Defensive Programming.http://c.learncodethehardway.org/book/ex27.html DSA (Data structures And Algorithmic Analysis)http://www.tutorialspoint.com/data_structures_algorithms/algorithms_basics.htm I remember the optimisation page "touched" on this but didn't explore it or what it meant. https://community.bistudio.com/wiki/Code_Optimisation etc Share this post Link to post Share on other sites
ceeeb 147 Posted March 11, 2016 Why not use the BI Wiki? There's already a lot of info on these topics there. One thing it is missing is an article that ties these concepts together in some kind of logical manner (particularly useful for people who are completely new to the idea of scripting, rather than computer science graduates who are new to Arma). Some Biki articles that roughly cover these topics: #1 Variables#2 DataTypes#3 Control Structures#4 Where scripts run from (types of init files)#5 Functions / Procedures (whatever you call them)#6 Code standards#7 EventHandlers#8 Non-scheduled vs scheduled environments (benefits / trade-offs) (How they are run execVM / spawn / call )#9 Basic Multiplayer Scripting (and the unsearchable https://community.bistudio.com/wiki/6thSense.eu:EG)#10 remoteExec standards#11 cfgFunctions.hpp#12 Classes and class definitions / data retrival#13 Common scripting errors#14 Script and code optimisation (Only facts + TheirTrade-offs / Benefits) Over the years there have been many scripting, mission editing, and modding tutorials for OFP/Arma/Arma2/Arma3 that are quite good, but few really ever get completed or maintained. Many authors lose interest part way through the project and disappear, leaving a partly finished document that isn't very useful, so the next one gets started... The Biki can be maintained by anyone who's motivated and has the knowledge, including BI staff. 5 Share this post Link to post Share on other sites
MarkCode82 21 Posted March 11, 2016 I did point out that the wiki, has holes. There are commands missing in several catagories.. And I can't create an account... Share this post Link to post Share on other sites
austin_medic 109 Posted March 11, 2016 I did point out that the wiki, has holes. There are commands missing in several catagories.. And I can't create an account... Which categories? And why wouldn't you be able to create an account? unless you did something malicious previously and they banned you because of it ^^ Share this post Link to post Share on other sites
MarkCode82 21 Posted March 11, 2016 Nope. the wiki is bugged there is only Login. Checked blocked user page as well Share this post Link to post Share on other sites
austin_medic 109 Posted March 11, 2016 Nope. the wiki is bugged there is only Login. Ok then if theres a problem could you at least let us know (where and what) so somebody who can create an account/already has one can fix it? Share this post Link to post Share on other sites
MarkCode82 21 Posted March 11, 2016 Create Account button is missing from:https://community.bistudio.com/wiki/Special:SpecialPages Login button blank next to it where Create Account would be https://community.bistudio.com/wiki?title=Special:UserLogin&returnto=Main+Page&type=signup You do not have permission to create this user account, for the following reason: The action you have requested is limited to users in the group: Administrators. Share this post Link to post Share on other sites
austin_medic 109 Posted March 11, 2016 Getting into that URL from another page seems to of gave me access (click the 'Create Account' hyperlink under Creating an Account section) Share this post Link to post Share on other sites
MarkCode82 21 Posted March 12, 2016 Have an account on MediaWiki. Tried logging in on arma 3 no work. it seems like the wiki has been locked. At this time. Share this post Link to post Share on other sites
jshock 513 Posted March 12, 2016 I don't think you should reinvent the wheel here, all you need to do is be patient see if you can get an account on the wiki, and then do all the fixing you feel necessary, then all that needs to happen is just have a central page with all these other pages linked, then just link that page around. Share this post Link to post Share on other sites
MarkCode82 21 Posted March 12, 2016 Agreed They're minor but important things. Moderators feel free to close this page it's not needed. Share this post Link to post Share on other sites
Tankbuster 1747 Posted March 12, 2016 I'm with jshock here. This would be reinventing the wheel. You should contact BohemiaBeck or Dwarden and see if they can manually create an account for you. Your work there would be a great benefit. Share this post Link to post Share on other sites
Von Quest 1163 Posted March 13, 2016 I say go for it. I would love to see more Manuals/Tutorials. I would actually pay for official DLC Tutorials from BIS. :P The Wiki is great, and there are indeed plenty of resources, guides, forums, etc. But I say make a better wheel! The best way to learn something, is to teach it. Go ahead. And as for where to start?... Start at the beginning!! 1 Share this post Link to post Share on other sites
MarkCode82 21 Posted March 13, 2016 Already writing it now. Question is, should it be released in chunks? or as a whole? Share this post Link to post Share on other sites
SpaydCBR 11 Posted March 13, 2016 I'd suggest focusing on MP scripting. There's plenty of scripting guides like Fockers' that explain SQF really well, but I've yet to see a comprehensive MP scripting guide and would really appreciate one. Especially one that teaches the latest methodologies and standards. I think releasing in chunks would be better since that allows you to get feedback quicker and get people learning something as soon as possible ;) Share this post Link to post Share on other sites
MarkCode82 21 Posted March 13, 2016 Okay. Will be done. Share this post Link to post Share on other sites
sarogahtyp 1109 Posted March 13, 2016 I say go for it. I would love to see more Manuals/Tutorials. I would actually pay for official DLC Tutorials from BIS. :P The Wiki is great, and there are indeed plenty of resources, guides, forums, etc. But I say make a better wheel! The best way to learn something, is to teach it. Go ahead. And as for where to start?... Start at the beginning!! I m complety agree that post. i think the biki is one part of the wheel and not the whole one. i remind murray editing tutorial and some other wh9ch helped me to understand things better. even killzone kid who has a biki account is hosting a blog with good tutorials. the thing is that you cant learn a language if u read one book even it is as big as the biki. go for it! Share this post Link to post Share on other sites
Deadfast 43 Posted March 14, 2016 Locking the thread per MarkCode82's request. Share this post Link to post Share on other sites