SDK Posted November 8, 2015 Share Posted November 8, 2015 (edited) In this topic we'll be providing help and answers for people who are trying out to contributing via Github. We're going to be creating some tutorials in the future (like adding horns or adding commands) so everyone can try out contributing to the server. For beginners my advice is to use the Github desktop app Tutorials:Github (video) guidesLua tutorialMTA lua tutorial"How To Get Started With GitHub" tutorial by AleksCoreHow To Add Horn Our resources: https://github.com/JarnoVgr/Mr.Green-MTA-Resources Edited January 25, 2016 by AleksCore Ywa, xpr0legendx, viiNi and 2 others 5 Quote Link to comment
SkyBlue Posted November 8, 2015 Share Posted November 8, 2015 Excuse me, what is GitHub? Quote Link to comment
Ywa Posted November 8, 2015 Share Posted November 8, 2015 Excuse me, what is GitHub?It's a source-code hosting platform which we use to host the resources for our MTA servers. Everyone can look into it. Quote Link to comment
xpr0legendx Posted November 9, 2015 Share Posted November 9, 2015 Going to attempt to code something when I get home. I might fail horribly (again) as I have no experience with Lua whatsoever. Quad_Tube 1 Quote Link to comment
viiNi Posted December 1, 2015 Share Posted December 1, 2015 I need help with this part.A lot of resources need access to MySQL and GC accounts to work:Older resources still need their SQL tables created before they can run, use the dumps Mr.Green-MTA-Resources/config/green_coins.sql and Mr.Green-MTA-Resources/config/mrgreen_mtasrvs.sql to create themSet up the connection to your MySQL server in the gcshop settings (with runcode for example): /srun set("*gcshop.host", 'localhost'); set("*gcshop.dbname", 'mrgreen_mtasrvs'); set("*gcshop.user", 'root'); set("*gcshop.pass", '');Set up gc devmode, this skips the need to check passwords with /gclogin: /srun set("*gc.devmode", true)Now you can login with /gclogin <forumid> admin, the forumid is the id for an account you can chooseCold you try to explain me? NITROX 1 Quote Link to comment
neox. Posted December 1, 2015 Share Posted December 1, 2015 Really woth, I still don't even know how I didn't realize this topic was here. Imma try to learn some of that Quote Link to comment
Guest AleksCore Posted December 1, 2015 Share Posted December 1, 2015 (edited) Introduction Open GitHub Glossary and look there every time when you see unknown word in this tutorial. I. How to get started with GitHub? Register an account here https://github.com/ Download GitHub Desktop here https://desktop.github.com/ Add your GitHub.com account information to GitHub Desktop. Press here to see how Follow this link and press "Fork" button. A fork is a personal copy of another user's repository that live on your account. Open GitHub Desktop and clone your fork (Mr.Green-MTA-Resources). Press "+", clone. Now you are able to edit scripts and make Pull Requests. II. Contributing to Open Source on GitHub Click me Edited November 2, 2016 by AleksCore Quote Link to comment
SDK Posted December 1, 2015 Author Share Posted December 1, 2015 I need help with this part.A lot of resources need access to MySQL and GC accounts to work:Older resources still need their SQL tables created before they can run, use the dumps Mr.Green-MTA-Resources/config/green_coins.sql and Mr.Green-MTA-Resources/config/mrgreen_mtasrvs.sql to create themSet up the connection to your MySQL server in the gcshop settings (with runcode for example): /srun set("*gcshop.host", 'localhost'); set("*gcshop.dbname", 'mrgreen_mtasrvs'); set("*gcshop.user", 'root'); set("*gcshop.pass", '');Set up gc devmode, this skips the need to check passwords with /gclogin: /srun set("*gc.devmode", true)Now you can login with /gclogin <forumid> admin, the forumid is the id for an account you can chooseCold you try to explain me? What exactly do you not understand? You need to know what SQL is before doing this Quote Link to comment
viiNi Posted December 1, 2015 Share Posted December 1, 2015 (edited) What exactly do you not understand? You need to know what SQL is before doing this"You need to know what SQL is before doing this" Ok, I'll. Thanks Edited January 25, 2016 by AleksCore over-quoting sucks, cleared a bit Quote Link to comment
Guest AleksCore Posted January 24, 2016 Share Posted January 24, 2016 (edited) I updated my post above, there is some more useful information. I'm sure it will be interesting for some admins and probably for some players P.S. Commands from step 3 are to avoid "Merge remote-tracking branch" commits (spam)P.S.S. http://pastebin.com/9ApjhiNd Edited January 24, 2016 by AleksCore Quote Link to comment
Guest F1MADKILLER Posted March 11, 2016 Share Posted March 11, 2016 On 24/01/2016 at 11:39 PM, AleksCore said: I updated my post above, there is some more useful information. I'm sure it will be interesting for some admins and probably for some players P.S. Commands from step 3 are to avoid "Merge remote-tracking branch" commits (spam) P.S.S. http://pastebin.com/9ApjhiNd Stop stealling data off my PC aleks .... Quote Link to comment
Semert Posted November 3, 2019 Share Posted November 3, 2019 Is this part of the forum alive? Quote Link to comment
Cena Posted November 3, 2019 Share Posted November 3, 2019 2 hours ago, Semert said: Is this part of the forum alive? Our MTA servers: https://github.com/MrGreenGaming/MTA-Resources Our website: https://github.com/MrGreenGaming/website-v2 They are open resources and anyone can contribute. Quote Link to comment
Semert Posted November 3, 2019 Share Posted November 3, 2019 1 hour ago, Cena said: Our MTA servers: https://github.com/MrGreenGaming/MTA-Resources Our website: https://github.com/MrGreenGaming/website-v2 They are open resources and anyone can contribute. Okay, i am looking at them right now. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.